posit-dev / positron

Positron, a next-generation data science IDE
https://positron.posit.co
Other
2.82k stars 90 forks source link

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

Open nstrayer opened 1 day ago

nstrayer commented 1 day ago

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:

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.