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

Mijn-9682-Feature - blokkeren stadspas with proper swr #1708

Conversation

timvanoostrom
Copy link
Contributor

No description provided.

@RoanPaulus RoanPaulus merged commit 7d5cda7 into MIJN-9682-Feature/blokkeren-stadspas-with-swr-cache Jan 16, 2025
3 checks passed
@RoanPaulus RoanPaulus deleted the MIJN-9682-Feature/blokkeren-stadspas-with-swr-cache-fix-swr branch January 16, 2025 12:46
timvanoostrom added a commit that referenced this pull request Jan 17, 2025
* added mock route

* Added block URL to data

* Added conditional button to block stadspassen

* Moved logic

* fixed tests

* TODO comments

* remove imports

* Refactored out function for use in block pass

* Made modal width resemble figma design

* semi working version

* small refactor

* shows geblokkeerd after pas

* Fix all stadspassen having the same ID

* fix test

* Add error alert

* Put list of stadspas owners into a table for the 'actief' status

* stopped updating whole appstate. Using atom instead

* replaced with SWR functionality

* Moved hook to hooks file

* added mock route

* Added block URL to data

* Added conditional button to block stadspassen

* Moved logic

* fixed tests

* TODO comments

* remove imports

* Refactored out function for use in block pass

* Made modal width resemble figma design

* semi working version

* small refactor

* shows geblokkeerd after pas

* Fix all stadspassen having the same ID

* fix test

* Add error alert

* Put list of stadspas owners into a table for the 'actief' status

* stopped updating whole appstate. Using atom instead

* replaced with SWR functionality

* Moved hook to hooks file

* use cache instead of atom, but does not rerender when updating cache

* Corrected a type that got changed after a rebase with main

* Moved routers next to eachother to make it more readable when you want to see which routers are in use

* Refactor some types

* Added route to the private stadspas handlers

* Added route to openapi docs

* Added tests for backend

* updated snapshot

* Added to test, but broken. Blocked pass won't show up yett

* Mijn-9682-Feature - blokkeren stadspas with proper swr (#1708)

* Fix types

* Fix implementation

* Refine types

* Refine type

* Juggle around references, change name

* Change mock server responses (add dynamic props)

* Change name

* Change http verb

* Rename hook

* Enable delay

* Change markup

* FIx type

* Add deprecation (boyscout)

* Rename

* Styling

* ADd hack

* Fix test

* Fix gpass tests

* Fix

* Addes tests, made helper to create components

* Add test for blocked pas

---------

Co-authored-by: Tim van Oostrom <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants