[Bug]: New Project empty state does not open when Scratch is the last project deleted
Summary
When the last project is deleted, AO should transition to the empty-project state and automatically show the New Project creation panel in the main application shell.
This works when the last deleted project is a regular project, but not when Scratch is the last project deleted .The user has to explicitly click on the search bar in order to view new project creation option.
Steps to reproduce
- Open AO with the default Scratch project.
- Delete Scratch.
- Observe the empty state.
The issue also reproduces when multiple projects exist:
- Create one or more regular projects alongside Scratch.
- Delete the regular projects.
- Delete Scratch last.
- Observe the result.
Expected behavior
When the last remaining project is deleted, the New Project empty-state panel should open automatically, regardless of whether the last deleted project was Scratch or a regular project.
Actual behavior
- If a regular project is deleted as the last project → the New Project panel opens automatically.
- If Scratch is deleted as the last project → the New Project panel does not open.
- The user can still manually open the Search panel and select New project.
AO version
2da84a242440695cacd438ca7fafb26eda72764b
Environment
ubuntu 24.04
Logs / extra context
Before submitting
- [x] I searched existing issues for duplicates
- [x] I removed secrets / tokens from logs and screenshots
Working on this.
Thanks for contributing to Agent Orchestrator.
This issue is being picked up by the current external contributor on-call pair:
- @neversettle17-101
- @illegalcall
If someone is already working on this, please continue as usual. The on-call pair is added for visibility, tracking, and support, not to take over the work. If you need help with review, direction, reproduction, or next steps, please tag @neversettle17-101 and @illegalcall here.
For faster context or live questions, you can also join the AO Discord.
Join the session here: https://discord.gg/H6ZDcUXmq
Come by if you want to see what is being built, ask questions, or just hang around with the community.
From the NotesBot call on 2026-08-10, this existing issue appears to be relevant.
Match confidence: 0.66 (fuzzy).
Relevant discussion excerpts:
- [1:15:46] localhost: Awesome. [1:15:46] prateek: Welcome to the Discord. What was the issue that you reported? [1:15:51] Laiba: So basically what happened is, so in the sidebar like when there is nothing, when we initially load the thing, Agent Orchestrator, then we have this like application shell which shows [...]
- [1:15:46] prateek: Welcome to the Discord. What was the issue that you reported? [1:15:51] Laiba: So basically what happened is, so in the sidebar like when there is nothing, when we initially load the thing, Agent Orchestrator, then we have this like application shell which shows the project creation, this [...]
- [1:15:51] Laiba: So basically what happened is, so in the sidebar like when there is nothing, when we initially load the thing, Agent Orchestrator, then we have this like application shell which shows the project creation, this thing, option, okay? And then yeah, then I added project and like when I removed the [...]
Source thread: https://discord.com/channels/1476302178913357958/1536434275308797952/1536434275308797952
Generated by AO Bot based on the transcript from NotesBot.