Skip to content

Hide auto-generated cell in ipynb workflows #1574

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 1 commit into from
Feb 26, 2025

Conversation

ilia-db
Copy link
Contributor

@ilia-db ilia-db commented Feb 25, 2025

Changes

Using the same metadata that web UI sets when you click on "hide code" option for a cell.

It looks like this, and the cell can be expanded by clicking on the eye button (after which you can't hide it anymore)
Screenshot 2025-02-25 at 15 31 09

Dbnb notebooks will still have the generated cells visible.

Tests

Manually + existing integ tests

Using the same metadata that web UI sets when you click on "hide code" option for a cell.

Dbnb notebooks will still have the generated cells visible.
@ilia-db ilia-db requested a review from fjakobs February 25, 2025 14:36
Copy link
Contributor

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/vscode

Inputs:

  • PR number: 1574
  • Commit SHA: f92eada2d26e7bc9a4835aab0c7e85a2e7909982

Checks will be approved automatically on success.

@ilia-db ilia-db changed the title Hide auto-generates cell in ipynb workflows Hide auto-generated cell in ipynb workflows Feb 25, 2025
Copy link
Contributor

@fjakobs fjakobs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, this is cleaner than I expected it to be

@ilia-db ilia-db merged commit ef9e923 into main Feb 26, 2025
8 checks passed
@ilia-db ilia-db deleted the hide-preamble-in-ipynb-workflows branch February 26, 2025 08:56
@github-actions github-actions bot mentioned this pull request Feb 26, 2025
ilia-db added a commit that referenced this pull request Feb 26, 2025
## packages/databricks-vscode
##  (2025-02-26)

* Add serverless support to the extension (#1539)
([ac25d32](ac25d32)),
closes
[#1539](#1539)
* Add telemetry for serverless and workflow/dbconnect runs (#1543)
([1ce2126](1ce2126)),
closes
[#1543](#1543)
* Always show serverless compute option in the cluster dropwodn (#1573)
([3511e3e](3511e3e)),
closes
[#1573](#1573)
* Automatically enable serverless when serverless_compute_id=auto
(#1550)
([968c084](968c084)),
closes
[#1550](#1550)
* Configure autocomplete as a part of env panel (#1554)
([8e24c87](8e24c87)),
closes
[#1554](#1554)
* Do not reject unauthorized hosts if proxyStrictSSL is false (#1559)
([807975f](807975f)),
closes
[#1559](#1559)
* Fix active bundle logs (#1528)
([74a431e](74a431e)),
closes
[#1528](#1528)
* Fix force deploy commands (#1560)
([811d9ed](811d9ed)),
closes
[#1560](#1560)
* Fix small typo in tooltip message (#1541)
([e6b270f](e6b270f)),
closes
[#1541](#1541)
* Hide auto-generated cell in ipynb workflows (#1574)
([ef9e923](ef9e923)),
closes
[#1574](#1574)
* Serverless e2e tests (#1565)
([2fb7336](2fb7336)),
closes
[#1565](#1565)
* Update Databricks CLI to v0.239.1 (#1530)
([cc9e0ef](cc9e0ef)),
closes
[#1530](#1530)
* Update Databricks CLI to v0.241.2 (#1557)
([02c2fea](02c2fea)),
closes
[#1557](#1557)



## packages/databricks-vscode-types
##  (2025-02-26)

---------

Co-authored-by: releasebot <[email protected]>
Co-authored-by: Ilia Babanov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants