-
Notifications
You must be signed in to change notification settings - Fork 918
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
Allow switch between legacy table and EuiDataGrid: Add an option to enable or disable the EuiDataGrid (2.11 table) for user preference. #5716
Comments
@ananzh Can we make both the toggle behave the same way? Right now it looks like one toggle activates the legacy table when turnd on and the other activates the new table when turned on. Also i'd probably call it |
@ananzh I like that we have the setting accessible through advanced settings as well as in the application (plus 1 Ashwin's comment) I do have additional feedback for the in app toggle. It feels detached from the component that is changing (which is okay) if we provide a description on what the change could entail. Additionally, we are missing the chance to collect feedback on the new table. Here is my suggested UX for enabling new features we would like users to try. New.features.mp4 |
@ashwin-pc I see. Good point. Will modify the advanced settings to |
@shanilpa @ashwin-pc Thanks for the quick feedbacks. Let me summarize what we need to change:
|
@ananzh sounds good on the update to the advanced settings phrasing to align with the in-line selector. I agree with @shanilpa 's feedback that we should bring the toggle closer on the UI to the element it is impacting. I'm not fully aligned with the UI @shanilpa proposed in the video above however. The goal should be that we dont have multiple features being enabled/disabled at a given time, we should keep it really simple for each release with 2 options, not giving an on/off switch for all features. With that said, could we align on a toggle experience that makes it more obvious in this release that it controls the table, and if we use a toggle in a future release to try out a new Discover experience with multiple changes, that toggle would go back to the high level location proposed in the original issue here. Thoughts? |
@dagneyb we can have a checkbox in the modal that says enable all new features so users can select all without having to click individually. I do think the granular control has several benefits:
For this specific change since it is only the table if we can have the control closer to the table like in the original issue I think that works: #5555 (comment) (plus it sounds like users are okay with the placement of the toggle there) |
Since table is only switchable component and given a tight timeline to mitigate users pain, we will keep a simple toggle to avoid any complexity and confusion. Meanwhile, we already have an established feedback mechanism (accessible via the
|
Since we need this on a short turn around I am okay with the toggle. We can validate if this is the best implementation long term for future releases.
|
What do you think about making this setting browser-specific by way of Josh's new browser-based theme settings? We would put the switch next to the table and wire it up to the interface that Josh created in #5652. |
From a user POV, the button style is more eye-catching than the toggle. I suggest revisiting the design style, especially when we release more robust features. |
This should be a per-user setting in the fullness of time, so individual users can decide for themselves which experience they want to use. |
This looks good @ananzh. @kgcreative @dagneyb? Couple questions and feedback depending on the answer:
|
Will update
|
Update based on request to use local storage and remove advanced settings to avoid any risk for customers. Now the setting is in the browser storage:
local-storage.mov |
Thanks all! A few small updates - Users expect that a toggle will switch the interface immediately, so having a full page refresh based on a toggle breaks that expectation. Let's align to using a (small) empty button with icon left instead in stead of the toggle: Then, for the go-back experience, let's update the modal to the following: Title: |
Resolved in #5789 |
So, this got implemented in 2.12. Great. I can't use that because my OS back-end version is not 2.12. That makes this toggle completely unreachable for me. While this grid may solve technical debt issues for you, it makes the discover app almost completely unusable for my main use of opensearch dashboards, which is searching and reviewing logs. Now the log message is just one tiny, dumb, column among many tiny dumb columns, all of which are the same width and height. |
Are you self-hosting or are you using AWS's managed service? This is getting fixed as a patch to v2.11 on the managed service. |
I self-host OSD against a managed OS cluster, because the built-in OSD makes all kinds of assumptions about security and access that don't fit my use case. This should be back-ported to a 2.11 patch, period. For all release paths of 2.11. The new table just breaks huge swaths of the functionality of the app. |
@ananzh @ashwin-pc thoughts? |
@ohTHATaaronbrown for your usecase you can add |
Wha? What is Please explain why this can't be made to be in v2.11 for all release paths, like it should be. You're patching 2.11 for the AWS managed version, so it's clearly possible. Why force an upgrade that requires a mode hack to fix something that breaks a good portion of the app's function? Version locking + massive UI changes with no feature switch or rollback capability is a really bad combination of things. In the future, y'all might seriously consider always putting major changes to the UI behind a feature switch so that you don't sow chaos in the community with sudden removal of features that used to be present. Don't just move cheese and then act surprised when it makes people upset. |
@ohTHATaaronbrown Oh I wasn't aware that Dev mode was required to enable that. Yes that is silly and a restriction that we inherited from Kibana when we forked. @AMoo-Miki should have a way to unblock you temporarily until 2.13 which is also coming to AWS soon. Honesty we had a tough call to make on what releases we could support for this fix since each release is quite time consuming, thats why for this toggle and the two user groups we targeted were Open Source users (using 2.12) and AWS users (using 2.11 since they would not get 2.12). I didn't anticipate anyone who isnt a dev from using a 2.11 AWS version with a 2.12 OpenSource in a production environment since thats not something that we've publicly supported even though its technically possible and probably safe to do. Given that the 2.13 release is already underway I'll let @AMoo-Miki comment on how to get around the dev mode restriction temporarily until then. |
I'm a troublemaker by nature. Sorry about that :) |
@ohTHATaaronbrown you are my favorite kind of user! The upcoming version of OSD, 2.14.0, will allow you to use However, if you want to do it right now with 2.13.0:
|
@ananzh can this be closed? |
@AMoo-Miki I just saw the release notes for Dashboards and saw your pull request. Thank you! |
@AMoo-Miki Thank you! |
Closing this issue since 2.14 has been released and you no longer need to be in dev mode to ignore the version mismatch. |
Propose to provide two ways for customer to switch between legacy table and data grid table.
Use legacy table
The text was updated successfully, but these errors were encountered: