[Hackathon] feat: add Texera Assistant floating panel (notifications, AI, search)#5093
Open
jaeyun0503 wants to merge 3 commits into
Open
[Hackathon] feat: add Texera Assistant floating panel (notifications, AI, search)#5093jaeyun0503 wants to merge 3 commits into
jaeyun0503 wants to merge 3 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5093 +/- ##
============================================
+ Coverage 42.85% 42.88% +0.03%
- Complexity 2207 2209 +2
============================================
Files 1045 1045
Lines 40146 40141 -5
Branches 4240 4240
============================================
+ Hits 17203 17214 +11
+ Misses 21878 21860 -18
- Partials 1065 1067 +2
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
|
Please modify the title to follow the Hackathon title convention |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
Adds a Texera Assistant — a floating, draggable, resizable panel that lives in every page (logged-in users only) and surfaces workflow, social, and admin activity, plus first-class AI agent integrations and global search.
Demo Video
https://drive.google.com/file/d/1HeDvcvLqs_d2nEf8uhtVr1Z9Oo0tokKH/view?usp=sharing
Sample Screenshots
New UI surface
Notification feeds
request_viewedflag (see schema changes below) so the "viewed" state is global across admins and survives reloads. Clicking a request marks it viewed and navigates to the admin user page; Clear marks every currently-pending request viewed in one transaction.AI agent integration
AgentPanelComponentnow persists which agent the user last activated, keyed by workflow id, so re-opening a workflow restores the right agent (or shows the registration tab if none is bound). Switching workflows correctly swaps the active agent.AgentPanelControlServicekeeps the floating "AI Agent Builder" flask button in sync with the existing agent panel's open state; clicking either dismisses the other.Persistence
Several pieces of state are persisted to
localStorageso reloads don't reset the user's view:Schema / backend changes
request_viewed BOOLEAN NOT NULL DEFAULT FALSEto theusertable (sql/texera_ddl.sql+sql/updates/23.sql). The migration backfills all existing rows toTRUEso admins don't get flooded with notifications for accounts that pre-date this feature.Usertable descriptor with the new column.AdminUserResourceexposes the field in/admin/user/listand adds two endpoints:POST /admin/user/mark-requests-viewed(per-uid)POST /admin/user/mark-all-requests-viewed(bulk)Usertype,AdminUserService, and the assistant all consume the new field.How was this PR tested?
Manually Tested.
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude 4.7