-
Notifications
You must be signed in to change notification settings - Fork 283
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
Various UX issues and other points #1914
Comments
Thanks @benwainwright for the great feedback, really appreciate you taking the time to list this out! I'll put some quick notes in here, but I'll break this up further (track issues for items that we don't already have tracked).
Agreed! I'll look at revisiting this. An option would be to move our search experience back to the sidebar - which would make it clearer. Alternatively, we could have the same behavior as today (open the pane at the bottom), but not persist the highlighting. It does look like a bug when the highlighting sticks on multiple buttons.
Right, we definitely need to improve this.
We're actually working on this - it's high on my list too. @glennsl has made some recent progress with #1924 and #1931
High on my list too! This is something I'm actually working on this week - we have Vim's My plan is to hook into the language configuration that we load - which provide regex's for increasing indent / decreasing indent. Just started the plumbing for this today: onivim/libvim#208 - hopefully should be wired up by end of next week. Will be great to get feedback on it to see if it feels more natural.
This is on our radar for sure. @zbaylin made some great progress on this in revery-ui/reason-sdl2#57 - need to work through some additional issues though to get it back in.
😆 totally! I really like your idea for the workspace configuration - something I'm interested in exploring. I often jump between a few projects (ie, onivim2, revery, libvim) - having a quick way to switch, as you describe, would be great! I'll continue going through the feedback, and link up existing issues, or log new ones to track - but wanted to make sure you knew I've start going through it. Thanks @benwainwright ! |
Great, thanks for the reply @bryphe. Please let me know you'd like me to do give anything a try! |
In starting to work on #528 - vim navigation for the file explorer (and other bits of UI, like search, SCM, etc) - there's some preliminary work that needs to happen. In particular, we need to refine our concept of 'Focus' - for example, we currently have 'Explorer' as a focus state, but as we break down #528 and look at features like #1785 (directory explorers) - we need to refine this. In particular, there could multiple 'explorers' in the view, and the focus might need some state along with - like the current selected item, information about the viewport (for `zz`, etc). We'll need to 'fractalize' our focus state - we'll keep track of sort of the high-level place we have focus - for example, the `Sidebar`, and then from there, the `Sidebar` can route focus operations, like text-input and paste, to the appropriate piece, which can then delegate it further (for example, for search - one focus state will be input focus, and another will be navigating the search results). So just like we have a 'fractal' model for state - we'll need a 'fractal' model for focus to handle these cases. In addition, a common request I get (mentioned in #1914, and comes up a lot in e-mail) is that the search behavior right now is confusing - all other buttons in the sidebar change the sidebar stop, but the search one opens up an extra pane. Since we can now resize the search pane, and it will simplify the focus-work described above (it would otherwise be a special case), figured it was a good to move it. The UX should still be improved - with the default sidebar size, it's difficult to interpret the results. __TODO:__ - [x] Fix context menu behavior in new model - there are some cases where it stays open - [x] Fix default focus for search / SCM / extensions
I've just been through this post and I can see that you have resolved a bunch of these issues ✅ I'm going to close this post now and open the remaining points I feel are still worth addressing as separate issues. |
Awesome! Thanks @benwainwright - tracking the remaining issues separately sounds great 💯 |
So although I'm still kind of hindered by #1185, I've decided to make use of my partial workaround and give Oni2 a bit of an actual try because, tbh, your vision is something I've been desperate for for a long time. So far what you've got is really encouraging - its starting to look really slick and is far more responsive than vscode. So after an hour of playing with it, I've written down a bunch of feedback. I'm sorry to lump it into one issue - if you'd like me to split any of it out, please ask.
I appreciate that this is an Alpha release and you may well be aware of, be in the process of fixing, or have made decisions on any or all of the below. I have attempted to look for open issues that cover any of the ground below, but it isn't always that easy so apologies if I'm duplicating live discussions
UX Issues
:
) look like they should be text inputs, but don't have all the normal behaviours. Because they have blinking cursors, you should be able tocmd-z
to undo entries in themcmd-w h/j/k/l
to move around splits, but I can't use them to move into the sidebar or find drawer (and once I'm there, I can't move out again). I can see that this has been discussed Feature: Vim navigation for the file explorer #528, but I'm bringing it up again because there doesn't appear to have been any movement on it for six months. This would absolutely block me from adopting Oni2.o
the indenting behaviour is mostly wrong and weirdly inconsistent. This is very jarring behaviour for me because it takes me out of the "reasoning about code" headspace to the "reasoning about formatting" headspace. To illustrate, using the sample code below:o
, the cursor is placed on column 0 of the next line. I'd expect column 2, inline with the 'p' ofpublic
o
, the cursor is placed on column 2 of the next line. I'd expect column 4.o
, the cursor is placed on column 4... which is in line with my expectations:
autocomplete. Is it possible to hardcode a whitelist to make the experience less confusing? Maybe have a "developer mode" flag that turns the whitelist off, to help with testing stuff.ex
commands you intend to support? While I was usingOni2
I tried to usepwd
andset relativenumber
and they both did nothing.file/edit/view/window
etc.)? I personally would not use them, but I think they need to be there for many:
and then press<up>
, I'd expect to cycle through the previous command history, as per vim.Feature Suggestions
['~/repos', '~/workspace']
, where the former contains misc projects I've checked out and personal projects and the latter contains work repositoriesn
rootscmd-p
style mapping to drill down into the actual file I wantBugs
.yarn/releases/yarn-berry.js
in one of my projects doesn't get syntax highlighting. As far as I can see, it is a normal JavaScript file, albiet minified and with a shebang at the top. I tried removing the shebang and that made no difference. I'm afraid I have no idea why its any different from any other JavaScript file 🤷:e <path/to/directory>
opens the folder as an empty, editable, plaintext buffer, which errors when I try to save it rather than doing something sensible like listing the directory, or opening it in the sidebarOk, I think its time for bed now (1:35am UK time)
The text was updated successfully, but these errors were encountered: