-
Notifications
You must be signed in to change notification settings - Fork 147
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
[DOC] Added search functionality for estimator overview table #2496
base: main
Are you sure you want to change the base?
Conversation
Thank you for contributing to
|
I can confirm, the RDT-build does not produce the expected results. |
@baraline @SebastianSchmidl |
Great job, search is working great ! Only thing left to correct would be to adapt the table style to the dark/light mode toggle, currently, it displays only as light theme even with dark mode on. For pre-commit, I would suggest you install it locally using the dev documentation, it will be way easier to see and fix the issues this way. It can even fix some issues automatically when you try to commit (you need to re-add and commit if some fixes have been auto applied), it will also tell you errors and what to do to fix them |
Thank you for the feedback! I will look into adapting the table style to the dark/light mode toggle so that it displays correctly in both themes as well as try pre commit. |
For me, the dark/light mode works as expected:
The search is also really nice 👍🏼 🥳 I have some additional requests (unrelated to the search):
This does not need to be fixed in this PR. But, do you have any idea how to deal with it? |
@SebastianSchmidl
Regarding this we can will try to look into adjusting the table layout based on the screen size of the view port
Regarding this we can try warping the words, or set minimum length to display for a column. I will look for any new ways to mitigate this issue |
@baraline @SebastianSchmidl @all-contributors please add @kavya-r30 for code |
I've put up a pull request to add @kavya-r30! 🎉 |
We're very close to perfect. Only remaining thing is the text in the search bar not changing color with theme, after that we'll be good to go, thanks ! :) |
@baraline For me the text in the search seems to change with theme in both chrome and microsoft edge |
To be more precise, it's when you enter à text in the box, and change theme with the text still in there. I'm checking on a firefox on mobile, maybe if you don't have the issue it's because of that somehow |
I will check this with Firefox but I tried changing theme while the text was still present in the text box and it changed the colour for me |
Just checked, it does the same thing on firefox on desktop, but not on edge. So maybe it's one of my firefox expansion messing with the css somehow. @SebastianSchmidl how does it renders for you ? If it's good on your side we can call it a day and merge the PR. |
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.
The theming works for me perfectly on all three desktop browsers. I did not check on mobile, but I think that our documentation is mostly used on desktops.
I have a suggestion regarding the width of the table:
We could abbreviate the column headers for the tags and have a legend in the text above the table. For example like that:
What do you think?
I tried implemented abbreviating the column headers for the tags and adding a legend in the text above the table. As well as i also tried setting 10 as the default page size that also i believe has reduced the need for vertical scrolling. Should I create a new pull request to address this issue? |
I think you can just push your changes to this one, and we'll be good to go. You'll also want to remove the duplicate |
Thanks for considering my additional requirements. This significantly improves the estimator overview table! 👍🏼 |
@baraline @SebastianSchmidl Done :) ✔️ |
Reference Issues/PRs
Fixes #1438
What does this implement/fix? Explain your changes.
Added search functionality and page sorting for estimator overview table
Does your contribution introduce a new dependency? If yes, which one?
No
Any other comments?
@all-contributors please add @kavya-r30 for code
PR checklist
For all contributions
For new estimators and functions
__maintainer__
at the top of relevant files and want to be contacted regarding its maintenance. Unmaintained files may be removed. This is for the full file, and you should not add yourself if you are just making minor changes or do not want to help maintain its contents.For developers with write access