Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GN-4810: get the roadsign-regulation plugin working with the rdfa-aware decision nodes #418

Merged

Conversation

elpoelma
Copy link
Collaborator

@elpoelma elpoelma commented Apr 26, 2024

Overview

This PR includes some updates to the roadsign-regulation plugin to ensure it works correctly in combination with the rdfa-aware system.
For now, I've decided to keep using the classic RDFa system for the roadsign regulations.

connected issues and PRs:

GN-4810

How to test/reproduce

  • Start the dummy app
  • Insert a sample decision with decision-type 'Reglementen en verordeningen'
  • Ensure that the Insert traffic measure inserts a roadsign_regulation node correctly in a new article node
  • The roadsign regulation should be preserved correctly across reloads

Challenges/uncertainties

I have decided to hold off moving the roadsign_regulation node to the rdfa-aware system as I did not really yet see the point of moving these over.

Checks PR readiness

  • UI: works on smaller screen sizes
  • UI: feedback for any loading/error states
  • Check if dummy app is correctly updated
  • Check cancel/go-back flows
  • changelog
  • npm lint
  • no new deprecations

@elpoelma elpoelma added the bug Something isn't working label Apr 26, 2024
@elpoelma elpoelma self-assigned this Apr 26, 2024
@dkozickis
Copy link
Contributor

Tested locally - works 🙏

@abeforgit abeforgit merged commit 502b4c7 into fix/rdfa-aware-decision-articles Apr 29, 2024
0 of 3 checks passed
@abeforgit abeforgit deleted the GN-4810-rdfa-aware-roadsign-plugin branch April 29, 2024 18:30
abeforgit added a commit that referenced this pull request Apr 29, 2024
* drop unnecessary backwards-compatible parse-rule for decision node

* drop unnecessary backwards-compatible parse-rule for decision-title node

* drop unnecessary backwards-compatible parse-rule for description node

* drop unnecessary backwards-compatible parse-rule for motivering node

* drop unnecessary backwards-compatible parse-rule for article-container node

* drop unnecessary backwards-compatible parse-rule for decision-article node

* drop unnecessary backwards-compatible parse-rule for decision-article-content node

* linting

* fix(decision-article): ensure that article number is positioned inline

* make setStartNumber and getStartNumber properties optional

* make numberConfig.convertNumber optional

* rework rdfa-aware besluit_article node

* adapt insert-structure command to support decision articles

* GN-4810: get the `roadsign-regulation` plugin working with the `rdfa-aware` decision nodes (#418)

---------

Co-authored-by: abeforgit <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants