Commit Graph

296 Commits

Author SHA1 Message Date
3435f4fe68 error en las enviroment variables de produccion
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 12s
build-and-deploy / deploy (push) Successful in 26s
2025-06-11 23:30:23 -06:00
josedario87
ca66b5023e Merge pull request #53 from josedario87/feat/connect-chat-to-router
Feat/connect chat to router
2025-06-11 23:10:28 -06:00
7f4bfff8cb depurada la conexion 2025-06-11 23:10:00 -06:00
google-labs-jules[bot]
2dc118dc19 feat: Connect chat interface to conversation layer router
Integrates the chat UI with the conversation layer router.

Key changes:

- Added new environment variables (`CONVERSATION_LAYER_ROUTER_URL` for the API and `VITE_CONVERSATION_LAYER_ROUTER_URL` for the UI) to specify the router's URL. These have been configured in `docker-compose.yml`, `api/.env.example`, and `ui/runtime-env.sh`.

- Modified `ui/src/stores/useChat.js`:
    - Introduced a `sendMessage` action that constructs a message object (as per the specified format with `id`, `from`, `to`, `ts`, `type`, `text`, `meta`) and sends it to the conversation router.
    - Implemented optimistic local display of your message.
    - Handles the `Conversation` object returned by the router, iterating through its `messages` array and adding them to the chat display.
    - Determines message ownership ('user' for UI messages, 'bot' for Nucleo messages) for appropriate rendering.
    - Includes basic error handling for API requests, logging errors and showing system messages in the chat.

- Updated `ui/src/components/chat/CanvasChat.vue`:
    - Modified the message sending mechanism to use the new `chat.sendMessage()` action.
    - Adjusted message rendering to correctly differentiate between messages from 'user' and 'bot' based on the `owner` field from the chat store.

This allows the UI to send messages to the conversation router and display the resulting conversation, focusing on rendering messages from both the UI ('planilla-UI') and the bot ('Nucleo').
2025-06-12 01:23:09 +00:00
josedario87
33fc3abdaa Merge pull request #51 from josedario87/codex/fix-navbar-bug-in-mobile-mode
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 10s
build-and-deploy / deploy (push) Successful in 47s
Fix mobile navbar overlay issue
2025-06-11 05:06:08 -06:00
josedario87
331cad8cbc Use topbar button style for mobile sidebar 2025-06-11 05:04:52 -06:00
josedario87
6dd7867ba6 Add close button for mobile sidebar 2025-06-11 04:56:17 -06:00
josedario87
9797fc0be4 Merge pull request #52 from josedario87/codex/remove-chat-interface-and-navbar,-add-floating-chat-button
Add floating chat widget
2025-06-11 04:52:00 -06:00
josedario87
3ea17a6784 Merge branch 'main' into codex/remove-chat-interface-and-navbar,-add-floating-chat-button 2025-06-11 04:51:36 -06:00
josedario87
3282491415 Improve floating chat 2025-06-11 04:49:16 -06:00
josedario87
2bcf04a027 Add animated home page 2025-06-11 04:47:08 -06:00
josedario87
78077aa494 Replace chat page with floating widget 2025-06-11 04:41:16 -06:00
josedario87
78bb429d7c Merge pull request #49 from josedario87/codex/create-flexible-notification-snackbar
Add snackbar for realtime events
2025-06-11 04:40:00 -06:00
559a52d868 Merge branch 'codex/create-flexible-notification-snackbar' of https://github.com/josedario87/planilla into codex/create-flexible-notification-snackbar 2025-06-11 04:38:32 -06:00
036bd2ef3d arreglado estilo del container hecho con tailwind cambiado a css moderno 2025-06-11 04:38:29 -06:00
josedario87
52ccf50eaa Add module-aware snackbar notifications 2025-06-11 04:37:57 -06:00
josedario87
aa480e8faa Improve snackbar style and duration 2025-06-11 04:25:40 -06:00
josedario87
7c2bb74b4c fix: remove extra header in mobile nav 2025-06-11 04:22:24 -06:00
josedario87
74b9c0ad7e feat(ui): add snackbar for realtime notifications 2025-06-11 04:12:02 -06:00
josedario87
a5ee8e05a0 Merge pull request #48 from josedario87/codex/animate-navbar-tab-on-new-sse-event
Add navbar event animation
2025-06-11 04:09:18 -06:00
43dc15e135 navbar animada con eventos sse 2025-06-11 04:08:43 -06:00
josedario87
94ff4ea726 feat(ui): animate navbar tab on new events 2025-06-11 03:57:57 -06:00
josedario87
dce714e778 Merge pull request #47 from josedario87/ui/navbar-topbar-redesign
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 10s
build-and-deploy / deploy (push) Successful in 26s
UI/navbar topbar redesign
2025-06-10 00:31:11 -06:00
984fa214c2 Revert "Refine: Make persistent navbar viewport-aware"
This reverts commit 35c130f197.
2025-06-10 00:30:00 -06:00
09a2138c6c Revert "Refine: Make persistent navbar viewport-aware"
This reverts commit 35c130f197.
2025-06-10 00:29:34 -06:00
google-labs-jules[bot]
35c130f197 Refine: Make persistent navbar viewport-aware
This commit enhances the behavior of the persistent desktop navbar.
Previously, if `desktopNavbarPersistent` was true, the main content
would always shift to accommodate the sidebar on medium screens and up.

Now, the content shifting is also conditional on available viewport width:

- The main content wrapper in `App.vue` now tracks `window.innerWidth`.
- A `SHIFT_THRESHOLD` is defined (currently 880px), calculated from
  NAVBAR_WIDTH (240px) + MIN_CONTENT_WIDTH (640px).
- If `ui.sidebarOpen` and `ui.desktopNavbarPersistent` are both true,
  the `md:pl-60` class (to shift content) is only applied if
  `viewportWidth.value >= SHIFT_THRESHOLD`.
- If the viewport width is below this threshold (but still potentially
  above the 'md' breakpoint), the persistent sidebar will overlay the
  content, similar to a non-persistent or mobile sidebar, preventing
  the main content area from becoming too cramped.

This provides a more refined and responsive user experience for you
if you enable the persistent navbar feature on varying screen sizes.
2025-06-10 06:24:55 +00:00
josedario87
669a1a42a2 Merge pull request #46 from josedario87/codex/sort-index-views-by-id-descending
Implement descending sort on index views
2025-06-10 00:24:33 -06:00
josedario87
939922cae4 Sort index views by id 2025-06-10 00:21:39 -06:00
google-labs-jules[bot]
405265435d Fix: Prevent main content shift when desktop navbar is not persistent
This commit addresses an issue where the main content area would shift
to the right on desktop when the sidebar was opened, regardless of the
`desktopNavbarPersistent` setting.

The layout logic in `App.vue` has been updated so that the `md:pl-60`
class (which adds left padding to the main content area) is now
applied only when both `ui.sidebarOpen` and `ui.desktopNavbarPersistent`
are true.

This ensures that:
- If `desktopNavbarPersistent` is true, the sidebar will take up
  dedicated space, and the content will correctly shift.
- If `desktopNavbarPersistent` is false, the sidebar will overlay the
  content on desktop, and the main content will no longer shift.
2025-06-10 06:18:54 +00:00
20ee3fc76f le falta la coma 2025-06-10 00:14:30 -06:00
google-labs-jules[bot]
dcd6f3091b Refactor: Update Navbar and TopBar UI
This commit implements the following changes:

1. Removed the close button (✕) from within the NavBar component (`ui/src/components/ui/NavBar.vue`). The sidebar is now exclusively controlled by the hamburger icon in the TopBar.
2. Moved the hamburger menu button in the TopBar component (`ui/src/components/ui/TopBar.vue`) to the left side of the application title ("Núcleo").
3. Improved the visual styling of the hamburger button in `TopBar.vue` with increased padding, consistent border-radius, and clearer hover and focus states for better usability and accessibility.

These changes address the issue of redundant close buttons and aim to provide a cleaner and more intuitive navigation experience.
2025-06-10 06:13:26 +00:00
josedario87
fb10a197dd Merge pull request #44 from josedario87/codex/implementar-view-transition-api
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 10s
build-and-deploy / deploy (push) Successful in 25s
Fix realtime feed transitions
2025-06-10 00:12:10 -06:00
2c84bc0908 eliminados los logs 2025-06-10 00:11:53 -06:00
josedario87
e04936c637 chore(debug): add logs for realtime feed 2025-06-10 00:02:09 -06:00
josedario87
9ce5300741 Fix feed transition keys 2025-06-10 00:02:05 -06:00
josedario87
0d2ffee841 feat(ui): use view transitions for realtime feed 2025-06-09 22:27:29 -06:00
josedario87
21274ba1e0 Merge pull request #43 from josedario87/codex/add-event-status-dots-to-navbar-and-cards
Add realtime event indicators
2025-06-09 21:50:59 -06:00
josedario87
5e83f10784 feat(ui): show realtime event dots 2025-06-09 21:40:05 -06:00
josedario87
a6cc91af3d Merge pull request #42 from josedario87/codex/add-live-feed-view-with-infinite-scroll
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 9s
build-and-deploy / deploy (push) Successful in 25s
Add realtime feed view
2025-06-09 21:01:02 -06:00
6f5490ed4d live feed termiando 60% 2025-06-09 21:00:40 -06:00
josedario87
a311c811d7 style(feed): highlight insert/delete events 2025-06-09 20:10:52 -06:00
josedario87
9030469fe7 Improve realtime feed 2025-06-09 19:49:24 -06:00
josedario87
5dae4a20d3 feat(ui): add realtime feed view 2025-06-09 19:40:29 -06:00
f3f2f30da9 se supone que esto seria
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 7s
build-and-deploy / deploy (push) Successful in 26s
2025-06-09 18:31:16 -06:00
caf3e886a7 seguimos intentado hacer funcionar el realtime
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 7s
build-and-deploy / deploy (push) Successful in 32s
2025-06-09 18:01:46 -06:00
e803d3b16a logs para debugear realtime
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 10s
build-and-deploy / deploy (push) Successful in 1m17s
2025-06-09 17:43:17 -06:00
6d7f95fc71 seguimos habilitando la funcion realtime
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 12s
build-and-deploy / deploy (push) Successful in 26s
2025-06-09 17:36:27 -06:00
39be1a2d27 faltaba una coma para compilar correctamente las variables en el sh
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 10s
build-and-deploy / deploy (push) Successful in 26s
2025-06-09 17:22:47 -06:00
264f7f3c48 agregado el config.js a la pagina
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 9s
build-and-deploy / deploy (push) Successful in 25s
2025-06-09 17:16:15 -06:00
ca56389a1e seguimos implementando los secretos
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 10s
build-and-deploy / deploy (push) Successful in 26s
2025-06-09 17:09:54 -06:00