-
Notifications
You must be signed in to change notification settings - Fork 483
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
feat: add inspect near browse #1114
Conversation
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
That is snazzy, but perhaps it could be much simpler.
|
if you are on the ipld explore page, that bar should open what you search for in the ipld page. |
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.
Potential UX problem:
- menu on the left of the screen has "Explore" button pointing at "Explore screen"
- search box at the top has "Explore" on a button that opens CID in "Files screen" instead of "Explore screen", and "Inspect" button that opens in "Explore screen" 🙃
- I would expect label opening in "Files" to be something like "Browse"
- OR rename "Explore" screen in the left menu to "Inspector" (reusing mental model of HTML inspector in web browsers)
I thought about that first, although that would require to resolve possible
Yes, already possible. @lidel yes, using 'Browse'/'Explore' is the best IMO. Will change. |
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
Handle "Browse" and non-unixfsClicking on "Browse" for non-unixfs node (eg. @hacdias Are you able to rebase this PR on top of master (to include fixes from #1115)? I want to confirm user will see below message instead of an error :) Proof-read English textSGTM, but let's get 👍 from a native speaker (@olizilla / @autonome) |
@lidel just merged with master! Remember that now it will only show up if you go to the specific link! If you're just navigating, you'll be automatically taken to the Inspector. Seems to work as expected! |
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.
Inspect feature LGTM.
Sidenote (can be done in a separate PR): just like @ericronne suggested last week, we should add color to the input and buttons on mouse hover, otherwise it looks like disabled UI element.
Yep. Actually any interactive element should look clickable by default, otherwise users may not ever know to hover over it. Here are two ways we could telegraph clickability in regards to this feature set … ps wearing my "user hat," i'm still not sure what to make of the house icon. My brain expects that to be a number, in keeping with the pattern set by the blocks and pins counts. The word "files" may be part of the problem, as it suggests "X files" 👽 (number of files) to me. Would changing the label to "home" make sense? |
@ericronne @lidel moving that conversation to #1122. |
Close #1109. Closes #1112. #1027 introduced a regression: we replaced the IPLD explore bar by the files Explore bar. Although, we didn't put the IPLD explore bar anywhere else.
This PR makes the top bar work for both Files and IPLD sections. How? Like this:
License: MIT
Signed-off-by: Henrique Dias hacdias@gmail.com