Repository navigation
feat(reactions): reactions, annotations, stereo, queries and analysis (0.6.0) - #3
Merged
Merged
Conversation
…ps (0.6.0) Query atoms get a haloed tag such as [C,N,O] or not [C,N], query bonds a S/D or ring tag, and R-group definitions their R1 = labels, wavy attachment points and occurrence line, so a Markush drawing reads without opening a dialog.
Whether enhanced stereo groups, group colours and query marks show is a per-window view choice, not document style, so it lives in local storage with a change event the canvas listens to.
One class combines stereo and query marks per fragment, caches them by fragment, style and options, and patches keyed nodes, so wiring it into the renderer is a single call.
…flag change (0.6.0) The derived cache key covered atoms, bonds and expansions only, so regrouping centres kept serving the old CXSMILES.
… (0.6.0) CXSMILES groups and V3000 stereo collections become the fragment's stereo_groups and a set chiral flag becomes chiral absolute, so groups round-trip through both formats.
…0.5.0) Forward, equilibrium, retrosynthetic, resonance, no-go, dashed and plain arrows are drawn by dragging (Shift snaps to 15 degrees, Alt picks the alternate variant such as unbalanced equilibrium or the slashed no-go) or placed four bond lengths long by a click.
…bbreviations, checks and properties (0.6.0) Every 0.6.0 engine call lives in one module that reads the replies defensively and normalises them into window types, so a shape change on the engine side is fixed in one place.
…0.5.0) A drag from an atom, lone pair or bond to an atom, bond or the gap between two atoms anchors both ends (0.15 bond lengths short) with a 90 degree arc bulging away from nearby atoms; anywhere else it falls back to a free arc. Alt flips the bulge, Shift puts a fishhook barb on the right.
A click places the symbol; it snaps vertically onto the centre line of a reaction component within three bond lengths (Alt places it exactly), as one transaction.
One place answers which centres, double bonds and axes are stereogenic, their CIP labels (R, S, r, s, E, Z, M, P), whether each is defined, undefined or unknown and which group it is in, and turns a regrouping into one transaction.
…o groups and R-groups (0.6.0) These changes are plain data in the document, so the window builds their ops itself and commits one transaction without waiting for the engine; each builder emits only the sets that change something.
Dragging a box around atoms records the enclosed fragment and atoms, and a pair crossing exactly two bonds becomes a repeat unit labelled n; a click on a structure brackets the whole fragment and a double-click on a bracket edits its label.
… R-groups (0.6.0) The 0.6.0 structure and analysis commands need their own glyphs in the menus, palette and dialogs; they follow the 24 px currentColor line set.
…ds (0.6.0) A centre on a wavy bond is reported as stereo_unknown, and a stereogenic double bond drawn with a substituent on its line as undefined_double_bond, beside the existing undefined_stereocentre and unknown_ez.
A drag draws a straight line; a click starts a polyline that gains a point per click and ends on a double-click, a click on its first point (closing it), Escape to cancel or a tool change, committed as one transaction. Shift snaps each segment to 15 degrees.
Atom lists and later element pickers share one grid of 118 buttons laid out by period and group, with arrow-key movement and pressed state patched in place.
Atom lists and not-lists are picked on the periodic table with a live [C,N,O] preview and keyed chips, and the dialog resolves to the value so the caller writes one transaction.
Dragging sizes the table and fits whole 48 by 18 pt cells into it (1 to 50 each way) with equal column widths and row heights; a click places a 3 by 3 table, Shift adds a header row, Alt sizes from the centre.
Dragging places a plate with one lane per 20 pt of width (at least one) and the default origin and front; a click on a plate adds a spot to the nearest lane with its Rf taken from the click height, each as one transaction.
… 3D coordinates (0.6.0) The wedges of chosen centres are placed by RDKit's wedging rules for the perceived, asked-for (R or S) or 3D-derived parity and returned as one transaction, checked by perceiving the result again.
An R-group is defined by its member structures, occurrence, rest H and an if-then condition; the dialog validates the occurrence syntax and resolves to the definition or to its removal.
…es (0.5.0) A click on an atom centres the orbital on it and attaches it; a click elsewhere places it free; dragging from the start point turns it toward the pointer in 15 degree steps (Alt free). p and pi lobes stand upright by default.
A smooth line passes a Catmull-Rom Bezier through its points so dragging a point bends the curve locally; the sampled outline is shared with bounds and hit testing.
A click or a dragged box opens the file picker, uploads the picture through uploadMedia (POST /api/documents/{id}/media, proposed for the engine) and commits the media record and the image object as one transaction, sized from the picture or fitted into the box.
…e canvas menu (0.6.0) The submenus follow the canvas menu's temporary command pattern, with checked states read from the live fragment, so the context menu gains query and enhanced stereo editing by appending three items.
… (0.6.0) The built-in table gains common protecting groups, aryls and sulfonyls with categories, abbreviations.json in the data folder adds or overrides entries, and a canonical-SMILES match finds the label for a drawn substituent.
…0.5.0) A click on or just around a structure types a caption centred half a bond length under it, targeted at the fragment with its offset recorded; Ctrl or Cmd-click adds the next bold compound number; a click on a caption edits it, and empty space gives a free caption.
Draft.removeObject dropped only the group record, leaving its members in no container, so the engine rejected every delete or erase of a group; members are now removed in the same transaction.
A small popover beside the centre sets abs, and n or or n and lists the fragment's groups as one-click chips; each change is one transaction and the popover patches itself in place.
Moles, implied amounts, the limiting reagent, theoretical and percent yield follow from the step's typed amounts and the derived masses; they are shown, never written back, as FORMAT.md requires.
…lian (0.6.0) Adds the part06 key block for the new stereochemistry, query, R-group and analysis strings.
…ch (0.6.0) Adds the part06 key block for the new stereochemistry, query, R-group and analysis strings.
…ish (0.6.0) Adds the part06 key block for the new stereochemistry, query, R-group and analysis strings.
…nish (0.6.0) Adds the part06 key block for the new stereochemistry, query, R-group and analysis strings.
…wegian Bokmål (0.6.0) Adds the part06 strings for Norwegian Bokmål so the 0.6.0 stereochemistry, query and analysis UI is localised.
… (0.6.0) Records what phase 6 brings, what moved in the menus, the desktop build and salt valence fixes, and the gaps left for later versions.
…nish (0.6.0) Adds part06 for the stereochemistry, query, R-group, structure check and analysis strings.
…nish (Mexico) (0.6.0) Adds part06 for the stereochemistry, query, R-group, structure check and analysis strings.
…tuguese (Brazil) (0.6.0) Adds part06 for the stereochemistry, query, R-group, structure check and analysis strings.
…nch (0.6.0) Adds part06 for the stereochemistry, query, R-group, structure check and analysis strings.
…nch (Canada) (0.6.0) Adds part06 for the stereochemistry, query, R-group, structure check and analysis strings.
…man (0.6.0) Adds the part06 key block for the new stereochemistry, query, R-group and analysis strings.
…ld fixes in the backend log (0.6.0) Entries 78 to 98 keep the reasons phase 6 left in its notes: stereo groups, the chiral flag 0 deviation, queries and V3000, Markush attachment order, the isotope algorithm, and why build_app failed on a fresh Mac.
… and the Tauri CLI pin in the frontend log (0.6.0) Entries 133 to 148 keep the reasons behind the analysis client, the keyed marks layer, window-side query edits, the check panel, the properties section, reaction roles and the CLI pin rule.
…eck and the isotope pattern (0.6.0) The analysis routes and tools had no reference beside the format; this page gives their request and answer shapes, the check codes, the property methods and the known limits.
…he pinned CLI (0.6.0) The owner ran ./build_app on macOS arm64 with Python 3.14 after the pin and the app built; the entry says so and nothing more.
….6.0) The build fix entries said the build was unverified; the owner's arm64 run built the app, while running it was not reported on.
Roles set by hand arrived in 0.6.0; the page now says which objects can take a role, what the one transaction rewrites and how agents run it.
Explains stereo labels, enhanced stereo, abbreviations, query atoms and bonds, substructure search and R-groups for the person drawing, linked from the sidebar and Home.
Describes the properties section with its methods, the isotope plot, Copy Analysis and the Check Structure panel, linked from the sidebar and Home, whose status line now names 0.6.0.
The menus, view toggles, hand-set reaction roles and the new fragment, atom, R-group and expansion fields were missing from the tour pages.
…r agents (0.6.0) The page still counted ten tools; it now describes properties, check_structure, stereo and substructure, the get_context line as the server writes it, and the stereo, query and role commands agents run.
… (0.6.0) The desktop page did not say how a local build is checked; it now lists build_app's steps, the CLI to crate major.minor rule behind the 0.6.0 build fix, and that the owner's macOS build succeeded.
…fourteen MCP tools (0.6.0) The feature grid and agent paragraph stopped at 0.5.0 and still listed stereochemistry as coming next; the badge is left to the release commit.
…s and reaction roles (0.6.0) Adds the structure-analysis sub-skill for properties, check_structure, stereo and substructure, brings the router, catalogue and evaluations to fourteen tools, and mirrors the pack with agents sync.
… pin rule to the skillset (0.6.0) The skillset routed nothing to the 0.6.0 analysis layer and did not know why the desktop build failed; it now maps the services, routes, codes, window modules and the CLI to crate version rule, mirrored with agents sync.
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.
feat(reactions): reactions, annotations, stereo, queries and analysis (0.6.0)
Summary
@tauri-apps/cliwas never declared, so./build_appstopped with "the Tauri CLI did not install"; it is now pinned at 2.12.6 to match the tauri crate's 2.12, the error says what to check, and build_app now bundles the template library into the frozen engine. The owner confirmed the desktop app builds on macOS arm64 with Python 3.14.Commits
Oldest first, release commits last in each phase. Short hashes are left out because they change when formpr signs.
Version
v0.6.0 (release commit is last; v0.5.0 is the release commit at the end of phase 5). Version sites bumped: frontend/package.json, both fields of frontend/package-lock.json, frontend/src/version.ts, backend/app/init.py, src-tauri/Cargo.toml, the formchem entry of src-tauri/Cargo.lock, src-tauri/tauri.conf.json, the Flatpak metainfo release line, the README badge.
Checks
npx tsc --noEmit,./formchem build, compileall andformchem_engine.py --selfcheck(formchem 0.6.0, rdkit 2025.09.3, indigo 1.49.0): pass../formchem i18n check(26 languages),setup/agents.py sync --check,setup/notices.py --check, bash -n on the shell scripts, no em dash in markdown, no emoji in changed files: pass. god-tier-skill-creatorvalidate_skill.pyon both packs and both mirrors: PASS (0 FAIL, 0 WARN).--selfcheckpasses with RDKit, Indigo and the window bundled. The owner built the desktop app with./build_appon macOS arm64 (Python 3.14.6, Node 24.16, Rust 1.97.1).Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.