-
Notifications
You must be signed in to change notification settings - Fork 0
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 support for Roblox internal Stories and Storybooks #29
Draft
vocksel
wants to merge
49
commits into
main
Choose a base branch
from
roblox-internal
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 31 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
c2a3b04
Work from the day
vocksel 7ec177d
Fix types
vocksel 4dfd89e
Place raw errors on the next line
vocksel 922c3c3
Support "group" field on storybooks
vocksel df83c1a
Mark roblox internal
vocksel 2aeaf78
Existing renderers work with Roblox stories
vocksel 404781a
Add mapStory support
vocksel c66fb44
Choose any random substory to render as the story
vocksel 6c574ba
Use Prospector for immediate performance improvement
vocksel 80069ce
Merge remote-tracking branch 'origin/main' into roblox-internal
vocksel 4d39e32
Merge remote-tracking branch 'origin/main' into roblox-internal
vocksel a85500e
Add a todo
vocksel 78af727
Merge remote-tracking branch 'origin/main' into roblox-internal
vocksel 0d179b0
Merge remote-tracking branch 'origin/main' into roblox-internal
vocksel bac3658
Don't bother gating behind a flag
vocksel 5963e56
Merge remote-tracking branch 'origin/main' into roblox-internal
vocksel d075fc1
Handle more substory cases
vocksel d22446e
Adjust internal handling for React/ReactRoblox
vocksel d58594c
Fix mapStory for React storybooks
vocksel 6be8b08
Fix build watching
vocksel e0b1716
Remove debug print
vocksel 08a547d
Expose UnavailableStorybook type
vocksel a036d9a
Fix mapStory for Roact renderer
vocksel 3611a65
Each Storybook has its own ModuleLoader for better sandboxing
vocksel 23e599b
Storybooks keep track of their source module
vocksel a4afdd0
Fix unit tests and type errors
vocksel 5026aea
Support `props` field on Stories
vocksel aab4408
Support mapDefinition
vocksel 7de0209
Revise useStorybooks to better encapsulate loading
vocksel 4a99804
Provide better interop with storyRoots
vocksel c054981
Each Storybook has its own loader
vocksel c7267cc
Typecasts
vocksel 113dd99
Couple things to revert
vocksel 1e42f86
Add some more tests
vocksel 6ca12a8
Merge remote-tracking branch 'origin/roblox-internal' into roblox-int…
vocksel 3e033c4
Merge remote-tracking branch 'origin/main' into roblox-internal
vocksel 78ac720
Merge remote-tracking branch 'origin/roblox-internal' into roblox-int…
vocksel 9a00d17
Merge remote-tracking branch 'origin/main' into storybook-contains-th…
vocksel 05cafb2
Unskip a test
vocksel ee649a4
Get useStorybooks tests passing
vocksel 5c757f6
Get useStory tests passing
vocksel 1157951
Merge branch 'storybook-contains-the-loader' into roblox-internal
vocksel 46f1fd1
Merge remote-tracking branch 'origin/main' into roblox-internal
vocksel 93e827f
Require useStorybooks inline
vocksel 722387f
Remove implicit storyRoots
vocksel e85ae17
Mark Roblox internal behavior
vocksel c668640
Remove test for removed behavior
vocksel cef8dc1
Update story format docs
vocksel 182fe0b
Mark another Roblox internal feature
vocksel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[tools] | ||
rojo = { source = "rojo-rbx/rojo", version = "7.4.3" } | ||
selene = { source = "Kampfkarren/selene", version = "0.27.1" } | ||
StyLua = { source = "JohnnyMorganz/StyLua", version = "0.20.0" } | ||
wally = { source = "UpliftGames/wally", version = "0.3.2" } | ||
luau-lsp = { source = "JohnnyMorganz/luau-lsp", version = "1.34.0" } | ||
wally-package-types = { source = "JohnnyMorganz/wally-package-types", version = "1.3.2" } | ||
lune = { source = "lune-org/lune", version = "0.8.7" } | ||
darklua = { source = "seaofvoices/darklua", version = "0.13.1" } | ||
run-in-roblox = { source = "rojo-rbx/run-in-roblox", version = "0.3.0" } |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember to remove this before merging