divan/web/src/lib
Anas Rashid f037968ef2 Attribution: Divan by Muhammad Anas Rashid (NOTICE, TRADEMARKS, README, brand.ts)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 00:53:33 +02:00
..
api.ts Divan v2: Astro site with Divan's own design (proof of concept) 2026-10-08 20:26:54 +02:00
auth.ts Rate limits can't be dodged with a made-up x-client-ip: the API believes it only from the site (DIVAN_SITE_KEY in x-site-key, timing-safe; this machine only when no key is set) 2026-10-09 17:38:55 +02:00
brand.ts Attribution: Divan by Muhammad Anas Rashid (NOTICE, TRADEMARKS, README, brand.ts) 2026-10-10 00:53:33 +02:00
cover.ts E-books as a section of every poet, with tabs and covers; a right-to-left PDF reader; page bookmarks; book details 2026-10-09 15:16:06 +02:00
editor.ts Urdu content editor on Tiptap (#28): structured editing of Divan text, with the source view 2026-10-09 00:53:17 +02:00
mod.ts Moderation: versions of works and the L2 -> L1 -> admin pipeline (#31, #51) 2026-10-09 00:31:47 +02:00
pdfreader.ts Design system: colour tokens named by role (surfaces, text, link, accent, active, focus, ok, danger), each palette written once with light-dark(); radius, type and shadow scales; one base for every button, chip and tab and one for every text box; a /design reference page (dev only). Phones: the search box no longer overlaps the header icons or pushes the page sideways (its own row), دیوان clears it, poet cards keep whole names. Arrows instead of پچھلا/اگلا, an exit icon for full-screen PDFs, an icon toolbar in the editor. Long half-lines wrap centred 2026-10-09 15:56:56 +02:00
phrases.test.mjs Library: bookmarked phrases, and glyphs where the reader's marks are 2026-10-08 23:48:42 +02:00
phrases.ts Library: bookmarked phrases, and glyphs where the reader's marks are 2026-10-08 23:48:42 +02:00
roles.ts User access redesign: the users list filters by role (with counts) and shows each user in one row (avatar, role badge, permissions, last seen); one page per user for role (one click, with what each role may do), permissions (cards, chips, a poet picked by name) and account actions. Libron for Latin text. Spacing: search-box icons, page action rows and list buttons no longer touch. Footer: grouped links with icons and notes. Headline: اردو کا کلاسیکی ادب. Four logo concepts in docs/logo-concepts 2026-10-09 16:22:03 +02:00
site-url.ts robots.txt, sitemap.xml and an RSS feed of new versions, e-books, arrangements and tags (rss.xml, linked in the head and footer) 2026-10-09 19:32:55 +02:00
urdu.ts Poet cards: bookmark in the top-left corner (saved cards keep their size); Hijri and Gregorian years on separate lines, more padding 2026-10-09 01:02:28 +02:00