-
Notifications
You must be signed in to change notification settings - Fork 78
Diagnostics Panel - Improvements #39
Comments
Hey! I'm actually working on a lot of this as we speak (:
There's a setting for you to opt in but I've still got a lot to go yet! |
|
Here's an example of linter-ui-plus's panel: Ignoring the toolbar as I'm not a fan of it aside from the search.
Nice! 👍
Some suggestions based on what's there currently in preview:
Some suggestions then from what I see on preview.
They don't seem to work at all when I enable preview. Perhaps known bug?
The value adds for grouping by file are:
@matthewwithanm Not sure what "Hide Feedback" is on the preview panel. Doesn't seem to do anything for me. Some additional suggestions as @matthewwithanm seems to be tackling this UI+ for the panel.
Sorry for the text wall. Just trying to communicate everything I'm thinking here. I was planning on doing a series of pull requests but it seems @matthewwithanm is on the job. Good work so far and let's make this panel amazing. 🥇 |
Wow, thanks for all the feedback!
👍 yeah this definitely needs to happen
👍 sounds good
this one i'm no so sure about. query languages like this aren't the most discoverable and i think it's pretty rare that a fulltext search for "flow" wouldn't accomplish the same thing.
These are intentionally separate so that you can easily control how much of the path you want to see while still keeping the filenames aligned. I'm planning on making the path column disabled by default to reduce clutter, but haven't gotten there yet.
👍 This is in the cards; it's just using our default table styling right now. I need to talk to @jgebhardt and see if it makes more sense to change our default table styling or have this one be a one-off.
I actually floated the idea of not having any of the header text and reducing the header height 🤔…@karincurkowicz what are your thoughts on this?
I don't think we want to give this up but we could probably do a better job of getting initial sizes for some of the columns so it's less important.
Hm, this sounds like a bug but I'm not seeing it.
No! Not seeing this one either…
Yeah, there are definitely tradeoffs. @karincurkowicz explored the grouped option but we didn't want to lock users into a particular grouping (like @damieng noted). For now we're going to go with the table but we can always revisit later.
We'll be showing review comments in this table too, and this refers to that. When I'm done, the button won't be visible if there aren't any providers that support that message type. I probably should rename this to "Review."
In the long term, we want this to be a home for all of the things you need to fix in your code. The first step for that supporting review comments but ultimately that'll expand to things like test failures too. So this part of the UI is looking forward to that 😊
👍
😍 Love it!
This is our plan 😊. I'll be pushing the up/down key stuff later today probably. tbh, though, I've been questioning the double click thing lately and wondering whether we should keep single click as select + confirm…the thought being that there's no reason for a primarily mouse-driven user to click on an item other than to jump on it. Requiring double click to open is really only useful for people who want to use a mouse (to select) and then the keyboard to navigate, which is probably really just a manifestation of inadequate keyboard controls for setting focus.
No need to apologize! It seems like we're running along the same tracks here for most of this. I would love to get your help with this if we have a shared vision and can figure out a way to not step on each other's toes. ❤️ |
❤️ If you want to keep both an "hide errors" and "hide warnings" buttons I'd suggest switching them to look more like tabs with an "All" tab. Then you can move the global filtering controls (only file, only changed files, etc.) to the right of the search bar. The remaining controls would be type filtering.
Mostly agree. But I think we should operate like the tree view does for consistency. Out of time to go into more but I'll post some screens of what I'm seeing in relation to the preview bugs on separate issues later. |
Keep the use case of selecting the text of a message in mind, especially right now when the |
@matthewwithanm and I discussed removing the "Type header", then we discussed removing all the headers, as all the content is generally distinguishable. We came to the conclusion that removing one label would be confusing & inconsistent. While removing all labels would create problems for folks looking for an obvious location to sort the table. I think that while folks are learning their way around the new table interactions we keep the table header in place. We can further tune it based on future feedback & usage. |
Summary: This adds support for keyboard navigation via the `core:move-*` commands, as well as a separate concept of "confirming" a selection. Currently, this is bound to a single click, however, this may change to double-click in the near future. See facebookarchive/atom-ide-ui#39 for some discussion. Reviewed By: jgebhardt Differential Revision: D5866099 fbshipit-source-id: 97e6e26f7ec5446bf8f1fd7fc3dc89e987a91a25
Summary: This adds support for keyboard navigation via the `core:move-*` commands, as well as a separate concept of "confirming" a selection. Currently, this is bound to a single click, however, this may change to double-click in the near future. See #39 for some discussion. Reviewed By: jgebhardt Differential Revision: D5866099 fbshipit-source-id: 97e6e26f7ec5446bf8f1fd7fc3dc89e987a91a25
@mehcode Any interest on putting together a PR for some of the search stuff? I've got a ton of stuff on my plate and would love a hand! Say, maybe these?
(Maybe use bold for the matching text instead of changing the color?) |
(Fix on the way for the icons issue. Sorry about that!) |
@matthewwithanm Swamped at the moment myself with my latest work project. I don't think I'll have a chance to do those until a week or two out. If they're still not done then, I'll take them. |
Awesome! lmk 💜 |
I've talked a bit about this before in other places. I started an experiment for improving the
linter
's panel. Now thatatom-ide-ui
is the "official" solution I'd like to try and improve the UX of the panel in the same way.Here are some thoughts. Numbered for later reference only.
Add a search box in the top-right.
source:eslint
searches against the sourceis:error
oris:warning
searches against typeRemove the table header. My opinion is that sorting messages by anything except
file, line
isn't very useful.ctrl-click
(orcmd-click
) on a specificSource
could populate the search box withsource:<source>
Use icons instead of words to communicate severity. On my screen,
Warning
is always cut off asWarni...
and it looks a bit sloppy.I have several more ideas but I'd like to focus on those 4 first. We can incrementally improve what's there by working on this one piece at a time.
Thoughts? If we can agree on the general direction I can start working on this.
The text was updated successfully, but these errors were encountered: