Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.8k
Improve context handling#4453
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
66 commits Select commitHold shift + click to select a range
7a5bd00 WIP context cleanups
jasongrout78df852 Handle paths having multiple contexts.
jasongroutdb40067 Some new docs about how JupyterLab deals with documents.
jasongrout1e298d7 WIP
jasongrout2e93f83 WIP
jasongrout9c7c4a8 WIP
jasongrout92d58d0 Revert back to original widget creation workflow, but insist we get b…
jasongrout3816766 WIP for MimeDocument widget
jasongrout6ede2da WIP trying out an idea for a mime document renderer, pushing most log…
jasongrout0ff19f6 WIP converting code to use IDocumentWidget
jasongrout4aa4de6 Fix all compilation errors dealing with the move to IDocumentWidget.
jasongrout58a7a4b Fix lint errors
jasongrout3fc6bde WIP: Fix some tests, skip others while we are evaluating this approach.
jasongrout1107f69 Create a specialized MimeDocument document widget type.
jasongrout12dfc8e Delay a document widget from being ready until the context is ready.
jasongroutaf12ced Use the ABCWidgetFactory type parameter defaults where we can to simp…
jasongrout55f8b32 Convert the notebook to use DocumentWidget
jasongrout631d0e1 Move notebook content generation to the widget factory.
jasongrout8b3b7e1 Remove image viewer toolbar-lookalike css.
jasongroutdb7fc2d Move dirty state handling to the document widget.
jasongroutc90b59b Get rid of double toolbars in file editor and mime document.
jasongroutc3496d1 Switch SingletonLayout workaround from panel layout to box layout for…
jasongroutf7b03da Adjust toolbar height to account for visible widgets.
jasongrout78e85c3 Fix toolbar collapse status based on explicit hiding, rather than cum…
jasongroutb60aaf5 Move csv viewer toolbar over to document widget toolbar.
jasongrout1a6b58d Delete now-redundant notebook toolbar styling.
jasongrout11ffaaf Revert part of 7a5bd00ce3df55b85c747d02a00e87c49e3288b4 dealing with …
jasongroutcbb1b6a Make a CSVDocumentWidget which creates default content and toolbar.
jasongrout6554c24 Fix tests
jasongroutb0a3234 Merge branch 'master' into context
jasongrout5d9d5db Fix issues with the merge.
jasongrout7ecb3c8 Fix CSV viewer toolbar tests.
jasongrout447ab04 Fix mimedocument tests.
jasongroutebac5f0 Allow MainAreaWidget ready promises actually be Promise<any> for conv…
jasongroutae8b29b Add document widget tests.
jasongrout087d1d9 Fix more tests.
jasongrout0468ec2 WIP notebook tests.
jasongroutae892b4 More notebook test fixes.
jasongroutba2802f Fix more tests, convert many to use async/await.
jasongrout672e843 Add the notebook panel .notebook attribute to ease the transition.
jasongrout57b5c07 Fix integrity failures.
jasongrout99c6c45 Make MainAreaWidget promise resolve *after* the spinner is removed.
jasongrout5a21d5a When a code editor is created, clear the history after setting the in…
jasongrout7b618ba Clear the notebook model undo history when the model is set.
jasongroutec7d693 Move .notebook references to .content
jasongroutd72fd54 Delete the .notebook attribute for notebook panels again.
jasongroutce1abda Fix model initialization test.
jasongrout5da4760 path generally will be a stricter criteria than factory name, so matc…
jasongrout64212a6 Initialize a model after the context's first save/revert.
jasongrout5027e9e Merge remote-tracking branch 'origin/master' into context
jasongroutf12be48 Just use the BoxLayout instead of trying SingletonLayout.
jasongrout7bb239a Remove comment monologue that is no longer necessary or accurate of t…
jasongrout56e5766 Run notebook panel contentfactory tests.
jasongrout427a67e Tweak documentation
jasongrout4efcad2 Use StackedLayout instead of BoxLayout for single children.
jasongrout21040a0 Fix review comment issues.
jasongroutbf94b1e Document the choices around focusing content.
jasongroutd031011 We don’t need the document opener spinner anymore now that the docume…
jasongroutdba0b63 MainAreaWidget attribute name change: ready -> reveal
jasongrout414fd43 Change the main area widget reveal promise to ‘revealed’
jasongrout413f401 Fix the revealed logic for the notebook panel.
jasongrout63c41c1 Clarify logic around `isRevealed` to mean “spinner is gone, either a …
jasongrout3ab6372 Update docs per review comments.
jasongrout6749792 Move signal construction to attribute definition, consistent with the…
jasongrout693810c Support making the content null.
jasongroutac907af Change MainAreaWidget to using the spinner as just a DOM node rather …
jasongroutFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
WIP: Fix some tests, skip others while we are evaluating this approach.
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit3fc6bde35ebebc2bb300a189d7ae1574b3a0165a
There are no files selected for viewing
16 changes: 5 additions & 11 deletionstests/test-docmanager/src/manager.spec.ts
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
29 changes: 13 additions & 16 deletionstests/test-docmanager/src/widgetmanager.spec.ts
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
15 changes: 5 additions & 10 deletionstests/test-docregistry/src/default.spec.ts
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
14 changes: 7 additions & 7 deletionstests/test-docregistry/src/mimedocument.spec.ts
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
16 changes: 5 additions & 11 deletionstests/test-docregistry/src/registry.spec.ts
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
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.