Commit graph

65 commits

Author SHA1 Message Date
cb33a75d39 Add admin, dashboards, learn, social, and video UI components 2026-01-08 13:16:06 -03:00
5f65a62808 fix(auth): Save access_token in login.html before redirect 2026-01-07 07:21:28 -03:00
454fd5a8b0 fix(auth): Simplify user profile loading with direct API call 2026-01-07 07:09:29 -03:00
a4b9d013e1 fix(auth): Integrate user menu with GBAuth service
- Use GBAuth service events for user profile updates
- Use correct storage keys (gb-access-token, gb-user-data)
- Listen to userUpdated, login, logout events
- Store tokens using AuthService.storeTokens() method
- Add fallback for when GBAuth is not immediately available
2026-01-07 07:03:07 -03:00
d8e52bf330 feat(auth): Add user profile loading and auth state management
- Add JavaScript to load user profile from /api/auth/me endpoint
- Save access_token to localStorage/sessionStorage on login
- Update user menu to show actual user name and email
- Toggle Sign in/Sign out based on authentication state
- Add IDs to user menu elements for dynamic updates
2026-01-06 22:57:00 -03:00
faaabefc1c Fix All Applications dropdown order to match main menu
- Reorder apps: Chat, Paper, Mail, Drive, Calendar, Tasks first
- Then other apps: Research, Meet, Analytics, Monitoring
2026-01-04 08:48:28 -03:00
e79bb880fd Remove all modal popups from settings page
- Removed all modal HTML elements completely
- Disabled buttons that triggered modals (API keys, webhooks, payment, delete account)
- Added 'Coming soon' tooltips to disabled buttons
- Removed modal-related CSS and JavaScript
- This eliminates the popup issue entirely
2026-01-03 19:30:59 -03:00
518eac442e Fix modal CSS conflict - rename to settings-modal
- Renamed 'modal' class to 'settings-modal' to avoid conflict with components.css
- components.css has .modal { display: flex } which was overriding display: none
- Added !important to ensure settings-modal styles take precedence
- Updated all modal references in HTML and JavaScript
2026-01-03 19:29:14 -03:00
a542141d42 Replace dialog elements with divs to fix modal auto-open issue
- Converted all dialog elements to regular divs
- Using CSS class 'open' instead of native dialog open attribute
- Added openModal() and closeModal() functions
- Simplified modal CSS and JavaScript
- Modals now fully controlled via class toggle
2026-01-03 18:34:37 -03:00
927ee4013c Fix modals opening automatically on page load
- Added immediate modal close on script load
- Force close all modals on DOMContentLoaded
- Remove open attribute from all modals during initialization
- Added HTMX afterRequest handler to prevent multiple modals from staying open
- Fixed script syntax issue
2026-01-03 17:49:57 -03:00
5b73c31492 Fix settings modals - prevent multiple popups from opening
- Added closeAllModals() function to close all open modals before opening a new one
- Added event.stopPropagation() to modal trigger buttons
- Added click-outside-to-close behavior for modals
- Added Escape key handler to close modals
- Prevented click events inside modal-content from bubbling up
2026-01-03 17:22:20 -03:00
b4c49314a6 Fix apps dropdown menu positioning near the grid button
- Changed apps-dropdown right position from 60px to 0 in app.css
- Wrapped apps button and dropdown in a container with position:relative
- Moved dropdown to be a sibling of the button inside the container
- Removed duplicate dropdown from header-right section
2026-01-03 17:19:17 -03:00
2c852715f8 Fix tasks layout: flexbox splitter, card sizing, progress status logic
- Changed tasks-main from grid to flexbox for proper panel sizing
- Fixed splitter drag to work with flexbox (set width directly)
- Task cards: reduced padding, proper min-height
- Fixed task-detail-panel to flex and fill available space
- Fixed terminal stats showing 'calculating...' for completed tasks
- Fixed child status not updating when all item_groups complete
- Improved taskmd header alignment and text overflow
- Fixed media queries for responsive layout
2026-01-02 16:17:31 -03:00
580c9072d4 feat: Add draggable splitter between panels, uniform scrollbar styles (primary color) 2026-01-02 15:25:42 -03:00
e514b302d3 fix: Double task card height to 200px 2026-01-02 15:15:42 -03:00
dfa22b8f4e fix: Triple task card height - larger cards with bigger fonts 2026-01-02 14:45:05 -03:00
99a92e3e5d fix: Improve button visibility (CREATE & RUN, Open App), larger header, remove duplicates 2026-01-02 14:23:43 -03:00
3b76907ed4 fix: Increase task card size - bigger padding, larger fonts 2026-01-02 14:16:22 -03:00
511cc24e4d feat: Add notifications bell with GBAlerts infrastructure for all apps
- Added bell icon in header toolbar with badge counter
- Created GBAlerts global API for notifications from any app
- App-specific shortcuts: taskCompleted, newEmail, newChat, driveSync, calendarReminder
- Integrated task completion with bell notifications
- Added CSS for notifications panel and items
- Documented in PROMPT.md Design System section
2026-01-02 14:08:44 -03:00
0f658fd7c5 fix: Compact task cards (inline status), fix tree expansion, reduce terminal height 2026-01-02 13:59:58 -03:00
31bc86ab1e fix: Override parent containers to prevent global scroll - only task list and progress log scroll 2026-01-02 13:47:56 -03:00
ade2050668 feat: Design System standards - scrollbars, cards, indicators, tree patterns for ALL themes
- Updated PROMPT.md with comprehensive Design System documentation
- Added missing CSS variables to ALL themes (border-light, border-hover, text-tertiary)
- Added global component classes: scrollable, card-status, dot-status, badge-step, tree patterns
- Updated tasks.css: no global scroll, task list scrollable, fixed layout
- All patterns from sentient theme now available to all themes
2026-01-02 13:40:24 -03:00
8e9bc9c381 fix: Visible scrollbars only on task list and progress log, no global scroll 2026-01-02 13:33:06 -03:00
e2abebf968 fix: Task list only scrollable, right panel fixed height, Progress Log variable with scroll 2026-01-02 13:29:10 -03:00
ea9bd091c3 feat: Improve task UI layout - narrower task list, maximize Progress Log, fix Terminal at bottom, add auto-scroll 2026-01-02 13:23:12 -03:00
b51c542afa Fix duplicate WS progress bug - rebuild tree on structure change
- Normalize task ID comparison in retry logic for consistent lookups
- Use normalized keys in pendingManifestUpdates Map
- Skip manifest_update in ProgressPanel (already handled by tasks.js)
- Clean up existing handler before registering new one in ProgressPanel.init
- Add name-based fallback lookups for sections/children/items when IDs change
- Detect structure changes (section count, children, items, names) and rebuild tree
- Clear progress-empty placeholder before rendering tree
- Add detailed BUILD_TREE logging for debugging
- Add cache-busting version to tasks.js script tag
2026-01-02 12:48:54 -03:00
4499bcda7a Fix flicker: incremental DOM updates only, smooth CSS transitions
- updateProgressTreeInPlace: only updates changed text/classes, no innerHTML rebuild
- updateChildInPlace, updateItemsInPlace: granular element updates
- Check if value changed before updating (prevents unnecessary DOM writes)
- CSS transitions on all tree elements (0.2s ease-out)
- Status dot now yellow/pulsing by default (was missing)
- Running step badges get accent color
- dot-pulse animation with scale effect
2026-01-01 10:49:30 -03:00
3927dfb07e Fix selectedTaskId initialization - was hardcoded as 2, now null 2026-01-01 10:46:59 -03:00
4f05af4d04 Fix manifest update: always rebuild tree, add debug logs, fix status handling
- Always rebuild progress tree HTML instead of incremental updates (simpler, more reliable)
- Add console.log for debugging manifest updates
- Fix status normalization (backend sends 'Running', 'Completed' etc)
- Fix updateStatusSection to handle different manifest structures
- Log section and child details for debugging
2026-01-01 10:42:25 -03:00
f5ece0d410 Fix progress UI pixel-perfect: remove View Details, section dot on right, proper item layout
- Remove View Details links completely
- Add tree-section-dot on right side of section rows
- Child rows use tree-item-dot on left
- Duration aligned to right with margin-left: auto
- Proper padding and spacing to match design
- Update both taskmd.css and theme-sentient.css
2026-01-01 10:36:50 -03:00
6bbedd6645 Fix progress UI: incremental updates to prevent flicker, proper scroll
- Rewrite renderManifestProgress to update existing DOM elements
- Only rebuild HTML on first render, then update incrementally
- Add updateStatusSection, updateProgressTree, updateItems functions
- Fix scroll: only task list scrolls, detail panel is fixed
- Add status-indicator, status-gear CSS styles
- Progress content has max-height with scroll, terminal is fixed size
2026-01-01 10:13:38 -03:00
9f922b523d Fix task progress UI: pixel-perfect design with dot indicators
Frontend JS:
- Replace text checkboxes with dot indicators
- Add 'View Details' links to tree sections
- Add HTMX afterSwap listener for pending manifest updates
- Retry system for manifest updates when elements not yet loaded

Frontend CSS:
- taskmd.css uses CSS variables for theme compatibility
- Dot indicators with pulse animation for running items
- Progress bar under running sections
- Pixel-perfect tree structure matching design mockup

Theme:
- Add complete TASKMD Progress Tree styles to theme-sentient.css
- Dot pulse animation with accent glow
- All components use theme variables
2025-12-31 23:45:38 -03:00
de85b35772 Remove floating progress, use detail panel terminal with real data
- Remove floating progress panel completely
- Update terminal in detail panel with real-time WebSocket data
- Progress bar updates in detail panel
- Auto-select task when created to show progress
2025-12-31 13:18:07 -03:00
b8731b0bc8 Update CSS to match design - thicker borders and correct fonts
- Task cards: 2px borders, 16px radius, thicker status bar
- Section boxes: 2px borders, 12px radius
- Progress bars: 10px height with glow effect
- Action buttons: 2px borders with hover glow
- Terminal section: better styling and spacing
- All elements: increased font weights and better spacing
- Priority badges: thicker borders
- Log items: improved border radius and gaps
2025-12-31 13:02:39 -03:00
baf6c75d26 Show app URL notification, play sound on completion
- Show prominent app URL notification when task completes
- Play completion sound using Web Audio API
- Extract app_url from task completion details
- Add slideInRight/slideOutRight animations
- Make toast clickable to open app URL
- Refresh task details on completion
2025-12-31 12:51:50 -03:00
ca34a05d4c Fix task UI JavaScript
- Fix loadTaskStats to use /api/tasks/stats/json endpoint
- Add missing JS functions: pauseTask, cancelTask, showDetailedView
- Add htmx:afterSwap listener to reinitialize tasks app on HTMX load
- Prevent duplicate WebSocket connections
- Add task creation feedback in UI (success/error messages)
- Add tasks.js script to index.html
2025-12-31 12:38:54 -03:00
4a3eb0cc4f Fix tasks UI and add WebSocket proxy for task progress
Tasks UI:
- Add proper CSS for task cards with status-based colors
- Add task detail panel CSS for header, progress, sections
- Remove duplicate empty state div
- Add All Tasks filter pill
- Fix updateFilterCounts to use /api/tasks/stats/json
- Remove fake demo agent activity simulation
- Add detailed console logging for WebSocket debugging
- Update floating progress panel with terminal-style metrics

WebSocket proxy:
- Add /ws/task-progress proxy route without required params
- Add handle_task_progress_ws_proxy for task progress WebSocket
- Support optional task_id filtering
2025-12-30 22:42:54 -03:00
3f95c4645d Designer and editor magic button UI, tasks UI improvements 2025-12-28 11:50:52 -03:00
d96c546c6a feat(tasks): Add quick intent input with Create & Run at top
- Add prominent input box at top of tasks page
- Gradient header with clean design
- HTMX integration for /api/autotask/create
- Show progress indicator during processing
- Display result with app link when done
- Enter key triggers submit
- Auto-refresh task list after creation
2025-12-27 23:33:18 -03:00
410f799fb2 feat(autotask): Update form to use /api/autotask/create endpoint
- Change autotask form from /compile to /create for one-click execution
- Update button text to 'Create & Execute'
2025-12-27 22:38:37 -03:00
1a50680712 refactor: eliminate router duplication, graceful shutdown, data-driven static routes
Some checks failed
GBCI / build (push) Failing after 9s
2025-12-20 19:58:04 -03:00
f6fc423d48 chore: remove Alpine.js references
Some checks failed
GBCI / build (push) Failing after 11s
- Delete alpinejs.min.js from ui/suite/js/vendor/
- Delete alpinejs.min.js from ui/minimal/js/vendor/
- Remove script tag from default.gbui
- Remove [x-cloak] CSS rule from global.css
- Update PROMPT.md to remove Alpine.js documentation
2025-12-18 18:53:11 -03:00
dcdc9837e0 feat: add Organizations & Bot Tree settings UI
Some checks failed
GBCI / build (push) Failing after 9s
- Add organizations.html with org selector and bot hierarchy tree
- Add bot configuration form with enabled tabs
- Update PROMPT.md with weekly maintenance checklist
2025-12-18 16:18:09 -03:00
45ca9b8bbf Make tasks app themable - use standard CSS variables instead of sentient-specific 2025-12-16 10:38:06 -03:00
d38edc6631 Restore 24 theme buttons in settings panel (core, retro, classic, tech themes) 2025-12-16 09:57:46 -03:00
9fe234aa3c Update UI components, styling, and add theme-sentient and intents 2025-12-15 23:16:09 -03:00
db06e42289 Redesign header: merge app tabs, add search center, remove header from tasks.html 2025-12-15 18:48:40 -03:00
d30d11ab9b Fix app launcher URLs - use absolute hash URLs to prevent path stacking 2025-12-15 18:24:06 -03:00
d9024a3ef6 Fix HTMX navigation - use absolute paths to prevent URL stacking 2025-12-15 16:57:27 -03:00
3439a5722c Fix all app CSS loading - add all app CSS to index.html head 2025-12-15 16:48:36 -03:00