Skip to content

Structure and modularise (experiment) - #2

Draft
kdinkla wants to merge 12 commits into
mainfrom
vite-ts-migration
Draft

kdinkla wants to merge 12 commits into
mainfrom
vite-ts-migration

Conversation

@kdinkla

@kdinkla kdinkla commented Aug 17, 2026

Copy link
Copy Markdown

To do:

  • Port JS to TS and keep viewer.js as a compile target. Includes formatting, lint config, etc.
  • Splice reusable web components out of the viewer. Isolate component-specific TS and CSS.
  • Add dynamic CSS properties for overall styling of components, if shadow DOMs allow it.
  • Isolate reusable utility functions, independent of the components.
  • NPM repo and release prep.
  • Examples of sub-component use: vanilla via CDN, in React via NPM, etc.

To try:

  • How far can we push regular CSS styling of XML for the Reading View, for example, instead of JS DOM transformations?

kdinkla added 12 commits August 17, 2026 10:40
Signed-off-by: DKL <dkl@zurich.ibm.com>
Signed-off-by: DKL <dkl@zurich.ibm.com>
Signed-off-by: DKL <dkl@zurich.ibm.com>
Signed-off-by: DKL <dkl@zurich.ibm.com>
Signed-off-by: DKL <dkl@zurich.ibm.com>
Signed-off-by: DKL <dkl@zurich.ibm.com>
Signed-off-by: DKL <dkl@zurich.ibm.com>
Signed-off-by: DKL <dkl@zurich.ibm.com>
Signed-off-by: DKL <dkl@zurich.ibm.com>
Signed-off-by: DKL <dkl@zurich.ibm.com>
Signed-off-by: DKL <dkl@zurich.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant