CDB-108 feat: implementa página de Guia do Usuário com navegação sidebar e DARK MODE#20
CDB-108 feat: implementa página de Guia do Usuário com navegação sidebar e DARK MODE#20mariana-lins wants to merge 11 commits intodevelopfrom
Conversation
…no arquivo dark-mode.css
There was a problem hiding this comment.
Pull request overview
This pull request introduces a comprehensive User Guide page to help users navigate the Descriptum system, along with a complete dark mode implementation. The guide provides step-by-step instructions for the extraction workflow, from uploading PDFs to managing the database.
Key changes:
- New UserGuide page component with fixed sidebar navigation and detailed instructional content
- Full dark mode system with CSS styling and vanilla JavaScript toggle functionality
- Updated navigation links and routes to access the new guide page
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 13 comments.
Show a summary per file
| File | Description |
|---|---|
| src/pages/UserGuide/UserGuide.jsx | New user guide page component with sidebar navigation and comprehensive instructional sections |
| src/pages/UserGuide/UserGuide.module.css | Styling for the user guide page including layout, cards, and responsive design |
| src/styles/dark-mode.css | Complete dark mode CSS implementation with theme-specific styling for all components |
| src/scripts/darkModeToggle.js | Vanilla JavaScript for dark mode toggle button creation and theme management |
| src/routes.jsx | Added route configuration for the new user guide page |
| src/components/Navbar/Navbar.jsx | Updated navigation link to point to the user guide page |
| src/pages/Homepage/Homepage.jsx | Added onClick handler to navigate to user guide |
| src/main.jsx | Imported dark mode toggle script for initialization |
| src/index.css | Added import for dark mode CSS styles |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…arning for dark mode toggle button attempts
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 11 out of 11 changed files in this pull request and generated 14 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
📋 Resumo das MudançasEste PR inicialmente focava apenas na implementação da página de Guia do Usuário, mas durante o desenvolvimento integrou e refatorou todo o código de dark mode que estava na branch ✨ Funcionalidades Implementadas1. Página Guia do Usuário (
|
- Restaura passagem de dados NCMs para TableEdit via navigation state - Restaura funcionalidade de cancelamento de processo no DragDrop - Reverte mudanças desnecessárias de formatação no Dropdown - Garante compatibilidade com integração backend existente
- Sincroniza TableEdit.jsx com integração backend completa - Branch foi criada antes dos commits de integração API - Garante funcionamento correto com backend na apresentação - Mantém todas funcionalidades: API calls, useEffect, location state
Implementação da Página de Guia do Usuário e dark mode
Tipo de Pull Request:
Referência da Task
Jira/Ticket: CDB-108
Descrição das Alterações - Changelog
UserGuide.jsxeUserGuide.module.css)/user-guideno sistema de rotasdark-mode.cssseguindo padrão do projetoInstruções de Teste
Passos para testar:
npm run devpara iniciar o servidorhttp://localhost:5173na homepageResultado esperado:
Observações
dark-mode.cssmantendo a organização do projeto