Feat: REST ticket type management and event creation#53
Open
tarynblakemiller wants to merge 91 commits into
Open
Feat: REST ticket type management and event creation#53tarynblakemiller wants to merge 91 commits into
tarynblakemiller wants to merge 91 commits into
Conversation
* Starter Event table, event CRUD commands * Added create/update template + additional event CRUD commands * Some fmt changes * Address fmt changes * Remove delete event for now * Added delete route and accessible via event-update page * Add chrono dependency, list of events and add a change to initialize tera priort to AppState to register filters for templating
* WIP: events fixes * WIP: posts * cleanup * Don't run tests on every push
* feat: Refactor posts/edit styles * refactor: posts/edit resize classes * feat: posts/list refactor * wip: posts/send refactor * feat: posts pages migration * feat: login/register refactor * feat: lists styles refactor * feat: events styles refactor * refactor: Remove styles blocks * fix: Normalize datetime-local for NaiveDatetime * style: Remove LSD header text colors * feat: Use DM Sans, style bugs, initial deep brown color scheme * feat: Add Poppins display font * feat: lists/signup, display p/br tags correctly in posts/view * feat: Colorscheme, style posts pages * feat: Use HTMX to handle post deletion * fix: Prettier format fonts.css * style: Correct posts/edit link underline color * feat: htmx -> hyperscript * Post email preview page, css tweaks --------- Co-authored-by: Jack Foltz <jack@foltz.io>
c344fed to
43d6a88
Compare
86f8824 to
a847e0a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR has admittedly expanded as I arrived at event creation!!
I should note that I pulled in Jack's DB models branch in order to finish this.
Description
Type of Change
Changes Implemented
CRUD operations for ticket types
GET /tickets - List all ticket types
GET /tickets/new - Creation form
POST /tickets/new - Create ticket
GET /tickets/{id} - View ticket (read-only)
GET /tickets/{id}/edit - Edit form
POST /tickets/{id}/edit - Update ticket
POST /tickets/{id}/delete - Delete ticket
Events can now be created with a ticket type and flyer image
GET /events - List events with cover image thumbnails
GET /events/new - Creation form with ticket selection
POST /events/new - Create event with tickets and image
GET /events/{id} - View event (read-only with ticket details)
GET /events/{id}/edit - Edit form
POST /events/{id}/edit - Update event
POST /events/{id}/delete - Delete event
##Image Processing
**this was just a placeholder please feel free to critique and change!
I added an image processing module to the templates and a temporary storage path for images.
This added base64 and uuid dependencies.
Storage path: frontend/static/uploads/images/events/
Web path: /static/uploads/images/events/
Testing
Ticket Types
Event Creation