feat(frontend): assign agent folder inline from the Folder column by swaidhanoa1 · Pull Request #8876 · Skyvern-AI/skyvern · GitHub
Skip to content

feat(frontend): assign agent folder inline from the Folder column - #8876

Open
swaidhanoa1 wants to merge 2 commits into
Skyvern-AI:mainfrom
swaidhanoa1:devin/1791682426-inline-folder-dropdown
Open

swaidhanoa1 wants to merge 2 commits into
Skyvern-AI:mainfrom
swaidhanoa1:devin/1791682426-inline-folder-dropdown

Conversation

@swaidhanoa1

Copy link
Copy Markdown

Description

The Folder column on the Agents list is now an inline dropdown. Click the cell to open the same searchable folder picker (FolderPickerCommand) the row's "Move to folder" menu uses, then pick a folder (or "Remove from folder") to reassign the agent directly. You no longer have to go through the ⋯ menu.

  • New WorkflowFolderCell (Popover + FolderPickerCommand). Shows the current folder name, or - when unassigned, plus a chevron on row hover. Clicks inside the picker don't bubble to row navigation.
  • Used in both the flat list (WorkflowsFlat.tsx) and the directory-tree row (tree/WorkflowRow.tsx). The Folder cell no longer navigates to runs when clicked; the other cells still do.
  • The move + toast logic is pulled out of WorkflowRowActions into useMoveWorkflowToFolder, so the context menu and the inline cell behave the same way.

How Has This Been Tested?

  • New WorkflowFolderCell.test.tsx covers: rendering the current folder, assigning a folder, removing from a folder, and checking that picker clicks don't reach row handlers.
  • npx vitest run src/routes/workflows: all suites pass. tsc --noEmit, eslint and prettier --check are clean.
  • Manual check in the Vite dev server with the API mocked: picking "Prospects" on an unassigned row sends PUT /api/v1/workflows/{wpid}/folder with {"folder_id":"f2"} and the page stays on /agents.

The table looks the same as main until you hover. On hover, a chevron shows on the right of the Folder cell, and clicking the cell opens the picker. Demo video attached.
folder-dropdown-demo.zip

devin-ai-integration Bot and others added 2 commits October 11, 2026 01:44
Make the Folder cell in the agents list a dropdown that opens the existing
FolderPickerCommand, so moving an agent to a folder no longer requires the
row's actions menu. Shared move/toast logic lives in useMoveWorkflowToFolder.

Co-Authored-By: Swai Dhanoa <dhanoaswai@gmail.com>
Co-Authored-By: Swai Dhanoa <dhanoaswai@gmail.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant