You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Refactor/Chore] Remove the app store and make app detail a single source of truth #42871
I confirm that I am using English to submit this report, otherwise it will be closed.
【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
Please do not modify this template :) and fill in all the required fields.
Description
Remove web/app/components/app/store.ts and its consumers. First make the backend /apps/{app_id} response schema accurate and regenerate the API contracts and Markdown docs. Then use the app-detail Query as the sole owner of server data, move transient log/modal state to its UI owners, and remove imperative store reads and cleanup effects. Do not retain a compatibility store or mirrored app state.
Motivation
The layout, Zustand store, and Query cache currently hold competing copies of app detail. Mutations and collaboration updates synchronize them by hand, while the handwritten frontend App type promises fields that the backend schema does not guarantee.
Additional Context
Supersedes the stale, closed #31181. Follow-up PRs can reference this issue until the store and all its imports are gone.
Activity
chore(lint): prevent new legacy app store imports
chore(lint): prevent new legacy app store imports
refactor(workflow): own preview chat requests with Console Query
refactor(workflow): own preview chat requests with Console Query