Repository navigation
Remove the search field hint - #6490
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
canova
left a comment
There was a problem hiding this comment.
Thanks! This is a lot of JS just for positioning the hint correctly when the window is narrow and it appears with a scrollbar (which is a rare case). We have the new fancy "anchor positioning" feature that we can use here, which I believe allows a css only fix without any JS. What do you think?
mstange
left a comment
There was a problem hiding this comment.
I'd rather just remove the hint.
It's pretty common for people to not know or understand the syntax of this field (for example most people still don't know that we have negative fields etc.) We also talked about supporting more advanced things here. I don't think I've discussed before but I think it would be good to document the syntax in the user docs, and then add a link in this hint so people can click through the docs and learn. |
|
@canova I tried multiple solutions with CSS only way too but they all are worse than this one, for example some part is always being cut off. Also, the phone zooms in when clicking on the search bar and that adds some complexity too.
Wdyt? |
|
I like this proposal. |
The hint about using commas in a panel's search field was clipped by the settings bar, which hides its vertical overflow to be scrollable, so it never appeared. It also described only one part of the search syntax.
74973b0 to
308addb
Compare
|
Follow-up #6491. |
Changes: [canova] Add localization guidelines to AGENTS.md (#6487) [staktrace] Add markers to represent causal flows (#6488) [zuhairkhalid229] Highlight more languages in the source view (#6475) [kayaal34] Fix typos in developer docs (#6479) [fatadel] Remove the search field hint (#6490) [mstange] Add an interactive mode for profiler-cli (#6400) [mstange] Make keyboard zooming in chart viewports center on the mouse position. (#6471) [fatadel] Bump profiler-cli version to 0.16.0 (#6502) And special thanks to our localizers: de: Michael Köhler el: Jim Spentzos en-GB: Ian Neal ia: Melo46 it: Francesco Lodolo nl: Mark Heijl ru: berry, Valery Ledovskoy sv-SE: Andreas Pettersson tr: Grk, Selim Şumlu zh-TW: Pin-guang Chen
Main | Deploy preview
The hint about using commas in a panel's search field was clipped by the settings bar, which hides its vertical overflow to be scrollable, so it never appeared. It also described only one part of the search syntax.
Closes #6489