Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/cloud-book-search.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/cloud-outline-vim.md

This file was deleted.

14 changes: 14 additions & 0 deletions platforms/cloud/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @hyperbook/cloud

## 0.9.0

### Minor Changes

- [`afb5aa0`](https://github.com/openpatch/hyperbook/commit/afb5aa0fdfbccf91b8ff22527c682544de051ae4) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - The cloud editor searches the whole book. The sidebar has a Search view next to Files (Ctrl/Cmd+Shift+F, starting from the selected text) that searches every text file, including unsaved changes in open tabs, with match case, whole word and regular expression options. Results are grouped by file with their line, and choosing one opens the file with the match selected. Editors can replace every match: files open in a tab change in their editor, unsaved and undoable in one step, and the other files are saved together as one change in the history. The search runs in the browser, so a regular expression never runs on the server.

- [`afb5aa0`](https://github.com/openpatch/hyperbook/commit/afb5aa0fdfbccf91b8ff22527c682544de051ae4) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - The cloud editor has an activity bar down its left edge, as in VS Code. Files, Search, Outline, Comments, History and the AI assistant each open in the sidebar, one at a time, and choosing the shown one again folds the sidebar down to the bar; the editor settings and the light/dark toggle sit at its foot. The header keeps the book's actions and the preview toggle. Selecting a comment in the text, or Ctrl/Cmd+Alt+A, switches the sidebar to that view.

Outline lists the open file's headings (Markdown pages and snippets, and Typst documents), indented by level, and leaves out headings in the frontmatter, code blocks and Typst comments. The heading the cursor is under is marked as you move or type, and choosing one moves the cursor there.

The editor settings have Vim key bindings, with normal, insert and visual mode and the mode shown in a status line. `:w` saves the file. The choice is remembered in the browser and applies to open files right away. Closing the settings menu no longer takes the focus from an editor you are typing in.

PDFs (the Typst preview and opened PDF files) can be zoomed with −/+ buttons or Ctrl and the mouse wheel, from 25% to 400%, keeping the part in view. "Fit to width" returns to pages as wide as the pane, the default.

## 0.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion platforms/cloud/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperbook/cloud",
"version": "0.8.0",
"version": "0.9.0",
"private": true,
"type": "module",
"engines": {
Expand Down