-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Permettre de taguer les imports nécessitant des compléments/correctifs #253
Merged
DonovanMaillard
merged 23 commits into
PnX-SI:project-FLA_NS
from
mvergez:feat/import-tag
Dec 30, 2021
Merged
Permettre de taguer les imports nécessitant des compléments/correctifs #253
DonovanMaillard
merged 23 commits into
PnX-SI:project-FLA_NS
from
mvergez:feat/import-tag
Dec 30, 2021
Conversation
This file contains 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
Replaced all checks for gn_is_valid = True etc. to an empty/not empty gn_invalid_reason. So that we can get rid of gn_is_valid
Remove everything that created and populated the gn_is_valid column Now there is no more gn_is_valid column and all the validation is done with gn_invalid_reason
To load and set the fix attributes which are the need_fix bool and fix_comment string. Added a "rights" function to check that the user has the rights to CRUD the import
Add get in getValidData Add set in a new route called setFixData
Need to use update on the query. Improved also the get functions
To say that the import needs to be fixed and to add a comment The update button calls the API to update the fix status of the import Add responsive style
That, for now, checks if the user has rights to update this import
So that it can reused in the import report!
So that it does not get buggy in the import report (see next commits)
Do this in the step4 component and not in the need-fix component since it is reused!
So that the user can change the state of the import directly in the report
Set/Get enables when importId is set to get the permissions automatically, otherwise with concurrency there can be misses Add ng_container with ngIf on fix for kind of the same reasons
Instead of errors, now filter on "need_fix". Replaced the Warning Sign on need_fix imports
Changed icon so that is does not interfere with the one in the import list Changed the title for it to be shorter et clearer
Ce qui a été faitBackend/db :
Frontend :
Quelques captures (mon thème GeoNature est bleu) |
…nto feat/import-tag
And add all migrations
# for free
to join this conversation on GitHub.
Already have an account?
# 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.
Closes #230