aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Tools/Tracker/Tool.svelte
Commit message (Collapse)AuthorAgeFilesLines
* style: apply biome autofixes and resolve remaining lint findingsHEADmainFuwn2 days1-4/+5
| | | | | | | | | | | | | | Auto-fixed cosmetic findings (import ordering, obj["k"]->obj.k, optional chaining, template literals, Date.now, parseInt radix, useless ternaries/ switch cases). Resolved the non-autofixable rest by hand: - Senpy: static-only class -> object literal (no this/static reliance). - app.html: var global shim -> window.global = window (keeps the shim, drops the unused-var flag). - biome-ignore with rationale for the logout document.cookie clear and the holodule scrape non-null assertion. Verified: biome check 0 diagnostics, svelte-check 0/0, 24/24 unit tests.
* feat(analytics): track umami events across core actionsFuwn2 days1-3/+9
| | | | | | | | | Add a guarded track() wrapper (src/lib/analytics.ts) so programmatic events no-op instead of throwing when umami is absent (localhost), lazily loaded, or ad-blocked. Instrument the core loop (progress increment, roulette, list filter, force refresh), the auth funnel (log in/out, command palette), settings toggles/selects at the wrapper level, sync/debug/feed actions, and tool/sharing actions.
* refactor(locale): move hardcoded UI strings into english localeFuwn8 days1-10/+24
| | | | | | | | | | | | | | | | | Adds optional namespaces (common, errors, commandPalette, headTitle, notifications, schedule, events, home, reader, routes, badgePreview, badgeWall) and extends existing ones (settings.*, lists.*, tools.*, user.*, hololive.*) on the Locale interface. New fields are optional so japanese.ts can omit them; svelte-i18n's fallbackLocale handles the runtime miss. HeadTitle gains an optional routeKey prop for type-safe lookup. defaultActions becomes a factory so the command palette re-reads locale on language toggle. The existing JP feedback translation in routes/settings is preserved via japanese.ts. Out of scope (kept hardcoded): service-worker.ts, app.html, Landing*.svelte, tools.ts registry, Easter Event 2025 pages.
* chore(biome): drop formatter style overridesFuwn2026-03-011-37/+38
|
* chore(biome): enable svelte formattingFuwn2026-03-011-48/+48
|
* fix: Add null guards and improve error messaging for user lookupsFuwn2026-01-231-1/+6
|
* refactor: Migrate event handlers to new Svelte 5 syntaxFuwn2026-01-231-5/+5
|
* refactor(layout): Replace empty p elements with reusable Spacer componentFuwn2026-01-231-1/+2
|
* fix(html): Replace self-closing non-void HTML elements with proper closing tagsFuwn2026-01-231-1/+1
|
* format: Apply Prettier formattingFuwn2025-12-151-1/+1
|
* style(src): Remove self-closing p and div tagsFuwn2025-06-231-1/+1
|
* feat(tools): add simple trackerFuwn2024-10-121-0/+142