- GET /history/search
- GET /purchases
- /purchases
- /purchases/summary
- /purchases/:date
- PUT /lottery/winner/:id (not currently used)
- GET /lotteries
- POST /lottery/messages/winner/:id
- requestWineController validates wine object and returns helpfull
error repsonse if anything is missing.
- requestWine uses new endpoint and calls api from within itself.
- Linting.
Hides elements so we always show filled filled rows. The wine compoennt
does not load images before they are in the viewport, so it should not
decrease performance.
- .small: minimal height for content.
- .pulse-button: animate a pulsating effect, used for getting user
attention.
- .warning: new orange warning button styling, used for update buttons.
Separate function for getting all history including the winners object.
Both have sort parameter that is used within the mongo query instead of
doing it in javascript.
Hides elements so we always show filled filled rows. The wine compoennt
does not load images before they are in the viewport, so it should not
decrease performance.
Draw winner page has:
- Better user feedback
- Knows how many wines are left
- Separat button for starting sms prize distribution.
- Edit, update and delete wine by id.
RegisterWinePage:
- Import wine by url.
- Edit, update and delete wine by id.
Removed all other features than adding raffles bought, money received
and mapping of wines and winners.
Also now does api calls from within the component, not external api.js.
Better validation and use of toast plugin for user feedback.
The ui for adding a new user is much more friendly and enables adding
using only keyboard.
Leveraging the new api design supporting CRUD we can update & delete
attendees individually.
Tabs have been redesigned and can now display a counter. This counter
can be set by emiting a "counter" event from the child.
Tabs read and set a ?tab={slug} query parameter when changing tab, when
loaded we check for this parameter to automatically select the correct
tab.
Tabs for registering wines, adding attendees, drawing winner,
registering/archiving lottery and sending push notifications.
Each tab also has a slug and counter attribute.