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

Various editor and UI improvements #151

Open
wants to merge 15 commits into
base: dev
Choose a base branch
from

Conversation

PurkkaKoodari
Copy link
Member

@PurkkaKoodari PurkkaKoodari commented Sep 21, 2024

This PR fixes many current annoyances and adds some features we can add without changing the (effective) DB or API schema. (There are some API changes, but they only limit requests that would've failed anyway under previous code.)

  • Closes Improve editor validation #32: the editor now validates the event and shows immediate feedback for errors
    • Also validates some things not properly validated by the TypeBox schema or even backend
    • maxLengths added to various fields, so that the user can't even input invalid data
      image
  • Closes Add option to preview events as admin #64: admins can now preview events from the editor, including the signup form
    image
  • Signup start/end time and signup publicity are now part of "basic details", to make the experience less confusing
  • Added a price field to the editor (the schema already supported this)
  • Signup closure date is now shown in event list & event details when the signup is closed
  • Quota size fields now have placeholders to indicate what empty means
  • Quota name is no longer shown in signup lists when there's only one
  • TypeBox schemas updated to use Composite, and they now validate more invariants (instead of failing at database level)
  • Various bug fixes to the editor and other UI

@PurkkaKoodari PurkkaKoodari changed the title Various editor improvements Various editor and UI improvements Sep 22, 2024
@PurkkaKoodari PurkkaKoodari marked this pull request as ready for review September 22, 2024 21:19
@PurkkaKoodari PurkkaKoodari requested a review from a team September 22, 2024 21:27
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 option to preview events as admin Improve editor validation
1 participant