Add Template
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- typescript
- Ambito
- frontend, full-stack
Direzione di ricerca
Inizia dalla scheda Template-uri e esamina i riferimenti Figma Add Template e Add Terms Modal, quindi segui il flusso create-template attraverso Header, Body, Footer, preview, rich-text modal e save redirect. Il lavoro è completato quando gli utenti possono creare e modificare il template, visualizzare i dati dell’organizzazione nei campi disabilitati, salvare correttamente e seguire i link specificati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
- #380
User Story
As a user, I want to create contract templates, so that I can efficiently and easily generate volunteer contracts.
Description
This feature enables users to create contract templates for volunteers. The page is divided into three sections: Header, Body, and Footer.
The Header section includes a text containing key details about NGO such as the official name, address, CUI, the name of the legal representative, and their role within the organization.
The Body section contains the contract terms, featuring a text field, an "Add Text" button, and a hyperlink.
The Footer section includes the NGO's name, the legal representative's name, and empty fields for the volunteer's information and, if applicable, the legal representative for volunteers under 16.
All three sections collectively form the contract, which is displayed as a unified preview.
Actors
- Web Users
Preconditions
- User must be logged in and have navigated to the 'Template-uri' tab
Main Flow (create template)
- User clicks the "Creeaza template" button to start creating a new template.
- The system displays the 'Creeaza Template' page, divided into Header, Body, and Footer sections.
- The system auto-fills the Header and Footer sections with the organization's data.
- In the Preview Panel, the user can hover over highlighted text to view a tooltip.
- User clicks the 'Adauga text' button from the Body section.
- The system opens a modal with a rich text editor.
- User enters the contract terms and clicks 'Salveaza modificarile' button.
- The system updates the Body section with the entered text.
- User clicks the 'Salveaza' button.
- The system saves the template and redirects the user to the 'Template-uri' page.
Business Rules
- The contract template must maintain a structure with a Header, Body, and Footer.
- The Header and Footer sections inputs should be prefilled with the NGO data present in the NGO Hub application.
- The Header and Footer sections inputs must be disabled.
- The Body section must display an "Editeaza text" button when content has been added.
Acceptance Criteria
- The rich text editor should provides a full range of formatting options (bold, italic, underline, alignment, lists, etc.).
- Clicking the "Editeaza text" button in Body section should open the content in a modal for modifications.
- The contract template can be successfully created and saved after completing all steps.
- The 'Vezi profilul organizatiei' hyperlink must redirect user to the NGO Profile in NGO Hub application.
- The 'Afla Mai Multe', 'Trimite feedback-ul tau,' and 'contract de voluntariat' hyperlinks must direct users to the correct URLs, which will be provided at a later time.
Additional Information
- 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
-
./collections should export setUmbracoVersion and setAllowFilePathUploads for in-process consumersAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
umbraco/Umbraco-CMS-MCP-Dev#563 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
afk-ok area:data-quality importer size:S
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
enorm-labs/event-junkie#3166 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
alunduil/projects-v2-sync#21 ·