-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Add Table List Refresh Button #7502
Add Table List Refresh Button #7502
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7502 +/- ##
==========================================
+ Coverage 65.42% 65.43% +0.01%
==========================================
Files 435 432 -3
Lines 21325 21319 -6
Branches 2347 2347
==========================================
Hits 13951 13951
+ Misses 7258 7252 -6
Partials 116 116 Continue to review full report at Codecov.
|
Please share before/after screenshots |
I would like to, however, this is related to the issue where I cannot force the re-rendering of templates of the application in places that are managed by FAB. Let me see if I can check out this branch in a different virtual environment and try to do it. |
Got it. Screenshots incoming. |
Place to start (filters added): Old State: When you add filters the search button appears: When you clear those filters, as you can see in the screenshot below you are stuck with a filtered list of tables: In the current state the only way to render an unfiltered list of list of tables is to refresh the page, which would be step 3 but I am omitting because it would require a refresh and I'm trying to draw the distinction. That's unintuitive to some business users. Since the cursor is already there, it would be better if they could simply refresh with the same button. One could argue that clearing filters prompts a refresh, but if you have as many tables as we do, you don't want to do that unless you want to do that if you catch my drift. So, here's the new version from this PR: Clear the filter and you still have control (see new button) And after clicking the refresh button (you get unfiltered results) :Let me know if this makes sense. |
Curious why don't you have the superset css theme active here? It'll be important to see this working with the default theme to validate. |
I suppose it won't compile. I don't think the theme is material to see the
difference but I will try.
Should I record a screencast to show the difference? The main thing I am
highlighting here is the table results list. However, as I said, I will try
to run this with the superset theme. I thought this was the the theme.
…On Tue, May 14, 2019 at 1:28 PM Maxime Beauchemin ***@***.***> wrote:
How why don't you have the superset css theme active here? It'll be
important to see this working with the default theme to validate.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7502>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAR6TSFQXCYR5D57RNVX7T3PVMOIHANCNFSM4HMWOAGQ>
.
--
Marcus Eagan
|
Ok, @mistercrunch so finally got the original theme working again, where things look a lot better. Step 1 Filters Applied to Tables Result (intentionally limit the results): Step 2 Before Refreshing after filters are cleared (results limited to main tables): Step 3 After clicking refresh w/ filters cleared (results include all tables): |
Before this change, the list would not be unfiltered and could not be refreshed in the UI. Users encounter confusion when they clear filters and do not see unfiltered list. On the other hand, and the reason why I added the button, automatically refreshing the table list was a poor experience because some customers have a lot of tables. Refreshing should be deliberate. The button gives the user a cue that they can refresh if they would like to see unfiltered table list whether with the button or a reload. |
CATEGORY
Choose one
Bug Fix
Enhancement (new features, refinement)
SUMMARY
When there are no filters active, to see the filter-less list of tables, you have to do a browser refresh. It would be helpful in the UI for some business users to be able to simply refresh with the search button, but it goes away. Search here is really refresh (usually with filters enabled), so it seems natural.
That is the main change here.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
cannot get fab to update template.
TEST PLAN
Refresh the template through re-initialization of the app and render the new table search page.
ADDITIONAL INFORMATION
Has associated issue: #7493
Changes UI
REVIEWERS