feat: 6289 - bulk proof upload page #6437
Open
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.
What
Screenshots
For the record I tested in TEST env, with pictures of my holidays in Japan in 2012. I know you wanted to know that but were too shy to ask.
Fixes bug(s)
Files
New files:
price_add_helper.dart
: Helper around price/proof adding pages.proof_bulk_add_page.dart
: Single page that displays all the elements of bulk proof adding.proof_type_extensions.dart
: Extensions on ProofType.Impacted files
app_en.arb
: added a label for "bulk proof upload" and "send proof"price_model.dart
: new methodclearProof
price_proof_card.dart
: refactoring about the flexibility needed for new fieldsProofType? forcedProofType
andbool includeMyProofs
product_price_add_page.dart
: refactored with new classPriceAddHelper
proof_crop_helper.dart
: minor refactoringuser_preferences_dev_mode.dart
: added a "bulk proof upload" feature flag (false/hidden by default)user_preferences_prices.dart
: optionally display a button to the new "bulk proof upload" page