shacl-vue/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stephan Heunis c581edb29c
All checks were successful
Deploy on webserver / Build docs and deploy (push) Successful in 45s
Build shacl-vue / build (push) Successful in 51s
Factor out markdown rendering and add config error dialog
These changes were prompted by the need to show an error message when shacl-vue
fails to load the specified config file correctly. Such an error message would
ideally be configurable, with markdown support. Adding markdown support to a new
dialog in the 'ShaclVue' component highlighted the fact that markdown functionality
was already duplicated across the 'MarkdownEditor' and the 'WizardEditor' components.

This was factored out by doing the following:
- creating a 'useMarkdown' composable with the common functionality, and using this
  in 'ShaclVue', 'MarkdownEditor', and 'WizardEditor'
- moving common css, specifically the 'markdown-render' class, into
  'src/assets/style.css', which can now be used anywhere in the app

Then, the configuration composable was updated to load a config error message from the
new build-time configuration option CONFIG_ERROR_TEXT. A build-time config is necessary
here because the nature of the config error means that a normal runtime config option
won't be available to be displayed. The CONFIG_ERROR_TEXT option has to be supplied via
the config yaml file, which is passed via the BUILD_CONFIG='path/to/config/file.yaml'
option supplied at build time.

If this build-time config option is not supplied, the config error message defaults to:
'
  There was a problem loading the configuraton source.
  Please reload the page, or contact the site administrator if the problem persists.
'

This new error will show up in a dialog when a user opens shacl-vue in their browser, if:
- the main config URL cannot be fetched successfully
- the external config URL cannot be fetched successfully
2026-11-10 22:31:33 +02:00
..
.vitepress docs: update deployment features documentation 2026-11-05 21:35:32 +02:00
public Factor out markdown rendering and add config error dialog 2026-11-10 22:31:33 +02:00
acknowledgements.md Add funding acknowledgements to README and docs 2025-04-23 16:15:06 +02:00
api-docs.md docs restructuring and added content 2026-11-05 10:59:48 +02:00
app-configuration.md docs restructuring and added content 2026-11-05 10:59:48 +02:00
app-deployment.md update documentation for build configuration and security features 2026-10-23 15:54:09 +02:00
app-design.md restructure docs sections, add up to date info to existing pages 2026-10-28 22:08:14 +02:00
app-inputs.md get docs on inputs and configuration sources up to date 2026-10-30 11:46:18 +02:00
build-configuration.md Factor out markdown rendering and add config error dialog 2026-11-10 22:31:33 +02:00
code-layout.md restructure docs sections, add up to date info to existing pages 2026-10-28 22:08:14 +02:00
component-hierarchy.md security upgrades to remove vulnerabilities 2026-10-20 08:36:30 +02:00
contributing.md Docs backlog; still much to do; make config options reachable by URL 2026-06-09 23:22:19 +02:00
core-concepts.md Update docs to reflect latest development state 2025-09-08 15:54:36 +02:00
deploy-features.md docs restructuring and added content 2026-11-05 10:59:48 +02:00
deploy-kickstarter.md docs: update deployment features documentation 2026-11-05 21:35:32 +02:00
deploy-multi-tenant.md docs: update deployment features documentation 2026-11-05 21:35:32 +02:00
deploy-runtime-plugins.md docs: update deployment features documentation 2026-11-05 21:35:32 +02:00
deploy-security.md docs restructuring and added content 2026-11-05 10:59:48 +02:00
editor-component.md Update docs with latest config format support, and change links to forgejo hosted repo 2026-01-22 13:40:05 +01:00
features-editor-matching.md add useful features to docs 2025-11-20 22:47:28 +01:00
features-file-upload.md add more content+updates to 'useful features' section 2026-06-11 08:23:22 +02:00
features-overview.md docs: update deployment features documentation 2026-11-05 21:35:32 +02:00
features-priority-classes.md Docs backlog; still much to do; make config options reachable by URL 2026-06-09 23:22:19 +02:00
features-property-ordering.md Docs backlog; still much to do; make config options reachable by URL 2026-06-09 23:22:19 +02:00
features-record-viewer.md Docs backlog; still much to do; make config options reachable by URL 2026-06-09 23:22:19 +02:00
features-wizard-editors.md docs restructuring and added content 2026-11-05 10:59:48 +02:00
get-started.md restructure docs sections, add up to date info to existing pages 2026-10-28 22:08:14 +02:00
index.md update documentation for build configuration and security features 2026-10-23 15:54:09 +02:00
integrations-dumpthings.md docs restructuring and added content 2026-11-05 10:59:48 +02:00
integrations-forgejo.md docs restructuring and added content 2026-11-05 10:59:48 +02:00
integrations-git-annex.md docs restructuring and added content 2026-11-05 10:59:48 +02:00
integrations-overview.md docs restructuring and added content 2026-11-05 10:59:48 +02:00
package-publishing.md update documentation for build configuration and security features 2026-10-23 15:54:09 +02:00
state-management.md additional docs to describe the applicatiomn design 2024-09-08 11:11:39 +02:00