-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add breadcrumbs to address bar #29
Comments
Another thing to consider is how to integrate the "check identity" functionality with this new address bar. Currently user can see information on server certificate and manage client certificate from an icon on the beginning of the address bar. In Gemini protocol a client certificate is tied to specific URI and is used for all sub-paths of that URI. It may be interesting to somehow integrate this information in the breadcrumbs. Perhaps we could apply a different background color to breadcrumbs covered by the currently used client certificate or insert the user icon (symbolizing client certificate) between the breadcrumb segments? For example, given client certificate which covers gemini://example.com/game/app we could have:
Where Alternatively, we could go with:
Here Lastly, in case path does not use a client certificate, but there are some associated with other paths on the domain:
In this case |
Being a user who is not very used to the idea of server and client certificates, I don't find this very useful and might serve as unnecessary information on the address bar. I can imagine myself clicking on the 👤 icon and getting frustrated for not understanding the information. It might be useful for people who actually the certificates for sites. But I don't see this as an intuitive design. What if there is just a lock icon at the start of the address bar, clicking on it opens a popover showing certificate information for both the server and the client? I find this approach that you've proposed intuitive and understandable.
Also, the use of a different colour looks interesting to me. It would serve as an extra indicator for the current page. |
I too actually like the unified icon approach better. (In fact that's how it's implemented right now.) Plus, playing with colored breadcrumb buttons sound fun. |
Address bar should represent path segments in current URI as breadcrumb buttons, similar to how elementary Files does it for folder structure.
Address bar should always leave some empty space after the last URI segment button. Clicking on that should allow user to manually enter text. In case of long URIs apply ellipses to middle segments first.
Clicking on individual path segment breadcrumbs should navigate to their corresponding URI.
User should be able to turn this feature off and use manual address bar only.
If server doesn't have any content for a given URI sub-path it's segment should form the same breadcrumb with the next (more concrete) one. For example, given following server responses:
Breadcrumbs for the gemini://example.com/gemlog/2021/Jan/post.gmi URI should look like:
User can click on:
[gemini://example.com >
to go to gemini://example.com> gemlog >
to go to gemini://example.com/gemlog> 2021/Jan/post.gmi >
to go to gemini://example.com/gemlog/2021/Jan/post.gmi> ]
to enter manual editing mode, which should start with full URI gemini://example.com/gemlog/2021/Jan/post.gmi selected. If address bar loses focus without user pressing enter or clicking on the go/refresh button it should revert back to breadcrumb mode and disregard manual changes to the URI.The text was updated successfully, but these errors were encountered: