Add Template
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- typescript
- Área
- frontend, full-stack
Línea de trabajo
Comienza en la pestaña Template-uri y revisa las referencias de Figma Add Template y Add Terms Modal; después, sigue el flujo de create-template a través de Header, Body, Footer, preview, rich-text modal y save redirect. La tarea estará terminada cuando los usuarios puedan crear y editar el template, ver los datos de la organización en campos deshabilitados, guardar correctamente y seguir los enlaces especificados.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
- #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
- Lenguaje dominante
- TypeScript
- Estrellas
- 3
- Forks
- 2
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de code4romania/vic
-
bug :bug:
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
code4romania/vic#463 ·
-
Typos & small fixes neededAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 20/100
code4romania/vic#461 ·
-
bug :bug: web-app
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
code4romania/vic#458 ·
-
Update cards highlight issueAbiertobug :bug: mobile-app
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
code4romania/vic#457 ·
-
bug :bug: web-app
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
code4romania/vic#456 ·
Todos los issues de code4romania/vic
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
homarr-labs/homarr#7191 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
AvaProtocol/ava-sdk-js#276 ·
Los mantenedores suelen responder en 1 día
-
useFragment does not require `variables` when the fragment's variables type has required fieldsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
apollographql/apollo-client#13493 ·
Los mantenedores suelen responder en 1 día