Improve UX to find/skim through method of element in documentation #3473
arunaseva
started this conversation in
Ideas / Feature Requests
Replies: 1 comment 1 reply
-
Hi @arunaseva, Sure, the reference section is a bit cluttered.
This is probably a bit challenging to implement, but would be a great improvement. See #2976 for similar request.
Yes, that's an interesting idea. You would, however, loose the ability to search the whole page for certain keywords using Ctrl-F. Only docstrings of expanded methods would match.
Oh yes, maybe like the overview on top of some Python documentation pages: https://docs.python.org/3/library/collections.html Apart from listing the methods somewhere or making them expandable, we could try to improve their order. Maybe we can sort them depending on the inheritance hierarchy... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Methods are in alphabetic order with perhaps longer description. It's ok, but not optimal because:
Plus: less "relevant" methods descriptions can be longer
Typically I always scroll the methods (e.g. at tree element: https://nicegui.io/documentation/tree#methods) to find the relevant method I need. Or if I more familiar with the element's props/methods I use Ctrl+F to find method name in page (if I remember the name) or scroll...
I suggest to list method names (and parameters) somehow. Examples:
Beta Was this translation helpful? Give feedback.
All reactions