-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ui] Bugfix: Browser resize no longer makes jobs index summary viz grow forever #20458
Merged
philrenaud
merged 1 commit into
bff-job-summary-fe-redux-untangle
from
jobs-index-alloc-blocks-expand-on-resize-fix
Apr 19, 2024
Merged
[ui] Bugfix: Browser resize no longer makes jobs index summary viz grow forever #20458
philrenaud
merged 1 commit into
bff-job-summary-fe-redux-untangle
from
jobs-index-alloc-blocks-expand-on-resize-fix
Apr 19, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
philrenaud
force-pushed
the
jobs-index-alloc-blocks-expand-on-resize-fix
branch
from
April 18, 2024 19:14
f23c392
to
57a9ab7
Compare
Ember Test Audit comparison
|
philrenaud
force-pushed
the
jobs-index-alloc-blocks-expand-on-resize-fix
branch
from
April 18, 2024 19:45
57a9ab7
to
f98231a
Compare
…he viz grow forever
philrenaud
force-pushed
the
jobs-index-alloc-blocks-expand-on-resize-fix
branch
from
April 18, 2024 19:46
f98231a
to
768a11d
Compare
gulducat
approved these changes
Apr 18, 2024
philrenaud
merged commit Apr 19, 2024
df76a9b
into
bff-job-summary-fe-redux-untangle
15 checks passed
philrenaud
added a commit
that referenced
this pull request
Apr 30, 2024
…he viz grow forever (#20458)
philrenaud
added a commit
that referenced
this pull request
May 2, 2024
…he viz grow forever (#20458)
philrenaud
added a commit
that referenced
this pull request
May 6, 2024
…he viz grow forever (#20458)
philrenaud
added a commit
that referenced
this pull request
May 6, 2024
* Hook and latch on the initial index * Serialization and restart of controller and table * de-log * allocBlocks reimplemented at job model level * totalAllocs doesnt mean on jobmodel what it did in steady.js * Hamburgers to sausages * Hacky way to bring new jobs back around and parent job handling in list view * Getting closer to hook/latch * Latch from update on hook from initialize, but fickle * Note on multiple-watch problem * Sensible monday morning comment removal * use of abortController to handle transition and reset events * Next token will now update when there's an on-page shift * Very rough anti-jostle technique * Demoable, now to move things out of route and into controller * Into the controller, generally * Smarter cancellations * Reset abortController on index models run, and system/sysbatch jobs now have an improved groupCountSum computed property * Prev Page reverse querying * n+1th jobs existing will trigger nextToken/pagination display * Start of a GET/POST statuses return * Namespace fix * Unblock tests * Realizing to my small horror that this skipURLModification flag may be too heavy handed * Lintfix * Default liveupdates localStorage setting to true * Pagination and index rethink * Big uncoupling of watchable and url-append stuff * Testfixes for region, search, and keyboard * Job row class for test purposes * Allocations in test now contain events * Starting on the jobs list tests in earnest * Forbidden state de-bubbling cleanup * Job list page size fixes * Facet/Search/Filter jobs list tests skipped * Maybe it's the automatic mirage logging * Unbreak task unit test * Pre-sort sort * styling for jobs list pagination and general PR cleanup * moving from Job.ActiveDeploymentID to Job.LatestDeployment.ID * modifyIndex-based pagination (#20350) * modifyIndex-based pagination * modifyIndex gets its own column and pagination compacted with icons * A generic withPagination handler for mirage * Some live-PR changes * Pagination and button disabled tests * Job update handling tests for jobs index * assertion timeout in case of long setTimeouts * assert.timeouts down to 500ms * de-to-do * Clarifying comment and test descriptions * Bugfix: resizing your browser on the new jobs index page would make the viz grow forever (#20458) * [ui] Searching and filtering options (#20459) * Beginnings of a search box for filter expressions * jobSearchBox integration test * jobs list updateFilter initial test * Basic jobs list filtering tests * First attempt at side-by-side facets and search with a computed filter * Weirdly close to an iterative approach but checked isnt tracked properly * Big rework to make filter composition and decomposition work nicely with the url * Namespace facet dropdown added * NodePool facet dropdown added * hdsFacet for future testing and basic namespace filtering test * Namespace filter existence test * Status filtering * Node pool/dynamic facet test * Test patchups * Attempt at optimize test fix * Allocation re-load on optimize page explainer * The Big Un-Skip * Post-PR-review cleanup * todo-squashing * [ui] Handle parent/child jobs with the paginated Jobs Index route (#20493) * First pass at a non-watchQuery version * Parameterized jobs get child fetching and jobs index status style for parent jobs * Completed allocs vs Running allocs in a child-job context, and fix an issue where moving from parent to parent would not reset index * Testfix and better handling empty-child-statuses-list * Parent/child test case * Dont show empty allocation-status bars for parent jobs with no children * Splits Settings into 2 sections, sign-in/profile and user settings (#20535) * Changelog
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This hasn't been an issue for the (same components used) viz on Job deploy/status panels, as they are elements with fixed size and css block-level scoping.
Table cells, on the other hand, change their sizes dynamically. Even force-setting the size of the particular cell where this visualization sits wasn't enough to prevent this bug from happening.
What would happen is, it would re-calculate the width of the containing element every time you resize your browser (good!) but a combination of "the nature of table cells is such that they derive their width from their contents" (bad!) and "I wasn't taking the inter-block-gaps into consideration when determining width/ratios" (bad!) meant that this was a funky looking bug.
This fixes that last part, and makes the whole issue go away!
To test the fix: