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

Tag browser - like delicious (del.icio.us) #453

Closed
pettijohn opened this issue May 4, 2023 · 2 comments
Closed

Tag browser - like delicious (del.icio.us) #453

pettijohn opened this issue May 4, 2023 · 2 comments

Comments

@pettijohn
Copy link

I would like to augment the browser extension to have a tag browser (similar to the old del.icio.us site, if you remember that). I want to be able to drill down; e.g. if I have bookmarks tagged with a combination of programming, typescript, csharp, I want to be able to click programming and then see links tagged with it; if I then click typescript it will show bookmarks tagged with programming AND typescript.

Is there a development guide or some advice on how to get started? Again, not asking you to do it, but a push to get started.

@pettijohn
Copy link
Author

I'm trying to build this but I have never worked with Angular so struggling to get some fundamentals going. I was able to add a tag icon to the search bar and a new route /tags. I created a new component/controller app-tagbrowser. I can't figure out how to get my component to render.

.when(`${RoutePath.TagBrowser}`, {
          controller: 'SyncEnabledController',
          controllerAs: 'vm',
          template: require('./app-tagbrowser/app-tagbrowser.controller.html')
          // template: require('./app-bookmark/app-bookmark.controller.html')
        })

Clicking the new tag icon brings up a new window with app/app-tagbrowser/app-tagbrowser.controller.html; I don't understand how in other cases that then maps to load the contents of the *-component.html file. I assume there's a mapping somewhere. When I uncomment the line above I see the contents of app-bookmark.component.html when I click on the new tag icon. So I have routing working and partially loading my control; I assume I'm missing some kind of mapping but reading over the code I can't figure it out.

Code is here, on tag-browser branch of my fork https://github.com/pettijohn/xbrowsersync-app/commits/tag-browser

@nero120 wonder if you can help give me a push in the right direction?

@pettijohn
Copy link
Author

I migrated to Linkding, closing.

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

No branches or pull requests

1 participant