Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new SET_INDEX event #19590

Conversation

tmeasday
Copy link
Member

@tmeasday tmeasday commented Oct 24, 2022

Telescoping on #19595

Issue: #19126

Docs-only stories didn't work properly with Story Store V6, as the SET_STORIES event didn't include docs entries.

What I did

Add a SET_INDEX event (with the same structure as index.json). This simplifies both the preview+manager handling, but means we lose composition compatibility between v6 and v7.

How to test

  • Unit tests.
  • Run a v6 sandbox (currently not possible, working on that).

No longer try and do docs-page manager side.
Also ensure that the ClientAPI calculates the index correctly
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it! 💯

…om/sb-732-docs2-support-docs-only-stories-in-v6
@tmeasday tmeasday changed the base branch from next to tom/sb-849-cant-run-the-v6-store-in-sandboxes-2 October 24, 2022 05:33
…om/sb-732-docs2-support-docs-only-stories-in-v6
…om/sb-732-docs2-support-docs-only-stories-in-v6
@tmeasday tmeasday merged commit ddb1a5f into tom/sb-849-cant-run-the-v6-store-in-sandboxes-2 Oct 25, 2022
@tmeasday tmeasday deleted the tom/sb-732-docs2-support-docs-only-stories-in-v6 branch October 25, 2022 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants