Skip to content

Commit

Permalink
GN-4693: Enable LPDC plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
dkozickis committed Jun 10, 2024
1 parent e10a117 commit 74542c6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/nine-trains-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'frontend-gelinkt-notuleren': minor
---

GN-4693: Bump `@lblod/ember-rdfa-editor-lblod-plugins` to `19.2.0` and enable `LPDC` plugin
3 changes: 3 additions & 0 deletions app/controllers/agendapoints/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ export default class AgendapointsEditController extends Controller {
uri: municipality.uri,
},
},
lpdc: {
endpoint: ENV.lpdcEndpoint,
},
};
}

Expand Down
4 changes: 4 additions & 0 deletions app/templates/agendapoints/edit.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@
@controller={{this.controller}}
@config={{this.config.worship}}
/>
<LpdcPlugin::LpdcInsert
@controller={{this.controller}}
@config={{this.config.lpdc}}
/>
</:sidebarCollapsible>
<:sidebar>
<ArticleStructurePlugin::StructureCard
Expand Down
3 changes: 3 additions & 0 deletions config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ module.exports = function (environment) {
fallbackCodelistEndpoint: '{{MOW_REGISTRY_ENDPOINT}}',
zonalLocationCodelistUri: '{{ZONAL_LOCATION_CODELIST_URI}}',
nonZonalLocationCodelistUri: '{{NON_ZONAL_LOCATION_CODELIST_URI}}',
// Full URL, even if it's on the same domain as the frontend
lpdcEndpoint: '{{LPDC_ENDPOINT}}',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
Expand Down Expand Up @@ -97,6 +99,7 @@ module.exports = function (environment) {
'https://dev.reglementairebijlagen.lblod.info/raw-sparql';
ENV.regulatoryStatementFileEndpoint =
'https://dev.reglementairebijlagen.lblod.info/files';
ENV.lpdcEndpoint = 'https://dev.gelinkt-notuleren.lblod.info/lpdc-service';
// ENV.APP.LOG_RESOLVER = true;
// ENV.APP.LOG_ACTIVE_GENERATION = true;
// ENV.APP.LOG_TRANSITIONS = true;
Expand Down

0 comments on commit 74542c6

Please sign in to comment.