Repository navigation
Conversation
- some refactoring
…eText ... and use it consistently in pageDocument and pageOntology.
synchronize branch #125 with latest updates
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved persistence and imported-HTML security issues block approval, alongside model compatibility and content-selection regressions.
6 open issues
Sanitize imported rich text before rendering · New Clear stale IndexedDB items when replacing the cache · New Migrate legacy packages atomically during cache upgrade · New Support language-tagged values across validation and serializers · New Emit selection updates when the selected node changes · New Prevent stale image resolutions from overwriting current content · New
What changed in this PR
Adds an Ontology view for browsing cached CASCaRA types, sharing outline navigation with the Document view.
Changes:
- Adds type-specific HTML rendering, language-aware text selection, and reusable outline navigation.
- Changes item persistence to per-ID records with package graph proxies and external-reference validation.
- Centralizes logging and updates tests, fixtures, and release metadata.
| File | Description |
|---|---|
tests/unit/pig-metaclasses.spec.ts |
Updates warning spies to use console. |
tests/unit/operations.spec.ts |
Updates logging spies and assertions. |
tests/unit/item-cache.spec.ts |
Updates logging mocks. |
tests/unit/import-xml.spec.ts |
Tests modified-date defaults for XML imports. |
tests/unit/import-jsonld.spec.ts |
Tests modified-date defaults for JSON-LD imports. |
tests/data/XML/21/Very_Simple_Model_(FMC)_with_Requirements.cas.xml |
Removes redundant types and simplifies labels. |
tests/data/XML/11/Alice_works_for_ACME.cas.xml |
Normalizes XML lists and property restrictions. |
tests/data/JSON-LD/21/Very_Simple_Model_(FMC)_with_Requirements.cas.jsonld |
Aligns model types and labels with XML. |
src/styles/main.css |
Adds ontology layouts and shared pane styles. |
src/stores/item-cache.ts |
Persists individual items and resolves package proxies. |
src/stores/asset-cache.ts |
Documents lazy loading and updates logging import. |
src/router/index.ts |
Registers the Ontology route. |
src/plugins/import/xml/mount-import-xml.ts |
Uses centralized logging. |
src/plugins/import/xml/mount-import-any-xml.ts |
Uses centralized logging. |
src/plugins/import/neo4j/import-neo4j.vue |
Revises import labels and logging imports. |
src/plugins/import/import-base.vue |
Uses centralized logging. |
src/plugins/export/neo4j-api/neo4j-export.ts |
Uses centralized logging. |
src/plugins/export/neo4j-api/export-neo4j.vue |
Uses centralized logging. |
src/plugins/export/export-base.vue |
Uses centralized logging. |
src/main.ts |
Updates the startup logging import. |
src/components/UrlQueries.vue |
Consolidates message and logging imports. |
src/components/PageOntology.vue |
Adds grouped type browsing and content display. |
src/components/PageDocument.vue |
Reuses outline navigation and browser language. |
src/components/NavOutlineItem.vue |
Renames recursive items and adds title tooltips. |
src/components/NavOutline.vue |
Extracts reusable selection and keyboard navigation. |
src/common/schema/pig/ts/pig-package-constraints.ts |
Adds external type-reference resolution. |
src/common/schema/pig/ts/pig-metaclasses.ts |
Adds package proxies and multilingual property types. |
src/common/lib/revision-tracker.ts |
Uses centralized logging. |
src/common/lib/platform-independence.ts |
Adds browser-language lookup. |
src/common/lib/operations.ts |
Uses centralized logging. |
src/common/lib/mvf.ts |
Uses centralized logging. |
src/common/lib/messages.ts |
Hosts the shared logger. |
src/common/lib/helpers.ts |
Introduces multilingual text utilities. |
src/common/import/neo4j/import-neo4j.ts |
Uses centralized logging. |
src/common/import/jsonld/import-jsonld.ts |
Uses centralized logging. |
src/common/export/xml/getXML.ts |
Adds mandatory namespaces and context diagnostics. |
src/common/export/ttl/getTTL.ts |
Handles multilingual property literal arrays. |
src/common/export/jsonld/getJSONLD.ts |
Uses centralized logging. |
src/common/export/html/getHTML.ts |
Renders ontology types and localized property values. |
src/build-info.ts |
Refreshes generated release metadata. |
src/App.vue |
Adds Ontology navigation and responsive drawer defaults. |
package.json |
Bumps the application version to 0.3.1. |
package-lock.json |
Synchronizes the application version. |
components.d.ts |
Registers ontology and navigation components. |
Review effort: Balanced
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…ntation of multilanguageText for configurable properties.
- updated two tests to provide a window environment for the new passify() implementation using dompurify.
… workspace migration
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.


No description provided.