-
Notifications
You must be signed in to change notification settings - Fork 4
Create Global Context #256
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
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
f8128b8
feat: create GlobalContent.
crhallberg 186bf23
refactor: apply GlobalContext.
crhallberg 454a2cc
refactor: remove unused mock context.
crhallberg 7dc0c55
feat: begin to move modal control to GlobalContext.
crhallberg c2463eb
feat: add theme switcher to GlobalContext.
crhallberg d5a3433
fix: StateModal and modal closing behavior.
demiankatz 6492d60
revert: move theme functionality to dark-theme branch.
crhallberg 02aa1b1
types: fix GlobalState.
crhallberg 73a58d9
mix: GlobalContext feedback 1 (no tests).
crhallberg 807ab0e
refactor: isModalOpen to function. Fixed state update code.
crhallberg b263b9a
Merge remote-tracking branch 'origin/dev' into global-context
crhallberg 631d2cb
feat: add GlobalContext to entire app.
crhallberg c4de584
fix: ParentsModal now opens and closes and verb and verb.
crhallberg b70f0e4
fix: explicitly handle undefined.
crhallberg 70c484e
fix: modal integration updates
demiankatz af162ec
Fix broken tests.
demiankatz 3d42d10
lint.
demiankatz b9b8d5f
Merge branch 'dev' into global-context
demiankatz 7b96688
Merge branch 'dev' into global-context
demiankatz aa82e27
Merge branch 'dev' into global-context
demiankatz d19afc7
Remove references to deleted toggle function; improve tests.
demiankatz 62ade0b
Review feedback.
demiankatz 72f6c17
Merge branch 'dev' into global-context
demiankatz c0a1f6b
improve types
demiankatz 4deddea
simplify useContext
demiankatz 9cacdea
fix: return limited state.
fb2d027
Merge branch 'dev' into global-context
demiankatz f48b273
Use open/close instead of toggle.
demiankatz 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 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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.