Commit graph

2 commits

Author SHA1 Message Date
Martin Pitt
5aa20207b7 Move to PatternFly Elements and lit
PFE uses lit, so it makes sense to just use that for the main
application as well. Web components are pretty much React built into the
web platform, and lit adds some convenience around that.

This is mostly a demo -- for real Cockpit pages, PF Elements is still
missing too many components.
2024-11-19 08:30:09 +01:00
Martin Pitt
745b4ab8e8 Convert to TypeScript
This needs the usual "I know the `app` element exists" annotation, plus
dealing with a non-existing /etc/hostname (in which case the watch will
return `null`, and we shouldn't poke that into a `string` state).
2024-07-11 11:18:23 -04:00