mirror of
https://github.com/floccusaddon/floccus.git
synced 2026-04-25 14:16:12 +03:00
[GH-ISSUE #5] folders #6
Labels
No labels
browser-specific
bug
correctness issues
enhancement
feature: Google Drive
feature: Linkwarden
feature: git
feature: nextcloud-bookmarks
feature: tabs
feature: webdav
help wanted
native-app
priority: high
priority: low
priority: medium
pull-request
question
question
stale
upstream
waiting for more information
wontfix
🙁 Not following issue template
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/floccus#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kewlfft on GitHub (Nov 20, 2016).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/5
is there a way to sync bookmark folders within the owncloud folder?
@marcelklehr commented on GitHub (Nov 20, 2016):
Hi there!
The owncloud bookmarks app doesn't provide folders, afaik, so that's why I didn't implement that, yet. I know it's pretty shitty without folders and tags (firefox doesn't have tags, owncloud/nextcloud should, I think, might be worth implementing a conversion between tags and folders in fx) :/
Still for as-you-type suggestions it's quite useful, as it is.
@kewlfft commented on GitHub (Nov 21, 2016):
all right this is understandable we are limited by owncloud here. This works pretty well but does not replace a full sync.
@pmorch commented on GitHub (Jan 30, 2017):
Oh, no! My primary use case is to be able to sync the contents of the Bookmarks Toolbar. And so I can't use nextcloud for that, I presume, since all bookmarks need to be in the owncloud folder :-(
@trueshanti commented on GitHub (May 4, 2017):
maybe push the feature: https://github.com/nextcloud/bookmarks/issues/13#issuecomment-299255460
@marcelklehr commented on GitHub (May 4, 2017):
One short term solution is to provide a floccus option to choose the folder you'd like to sync yourself, instead of having to use the built-in one.
The long term solution is definitely to push the feature, which shouldn't be too hard, knowing the database model of nextcloud/bookmarks. First up is making the REST API work, though, which is coming along reasonably well.
@brantje commented on GitHub (Jun 22, 2017):
We could convert the folders structure to tags imo.
And still send the structure to the server for syncing reasons.
@marcelklehr commented on GitHub (Jun 22, 2017):
@brantje How would you convert tags back to a fodler hierarchy? Converting folders to tags looses the hierarchy.
@danopz commented on GitHub (Jun 22, 2017):
We could just create tags like
my/folder/structure, but this would be ugly@nodiscc commented on GitHub (Jun 23, 2017):
Firefox does support tags: https://support.mozilla.org/en-US/kb/categorizing-bookmarks-make-them-easy-to-find
@marcelklehr commented on GitHub (Jun 23, 2017):
Not all browsers support tags, though, and the goal is to be cross browser. Also, it's not ideal imo, to convert the user's carefully constructed folder hierarchy to tags and then dump the hierarchy, if this is what you're suggesting.
@MA3o commented on GitHub (Jul 7, 2017):
If I get @danopz point right, he means that you can "hide" the folder structure in a tag that contains the full path, e.g. a tag named "path/to/some/subfolder/". That would fit into the tag-organization of the bookmarks app while still leaving the actual folder structure and hierarchy of all bookmarks reproducable. The browser extension would have to parse that tag and reconstruct the hierarchy out of it.
The downside is that this will flood your bookmarks-app with alot of tags that the user did not create on his own. This could impair the user experience quiet a bit, espacially when you have alot of subfolders and suddenly after installing floccus some 100s of new tags appear in the bookmark app.
An easy and cheap solution to this would be to add "hidden" tags to the bookmarks app. If the bookmarks app automatically ignores / hides all tags that start with, say, a dollar sign ($), a double underscore (__) or whatever abstract symbol combination that is usually not used by a normal user, we could just hide all the new tags created by the method above. That shouldn't be too hard to implement and keeps the bookmarks user experience where it is right now with minimal restrictions.
@marcelklehr commented on GitHub (Jul 7, 2017):
Yeah, setting a tag for the whole path makes more sense. It's still a hack, though.
@MA3o commented on GitHub (Jul 7, 2017):
There won't be a non-hack solution without changes in the bookmarks app, I guess. The Issue regarding folder support on their project seems more or less quiet the past weeks. Is it the plan to wait until the feature is added?
One could ask the same question regarding other browserdata sync like history and open tabs. Are there any ideas about how to realize that? "Full" browser sync with nextcloud is a very desirable feature for me, and even though I have no clue about programming browser extensions, I could imagine to help with the PHP backend.
@danopz commented on GitHub (Jul 7, 2017):
ref: nextcloud/bookmarks#13
@arminbw commented on GitHub (Jul 17, 2017):
I like the idea of being able to choose the folder to be synced. I made a little FF addon, which acts as a read-it-later-like depot for links. Used together with floccus it could work as a lightweight private alternative to Pocket/Instapaper/etc.
@e-alfred commented on GitHub (Aug 24, 2017):
@arminbw Sounds like a good idea, quickly bookmarking things to read them later would give Nextcloud Bookmarks/Floccus a great additional use case.
@mikeziri commented on GitHub (Nov 1, 2017):
@marcelklehr is the folder structure parsing from a tag (/path/to/bookmarks/) doable for you?
meaning:
from nextcloud/bookmarks api > browser: converting each bookmarks tag of a path to a tree structure in the browser
and from browser > nc/bookmarks api converting each bookmarks path to a tag path
@marcelklehr commented on GitHub (Nov 1, 2017):
@mikeziri yep, that should be doable. And although it's a hack, it's probably the quickest way to achieve folder sync in the short term, as the bookmarks app is undergoing some general overhaul at the moment the duration of which is no easy to determine, even though it's also me who does the work 😂. I'll release v1.3 soon-ish and will work on this afterwards, I think.
@mikeziri commented on GitHub (Nov 1, 2017):
cool ! I cloned your repo and am already trying this on the pullBookmarks function on lib/adapters/Nextcloud.js . compiled with gulp and added the extension to chrome. it's a bit hardcoded as I don't know too much about this new ecmascript notation and chrome extensions apis. but will try to figure it out.
@marcelklehr commented on GitHub (Dec 9, 2017):
Ok, so as pointed out in #27 I've implemented folder to tags sync in a separate branch, which I'll be refining after the release of v1.3. The current implementation relies on this pr: https://github.com/nextcloud/bookmarks/pull/408 so we'll have to wait for that to hit release.
@marcelklehr commented on GitHub (Mar 17, 2018):
Fixed in version 2.0.0 🎉 :)
@github-actions[bot] commented on GitHub (Mar 21, 2023):
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.