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.
UHF-10259
Add backend files for curated event list paragraph.
Sketch: https://www.figma.com/design/v5YC5vwdlXr1N8RaZ9SMPO/Hel.fi-Ajankohtaissis%C3%A4ll%C3%B6t-(Uutiset)?node-id=3261-57157
What was done
How to install
Install this branch:
composer require drupal/helfi_platform_config:dev-UHF-10259-curated-event-list
drush updb -y
. This should install the new paragraph module.drush cr
Install the HDBT branch:
composer require drupal/hdbt:dev-UHF-10259-curated-event-list
drush cr
Import translations:
drush locale:check && drush locale:update
drush cr
How to test
Known issues / deviations from the sketch
d.m.Y H:i
and JS locale string format as in sketch. Confirming with design / writing a ticket about this as well.Event testing:
Try you some event combinations. These restrictions should apply:
elo:32916e77-a2fc-4b4b-a605-c84b680bd4c5
in the event search field and choosing the event found. If you try to save the page with this selection, the validation fails it and shows an error message.Multilingual support:
helsinki:agif33o4ui
to the list and translate the node to fi / en versions. When viewing the page and switching between translations, you should see event name change accordingly.Also:
Continuous documentation
Translations
Other PRs
HDBT