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

Rework onsite admin interface #337

Open
wants to merge 46 commits into
base: production
Choose a base branch
from
Open

Rework onsite admin interface #337

wants to merge 46 commits into from

Conversation

Syfaro
Copy link
Contributor

@Syfaro Syfaro commented Nov 14, 2024

This is a complete reimplementation of the frontend of the onsite admin UI. It makes the page more interactive and responsive, while also making it easier to add future features. All of the original (working) functionality and keyboard shortcuts have been reimplemented, in addition to many new features.

It introduces esbuild for compiling and bundling TypeScript and SASS, which might also be useful for future user-facing UI enhancements.

As part of these frontend enhancements, a number of other changes were introduced. These include:

  • Updating attendee search to be more functional. Instead of only matching a single field at a time, it uses trigram similarity to match on entire first and last names, in addition to badge names. It also now includes badge number.
  • Adding a new configuration option, PRINT_VIA_MQTT which publishes to the MQTT action topic for the terminal allowing software running on the local machine to process the print request without having to interact with a system print dialog. This is compatible with reg-interface.

This is a pretty substantial change, and I understand if not everything here is desired.

Screenshot 2024-11-12 at 5 16 21 PM

(Moved from forked branch in #335)

@Syfaro Syfaro linked an issue Nov 14, 2024 that may be closed by this pull request
Copy link
Member

@rechner rechner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last step to make this deployable, we need to rebuild the base docker image to include the new python dependency. You'll need to have a Github CR PAT with write:packages scope, then set GITHUB_USER and GITHUB_CR_PAT environment variables (e.g. in .envrc).

make docker-login
make build-base-docker-image

It should modify the Dockerfile to point to the new base image, push and commit that.

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.

Add badge number to onsite search results
2 participants