Skip to content
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

Improve tabs #10

Open
Antolius opened this issue Nov 28, 2021 · 2 comments
Open

Improve tabs #10

Antolius opened this issue Nov 28, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@Antolius
Copy link
Contributor

Tab name should use the top level heading from the rendered gemtext, and default to last URI segment only for non-gemtext files.
Tab icon should use site's favicon (as specified in gemini://mozz.us/files/rfc_gemini_favicon.gmi) if available, or a distinct emoji otherwise.
User should be able to pin tabs.
Middle-clicking on navigation buttons in header bar should open corresponding pages in a new tab. In this case of back and forward buttons history should b copied over from the current to the new tab.
Opening links to URIs that have client certificates associated with them in a new tab should not automatically use the certificate.

@Antolius Antolius added the enhancement New feature or request label Nov 28, 2021
@Suzie97
Copy link
Contributor

Suzie97 commented Jan 16, 2022

Adding in some more points here, forgive me if some of these features are already implemented in Starfish. Last time I used it, I remember they were not.

  • Using Ctrl + Tab and Ctrl + <number>to navigate between the tabs
  • Ctrl + Atl + Left and Ctrl + Alt + Right to move the tabs
  • Dragging tabs out of a window to the desktop should open a new window with that tab
  • Dragging a tab inside another window should move the tab to the target window
  • Also, scrolling support i.e. scrolling with the mouse pointer over the tab bar to navigate between the tabs

These are the standard ways tabs work on elementary and GNOME apps.

Here is a blog post for more information https://blogs.gnome.org/alexm/2021/03/13/reinventing-tabs/. It's more focused on GNOME and not elementary, but we do get a good overview of the latest changes.

@Antolius
Copy link
Contributor Author

Antolius commented Jan 18, 2022

I actually used DynamicNotebook class from elementary's Granite library as an implementation of tabs. So features Starfish does have are actually inherited from it (for example scrolling support is there). Perhaps it would make sense to implement some of these improvements (like keyboard shortcuts) upstream in Granite. I'll look into it, there might already be some work / issues / discussions on it.

As for pulling tabs between windows (either existing ones or opening new ones) I'm afraid that Starfish currently only supports one application window. I've opened a new issue to track this: #30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants