feat: tag bookmarks and sites, and browse the library by tag
This commit is contained in:
parent
5cd053c8a9
commit
b0b86ef5b1
13 changed files with 445 additions and 21 deletions
|
|
@ -18,6 +18,7 @@ Future<MewsPage> buildHubPage(
|
|||
final sites = await db.countSubscriptions();
|
||||
final visits = await db.countHistory();
|
||||
final unread = await db.unreadCount();
|
||||
final tags = await db.tagCounts();
|
||||
|
||||
return internalPage(
|
||||
url: url,
|
||||
|
|
@ -57,6 +58,14 @@ Future<MewsPage> buildHubPage(
|
|||
one: 'count-pages-one',
|
||||
many: 'count-pages-many'),
|
||||
),
|
||||
itemRow(
|
||||
href: MewsUrls.tags,
|
||||
label: strings.t('nav-tags'),
|
||||
note: countText(strings, tags.length,
|
||||
none: 'count-tags-none',
|
||||
one: 'count-tags-one',
|
||||
many: 'count-tags-many'),
|
||||
),
|
||||
itemRow(href: MewsUrls.settings, label: strings.t('nav-settings')),
|
||||
]),
|
||||
ParagraphBlock([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue