-
Notifications
You must be signed in to change notification settings - Fork 5
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
UHF-10259: Curated event list #830
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add new paragraph: curated_event_list - Add new external entity for Linked Events events - Add new storageclient for retrieving events - Add custom constraint and validator - Add translations
3 tasks
teroelonen
changed the title
Uhf 10259 curated event list
UHF-10259: Curated event list
Oct 21, 2024
Functionality works nicely, needs someone with more backend expertise to review the code. |
rpnykanen
requested changes
Oct 22, 2024
modules/helfi_paragraphs_curated_event_list/helfi_paragraphs_curated_event_list.module
Show resolved
Hide resolved
...aphs_curated_event_list/src/Plugin/Validation/Constraint/CuratedEventConstraintValidator.php
Outdated
Show resolved
Hide resolved
modules/helfi_paragraphs_curated_event_list/helfi_paragraphs_curated_event_list.module
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
rpnykanen
approved these changes
Oct 22, 2024
This was referenced Oct 22, 2024
This was referenced Oct 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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