feat: add quotations from marked text, with citations and sharing

This commit is contained in:
randogoth 2026-10-12 10:37:32 +03:00
parent 0e2027c9e2
commit e6e84fdc01
25 changed files with 1558 additions and 4 deletions

View file

@ -18,6 +18,7 @@ Future<MewsPage> buildHubPage(
final sites = await db.countSubscriptions();
final visits = await db.countHistory();
final unread = await db.unreadCount();
final quotations = await db.countQuotations();
final tags = await db.tagCounts();
return internalPage(
@ -35,6 +36,14 @@ Future<MewsPage> buildHubPage(
one: 'count-unread-one',
many: 'count-unread-many'),
),
itemRow(
href: MewsUrls.quotations,
label: strings.t('nav-quotations'),
note: countText(strings, quotations,
none: 'count-quotations-none',
one: 'count-quotations-one',
many: 'count-quotations-many'),
),
itemRow(
href: MewsUrls.bookmarks,
label: strings.t('nav-bookmarks'),