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

Make it so notebooks actually display the file name in their editor tab #5429

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nstrayer
Copy link
Contributor

Addresses #2628.

Previously we just displayed the helpful name 'Positron Notebook' for every positron notebook 2.0 tab open. This updates this to just display the file name.

image

QA Notes

Steps:

  • Enable the positron.notebooks.usePositronNotebooksExperimental flag
  • Open an existing notebook
  • Check that the name is displayed properly

New notebooks should also work and just show untitled-*.ipynb (Although they still wont actually function until #4089 is fixed)

There's a chance that the code doesn't handle some weird file name edge cases but I couldn't find any.

@nstrayer nstrayer requested a review from seeM November 20, 2024 22:23
Copy link
Contributor

@seeM seeM left a comment

Choose a reason for hiding this comment

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

Nice and simple, works well for me!

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