Repository navigation
fix(flow): mutate project titles in store and read query caches - #56
Open
google-labs-stitch[bot] wants to merge 7 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
- 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
- Merge latest main into the feature branch - Move ProjectMetadataFormat to ts/types.ts for the line limit - Add build 20261129.06 metadata, grid, and store slot fields - Read sharedEnabled and cardIdGetter from the active build format
- Resolve build registry merge conflicts with frontend_recent.ts - Add DECEMBER_02_METADATA and subroute slots to frontend_dec02.ts - Register project metadata formats in RECENT_BUILDS
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.
Supersedes #49 on current
mainwith full support for Google Flow front end buildsboq_labs-ai-sandbox-frontend_20261129.06_p0andboq_labs-ai-sandbox-frontend_20261202.00_p0.Summary
ProjectMetadataFormatints/types.tsand map project metadata symbols and home dashboard grid symbols forboq_labs-ai-sandbox-frontend_20261120.00_p0(Rb,$N,Ag,Lc,YJ,Jk,Sg,pM,AE,tI,Y7,Id,xs,zf,ha,Ub,getMetadata,Qd,Jnints/frontend_builds.ts),boq_labs-ai-sandbox-frontend_20261129.06_p0(oc,ZP,Yf,Ad,IH,xl,qh,sO,hG,iK,K7,Dd,ot,nf,ha,Sb,getMetadata,Ud,koints/frontend_nov29.ts), andboq_labs-ai-sandbox-frontend_20261202.00_p0(Ub,EL,ug,nd,SI,Zl,Rg,tL,uH,qL,J7,Sd,Ew,Ff,ha,Wb,getMetadata,Qd,Axints/frontend_dec02.ts, registered viaRECENT_BUILDSints/frontend_recent.ts), add subrouteProjectStoreinjection slots (ma,Ba,Mx,ya,Ca,AdonNOVEMBER_29_STORE;ma,wa,Ca,xd,MyonDECEMBER_02_STORE), and appendmetadata_service,metadata_mutator, andproject_title_signalchecks toprobeStore()ints/frontend_compatibility.tswithout changingFRONTEND_OPERATIONS.ts/project_metadata.tsandts/projects_grid_cache.tsas focused leaf modules: dispatchset_project_title(Sg/qh/Rg) throughProjectStore, require loadedPROJECT(Ag/Yf/ug) metadata before mutation, confirm theJk()/xl()/Zl()title signal, readPROJECTandPROJECT_DETAILSentries fromQueryClientthrough configured getters, and paginatePROJECTSandSHARED_PROJECTSinfinite queries up to 50 pages usingsharedEnabled(zf/nf/Ff) on the grid orgridFlags(ha).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()/Zl()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 ciandcargo deny --locked --workspace check(CI: OK).boq_labs-ai-sandbox-frontend_20261120.00_p0,boq_labs-ai-sandbox-frontend_20261129.06_p0, andboq_labs-ai-sandbox-frontend_20261202.00_p0as well as legacy fallback routes:flow_projectsrenameacross/collection/<cid>,/character/<cid>,/scene/<sid>,/edit/<wid>, and/tool/<tid>updatesJk()/xl()/Zl()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, anddeletepaginatePROJECTS(Id/Dd/Sd) andSHARED_PROJECTS(xs/ot/Ew) past 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: