Fixes two issues in the Scene UI & adds Storybook test cases for the Scene UI#6564
Conversation
4d26050 to
ec9f73f
Compare
ec9f73f to
cecb820
Compare
630e062 to
46f65e0
Compare
46f65e0 to
cb123dd
Compare
|
Fixes #6568 and the story "Scene Attributions" shows that. See the image above. Also fixes story "Show Unavailable". The text was there, but white text on a white background was not visible. The change to Doesn't fix #6567 and the stories "Scene Allow Remixing" and "Owner Project Id" reflect that. Also, it was not clear how to set the app feature "Enable Scene Editor" on, for Storybook. |
cb123dd to
3a503b1
Compare
Why: Stories didn't exist yet, and they would be confusing without the fixes
3a503b1 to
c1a3c64
Compare
|
some general comments you can take or leave :)
|
Is there documentation on stubbing?
Is there a way to set |
| /> | ||
| ); | ||
|
|
||
| export const ParentScene = () => ( |
There was a problem hiding this comment.
This seems like it's showing a child/remixed scene, so I think this sub-story should be named "Child Scene" or "Has Parent Scene"?
Why: the attributions for a remixed scene were neither fully tested nor fully working
325a284 to
155bb78
Compare

What?
Fixes #6568
Ensures, on an unavailable scene, the text "This scene is no longer available" is always legible
Adds Storybook test cases for scene-ui.js
Also rounds out a few other Storybook stories.
Why?
How to test
npm run storybookhttp://localhost:6006/?path=/story/scene-ui--baseLimitations
None of the Mobile test cases for Tooltip worked before, and they still don't. The UI in the actual app is fine. It's not clear why Storybook gives bad results here.
Alternatives considered
If the Mobile test cases for Tooltip were included, it would be natural for a dev to conclude the actual UI is wrong. That would waste dev time on something that isn't broken in the actual app.
Open questions
How could Storybook be better configured, or the Tooltip story better written?
Additional details or related context
This depends on Matt's Storybook fixes. #6563