Repository navigation
fix(flow): mutate project titles in store and read query caches - #49
Closed
google-labs-stitch[bot] wants to merge 2 commits into
Closed
google-labs-stitch[bot] wants to merge 2 commits into
google-labs-stitch[bot] wants to merge 2 commits into
Conversation
- Map project metadata mutator and home grid queries in VERIFIED_BUILDS - Dispatch set_project_title in ProjectStore and verify the Jk signal - Route project create and rename through ProjectStoreSession - Exit collection subroutes on workspace return and keep file uploads - Reject subroutes in fallback set_title and scope inputs to the header - Read project titles from Jk and QueryClient caches without DOM inputs - Paginate owned and shared grid queries and strip mat-icon ligatures
This was referenced Nov 28, 2026
Contributor
|
Changes requested.
This PR overlaps with #45 (root routes, |
This was referenced Nov 28, 2026
- Keep /collection/<cid> in ensure_project_workspace_root - Add ensure_project_root_route for legacy DOM title fallback - Clean Google Flow wrappers only on document.title - Strip icon nodes in card fallback without filtering plain words - Allow workspace header inside main for legacy title edits - Read protobuf fields only from configured getters and keys - Require loaded PROJECT metadata before title mutations - Confirm card deletion without full-cache list pagination - Document project_title in flow_assets list reference
Contributor
Author
|
Addressed all 7 points in
(#48 is still open, so this branch keeps fast-forward history against |
Contributor
|
Closing this pull request. It conflicts with |
byteland-app
deleted the
stitch/store-project-titles-and-query-caches-jm1-a778f9c6-0c31-475e-85bb-bafa9c00bb72
branch
December 1, 2026 03:30
Contributor
Author
|
Opened #56 on current |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ProjectMetadataFormatints/types.tsand map project metadata symbols and home dashboard grid symbols for bothboq_labs-ai-sandbox-frontend_20261120.00_p0(Rb,$N,Ag,Lc,YJ,Jk,Sg,pM,AE,tI,Y7,Id,xs,zf,Ub,getMetadata,Qd,Jnints/frontend_builds.ts) andboq_labs-ai-sandbox-frontend_20261129.06_p0(oc,ZP,Yf,Ad,IH,xl,qh,sO,hG,iK,K7,Dd,ot,nf,Sb,getMetadata,Ud,koints/frontend_nov29.ts), and appendmetadata_service,metadata_mutator, andproject_title_signalchecks toprobeStore()ints/frontend_compatibility.tswithout changingFRONTEND_OPERATIONS.ts/project_metadata.tsto dispatchset_project_title(Sg/qh) throughProjectStore, require loadedPROJECT(Ag/Yf) metadata before mutation, confirm theJk()/xl()title signal, readPROJECTandPROJECT_DETAILSentries fromQueryClientthrough configured getters, and paginatePROJECTSandSHARED_PROJECTSinfinite queries up to 50 pages.create_projectandrename_projectinsrc/project.rsthroughProjectStoreSessionon verified builds so renames run in place on active subroutes without touching<flow-editable-text>inputs./project/<id>/collection/<cid>inensure_project_workspace_root(src/project_route.rs,ts/project_nav.ts), addensure_project_root_route(exit_to_project_root) for legacy DOMset_titlefallback, reject subroute URLs inprojectsOp({ action: "set_title" }), and restrict legacy DOMset_titlefallback toWORKSPACE_HEADER_SELECTOR(including<header>inside<main>).Jk()/xl()andQueryClientcaches verbatim inreadStoreSnapshot(ts/read_store_snapshot.ts), clean"Google Flow"wrappers only ondocument.title, removeEditable textDOM scraping, and returnproject_idandproject_titlefromflow_assets(src/assets.rs,src/service.rs,docs/*/tools-reference.md) across subroutes and/trash.flow_projectslistandopen, scroll.load-more-sentinelup to 50 pages duringdeleteuntil the target card mounts, skipmat-icon/[aria-hidden="true"]subtrees viaTreeWalkerwithout filtering plain-word titles, and confirm card removal without extra pagination requests.Verification
cargo xtask ci,cargo deny --locked --workspace check(CI: OK), and headless Chrome runtime verification on bothboq_labs-ai-sandbox-frontend_20261120.00_p0andboq_labs-ai-sandbox-frontend_20261129.06_p0.flow-mcpMCP server and headless Chrome across store and legacy scenarios:flow_projectsrenameacross/collection/<cid>,/character/<cid>,/scene/<sid>,/edit/<wid>, and/tool/<tid>updatesJk()/xl()with zero edits to subroute or sidenav<flow-editable-text>inputs, and preserves titles such as"Flow","Trash","Flow: X", and"X - Flow":flow_status(probe: true),probeStore(), andflow_assets(list) read authoritative titles fromQueryClienton/project/<id>/trashwhile cleaning generic"Google Flow - ...: Trash"document.titlevalues tonull:flow_projectslist,open, anddeletepaginatePROJECTSandSHARED_PROJECTSpast card 21, ignore raw protobuf arrays when getters returnundefined, preserve plain-word DOM titles (edit,add,check,folder,public,lock,share,delete,close), confirm deletion with zero extra pagination requests, and bound faulty pagination at 50 pages: