-
-
Notifications
You must be signed in to change notification settings - Fork 982
feat: Zen Folders #9355
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
base: dev
Are you sure you want to change the base?
feat: Zen Folders #9355
Conversation
Not sure if this has been patched out yet, but an issue with pinned groups right now is middle clicking to open a new tab opens it in the pinned group (as a regular tab). Just incase it was not on the radar :) |
@octaviusz i've been thinking about the changes done to the mutation observers we've talked before. Is there really no possible workaround for this? This patch is going to be hell to maintain in the long run. |
@mr-cheffy I tried to preserve the original logic, but the call to |
Some things left:
I believe there's to ways to tackle this.
|
What about both? I don't remember specific examples, but I've seen multiple apps using option 1, then switching to option 2 if the user keeps hovering for longer. |
margin-inline: var(--tab-block-margin); | ||
} | ||
|
||
.tabs-list-item-content { |
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.
These class names should be changed to something more specific before merge
@@ -121,6 +401,246 @@ | |||
} | |||
return this._piningFolder; | |||
} | |||
|
|||
openTabsPopup(event) { | |||
event.stopPropagation(); |
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.
Nothing should open if there's no tabs to search for
Oh, very true! |
The Firefox implementation has been counterintuitive in my experience, since the tab synchronization is device dependent. So if I hop between Zen on multiple devices signed in with the same Mozilla account, then I will not be able to bring over the same open tabs and that leads to a disjointed experience. |
I disagree with this approach. As an Arc user, I rely on having a complete and separate space for my bookmarks. The key distinctions between the concepts are:
An improvement to evaluate would be to allow users to quickly generate a space from a bookmark folder preserving its URLs and nested folder structure. This would bridge both concepts without removing the flexibility of bookmarks. |
is |
It would be nice to offer this feature, maybe in an optional way (checkbox while importing?) (but I would not consider this to be a requirement for the current PR) |
… views UI, b=no-bug, c=tabs, folders
Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
Coming in here as well regarding the Tab vs Bookmark discussion. I think bookmarks could be a great way to solve problems like syncing essential and pinned tabs. Currently since Firefox sync doesn't differentiate between your pinned tabs, you can't sync those to multiple devices with Zen. Using bookmarks would allow Zen to basically sync pinned & essential tabs using just default Firefox bookmarking behavior. Instead of pinning a tab, what would happen is that it creates a bookmark in a folder ( On top of that we could just use nested bookmark folders for tab folders. In general I see "pinned" and "essentials" more like bookmarks then tabs. The only difference to normal bookmarks is the fluid transformation from "static" bookmark into an active tab. Tl;dr BookmarksPro Bookmarks
Contra Bookmarks
I created a discussion related to this. |
@bdbch If going with the bookmark approach, then each workspace should have its own dedicated folder so its pinned tab can be living there. Otherwise, how Zen would know which workspace the just synced pinned tab belongs to. I'm not arguing, just want to emphisize on the crucial part since people that don't use workspaces tend to ignore these nuances while for others they could be crucial. Complimenting to your suggestion, I can see the Bookmarks structure like this:
Note: |
People, please stop suggesting tabs as bookmarks, that's not going to happen. We can already have a separate sync directory just for zen's sync, it doesn't have to be a hacky bookmakrs solutions. https://github.com/zen-browser/desktop/blob/dev/src/zen/workspaces/ZenWorkspacesSync.mjs |
I get where you're coming from, but honestly, tabs and bookmarks aren't really comparable, they serve totally different purposes. Tabs are meant to be transient, tied to your current session or workflow. Bookmarks, on the other hand, are a persistent, curated list of saved links. Trying to fuse the two creates more confusion than convenience. The idea of treating pinned or grouped tabs like bookmarks (or vice versa) just introduces unnecessary complexity. You end up forcing tabs to behave like a storage system, or bookmarks to act like live sessions, neither of which is their intended function. Just because they look similar in a sidebar doesn’t mean they’re meant to do the same thing. TL;DR: it just doesn't make sense what you are suggesting. But if you'd like continue talking about this, lets do it somewhere else, because this PR is just strictly for folders and many people are subscribed to it. They are probably getting emails on every comment. |
@mr-cheffy
I personally like the idea because I'm a tab hoarder but I get that it does not appeal to everyone. |
I already opened a discussion, also don't want to pollute the PR with unrelated feature discussion: #9559 |
It does come from Arc and is one of the things that made me move away from it. It seemed cool, until you want to export your bookmarks to another browser or do any heavy management/pruning. IMO tab folders should be separate from bookmarks, but have a context menu option to save a tab folder as a bookmark folder, and another to open a bookmark folder as a tab folder. |
Continued work on #7359
TODO:
Few extras: