Elian Doran eea3163f51 Add 'packages/share-theme/' from commit '2cdd2a0a543f0bced8284ca55bc94efadbc7c91f'
git-subtree-dir: packages/share-theme
git-subtree-mainline: d8f0709bce891a8ebc0676bb3b6b5314bf78a129
git-subtree-split: 2cdd2a0a543f0bced8284ca55bc94efadbc7c91f
2025-06-08 22:06:45 +03:00

1.1 KiB

TODOs

This doc contains a list of TODOs taken from the code and organized. This does not includes things like upcoming features or fixes.

Scripts

  • Create a logger
  • Modify esbuild to allow for a development build to contain debug logs
  • Modify custom highlight.js plugin to include highlighting for jQuery global functions
  • Either move highlight.js inclusion to template or use a mapping of note IDs to files
  • Adjust search to use separate function (clean code)
  • Consider never removing the search results from the page and update container instead
  • Consolidate theme initialization (DRY)

Styles

Templates

  • Consider adding highlight.js into the templates instead of scripts
  • Find a better way to integrate ts/js to templates (maybe via includes?)

Other

  • Create a logical set of attributes for setting open-graph/twitter metadata
  • Consider making book type notes explicitly required for full-link category
    • This lets text type notes still have content but require clicking arrow to expand
  • Find a way to better map template to notes and allow for automatically creating new ones