Replace store edit/information UI with vue dialog
Closes #1602 (closed)
Closes #1449 (closed)
What does this MR do?
This MR introduces a new UI modal dialog for the store information. The modal dialog is visible for all store members, only store manager and higher can switch into the edit view.
How confident are you it won't break things if deployed?
Not expected
Links to related issues
How to test
As store manager
- Checkout branch locally
- Login as store responsible foodsaver
- Open a managed store
- Open "Show store information"
- View elements about the store
- Switch to edit mode
- Make some changes
- Store it
Store manager but not for the selected store
- Checkout branch locally
- Login as store responsible foodsaver
- Open a store where you are only member
- Open "Show store information"
- View dialog
Foodsaver
- Checkout branch locally
- Login as foodsaver
- Open a store
- Open "Show store information"
- View dialog
Test Changes of address Picker
- Use address Picker in profile settings
Screenshots (if applicable)
First drafts (Keep for links in forum)
- Commen information
- Store information
- Internal management
- Internal management - change region (waiting for new component)
- Pickup settings
- Team settings
- Statistics
Change in Store Menu (Remove Team-Status)
Last state of UI
Open issues
-
Rework Update of Region Data field by Region selector -
Open dialog for store members (ready only) -
Hide empty fields for Store Members -
Add validation of max String length in Public information -
Translate all element in formes -
Add Tests for endpoint Modifikation
Checklist
-
added a test, or explain why one is not needed/possible... -
no unrelated changes -
asked someone for a code review -
set a "for:" label to indicate who will be affected by this change -
added to the next milestone (see https://gitlab.com/foodsharing-dev/foodsharing/-/milestones, unless it has a "for:Dev" label) -
added an entry to CHANGELOG.md
-
added a short text that can be used in the release notes -
Once your MR has been merged, you are responsible to create a testing issue in the Beta Testing forum: https://foodsharing.de/?page=bezirk&bid=734&sub=forum. Please change the MRs label to "state:Beta testing". - Consider writing a detailed description in German.
- Describe in a few sentences, what should be tested from a user perspective.
- Also mention different settings (e.g. different browsers, roles, ...) how this change can be tested.
- Be aware, that also non technical people should understand.
Release notes text in German
Überarbeitung des "Betrieb bearbeiten" Formulars
Dieser Umbau hat, dass alte Formular zum Bearbeiten des Betriebes ersetzt, um auf ein neue Backend umzustellen. Das neue Formular ist ein Dialog, welcher zur Einsicht jedem Betriebsteammitglied unter "Betriebs-Information anzeigen" angezeigt wird. Der Dialog kann in einen Bearbeiten-Modus versetzt werden, um die Betriebsinformationen durch einen Betriebsverantwortliche anpassen.
Überarbeitung des Adress-Picker
Der Adresse-Picker, welcher im Betrieb oder in den Profil-Einstellungen eingesetzt wird, erlaubt es jetzt die Geo-Position unabhängig von der Adresse zu verändern. Dies Ermöglicht es bei fehlender Hausnummer oder Position weicht von der eigentlichen Adresse diese zu korrigieren. Die Standard-Einstellung passt bei Änderung der Geo-Position und Adresse an.