-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Resolving issue where Grid won't un-collapse when Details is collapsed #31561
Conversation
- removing clearSelection when Details is collapsed - making experience uniform when collapsing or uncollapsing Grid or Detaials view
airflow/www/static/js/dag/Main.tsx
Outdated
|
||
const detailsPanelKey = "hideDetailsPanel"; | ||
const minPanelWidth = 300; | ||
const collapsedWidth = "28px"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was intentional, to show just one dag run and still navigate around the task instances
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MB. Didn't notice :)
Makes sense.
Reverted! Updated the demo sample above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work!
#31561) * spinner added * fixed static checks * isFetching * isFetching replaced with isLoading * Update CONTRIBUTING.rst * - fix where collapsed Grid won't show up when Details is uncollapsed - removing clearSelection when Details is collapsed - making experience uniform when collapsing or uncollapsing Grid or Detaials view * resize oberserver re-registering when Grid is un-collapsed * reverting 28px to show atleast one (latest) dag run instance (cherry picked from commit 6f86b6c)
#31561) * spinner added * fixed static checks * isFetching * isFetching replaced with isLoading * Update CONTRIBUTING.rst * - fix where collapsed Grid won't show up when Details is uncollapsed - removing clearSelection when Details is collapsed - making experience uniform when collapsing or uncollapsing Grid or Detaials view * resize oberserver re-registering when Grid is un-collapsed * reverting 28px to show atleast one (latest) dag run instance (cherry picked from commit 6f86b6c)
Below is the issue
Grid.does.not.uncollapse.mp4
Below is the fix -
Solved.mp4
updated -
updates.mp4
I have also made a few more changes to enhance user experience -
Made the horizontal divider behaviors exactly the same with Grid and Details interaction.^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.