Repository navigation
Make the editor read as the manuscript, insert figures and tables, list problems, and resume from home - #18
Merged
Merged
Conversation
Backends can write a file (Connect uploads it, the demo keeps it in memory); the workspace stores an image beside the manuscript's other figures, tells the compiler at once, and hands the editor object URLs for images it has loaded, so figures can be drawn where they are written.
Citations show who they cite, cross-references what they point to, footnote markers their numbers, labels as small tags; headings, emphasis and links lose their marks; figures, tables, code fences and display math draw as blocks. The line the cursor is on, and any block the selection touches, shows the Markdown as written. Hover and Mod-click resolve a chip's key through the syntax tree, since a chip has no positions of its own. Off, the editor shows the source everywhere.
The command palette inserts a figure from an image (stored in the collection, with a label and its caption selected), a table, an equation, a cross-reference (opening the label completion) and a footnote; pasting or dropping an image does the same. Problems list under the editor with their record and line and stay open while they are fixed; while a typed line is still being checked the bar says so rather than "No problems". Settings edit authors as rows of name and affiliation and keep the editor preferences; on a phone, export moves into the More menu.
Home remembers which manuscript was opened last and offers to continue it, with a word goal kept in this browser, and lists any text typed but not yet saved to the collection with a way to review it.
The browser suite hovers and Mod-clicks the chips the editor now draws, and opens the problems list only when it is closed.
…and a footnote shortcut Typing / at the start of a line or after a space lists what can be inserted, each with the Markdown it stands for; the top bar gains an Insert button with the same list; Mod-Alt-F adds a footnote. The command palette draws on the same list.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Five UX changes to Writer, each in its own commit:
Verified in headless Chromium on the demo: `pnpm check`, the baseline suite (32 steps) and the reliability suite (21 steps) pass. The browser suite now targets the chips and opens the problems list only when closed.