Skip to content
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

feat: Double click notebook tab to remove its preview status #1190

Merged
merged 2 commits into from
Mar 30, 2023

Conversation

mattrunyon
Copy link
Collaborator

Something I noticed while working on #1189 is that we didn't support double clicking the tab to promote from preview to normal state like VSCode does. This PR lets you double click the tab of a notebook in preview to change it from preview state to normal state.

Tested double clicking preview notebook, non-preview notebook, and opening other notebooks in preview after promoting via double click

@mattrunyon mattrunyon requested a review from mofojed March 30, 2023 15:39
@mattrunyon mattrunyon self-assigned this Mar 30, 2023
mofojed
mofojed previously approved these changes Mar 30, 2023
@codecov
Copy link

codecov bot commented Mar 30, 2023

Codecov Report

Merging #1190 (a1d4f6a) into main (f1f3abf) will increase coverage by 0.00%.
The diff coverage is 28.57%.

@@           Coverage Diff            @@
##             main    #1190    +/-   ##
========================================
  Coverage   44.19%   44.19%            
========================================
  Files         448      448            
  Lines       33308    33424   +116     
  Branches     8362     8404    +42     
========================================
+ Hits        14719    14771    +52     
- Misses      18540    18603    +63     
- Partials       49       50     +1     
Flag Coverage Δ
unit 44.19% <28.57%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ashboard-core-plugins/src/panels/NotebookPanel.tsx 1.60% <0.00%> (ø)
...ckages/dashboard-core-plugins/src/panels/Panel.tsx 58.55% <100.00%> (ø)

... and 4 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mattrunyon mattrunyon merged commit 4870171 into deephaven:main Mar 30, 2023
@mattrunyon mattrunyon deleted the double-click-promote-notebook branch March 30, 2023 18:01
@github-actions github-actions bot locked and limited conversation to collaborators Mar 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants