Commit Graph

52 Commits

Author SHA1 Message Date
Alexis d58e56aeb1 feat(ui): mejorar responsividad y experiencia de usuario en el dashboard
Se implementa un sistema de detección de dispositivos móviles para ajustar la posición del toaster. Se añaden estilos para mejorar la presentación del toaster en dispositivos móviles y se optimiza el botón de sincronización para manejar estados de carga y desactivación. Además, se establece un cooldown para las solicitudes de sincronización, evitando el spam de notificaciones.
2026-06-02 13:30:04 +02:00
Alexis 02725dfa2c feat(ui): mejorar la estructura y estilos en el Footer y LandingPage
Se ajustan los estilos y la estructura del componente Footer para mejorar la presentación y la alineación de los elementos. Además, se modifica el texto en LandingPage para una mejor claridad en la comunicación. Se optimizan las clases de Tailwind para una mejor responsividad y experiencia de usuario.
2026-06-02 12:38:04 +02:00
Alexis 63ef7b2561 feat(ui): ajustar estilos y estructura en los filtros de PublicationsTable para mejorar la responsividad
Se modifican los estilos y la estructura del componente PublicationsTable, optimizando la disposición de botones y campos de entrada para una mejor experiencia en dispositivos móviles. Se asegura que los elementos se alineen correctamente y se añaden clases para mejorar la presentación visual.
2026-06-02 11:10:22 +02:00
Alexis 35eef2ff90 feat(ui): mejorar la responsividad y estructura de PublicationsTable
Se ajustan los estilos en PublicationsTable para mejorar la responsividad en dispositivos móviles. Se modifica la estructura del componente para incluir un mensaje de estado cuando no se encuentran publicaciones y se optimizan los estilos de los elementos de entrada y botones.
2026-06-02 10:58:43 +02:00
Alexis 6603ddfe23 feat(ui): mejorar estilos y estructura de componentes en el dashboard
Se ajustan los estilos y la estructura de varios componentes en el dashboard, incluyendo ExportDropdown, ResearcherCard, SwordProfileSelect y SyncButton, para mejorar la presentación y la responsividad. Se añade soporte para clases personalizadas en SyncButton y se integra el nuevo sistema de exportación en GroupResultsPage.
2026-06-02 10:44:51 +02:00
Alexis c176c91e89 feat(ui): actualizar lógica de selección en PublicationsTable para manejar solo la página actual
Se modifica el comportamiento del checkbox maestro para que solo seleccione las filas visibles en la página actual, en lugar de toda la colección filtrada. Además, se actualizan las estadísticas de selección para reflejar esta nueva lógica y se renombra la función correspondiente para mayor claridad.
2026-06-01 13:42:49 +02:00
Alexis 552254d4a8 feat(ui): mejora en el selector de años en PublicationsTable y ajustes en SwordProfileSelect
Se reemplaza el elemento <select> por el componente CustomSelect en PublicationsTable para una mejor experiencia de usuario al seleccionar años. Además, se ajusta el estilo del componente SwordProfileSelect para mejorar la presentación de las opciones. Se asegura que la funcionalidad de selección se mantenga intacta.
2026-06-01 13:33:36 +02:00
Alexis 02c65bb710 feat(export): mejora en el selector de destino y manejo de exportaciones
Se actualiza el componente ExportDropdown para incluir un selector de destino que permite elegir entre diferentes perfiles de exportación, incluyendo la opción de ZIP. Se mejora la lógica de descarga y se ajusta el componente SwordProfileSelect para manejar la selección de perfiles de exportación. Además, se realizan cambios en la página Dashboard para integrar el nuevo sistema de exportación.
2026-06-01 13:12:55 +02:00
Mireya Cueto Garrido aa2e7280dc feat(export): perfiles DSpace/EPrints/Dublin Core y selector SWORD en UI
Backend: generadores por repositorio, ZIP multi-formato y query profile en /export/sword. Frontend: selector Destino que envia profile al descargar SWORD XML.
2026-05-20 13:25:35 +02:00
Alexis dbd8bd5992 feat(ui): mejoras dashboard y entorno local con ngrok/ORCID sandbox
- Añade enlace Volver al inicio y márgenes max-w-7xl en dashboard y group
- Corrige hora de última sincronización (UTC en formatDate)
- Evita scroll horizontal en tabla de publicaciones
- Soporta backend/.env.local y compose opcional para sandbox/ngrok
- Cookie OAuth Secure en redirects HTTPS; README y .env.example
2026-05-19 12:06:54 +02:00
Alexis 59eda988d2 fix: update frontend API key handling and improve export documentation 2026-05-19 09:57:36 +02:00
Alexis 8d29fb054d fix: update API key dependency handling in export endpoints and improve documentation for export URLs 2026-05-18 11:12:42 +02:00
Alexis 7d913201f9 fix: set correct proxy headers in nginx and VITE_API_URL to fix 400 Bad Request 2026-05-15 13:35:29 +02:00
Alexis a31e0e6137 feat: add SVG favicon to the frontend public directory 2026-05-15 12:02:37 +02:00
Alexis aacb8be09d fix: add Nginx configuration, Vite setup, and API service client for the ORCID frontend integration 2026-05-15 10:21:20 +02:00
Alexis f6b63d147a chore: add nginx configuration to serve frontend and proxy API requests 2026-05-15 10:09:19 +02:00
Alexis 70dc397ac2 fix: typography consistency with native-first font stack and Inter webfont fallback 2026-05-15 09:37:13 +02:00
Alexis 76f003377d fix: update base path from /orcid2words to /orcid2sword in .env, Dockerfile, and nginx.conf 2026-05-14 10:50:52 +02:00
Alexis 7ac0eab321 fix(nginx): enhance configuration to prevent absolute redirects and ensure index.html is served without cache for improved SPA performance 2026-05-14 10:20:19 +02:00
Alexis 1b53084062 fix(nginx): replace rewrite rules with try_files for /flintstones and /orcid2words to enhance SPA functionality and prevent 404 errors 2026-05-13 14:16:43 +02:00
Alexis 4a6eeeae68 fix(main): update resolveRouterBasename function to return prefix instead of withSlash for improved routing behavior 2026-05-13 14:07:23 +02:00
Alexis cd8efa12d0 fix(nginx): replace 301 redirects with rewrite rules for /flintstones and /orcid2words to prevent internal port exposure and improve URL handling 2026-05-13 13:59:21 +02:00
Alexis d520e4923b fix(nginx): add handling for /flintstones prefix to improve URL resolution and maintain SPA functionality 2026-05-13 13:47:17 +02:00
Alexis d5be910da6 fix(nginx): prefix ^~ /orcid2words/ + diagnostic headers 2026-05-13 13:39:53 +02:00
Alexis 926e59891d fix(nginx): tolerar Apache con o sin strip y forzar rebuild en CI 2026-05-13 13:27:40 +02:00
Alexis 5f3fd8aa3e chore: simplify Nginx configuration for handling /orcid2words paths to improve URL resolution and prevent 404 errors 2026-05-13 13:14:46 +02:00
Alexis 0265afad5b chore: enhance Nginx configuration for direct access and update main entry point to dynamically resolve Router basename based on environment settings 2026-05-13 13:07:40 +02:00
Alexis a3b9082a71 chore: update Dockerfile and .dockerignore to clarify environment variable handling and improve build context; adjust Footer component to use dynamic base URL for logo 2026-05-13 12:59:47 +02:00
Alexis cd9ad28a98 refactor: update Dockerfile to use Nginx for serving the application and adjust configuration for multi-stage build 2026-05-13 12:49:36 +02:00
Alexis a5321a6807 fix: update Dockerfile to change the port from 8073 to 5173 for serving the application 2026-05-13 12:38:21 +02:00
Alexis 10c9168370 chore: update Dockerfile to implement multi-stage build for optimized production deployment 2026-05-13 11:56:02 +02:00
Alexis 1e973bf81c Update Vite configuration to use base path from environment and simplify proxy settings; adjust main entry point for BrowserRouter basename. 2026-05-13 11:30:12 +02:00
Mireya 2ccdcac4c8 Delete README.md 2026-05-13 09:02:21 +00:00
Mireya 9ea6f516ee Delete .gitlab-ci.yml 2026-05-13 08:41:49 +00:00
Mireya Cueto Garrido d83fe1bbb0 Cambios en .env, gitlab-ci y dockercompose 2026-05-13 10:39:38 +02:00
Mireya Cueto Garrido 3573bec572 Cambios finales 2026-05-13 10:19:44 +02:00
Alexis fa2de55abe feat: enhance OAuth flow and improve token handling
- Added state parameter to exchangeOrcidCode function for better state management during OAuth.
- Implemented storage event listener in AuthContext to handle token updates when postMessage fails.
- Updated AuthCallbackPage to ensure proper handling of OAuth popup closure and state updates.
2026-05-12 11:41:19 +02:00
Alexis d8fa8031b6 feat: enhance UI components and improve user experience
- Updated Toaster position to bottom-right and added custom styles for success and error messages.
- Increased font size of the brand link in AppHeader for better visibility.
- Refactored DashboardPage and GroupResultsPage to include a Footer component for consistent layout.
- Improved LandingPage with new group input handling and enhanced user feedback for ORCID input.
2026-05-12 10:41:45 +02:00
Alexis ecdfadbf20 feat: update branding and enhance AppHeader functionality
- Changed the document title from "orcid-system" to "ORCID2SWORD".
- Updated AppHeader to reflect the new brand name and improved user profile link for authenticated users.
- Added user name extraction from JWT for personalized greetings in the header.
- Refactored layout and styling for better responsiveness and user experience on the LandingPage.
2026-05-07 13:51:03 +02:00
Alexis 104070159a fix: update ORCID_REDIRECT_URI and enhance OAuth callback handling
- Changed ORCID_REDIRECT_URI in docker-compose for updated ngrok URL.
- Allowed all hosts in vite.config.js to support HTTPS tunnels during OAuth flows.
- Improved handling of OAuth codes in AuthCallbackPage to prevent duplicate exchanges.
- Added function to fetch ORCID display names to enrich researcher data in API service.
2026-05-07 12:25:02 +02:00
Alexis 7118d21f34 fix: update callback route and enhance user profile link in header
- Changed the OAuth callback route from `/auth/callback` to `/callback` in App component and .env.example.
- Added user profile link in AppHeader for authenticated users, directing to their dashboard.
- Removed bypass mode references from LandingPage to streamline the login flow.
- Introduced a utility function to extract ORCID from JWT in AuthContext for better user state management.
2026-04-29 13:29:23 +02:00
Alexis 25dfeec3f7 feat: enhance authentication flow and UI components
- Updated .env.example to include OAuth authentication details and bypass mode for development.
- Integrated AuthProvider in App component to manage authentication state.
- Added AuthCallbackPage for handling OAuth callback.
- Enhanced ExportDropdown and PublicationsTable components to display new publication indicators for authenticated users.
- Updated AppHeader to show authentication status and logout functionality.
- Improved LandingPage to support group search and simulate login in bypass mode.
- Refactored DashboardPage to conditionally handle publication exports based on user authentication status.
2026-04-29 12:19:47 +02:00
Alexis f8241f7607 feat: implement unified researcher search and enhance dashboard functionality
- Updated the API service to include a new `searchResearcher` function for streamlined researcher data retrieval.
- Modified `LandingPage` to utilize the new search functionality, reducing the number of API calls.
- Refactored `DashboardPage` to handle the new data structure returned from the search, improving loading efficiency and user experience.
- Enhanced `vite.config.js` and `.env.example` for better API integration and development setup.
- Added health checks in `docker-compose.yml` for database and Redis services to ensure service reliability.
2026-04-29 10:16:26 +02:00
Alexis 334b92bda3 Stop tracking frontend/node_modules 2026-04-28 12:12:39 +02:00
Alexis López 41a46ac0da Merge pull request #7 from uja-dev-practices/feature/frontend-v1
Feature/frontend v1
2026-04-28 12:04:00 +02:00
Alexis 63b95fb834 feat: enhance ExportDropdown and PublicationsTable components for improved export functionality
- Update ExportDropdown to support selected item count and use new icons for formats
- Refactor PublicationsTable to include tri-state checkbox for selection management and year filtering
- Modify DashboardPage to handle selected publication IDs for export
- Adjust API service to support selective export based on publication IDs
2026-04-28 12:02:11 +02:00
Mireya Cueto Garrido a5c55d17d2 gitignore added 2026-04-27 13:45:48 +02:00
Mireya Cueto Garrido 96f01c0126 Versión 3 Backend - Endpoints finales corregidos 2026-04-27 13:39:32 +02:00
Alexis 2bb1309133 feat: update environment configuration and enhance API integration
- Remove versioning from docker-compose.yml
- Enhance Vite configuration to support API proxying for development
- Improve error handling and data normalization in API service
- Add fallback values in PublicationsTable and ResearcherCard components
- Update sync functionality in DashboardPage to handle backend responses more effectively
- Refactor mockSyncResearcher to simulate backend response structure
2026-04-24 10:40:28 +02:00
Alexis a07bd3146e feat: first version of the interface, integrate Tailwind CSS and update routing
- Add Tailwind CSS dependencies and configure Vite to use Tailwind
- Implement routing with React Router for Landing and Dashboard pages
- Remove unused App.css file and refactor App component to utilize new structure
- Update global styles in index.css to incorporate Tailwind's utility classes
2026-04-23 09:49:38 +02:00