Skip to content

Replace the V1 getRoot bootstrap with Stela V2 archives root discovery behind use_stela_migration - #406

Open
flaviahandrea-vsp wants to merge 1 commit into
developfrom
feature/VSP-1788
Open

Replace the V1 getRoot bootstrap with Stela V2 archives root discovery behind use_stela_migration#406
flaviahandrea-vsp wants to merge 1 commit into
developfrom
feature/VSP-1788

Conversation

@flaviahandrea-vsp

Copy link
Copy Markdown
Contributor

The My Files root now resolves from GET /v2/archives (rootFolderId -> section-root children), re-run per root load with a supersede guard and path-stack reset so an archive switch can't paint or persist the previous archive's root. V1 getRoot stays the flag-off path and the automatic failsafe; the public-record prefs side effect is preserved from the same V2 children. Verified live on staging: archive/change carries no root id, and section roots arrive as private-root/public-root.

…y behind use_stela_migration

The My Files root now resolves from GET /v2/archives (rootFolderId -> section-root
children), re-run per root load with a supersede guard and path-stack reset so an
archive switch can't paint or persist the previous archive's root. V1 getRoot stays
the flag-off path and the automatic failsafe; the public-record prefs side effect
is preserved from the same V2 children. Verified live on staging: archive/change
carries no root id, and section roots arrive as private-root/public-root.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant