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

967: Deactivate regions application process #971

Merged
merged 11 commits into from
May 23, 2023

Conversation

f1sh1918
Copy link
Contributor

@f1sh1918 f1sh1918 commented May 17, 2023

resolves #967

  • check and uncheck region aktivieren in "Region verwalten"
  • test if region is selectable in the application process dropdown "Zuständige Region"
  • test the plz for the region that it can not be assigned automatically

Note: I had to restructure "region verwalten" a little bit
Maybe you can find some better texts for labels

… from application process, extend database schema for region by activatedForApplication, restructered "region verwalten", filter region options in dropdown for application process
@f1sh1918 f1sh1918 force-pushed the 967-Deactivate-regions-application-process branch from a2398cf to 8f372a2 Compare May 17, 2023 14:12
Copy link
Member

@michael-markl michael-markl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The apply endpoint should check whether application is enabled for the specified region.

@f1sh1918
Copy link
Contributor Author

The apply endpoint should check whether application is enabled for the specified region.

Nice catch so if an application process was started (and region was alreaday selected)nand in the meantime the region was deactivated it wasn't catched.
Added the check and an exception for that. thx :)

@f1sh1918 f1sh1918 requested a review from michael-markl May 22, 2023 14:16
f1sh1918 and others added 3 commits May 23, 2023 10:31
…on-process' into 967-Deactivate-regions-application-process

# Conflicts:
#	administration/src/bp-modules/regions/ActivatedForApplicationCard.tsx
@f1sh1918 f1sh1918 requested a review from sarahsporck May 23, 2023 08:47
Copy link
Contributor

@sarahsporck sarahsporck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and looks good :)
I left one small comment, then this should be good to go!

@f1sh1918 f1sh1918 enabled auto-merge May 23, 2023 14:19
@f1sh1918 f1sh1918 merged commit eacc62a into main May 23, 2023
@f1sh1918 f1sh1918 deleted the 967-Deactivate-regions-application-process branch May 23, 2023 14:33
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.

[Bavaria] Deactivate regions from application process
3 participants