tech-debt: Miscellaneous frontend TODOs (stopwatch flicker, SVG access, mermaid dark mode) #334

Open
opened 2026-05-31 14:31:26 +00:00 by jmiller · 0 comments
Owner

Summary

Various smaller frontend issues flagged with TODOs.

Locations

  • web_src/js/features/stopwatch.ts:107 - flickers on page load
  • web_src/js/svg.ts:180 - use a more general approach to access SVG icons
  • web_src/js/markup/mermaid.ts:180 - maybe use darkMode to adopt user-specified theme
  • web_src/js/utils.ts:55 - should use pathname and trim appSubUrl ahead
  • web_src/js/utils/time.ts:72 - replace hour12 with Intl.Locale.prototype.getHourCycles
  • web_src/js/features/repo-findfile.ts:52 - for large repo, this loop could be slow
  • web_src/js/features/repo-home.ts:48 - sort items in topicDropdown
  • web_src/js/features/repo-settings.ts:64 - translate this string
  • web_src/js/features/repo-wiki.ts:50 - move height style to CSS after EasyMDE removal
  • web_src/js/features/install.ts:62 - better handling of exclusive relations
  • web_src/js/features/repo-actions.ts:8 - parent full height not working well
  • web_src/js/render/plugin.ts:4 - render plugin enhancements
  • web_src/js/render/plugins/inplace-pdf-viewer.ts:13-14 - PDFObject no dynamic height

Action Required

Address individually as time permits. Stopwatch flicker and SVG access pattern are highest visibility.


Created by Claude Opus 4.6

## Summary Various smaller frontend issues flagged with TODOs. ## Locations - `web_src/js/features/stopwatch.ts:107` - flickers on page load - `web_src/js/svg.ts:180` - use a more general approach to access SVG icons - `web_src/js/markup/mermaid.ts:180` - maybe use darkMode to adopt user-specified theme - `web_src/js/utils.ts:55` - should use pathname and trim appSubUrl ahead - `web_src/js/utils/time.ts:72` - replace hour12 with Intl.Locale.prototype.getHourCycles - `web_src/js/features/repo-findfile.ts:52` - for large repo, this loop could be slow - `web_src/js/features/repo-home.ts:48` - sort items in topicDropdown - `web_src/js/features/repo-settings.ts:64` - translate this string - `web_src/js/features/repo-wiki.ts:50` - move height style to CSS after EasyMDE removal - `web_src/js/features/install.ts:62` - better handling of exclusive relations - `web_src/js/features/repo-actions.ts:8` - parent full height not working well - `web_src/js/render/plugin.ts:4` - render plugin enhancements - `web_src/js/render/plugins/inplace-pdf-viewer.ts:13-14` - PDFObject no dynamic height ## Action Required Address individually as time permits. Stopwatch flicker and SVG access pattern are highest visibility. --- *Created by Claude Opus 4.6*
jmiller added the tech-debtupstream labels 2026-05-31 14:31:26 +00:00
Sign in to join this conversation.
No labels tech-debt upstream
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#334