No description
Find a file
2025-02-01 08:18:08 +01:00
public rudimentary css 2025-02-01 08:18:08 +01:00
templates rudimentary css 2025-02-01 08:18:08 +01:00
.gitignore complete dropdown 2025-01-29 19:04:08 +01:00
controller.go rudimentary css 2025-02-01 08:18:08 +01:00
go.mod controller 2025-01-29 10:26:36 +01:00
go.sum controller 2025-01-29 10:26:36 +01:00
handlers.go move id to cake struct 2025-02-01 07:29:24 +01:00
main.go rudimentary css 2025-02-01 08:18:08 +01:00
README.md rudimentary css 2025-02-01 08:18:08 +01:00
util.go co tu się odjebało 2025-01-31 17:00:45 +01:00

iroon

todo:

  • extract order creation form into it's own element
  • organize html structure
  • option to add additional cakes
  • saving orders on server
  • displaying orders
  • move id to cake struct
  • refresh the list on submission
  • peristent storage
  • rudimentary css
  • organize the cake editor

ux design

adding an order:

  1. user selects the add order button
    1. the button should open an order creation menu
  2. user enters the customer details
    1. incorrect details are highlighted
    2. user can't submit an incorrect order
  3. user selects the cakes to add from the list
    1. the list should be scrollable, with a search box if needed
    2. added cakes should appear next to other order details
    3. the user can change the count, or remove the cake entirely
  4. user submits the order
    1. after submission the user should get a confirmation, and an order id along with the link to said order page
    2. the form should disappear after submission
    3. there should be a button to go back to creating a new form

adding a new cake:

  1. user selects the new cake button
  2. enters the new details
  3. user selects submit