Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI Revamp - Introduce htmx.org #126

Closed
christophenne opened this issue Jan 30, 2024 · 2 comments · Fixed by #216
Closed

UI Revamp - Introduce htmx.org #126

christophenne opened this issue Jan 30, 2024 · 2 comments · Fixed by #216
Assignees
Milestone

Comments

@christophenne
Copy link
Member

For the MVP we took some shortcuts to get the UI presentable quickly (e.g. no real build steps, full page reloads, duplicating templates and re-usable components, copying the CSS theme and inline style definitions).

Before adding too many new features on top of this prototype, we should think about the UI in the long-term from a technology and architecture perspective, taking into account the upcoming features.

  • Do we want to continue with server-side rendered templates? If so, how do we manage more interactive use-cases?
  • Do we need application state on the client?

This is to be decided and then implemented.

@christophenne christophenne self-assigned this Feb 5, 2024
@christophenne christophenne added this to the v0.0.2 milestone Feb 5, 2024
@pmig pmig changed the title UI Revamp UI Revamp - Introduce htmx.org Feb 6, 2024
@pmig
Copy link
Member

pmig commented Feb 6, 2024

We can also have look at Masterminds/sprig to extend the default template functionality of Go.

@christophenne
Copy link
Member Author

After tinkering with htmx a bit, we decided to refactor the current quick-and-dirty UI solution with it to tackle the future challenges of the UI. Improvements done in this task will be:

Right now we don't see a need for another JS-library, but if there should be cases in the future, where pure client-side interactivity is needed (i.e. a change on the UI that does not trigger anything on the backend), we could look into alpine.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants