Skip to content

feat: Add basic UI, search implimentation#12755

Draft
JustAdumbPrsn wants to merge 7 commits intozen-browser:libraryfrom
JustAdumbPrsn:library
Draft

feat: Add basic UI, search implimentation#12755
JustAdumbPrsn wants to merge 7 commits intozen-browser:libraryfrom
JustAdumbPrsn:library

Conversation

@JustAdumbPrsn
Copy link
Copy Markdown

@JustAdumbPrsn JustAdumbPrsn commented Mar 12, 2026

Extends #12655

  • Added library-item along with styling
  • Search works properly and sorted by date.
  • Added separator which shows Today, Yesterday, then previous days of week, then full date, i.e, 13 March 2026
  • Search bar currently also has a Filter button but would probably be changed to "Sort" or "View" button like native firefox.

Note:

  • Styling may need more attention to use more variables which zen tabs does.
  • The history items do not currently have the recently closed tabs section, button to clear history, and glance button for each item to open that item as glance.
  • The downloaded items do not currently show the download progress ring while it does show active download exactly how firefox natively does.

Signed-off-by: JustAdumbPrsn <73780892+JustAdumbPrsn@users.noreply.github.com>
Signed-off-by: JustAdumbPrsn <73780892+JustAdumbPrsn@users.noreply.github.com>
Signed-off-by: JustAdumbPrsn <73780892+JustAdumbPrsn@users.noreply.github.com>
Signed-off-by: JustAdumbPrsn <73780892+JustAdumbPrsn@users.noreply.github.com>
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. Feature labels Mar 12, 2026
Signed-off-by: JustAdumbPrsn <73780892+JustAdumbPrsn@users.noreply.github.com>
library-downloads-search-placeholder = Search Downloads…

library-history-today = Today
library-history-yesterday = Yesterday
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use something like:

new Intl.RelativeTimeFormat(undefined, {
          numeric: "auto",
        }).format(daysUntil, "day")

instead of hard coding it

library-history-section-title = History No newline at end of file
library-history-section-title = History

library-search-placeholder = Search…
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can now just use

library-search-placeholder =
	.placeholder = Search…

@JustAdumbPrsn
Copy link
Copy Markdown
Author

thanks, on it

@mr-cheffy mr-cheffy marked this pull request as draft March 16, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants