Is anyone able to give an approximate timeline for when the default Observable becomes Notebooks 2.0? (Presumably associated with a switch from new.observablehq.com. to observablehq.com ?).
I ask because I am preparing/updating large volumes of teaching materials that use Observable, and need to know whether to make the switch to Notebook 2 JS (which I’d much rather do), or whether to wait another year.
Sorry I didn’t see this sooner! If this just means directing homepage traffic to the new site by default, it could be just a few weeks; if it means broader parity and self-sufficiency, I think it’d be at least a few months.
Our vote would certainly be that you “skate to where the puck is going to be” and start living in the 2.0 future as soon as you’re comfortable! Today, if you direct students to https://new.observablehq.com/, it’s a decent self-contained experience: you can sign up, make notebooks, publish them, fork them, explore the community, etc.
But there’s certainly still a lot of work for us to do.
For the workspace workflow and general polish, we need:
Better homepage (in progress)
Create and join teams
Import 2.0 notebooks and private notebooks
Updated documentation
For notebook features, we need:
Database connections (in progress)
Minimap (in progress)
Version history (it’s saving today but you can’t browse or restore)
Search
Embedding
Diffing / merging
etc…
We don’t yet know exactly where the line will be where we cut over to directing people to the new experience by default.
It’s good to hear this vote, but for what it’s worth, a Windows/Android app is not in the works for any time soon.
But you could use the notebook file format, any text editor (we like Zed here), and notebook-kit. I think some people have done cool stuff with notebooks and notebook-kit in VS Code, though I haven’t tried or tracked it well.
(Today, if you’re editing a notebook on the web, and go offline, and make changes, and then go back online, it should sync the changes back, but it could be a better experience and more robust.)
I really like 2.0 so far! Only feedback I have are things that you’re already working on. Check this out if you’re curious what I’ve done with it so far (that I feel are presentable), mostly created on my smartphone (with a keyboard app called “Unexpected Keyboard”): SVG for Factorio Wire Icons | Mikal Hitsøy Henriksen | Observable
Also, at risk of going too far off topic, any news to share about Canvas? I’ve been dreaming of a tool like that for a long time! It would suit my thought process and workflow so well for the kind of exploratory hobby research projects I often like to do (like Collatz conjecture, Path of Exile economy, check my history though not sure how much is public (or sane)). But I understand and respect your focus on 2.0 for the time being.
Not really; it’s not our focus and we’re not taking new customers right now. (Fwiw, it was more focused on exploratory analysis of SQL data warehouses, and didn’t share the notebook runtime or standard library; for hobby research infinite canvas stuff, you might enjoy https://natto.dev/ or https://offline.tldraw.com/ .)
Looks like secrets also haven’t made it to 2.0 yet (or did they move from team settings? BTW help panel for 1.0 still has the wrong link to secrets page). Once that and imports are working, I can make a full Factorio mod authoring and publishing workflow
You can read Secrets in a 2.0 notebook, but you still have to create and manage them on the 1.0 site.
Broadly, the import code path still just tries to read the notebook as a 1.0 notebook. So (vanilla) JS and TS cells as interpreted as old-fashioned OJS code, and it all uses the old standard library. If that happens to work, then the import works, albeit in a brittle and unsupported way.
In your case, I think what’s happening is that the function beforeAfter cell is valid as either OJS or JS, so the import works. But it may still behave unexpectedly, since it uses the html tagged template literal, which changed to use the modern htl library in 2.0.