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

fix trusted status indication #7036

Merged
merged 6 commits into from
Sep 8, 2023
Merged

fix trusted status indication #7036

merged 6 commits into from
Sep 8, 2023

Conversation

adigaboy
Copy link
Contributor

@adigaboy adigaboy commented Sep 7, 2023

fixed trusted check to be similar to:
https://github.com/jupyterlab/jupyterlab/blob/19fa54fcbf3e684d7c4466807af549ba0d565ad2/packages/notebook/src/truststatus.tsx#L240-L259

includes check cell type if code
some total code cells
check and sum trusted cells

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2023

Binder 👈 Launch a Binder on branch adigaboy/notebook/main

Copy link
Member

@krassowski krassowski left a comment

Choose a reason for hiding this comment

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

Thanks @adigaboy. I left some minor comments on code style :)

packages/notebook-extension/src/trusted.tsx Outdated Show resolved Hide resolved
packages/notebook-extension/src/trusted.tsx Outdated Show resolved Hide resolved
@jtpio
Copy link
Member

jtpio commented Sep 8, 2023

bot please update playwright snapshots

@jtpio jtpio linked an issue Sep 8, 2023 that may be closed by this pull request
@jtpio jtpio closed this Sep 8, 2023
@jtpio jtpio reopened this Sep 8, 2023
@jtpio jtpio added this to the 7.0.x milestone Sep 8, 2023
@jtpio
Copy link
Member

jtpio commented Sep 8, 2023

Thanks!

The remaining test failure is not related and is being addressed in #7037.

Copy link
Member

@jtpio jtpio left a comment

Choose a reason for hiding this comment

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

Thanks!

@jtpio jtpio merged commit 7b329b4 into jupyter:main Sep 8, 2023
29 checks passed
@adigaboy
Copy link
Contributor Author

adigaboy commented Sep 9, 2023

My pleasure!

Will look for other issues to fix also :)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JN 7.0 → Impossible to save/keep Trusted state of a notebook
3 participants