From dcdc9837e0bd4fe17760785154522da65e6c52b7 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Thu, 18 Dec 2025 16:18:09 -0300 Subject: [PATCH] feat: add Organizations & Bot Tree settings UI - Add organizations.html with org selector and bot hierarchy tree - Add bot configuration form with enabled tabs - Update PROMPT.md with weekly maintenance checklist --- PROMPT.md | 39 + ui/suite/settings/organizations.html | 1128 ++++++++++++++++++++++++++ ui/suite/sources/accounts-list.html | 99 +++ ui/suite/sources/accounts.html | 420 ++++++++++ ui/suite/sources/index.html | 13 + 5 files changed, 1699 insertions(+) create mode 100644 ui/suite/settings/organizations.html create mode 100644 ui/suite/sources/accounts-list.html create mode 100644 ui/suite/sources/accounts.html diff --git a/PROMPT.md b/PROMPT.md index 9ea148c..52f3d15 100644 --- a/PROMPT.md +++ b/PROMPT.md @@ -5,6 +5,45 @@ --- +## Weekly Maintenance - EVERY MONDAY + +### Package Review Checklist + +**Every Monday, review the following:** + +1. **Dependency Updates** + ```bash + cargo outdated + cargo audit + ``` + +2. **Package Consolidation Opportunities** + - Check if new crates can replace custom code + - Look for crates that combine multiple dependencies + - Review `Cargo.toml` for redundant dependencies + +3. **Code Reduction Candidates** + - Custom implementations that now have crate equivalents + - Boilerplate that can be replaced with derive macros + - Manual serialization that `serde` can handle + +4. **Frontend Asset Updates** + ```bash + # Check vendor libs in ui/suite/js/vendor/ + # Compare with latest versions of htmx, alpine, etc. + ``` + +### Packages to Watch + +| Area | Potential Packages | Purpose | +|------|-------------------|---------| +| HTTP Client | `reqwest` | Consolidate HTTP handling | +| Templates | `askama` | Efficient HTML templates | +| State Mgmt | `alpine.js` | Minimal JS reactivity | +| Animations | `gsap` | Replace CSS animations | + +--- + ## Version Management - CRITICAL **Current version is 6.1.0 - DO NOT CHANGE without explicit approval!** diff --git a/ui/suite/settings/organizations.html b/ui/suite/settings/organizations.html new file mode 100644 index 0000000..bf9b030 --- /dev/null +++ b/ui/suite/settings/organizations.html @@ -0,0 +1,1128 @@ + +
+
+

Organizations & Bots

+

Manage your organizations and bot hierarchy

+
+ + +
+
+

Current Organization

+

Select the organization you want to manage

+
+
+
+
+
+ + + + +
+
+ Loading... + -- +
+ + + +
+ +
+
+
+ + +
+
+

Bot Hierarchy

+

+ Manage your bots and sub-bots. Apps created in Tasks become + sub-bots of the current bot. +

+
+
+
+ + + +
+
+ +
+
+ Loading bot hierarchy... +
+
+
+
+ + + +
+ + + + + + + + + + + + + + diff --git a/ui/suite/sources/accounts-list.html b/ui/suite/sources/accounts-list.html new file mode 100644 index 0000000..064ba99 --- /dev/null +++ b/ui/suite/sources/accounts-list.html @@ -0,0 +1,99 @@ +{% if accounts.is_empty() %} +
+ + + + +

No accounts connected

+

Connect Gmail, Outlook, or other accounts to enable LLM search and file operations.

+
+{% else %} +{% for account in accounts %} +
+ + + + + + + +
+{% endfor %} +{% endif %} diff --git a/ui/suite/sources/accounts.html b/ui/suite/sources/accounts.html new file mode 100644 index 0000000..91f653d --- /dev/null +++ b/ui/suite/sources/accounts.html @@ -0,0 +1,420 @@ + +
+
+

Connected Accounts

+
+ +
+
+ +
+
+
+

Loading accounts...

+
+
+
+ + + + + + + diff --git a/ui/suite/sources/index.html b/ui/suite/sources/index.html index 8db8c74..444e896 100644 --- a/ui/suite/sources/index.html +++ b/ui/suite/sources/index.html @@ -144,6 +144,19 @@ Models +