Skip to content

feat(frontend): /m developer mode Prompts tree in the rail - #8152

Merged
mmabrouk merged 3 commits into
release/v0.128.9from
feat/m-parity-prompts-tree
Nov 6, 2026
Merged

mmabrouk merged 3 commits into
release/v0.128.9from
feat/m-parity-prompts-tree

Conversation

@mmabrouk

@mmabrouk mmabrouk commented Nov 6, 2026

Copy link
Copy Markdown
Member

Context

In /w the Prompts row in the rail folds open to list the prompt apps. In /m developer mode the Prompts row (#8140) was a plain link.

Changes

In beta developer mode the Prompts row gets the /w caret and lists the prompt apps (up to five, then "Show all", each opening the app's playground). It uses the shared sidebar entity machinery (defineSidebarEntity with the /m scope, resolveChildren), the same way /m already lists sessions. The list loads only when the row is open: the gated source stays idle, and fetches nothing, while it is closed. On the collapsed rail the Prompts icon opens the Prompts page, as in /w. The catalog code was already in the shell (the shared registry imports it), so this adds no new code to the first load.

Without beta developer mode nothing changes: the prompts list is never read and the flat Developer section is the same.

Stacked on the app URLs PR (base feat/m-parity-app-urls).

Tests

  • developerRail.test.ts: the prompt apps sit under Prompts with hideChildrenWhenCollapsed; without beta the rail is identical with or without the list.
  • /m type check, lint on changed files.
  • Quick look on the parity data: the row shows the caret, opening it lists Capital finder, Support bot, Sentiment classifier and Translator draft.

What to QA

  • Beta developer mode: open the Prompts caret. The prompt apps are listed; clicking one opens its playground.
  • Collapse the rail: the Prompts icon opens the Prompts page.
  • Regression: without beta developer mode the rail is unchanged.

@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

  • 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

@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 not completed

Review rate limited.

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.

@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Railway Preview Environment

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

Preview use finished or expired. 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.

@mmabrouk

mmabrouk commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

🤖 The AI agent says: @coderabbitai full review

@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

@mmabrouk I’ll start a full review of the PR.

Action not completed

Review rate limited.


Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 1 minute.

@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 request a review of the changes.

Action not completed

Review rate limited.

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-app-urls to release/v0.128.9 November 6, 2026 14:14
@mmabrouk
mmabrouk merged commit c234390 into release/v0.128.9 Nov 6, 2026
80 of 86 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