Re-approving after my approval got reset and reviewing the changes since Julie's excellent review
This MR updates the search formatting for agent sessions without impacting any other search area functionality.
GitLab Work Item: #587223
| Before | After |
|---|---|
![]() |
![]() |
SaaS mode with export GITLAB_SIMULATE_SAAS=1 set in your env.runit file in your local gdk.duo_workflow, duo_workflow_in_ci, ai_flow_triggers.Automate with a tanuki icon. Select Sessions from the dropdown.paneled_view, global_topbar, tailwind_container_queriesAfter you can toggle New UI on in user's setting under the user's profile dropdownGenerate MR with Duo button. It should trigger a new session that you can open up.bundle exec rake "gitlab:duo_workflow:populate[50,20,1,<<YOUR_TEST_GROUP_PATH_HERE>>]" to create new agent sessions. Refresh the page. Make sure the group you are testing in has Duo assigned (see DAP setup above).All or Recent on the left of the Updated query. Select Recent.Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #587223
Hi @lindsey-shelton
Allison Villa (690bfbd6) at 17 Mar 21:11
Add AI Catalog button to the Duo navigation rail
@GitLabDuo this is not required as per the design system docs: https://design.gitlab.com/directives/safe-link/#rel
When setting target to _blank, the rel attribute gets set automatically to noopener noreferrer, this is done to avoid the window.opener API exploit. If you set the rel attribute manually, this will overwrite the aforementioned logic.
Allison Villa (57240372) at 17 Mar 20:58
Add AI Catalog button to the Duo navigation rail
note for reviewer: The suggestions button and tab are not currently implemented (see docs), however the code for the button is still there and (if enabled) renders where the new AI catalog button is. When enabled, this allows it to sit at the end/bottom of the rail next to the new button.
Allison Villa (695409b8) at 17 Mar 20:24
Add AI Catalog button to the Duo navigation rail
Allison Villa (26e71c56) at 17 Mar 19:36
Add AI Catalog button to the Duo navigation rail
Allison Villa (8ef8a24b) at 17 Mar 19:31
Add AI Catalog button to the Duo navigation rail
Thanks @.luke ! I think I misinterpreted the thread, so your comment cleared it up for me
I think we should keep Type: External for external foundational agents and not Type: Foundational. External foundational agents already have other indicators for them being foundational (tanuki-verified icon, "GitLab-managed" label, Managed by: GitLab after !227332 is merged). WDYT @jglassman1 @amandarueda ?
I also raised the idea of including the "external" label found on external agents in the list view (ie. /explore/ai-catalog/agents/) in the metadata in the details view (#593895)
External agent in the list view:
Missing "external" label and icon in the same external agent's details view:
This could be another way to differentiate them on that page and follows an existing pattern we're using in the list view.
Thanks @jglassman1 ! In the interest of keeping the scope of this MR focused, I made a followup task for the "external" icon+label for external agents - Add "external" label and icon to external agent... (#593895) • Allison Villa • 18.11