Skip to content

Implemented Bookmarks Feature#304

Open
daylamtayari wants to merge 19 commits intosensepost:masterfrom
daylamtayari:bookmarks
Open

Implemented Bookmarks Feature#304
daylamtayari wants to merge 19 commits intosensepost:masterfrom
daylamtayari:bookmarks

Conversation

@daylamtayari
Copy link

@daylamtayari daylamtayari commented Dec 22, 2025

Summary

Added a bookmarking feature and implemented it across the API, UI, and CLI. Allows user to bookmark a given result and then view and filter their results by bookmarks.

Implementation Specifics

Model

  • Added a bookmarked boolean field to results that is true if a result is marked as bookmarked, false otherwise

API

  • Bookmarks API to toggle the bookmark status of a given result - inverts the current value allowing the use of a single endpoint for both bookmarking and un-bookmarking
  • Added the bookmarked field to the list, search, and gallery API responses
  • Gallery API supports filtering by bookmark status

Web Components

  • Bookmarked boolean value added to types
  • Bookmark result component that updates the bookmark status for a given result ID

Web UI

  • Bookmark icon is from the radix icons - maintaining visual consistency with existing icon set
  • All bookmark buttons are filled when the result is bookmarked and unfilled when not, and are updated dynamically
  • Bookmark button on gallery cards
  • Bookmark only filtering in the gallery view
  • Bookmark button on detail page
  • Bookmark button on overview page
  • Bookmark filtering on overview page

CLI

  • Bookmarks filtering flag in report listing - allows you to view only results that are bookmarked

Related Issues

The following are issues requesting this feature:

Screenshots

image image image image

@daylamtayari
Copy link
Author

@leonjza when you get a moment, could you take a look at this? Thanks!

@Polochon-street
Copy link

hi,

This looks awesome! Is there any way this could instead be made into a tag system? I feel like making a general tagging system and then making bookmarks a particular tag might be even more useful down the line.
I don't want to derail this PR though, so feel free to ignore my comment if it proves to be too complicated 😄

@daylamtayari
Copy link
Author

@Polochon-street do you mean some system where the bookmark is a string value tag that can be specified for each screenshot you tag and then you can filter by tags? The backend implementation would be straightforward, it would more so be the UI changes that could be clunky as you would need to add a drop down text search for the tags on the gallery view and then slightly in the filtering section.
Not opposed to it if there is demand but would want to get @leonjza input on it beforehand

@Polochon-street
Copy link

exactly! To begin with everything UI-wise could be kept as-is - bookmarking a tab would be associating the URL with a tag "bookmarked" (or equivalent), and filtering would simply be filtering by tag "bookmarked". Would that work? :)

@leonjza
Copy link
Member

leonjza commented Jan 13, 2026

Hey @daylamtayari, this looks pretty good, thanks! I'm still getting back in the swing of things and will do a more thorough review / test when I get some free cycles. Appreciate the work!

@daylamtayari
Copy link
Author

@leonjza sounds good, thanks! When you do take a more in depth look at it, also let me know if you'd prefer for it to be kept as is or turned into a tag field that accepts a user-specified string like discussed above

@daylamtayari
Copy link
Author

Hi @leonjza just wanted to follow up if you've had a chance to take a look at this? Thanks!

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

Successfully merging this pull request may close these issues.

3 participants