6 Commits
Author SHA1 Message Date
Mervin Praison 5e57577c53 fix: use native History.prototype.pushState to bypass React Router
Root cause: calling the patched history.pushState triggered React Router's
internal listener, causing it to unmount the entire DOM (<div id='root'></div>
becomes empty). This caused the persistent black screen on sidebar clicks.

Fix:
- nav-intercept.js: save History.prototype.pushState before React patches it,
  use nativePushState.call(history, ...) for SPA navigation
- nav-intercept.js: add stopImmediatePropagation to prevent React from
  seeing sidebar click events
- nav-intercept.js: normalize all paths with trailing slash
- content-loader.js: add 100ms retry if main.flex-1 missing (React unmount
  recovery), fallback to #root if still absent
- content-loader.js: skip homepage paths (handled by homepage.js)
- content-loader.js: remove anti-flicker CSS after SPA navigation
2026-03-08 00:24:36 +00:00
Mervin Praison 9072498110 docs(api): Update features API documentation with new endpoints
Added comprehensive details for new feature endpoints including
memory context retrieval, TTS functionalities, marketplace actions,
code execution, PWA enhancements, and device pairing capabilities.
2026-03-07 07:04:56 +00:00
Mervin Praison 728a0791b0 feat(docs): update API documentation and navigation structure
- Refactored navigation in `aiui.template.yaml` for improved
  organization, adding an "API Reference" tab.
- Updated `features-api.md` with new endpoints and examples,
  including enhanced approval management and session handling features.
- Improved clarity and consistency in API request/response examples.
2026-03-06 12:06:41 +00:00
Mervin Praison 980ad9ff26 docs(api): update API documentation for new features and endpoints
This commit adds comprehensive documentation for new API endpoints related to jobs, schedules, and skills, including examples of request and response payloads. Additionally, it updates the count of built-in features and improves the overall structure and clarity of the API docs.
2026-03-06 09:53:40 +00:00
Mervin Praison c818986050 feat(workflows): add gap implementation prompts and new features
Added a comprehensive gap implementation prompts document outlining tasks
for the development of the Channel Management and Scheduler dashboard tabs
in PraisonAIUI. Included analysis, implementation steps, and verification
requirements to enhance user experience and functionality within the
application. Additionally, updated several API and frontend components to
support the new features.
2026-03-06 08:42:36 +00:00
Mervin Praison 004002e655 u 5 2026-03-05 06:32:47 +00:00