pool.psychoinformatics.de-ui/templates
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stephan Heunis 6d9cd3bed9
All checks were successful
Deploy on webserver / Build site and deploy (push) Successful in 2m19s
Support for new shacl-vue starter feature
This brings in the necessary build, deploy, and config changes to allow
the shacl-vue starter editor to be built+deployed and served from
pool.psychoinformatics.de/starter, while the existing editor is still
served from the '/ui' subdirectory. Necessary changes include:
- The makefile includes a new build-starter command that uses shacl-vue's
  new ability to build the starter variant of the app by setting the
  VITE_SHACLVUE_VARIANT value before running the npm build command. The
  previous build command has been changed to build-ui. The ui variant, i.e.
  the previous main app, is now built into 'dist/ui' while the starter
  variant is built into 'dist/starter'. The clean commands have been
  updated/added accordingly, and the 'all' command can now be used to install
  dependencies and build both app variants.
- The forgejo workflow now runs the 'make all' command and moves the resulting
  'dist' directory (which contains 'ui' and 'starter' subdirectories) to
  'deploy', such that the rest of the workflow continues the same as before
- The config file is updated to include a starter app name, and also a new
  wizard to support the 'Quick add' feature required by the starter app. This
  is accompanied by the 'add-record.nunjucks' TTL template and it allows
  adding a minimal record with only a display name and description. The wizard
  is configured to be shown for all classes, using the new shacl-vue config
  option for wizard selection: '_classes'.

Note that a single config file is still used for both app variants. This is
because currently the apps don't differ substantially with regards to main
configurable functionality. However, a separate starter app config file can
easily be supported by updating the makefile to copy the correct config file
to the correct output location in the 'build-starter' command.
2026-05-15 20:06:27 +02:00
..
add-record.nunjucks.ttl Support for new shacl-vue starter feature 2026-05-15 20:06:27 +02:00
DocumentUploadTemplate.ttl update on route to become compatible with demo-research-information 2026-01-30 23:19:10 +01:00
DOIImportWizardTemplate.nunjucks.ttl author role should be a named node 2026-03-19 12:14:35 +01:00
DOIWizardTemplate.ttl Fix DOI wizard template and config 2026-02-10 00:35:46 +01:00
file-upload.ttl new generic file upload template 2026-02-10 23:11:50 +01:00
person-depiction-upload.nunjucks.ttl add person depiction upload wizard and template 2026-03-23 14:39:58 +01:00