Skip to content

feat(frontend): app overview Recent Prompts actions and editable drawer in /m - #8171

Merged
mmabrouk merged 8 commits into
release/v0.128.9from
feat/m-parity-overview-actions
Nov 6, 2026
Merged

mmabrouk merged 8 commits into
release/v0.128.9from
feat/m-parity-overview-actions

Conversation

@mmabrouk

@mmabrouk mmabrouk commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Context

In /m developer mode the app overview's Recent Prompts was thinner than /w. It had no Playground button, and the row menu had no Open in Playground and no Delete. Every "Created by" showed a dash, and a row opened the read-only drawer without Open in playground. The actions menu also sat at the far right of the page instead of next to the app name (parity findings apps-overview-02, 03, 04, 07 and 08).

Stacked on #8157 (editable drawer) and #8170, the deployment drawer (it reuses its Deploy button).

Changes

All of this applies only in beta developer mode. Without it the overview is unchanged.

  • Recent Prompts has a Playground button beside "View all prompts", when the playground view is on.
  • The row menu gets Open in Playground and Delete, the same menu as the Registry page.
  • A row opens the editable drawer with Open in playground, Deploy and Test app.
  • "Created by" shows the author's name. The page now loads the workspace members, as the Registry page does.
  • The actions menu sits right after the app name.
  • The table shows the full model name and the time, as the Registry table in feat(frontend): /m developer mode Registry table like /w #8166 does (apps-overview-06).

Not in this PR:

  • apps-overview-05 "Configure": /w's Configure opens the custom workflow modal, which is part of apps-prompts-06.

Tests

  • appOverviewBeta.render.test.tsx: without beta developer mode the section has no Playground button and no Delete, and it opens the read-only drawer. With beta developer mode it has the Playground link, Open in Playground and Delete in the row menu, and the editable drawer with Open in playground and Deploy.
  • The existing overview section tests still pass. Types pass for @agenta/mobile.
  • Live check against the parity stack: with beta developer mode, the kebab sits next to "Capital finder", the Playground button shows, and Created by reads "Alex Parity (you)". A row opens the editable drawer. With Developer Mode off, the page is unchanged.

What to QA

  • Beta developer mode on, open an app overview. The kebab sits next to the app name, Recent Prompts has a Playground button, and Created by shows names.
  • A row's menu has Open in Playground and Delete. Clicking a row opens the editable drawer with Open in playground, Deploy and Test app.
  • Regression: with Developer Mode off, the overview looks as before.

Agenta Product Agent added 2 commits November 6, 2026 12:15
@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • New Features
    • Beta developer mode now offers workspace-member binding and an editable revision drawer for recent prompts.
    • Users with workflow-editing permission can delete prompt rows. When the Playground developer view is enabled, prompt rows and the section header include Playground links.
    • Detailed prompt tables show wider model and creation-time columns, with model names that can wrap and creation times on wider screens.

Beta developer mode now adds workspace-member binding and conditional Playground, deletion, and editable-drawer controls to App Overview. The variants table supports a detailed display, with tests covering beta and non-beta behavior.

Changes: Beta developer mode in App Overview

Layer / File(s) Summary
Detailed variants table
web/mobile/src/features/variants/VariantRowCells.tsx, web/mobile/src/features/variants/VariantsTable.tsx, web/mobile/tests/unit/appOverviewBeta.render.test.tsx
The table’s optional detailed setting changes column widths, model text styling, and date formatting. Tests verify detailed and default row cells.
Beta overview controls
web/mobile/src/features/app-overview/*, web/mobile/tests/unit/appOverviewBeta.render.test.tsx
App Overview renders workspace-member binding only in beta mode. Recent Prompts adds beta-gated Playground links, deletion, detailed rows, and an editable revision drawer. Tests cover beta and non-beta behavior.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant AppOverviewScreen
  participant BindWorkspaceMembers
  participant AppRecentPromptsSection
  participant VariantsTable
  participant EditableRevisionDrawer
  AppOverviewScreen->>BindWorkspaceMembers: Render when beta developer mode is active
  AppRecentPromptsSection->>VariantsTable: Pass beta-gated row controls and detailed display
  VariantsTable-->>AppRecentPromptsSection: Return selected revision
  AppRecentPromptsSection->>EditableRevisionDrawer: Render selected revision in beta mode
Loading

Possibly related PRs

  • Agenta-AI/agenta#8075: Adds the VariantsTable Playground link prop and OpenInPlaygroundButton used by Recent Prompts.
  • Agenta-AI/agenta#8012: Adds the Playground route and revision-selection link used for Recent Prompts revisions.
  • Agenta-AI/agenta#8120: Adds the beta developer-mode state and developer-view access used by this change.
Merge Risk: Minimal · previous review 021fe

The new Playground and deletion actions follow their expected paths. The change is mergeable after normal checks.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title identifies the Recent Prompts actions and editable drawer added to the app overview.
Description check Passed The description covers the beta developer mode changes and related tests.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 6 files.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between ad170aa and 021fed7.

Files selected for processing: 6

  • web/mobile/src/features/app-overview/AppOverviewScreen.tsx
  • web/mobile/src/features/app-overview/AppRecentPromptsSection.tsx
  • web/mobile/src/features/app-overview/BindWorkspaceMembers.tsx
  • web/mobile/src/features/variants/VariantRowCells.tsx
  • web/mobile/src/features/variants/VariantsTable.tsx
  • web/mobile/tests/unit/appOverviewBeta.render.test.tsx

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 1 remain after this review.

@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Railway Preview Environment

Item Value
Status stopped
Commit 42599de40bfc53aad7cd3b1408d5edd9fe7bdab5
Manual expiry (UTC) Not granted
CI deadline (UTC) Not granted
Workflow https://github.com/Agenta-AI/agenta/actions/runs/42221095685

Dependent tests finished. Post /preview for manual review. Environment absence verified; retained storage requires separate provider accounting.

Post /preview as a new comment to request a one-hour preview. Repeating it while active does not extend the hour.
Preview data is disposable. Expiry is enforced by the next successful cleanup sweep, not an exact timer.
Environment deletion stops its compute. Provider-retained storage and permanent services may still be billed.

Agenta Product Agent added 4 commits November 6, 2026 13:10
… the time in /m beta developer mode

Entire-Checkpoint: 01M6RCGE1EK9RMTWG6MZTJ2K0S
…iew Recent Prompts table

Entire-Checkpoint: 01M6RDJE3FB2CEBQK5S1B57YQV
@mmabrouk

mmabrouk commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

🤖 The AI agent says: @coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

@mmabrouk I’ll review the changes.

Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@mmabrouk
mmabrouk changed the base branch from feat/m-parity-deployment-drawer to release/v0.128.9 November 6, 2026 14:20
…rity-overview-actions

# Conflicts:
#	web/mobile/src/features/app-overview/AppOverviewScreen.tsx
@mmabrouk
mmabrouk merged commit 0da2a27 into release/v0.128.9 Nov 6, 2026
26 of 28 checks passed
@mmabrouk mmabrouk added the lgtm This PR has been approved by a maintainer label Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant