Skip to content

UHF-11676: Linked courses preparation#978

Merged
hyrsky merged 22 commits intomainfrom
UHF-11676
Jun 5, 2025
Merged

UHF-11676: Linked courses preparation#978
hyrsky merged 22 commits intomainfrom
UHF-11676

Conversation

@hyrsky
Copy link
Contributor

@hyrsky hyrsky commented May 30, 2025

UHF-11676

What was done

  • Re-write linked events paragraph backend features
    • Adds custom widget for selecting items from linked events api with autocomplete, like keywords or places. This replaces the previous implementation which saved keywords to Drupal database as taxonomy terms.
    • Adds new fields to event_list paragraph
    • Adds option to select courses (Frontend changes will be implemented later: https://helsinkisolutionoffice.atlassian.net/browse/UHF-11028).

How to install

  • Make sure your instance is up and running on latest dev branch.
    • git pull origin dev
    • make fresh
  • Update the Helfi Platform config
    • composer require drupal/helfi_platform_config:dev-UHF-11676
    • composer require drupal/hdbt:dev-UHF-11676
  • Run make drush-updb drush-cr
  • Run make shell
    • In the shell, run drush helfi:platform-config:update helfi_react_search

How to test

  • Add event_list paragraph to a page.
    • Check that the paragraph form matches the design (figma link in the ticket).
    • Check that autocompleting keywords, categories and places work.
    • Check that saving the form preserves changed.
  • Find existing event_list paragraph and check that it was migrated correctly to the new format.
  • Check that the code makes sense.

Other PRs

@hyrsky hyrsky force-pushed the UHF-11676 branch 2 times, most recently from e607d3d to dcd86a8 Compare May 30, 2025 04:43
@hyrsky hyrsky force-pushed the UHF-11676 branch 2 times, most recently from 3a59d77 to 4a82e1e Compare June 2, 2025 06:02
@hyrsky hyrsky mentioned this pull request Jun 4, 2025
4 tasks
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 4, 2025

@hyrsky hyrsky merged commit c72ed44 into main Jun 5, 2025
7 checks passed
@hyrsky hyrsky deleted the UHF-11676 branch June 5, 2025 06:26
@hyrsky hyrsky mentioned this pull request Jun 5, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants