Skip to content

0.9.1

Choose a tag to compare

@NspxMiguel NspxMiguel released this 28 Aug 16:31
· 9 commits to main since this release

The Dock icon opens a window of our own now. The bundle used to launch Chrome with --app=, which gives a window with no tabs and no address bar but is still Chrome: its icon in the Dock, "Google Chrome" in Cmd+Tab, and clicking Nuvo in the taskbar opening the browser. An app that opens another app is not an app.

The bundle's executable is a WKWebView in an NSWindow, compiled at packaging time, with the Node binary beside it. It starts the server only if nothing is already answering, checks that whoever answers is a Nuvo before handing over the access token, and stops the server on quit only when it was the one that started it — so someone with nuvo already running in a terminal does not lose that session by closing the window. Links outside 127.0.0.1 open in the real browser. Without swiftc on the packaging machine the bundle falls back to the Node binary alone, which still opens the old way.

Creating a teacher is its own page, not a form appended below the list. With half a dozen teachers you had to scroll past the table to reach a field that had just appeared, and the screen showed half of each. Escape goes back, the cursor starts in the name field, and creating goes straight to the teacher.

The three organisation options had never had a style rule of their own — they inherited the generic button and came out centred like photo captions. The guard that catches classes with no CSS now covers the three families that had grown outside it.