Repository navigation
Conversation
CHEM_ELEMENT_SYMBOLS for the periodic table (the selected element symbols, separated by spaces) and CHEM_MOLECULE for the molecule editor (its state object as a JSON string). See issue #5. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This branch has not been deployed
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.
Umsetzung des Vorschlags aus #5: zwei neue Werte für
format, je einer für die Antworten der beiden Chemie-Widgets.CHEM_ELEMENT_SYMBOLSSTRINGstatedes Periodensystems: die Kürzel der gewählten Elemente, durch Leerzeichen getrennt, z. B.H He Li(widget-docs/pse.qmd, „State“)CHEM_MOLECULEJSONstatedes Molekül-Editors: ein JSON-Objekt als String, mit dem Bild des letzten Bearbeitungsstands inasImage(widget-docs/molecule.qmd, „State“)Die Namen sind ein Vorschlag, die Entscheidung liegt bei dir.
Geändert
variable-info.schema.json: beide Werte im Enum vonformat,$idaufverona-variable-info@2.1, wie bei 1.4 im selben Schritt wie die Änderungvariable-info.interface.ts: beide Werte im Typ vonformatNicht geändert, weil das bisher im Veröffentlichungsschritt geschah:
package_npm.json(Version) und die Beschreibung der Formate auf der Doku-Seite (editor-docs/_variables.qmdin verona-interfaces.github.io, die noch die kleingeschriebenen Werte aus 1.x zeigt).Geprüft:
npm run test_schemaläuft mit 8 von 8 Fällen grün. Die neuen gültigen Fälle scheitern am Schema von 2.0 und bestehen mit diesem. Der Typ invariable-info.interface.tskompiliert. Zum Lauf:npm cibricht aufmainab, weilpackage-lock.jsonnicht zurpackage.jsonpasst (Missing: encoding@0.1.13). Ohne Lockfile kommt TypeScript 6, an dem die Jest-Konfiguration scheitert, deshalb lief der Test mit TypeScript 5. Den Lockfile habe ich nicht angefasst.Bezug: iqb-berlin/verona-modules-aspect#1471 (aspect trägt die Formate in seine VariableInfo ein), iqb-berlin/responses#121 (Anzeigetexte).
🤖 Generated with Claude Code