Skip to content

dev - the last last one#69

Merged
icrcode merged 5 commits into
mainfrom
dev-melhorias-simples
Jun 23, 2026
Merged

dev - the last last one#69
icrcode merged 5 commits into
mainfrom
dev-melhorias-simples

Conversation

@icrcode

@icrcode icrcode commented Jun 23, 2026

Copy link
Copy Markdown
Owner

This pull request introduces several improvements and refinements across the backend, frontend, infrastructure, and configuration files. The most significant changes are the addition of support for an alternative domain, streamlining of navigation logic in the frontend, UI/UX enhancements, and improved metrics routing in the backend.

Domain and Infrastructure Configuration:

  • Added support for an alternative domain (DOMAIN_ALT) throughout environment configuration, Docker Compose, and Nginx templates, allowing the application to be served from multiple domains. (.env.production.example, docker-compose.prod.yml, infra/nginx/default.conf.template) [1] [2] [3] [4]
  • Updated CORS configuration to support both primary and alternative domains, improving frontend-backend communication security. (.env.production.example)

Backend Routing and Metrics:

  • Changed the order of route and middleware registration in backend/src/aplicativo.ts to ensure internal routes and Prometheus metrics are accessible only via the internal network, before security middlewares like CORS and helmet. (backend/src/aplicativo.ts) [1] [2]

Frontend Navigation and UI:

  • Refactored the navigation logic in Layout.tsx to use a single list of links with associated roles, simplifying the code and making it easier to manage access control for navigation items. (frontend/src/components/Layout.tsx)
  • Enhanced the appearance and spacing of navigation elements, header, and profile/avatar components for better usability and visual consistency, including larger buttons and icons. (frontend/src/components/Layout.tsx) [1] [2] [3] [4]

Frontend Animations:

  • Introduced new CSS keyframes and utility classes for floating animations on landing page elements, improving visual engagement. (frontend/src/index.css)

@icrcode
icrcode requested a review from icrcode-senai June 23, 2026 22:07
@icrcode icrcode self-assigned this Jun 23, 2026
@icrcode icrcode added the deploy Recursos relacionados a resolver problemas ou adicionar coisas novas ao deploy. label Jun 23, 2026
@sonarqubecloud

sonarqubecloud Bot commented Jun 23, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
65.5% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@icrcode
icrcode merged commit aefb99c into main Jun 23, 2026
6 of 7 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Valida Ai Roadmap Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deploy Recursos relacionados a resolver problemas ou adicionar coisas novas ao deploy.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants