-
-
Notifications
You must be signed in to change notification settings - Fork 425
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
Accordion for Sources
in prompt buffer ui
#2818
Comments
@lansingthomas, after thinking about it for quite some time, I don't see much benefit in this proposal. In fact, I consider the ability to easily switch between sources much more important than collapsing them. And we already provide the former. With that said, I'd suggest closing this issue. CC @aartaka @jmercouris |
I'm not sure... |
Let's vote. A decision is better than no decision. I'm against, @lansingthomas is for. @aartaka is not sure. @jmercouris and @Ambrevar: we're interested in your thoughts. |
I'm OK with having it in, but not collapse anything by default. In the long run, we could have full-page, long-lived prompters where this feature would be very useful. |
I think I've understood why I don't see the need to implement this. The structure of suggestions in the prompt buffer is very simple. There are sources and each source has suggestions. This is not a complex tree structure with an arbitrary level of nestedness. Plus, the cursor is only placed on the suggestions. The source titles are purely informative. In other words, navigating suggestions in the prompt buffer is actually like navigating a flat list where subsets of the list have labels (=sources). Think of a supermarket buying list where there are categories like vegetables or dairy products. I think that collapsing is very helpful when navigating hierarchic data like trees. If I have my cursor at the first suggestion of the 2nd source and the 1st source is collapsed, the only extra piece of information I get is the title of the 1st source. But I don't see much benefit in it. Plus the extra burden of collapsing and expanding each source. Sounds like over engineering to me. I agree with @Ambrevar that if such a feature would exist, it wouldn't make sense to collapse sources by default. |
Slight correction, I believe Pierre said that no sources should be collapsed by default :-D |
Oops, that's a typo. In my message above I was agreeing with @Ambrevar. I'll edit it. |
@lansingthomas waiting for your final word on this one. |
Let's NOT do it. |
Dear Priests of the Transistor,
Last week we discussed a few ways to help users display the most relevant
suggestions
and to avoid excess scrolling in the prompt buffer UI. There was some positive consensus regarding collapsing and displayingsuggestions
withinsources
My view is that an accordion like this does a good job of providing lots of info early, and leaving it up to the user to determine what is important for them in that moment.
Please provide a nice collapsing-accordion feature for our
Sources
might look like:
This feature:
-
for open-state (to show that clicking the-
will removesuggestions
⋁
for closed-state (to show that clicking the∨
will provide moresuggestions
suggestions
andattribute column titles
of aSource
when a user clicks the-
iconsuggestions
andattribute column titles
of aSource
when a user clicks the∨
iconSource
WHILE their blue selector is targeting asuggestion
within thatSource
the blue selector should move to the topsuggestion
of the next open-statusSource
regarding the icon choices
-
because it communicates the removal of options∨
because it resembles a down arrow -- which communicates that more suggestions exist below. It is a visualization of the logical operator for OR -- which gives a sense of providing alternative suggestions.+
symbol here, but I would like to start with a∨
because I want to leave the+
available for another purpose (add/subtract attribute-columns) in a future time.Thank you : )
The text was updated successfully, but these errors were encountered: