jupyterlab/jupyterlab

Trusting notebook in RTC mode leads to `File Changed` dialog

Open

#14,347 opened on Apr 8, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (13,454 stars) (2,937 forks)batch import
bughelp wantedtag:Real Time Collaboration

Description

Description

Regardless of fixes in https://github.com/jupyterlab/jupyterlab/pull/14345 the trust status is not set for empty (1 code cell) notebooks on RTC, and an attempt to Trust notebook ends up with File Changed dialog.

Reproduce

trust-rtc-itneraction

  1. Spin up RTC setup on binder
  2. Open command palette
  3. Choose "Trust Notebook"
  4. Click Trust
  5. See File Changed dialog

Expected behavior

  • whatever causes the trusted metadata to be lost on code cells when RTC is active gets ironed out.
  • trusting notebook works the same on RTC as it works locally, without dialog.

Context

  • Browser and version: latest Chromium family
  • JupyterLab version: 4.0.0b1

Contributor guide

Trusting notebook in RTC mode leads to `File Changed` dialog · jupyterlab/jupyterlab#14347 | Good First Issue