-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
chore: open / close notebook widgets #17375
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
923c095
chore: open / close notebook widgets
daibhin fbaa8d8
Update UI snapshots for `chromium` (2)
github-actions[bot] b306117
Merge branch 'master' into dn-chore/notebooks-widgets-toggling
daibhin 5411813
Merge branch 'master' into dn-chore/notebooks-widgets-toggling
daibhin d5b7939
Update UI snapshots for `chromium` (2)
github-actions[bot] c7dade6
Update UI snapshots for `chromium` (1)
github-actions[bot] b7faf60
leave settings open
daibhin a836b78
hide if not custom node
daibhin 6c4b3e1
Merge branch 'master' into dn-chore/notebooks-widgets-toggling
daibhin bba72cb
Merge branch 'master' into dn-chore/notebooks-widgets-toggling
daibhin 675168a
Update UI snapshots for `chromium` (2)
github-actions[bot] af079ee
Merge branch 'master' into dn-chore/notebooks-widgets-toggling
daibhin 7e190bb
Update UI snapshots for `chromium` (2)
github-actions[bot] d327e6e
Merge branch 'master' into dn-chore/notebooks-widgets-toggling
daibhin 9d715a9
Update UI snapshots for `chromium` (1)
github-actions[bot] d2c7348
Merge branch 'master' into dn-chore/notebooks-widgets-toggling
daibhin 63b3c0c
remove widget feature flag
daibhin fd883c7
Update UI snapshots for `chromium` (2)
github-actions[bot] f2fcbd3
Update UI snapshots for `chromium` (1)
github-actions[bot] 1ff763d
Merge branch 'master' into dn-chore/notebooks-widgets-toggling
daibhin 33d201d
add toggle support & active state
daibhin 632b16e
Merge branch 'master' into dn-chore/notebooks-widgets-toggling
daibhin da3cc83
Update UI snapshots for `chromium` (1)
github-actions[bot] 4067347
Update UI snapshots for `chromium` (2)
github-actions[bot] fefb59e
Update UI snapshots for `chromium` (1)
github-actions[bot] 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-18.8 KB
(68%)
frontend/__snapshots__/scenes-app-notebooks--numbered-list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+32 Bytes
(100%)
frontend/__snapshots__/scenes-app-notebooks--recordings-playlist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+11 Bytes
(100%)
frontend/__snapshots__/scenes-app-notebooks--text-formats.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+10 Bytes
(100%)
frontend/__snapshots__/scenes-app-notebooks--text-only-notebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+34.8 KB
(150%)
...napshots__/scenes-app-recordings--recordings-play-list-no-pinned-recordings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,6 @@ import { NotebookConflictWarning } from './NotebookConflictWarning' | |
import { NotebookLoadingState } from './NotebookLoadingState' | ||
import { Editor } from './Editor' | ||
import { EditorFocusPosition } from './utils' | ||
import { FlaggedFeature } from 'lib/components/FlaggedFeature' | ||
import { FEATURE_FLAGS } from 'lib/constants' | ||
import { NotebookSidebar } from './NotebookSidebar' | ||
import { ErrorBoundary } from '~/layout/ErrorBoundary' | ||
|
||
|
@@ -99,9 +97,7 @@ export function Notebook({ shortId, editable = false, initialAutofocus = null }: | |
) : null} | ||
|
||
<div className="flex flex-1 justify-center space-x-2"> | ||
<FlaggedFeature flag={FEATURE_FLAGS.NOTEBOOK_SETTINGS_WIDGETS}> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removing this because settings widgets are much more stable (and necessary now) given insights are working |
||
<NotebookSidebar /> | ||
</FlaggedFeature> | ||
<NotebookSidebar /> | ||
<ErrorBoundary> | ||
<Editor | ||
initialContent={content} | ||
|
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
Binary file modified
BIN
-2.09 KB
(37%)
...-snapshots/Navigation-App-Page-With-Side-Bar-Hidden-Mobile-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.09 KB
(37%)
...s-snapshots/Navigation-App-Page-With-Side-Bar-Shown-Mobile-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
I don't know if this was always the case but the space-x-2 causes a gap when there are no widgets showing... (see the snapshot diff)