Template Management
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- typescript
- Ambito
- full-stack, web-dev
Direzione di ricerca
Inizia esaminando il flusso della scheda Template-uri e il riferimento Figma collegato, quindi traccia il modo in cui i template vengono visualizzati, modificati, copiati, scaricati ed eliminati. Implementa i criteri di accettazione elencati, incluse le opzioni di menu basate sull’utilizzo, la denominazione delle copie, l’attribuzione al creatore, le azioni di download, la conferma e gli aggiornamenti dell’elenco; esamina inoltre la subtask sui dati di ONGHub.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
User Story
As user, I want to manage contract templates for volunteers, so that I can ensure consistency in our organizational documents.
Description
The system should allow users to view, edit, duplicate and delete contract templates.
Actors
- Web Users
Preconditions
- User must be logged in and have navigated to the 'Template-uri' tab
Main Flow 1 (view template)
- User selects a template and clicks on the kebab menu.
- The system presents the following options: Vizualizeaza, Editeaza, Fa o copie, Descarca necompletat, and Elimina.
- User clicks on the Vizualizeaza option.
- The system displays the template in view mode.
- User has the option to download the template as a PDF.
Main Flow 2 (edit template)
- User selects a template and clicks on the kebab menu.
- The system presents the following options: Vizualizeaza, Editeaza, Fa o copie, Descarca necompletat, and Elimina.
- User clicks on the Editeaza option.
- The system displays the template in edit mode
- User updates the inputs according to preferences and clicks 'Save changes'.
- The system saves the updated template.
Alt. Flow 1 (duplicate template)
- User selects a template and clicks on the kebab menu.
- The system presents the following options: Vizualizeaza, Editeaza, Fa o copie, Descarca necompletat, and Elimina.
- User clicks on the Fa o copie option.
- The system creates a copy of the template and updates the list to include the new copy.
- The system displays a toast message confirming the successful operation.
Alt. Flow 2 (download template)
- User selects a template and clicks on the kebab menu.
- The system presents the following options: Vizualizeaza, Editeaza, Fa o copie, Descarca necompletat, and Elimina.
- User clicks on the Fa o copie option.
- The system creates a copy of the template and updates the list to include the new copy.
- A toast message is displayed confirming the successful operation.
Alt. Flow 3 (delete template)
- User selects a template and clicks on the kebab menu.
- The system presents the following options: Vizualizeaza, Editeaza, Fa o copie, Descarca necompletat, and Elimina.
- User clicks on the Elimina option.
- The system displays a confirmation modal.
- User confirms the deletion by clicking 'Sterge' button.
- The system deletes the template.
Business Rules
- The Editeaza and Elimina options must only be available for templates that have not been used to generate a contract.
- Both View mode and Edit mode must include an option for users to download the template.
- The delete option must trigger a confirmation modal to verify the user's action before proceeding.
Acceptance Criteria
- The system must display the following options for each template based on the number of uses:
- For templates with 0 uses: Vizualizeaza, Editeaza, Fa o copie, Descarca necompletat, and Elimina.
- For templates with more than 0 uses: Vizualizeaza, Fa o copie, Descarca necompletat.
- The option to download the template must be available in both View mode and Edit mode.
- Newly created templates using the copy function must be named by appending "_copy" to the original template's name.
- If multiple copies of the same template are created, subsequent copies will be named with incremental suffixes, such as "_copy(1)", "_copy(2)", and so on.
- For templates created via the copy function, the 'Creat de' value must reflect the name of the user who made the copy.
- Upon confirming the deletion by clicking 'Sterge' button, the system must delete the template and update the list accordingly.
Additional Information
- Figma references: here
Subtasks:
- Pull more data from ONGHub to make it available for template generation (organization cui, legal representative and his role)
- Lingua principale
- TypeScript
- Stelle
- 3
- Fork
- 2
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di code4romania/vic
-
bug :bug:
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
code4romania/vic#463 ·
-
Typos & small fixes neededAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 20/100
code4romania/vic#461 ·
-
bug :bug: web-app
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
code4romania/vic#458 ·
-
Update cards highlight issueApertabug :bug: mobile-app
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
code4romania/vic#457 ·
-
bug :bug: web-app
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
code4romania/vic#456 ·
Tutte le issue di code4romania/vic
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
apache/rocketmq-dashboard#6610 ·
I maintainer di solito rispondono entro 3 giorni
-
nextjs-tracking
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
cloudflare/vinext#3920 ·
I maintainer di solito rispondono entro 1 giorno
-
Team:Dashboards
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
elastic/kibana#297299 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
analytics beginner friendly community contributions-welcome good first issue hacktoberfest help wanted up-for-grabs
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
affected/v17 affected/v18 area/frontend type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
umbraco/Umbraco-CMS#24186 ·
I maintainer di solito rispondono entro 2 giorni