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

UHF-7791: Drupal react search module #420

Merged
merged 81 commits into from
Feb 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
8770577
Add listing events in React
jeremysteerio Sep 26, 2022
600389d
Fix coding style
jeremysteerio Oct 3, 2022
178f7a1
Remove i18next
jeremysteerio Oct 3, 2022
654bfb5
Remove unused exports
jeremysteerio Oct 3, 2022
9c97a44
Remove unused import
jeremysteerio Oct 3, 2022
691ff41
UHF-6665: added new fields to the events paragraph
ltpk-siili Sep 23, 2022
cd890de
UHF-6665: added disable_field dependency
ltpk-siili Sep 23, 2022
dd07423
UHF-6665: added disable_field to composer.json
ltpk-siili Sep 23, 2022
62aa3ee
UHF-6665: typo fix in version string
ltpk-siili Sep 23, 2022
dda5eda
UHF-6665: removed the info text field & added info to other fields
ltpk-siili Sep 27, 2022
f8bcfd0
UHF-6666: Add search filters for React version of LinkedEvents
jeremysteerio Sep 27, 2022
cbeef38
Change default result size to 5
jeremysteerio Sep 30, 2022
ecab961
Delete old script
jeremysteerio Sep 30, 2022
657ad8a
Add reading events URL value from data-attribute rather than global v…
jeremysteerio Sep 30, 2022
7ca9076
UHF-6666: Move filter to own components
jeremysteerio Sep 30, 2022
0210a69
Styling fixes
jeremysteerio Sep 30, 2022
cbcd1ab
Update index.html for larger amount of results
jeremysteerio Oct 3, 2022
4960d31
Style changes
jeremysteerio Oct 3, 2022
8b7db0c
Updat e index.html to reflect backend changes
jeremysteerio Oct 3, 2022
25c72d4
Add conditional rendering based on props
jeremysteerio Oct 3, 2022
b7b0908
Add exposing backend choices to twig template
jeremysteerio Oct 3, 2022
6c38a94
Fix end date parameter when using the same date for both dates
jeremysteerio Oct 3, 2022
38dfa10
UHF-6666: Fix logic for getting event list paragraph values
jeremysteerio Oct 3, 2022
3f24825
date input validations added. SWR added to datalayer to prevent conte…
sakkelaaksonen-siili Oct 7, 2022
2de5593
revert error test url in index.html
sakkelaaksonen-siili Oct 7, 2022
b210712
UHF-6666: Add search filters for React version of LinkedEvents
jeremysteerio Sep 27, 2022
9da6b51
Add reading events URL value from data-attribute rather than global v…
jeremysteerio Sep 30, 2022
2fbbe7a
UHF-6666: Move filter to own components
jeremysteerio Sep 30, 2022
68216df
Styling fixes
jeremysteerio Sep 30, 2022
1fb530f
Style changes
jeremysteerio Oct 3, 2022
f2939f8
Updat e index.html to reflect backend changes
jeremysteerio Oct 3, 2022
47d3281
Add conditional rendering based on props
jeremysteerio Oct 3, 2022
4a9d2aa
Add exposing backend choices to twig template
jeremysteerio Oct 3, 2022
fb8986a
Fix end date parameter when using the same date for both dates
jeremysteerio Oct 3, 2022
c3fb589
date input validations added. SWR added to datalayer to prevent conte…
sakkelaaksonen-siili Oct 7, 2022
e2950f9
revert error test url in index.html
sakkelaaksonen-siili Oct 7, 2022
ab38971
better build script. fixed validation. Better types. Cleanup for peer…
sakkelaaksonen-siili Oct 12, 2022
1a9c97e
remove sourcemap from build
sakkelaaksonen-siili Oct 12, 2022
c82bf20
remove previous build file
sakkelaaksonen-siili Oct 12, 2022
e89c24d
fix rebase cache save fumble. Add new build
sakkelaaksonen-siili Oct 12, 2022
54e89bf
Removed duplicate code block after rebase automerges.
sakkelaaksonen-siili Oct 13, 2022
b46f9cf
fix Sonar Cloud code smell issues
sakkelaaksonen-siili Oct 13, 2022
7bbd435
Merge pull request #378 from City-of-Helsinki/UHF-6666-search-filters…
sakkelaaksonen-siili Oct 13, 2022
4f7f6eb
Add event paragraph translations
jeremysteerio Oct 26, 2022
ab99184
UHF-3128: Merge remote-tracking branch 'origin/main' into UHF-3128-so…
jeremysteerio Oct 31, 2022
89936cd
UHF-6915: check if field is hidden before rendering it
rpnykanen Oct 26, 2022
0ee5648
UHF-6915: added new field & removed old field
rpnykanen Oct 26, 2022
7581d39
UHF-6915: correct order
rpnykanen Oct 26, 2022
525c090
Revert "UHF-6915: correct order"
rpnykanen Oct 26, 2022
6b31676
UHF-6915: correct order in correct place
rpnykanen Oct 26, 2022
0695bf0
UHF-6915: use correct helper
rpnykanen Oct 26, 2022
a915a89
UHF-6915: added storage as well
rpnykanen Oct 26, 2022
1470192
UHF-6915: translation configuration
rpnykanen Oct 26, 2022
9d00400
UHF-6915: add missing slash
rpnykanen Oct 26, 2022
4faa52e
UHF-6915: remove unused storage, add allowed values function to count…
rpnykanen Oct 26, 2022
b19d5e7
UHF-6915: added function comment
rpnykanen Oct 26, 2022
e3c7d25
UHF-6915: Expose event count to frontend, sanity check field in if-st…
jeremysteerio Oct 31, 2022
927a58d
UHF-6915: Fix dependencies in config
jeremysteerio Oct 31, 2022
8cf540a
Merge pull request #386 from City-of-Helsinki/UHF-6915_sote_linkedeve…
jeremysteerio Nov 1, 2022
11e98f3
Merge pull request #385 from City-of-Helsinki/UHF-7022-events-transla…
jeremysteerio Nov 1, 2022
954848b
Merge branch 'main' into UHF-7791-drupal-react-search-module
Jussiles Dec 21, 2022
818ad90
UHF-7791: add new module helfi react search based on helfi events mod…
Jussiles Dec 22, 2022
11fcdd0
UHF-7791: add update and uninstall hooks. Rename files.
Jussiles Dec 22, 2022
8d89d6c
UHF-7791: move unused update hooks to react search new module.
Jussiles Dec 22, 2022
8e78a81
UHF-7791: remove dependency
Jussiles Dec 22, 2022
e87846b
UHF-7791: remove frontend stuff from helfi events module.
Jussiles Jan 3, 2023
517022d
UHF-7791: update field description.
Jussiles Jan 5, 2023
cd466e3
UHF-7791: add dependency.
Jussiles Jan 5, 2023
8ffdd4d
Merge branch 'main' into UHF-7791-drupal-react-search-module
Jussiles Jan 9, 2023
d3855fe
Add uninstall hook for react_search module.
Jussiles Jan 9, 2023
b2f4243
UHF-7791: remove helfi_events code.
Jussiles Jan 10, 2023
d48ccd4
UHF-7791: change paragraph desc.
Jussiles Jan 10, 2023
70de8f1
UHF-7791: add translation. Remove page size param from initial api url.
Jussiles Jan 12, 2023
9849ccb
UHF-7791: make pagesize param dynamic.
Jussiles Jan 13, 2023
29089d3
UHF-7791: Remove disable_field dependency
jeremysteerio Jan 17, 2023
36767ba
UHF-7791: Fix generating location options
jeremysteerio Jan 24, 2023
4227555
UHF-7791: Merge remote-tracking branch 'origin/main' into UHF-7791-dr…
jeremysteerio Jan 26, 2023
dd71902
UHF-7791: Code style fixes
jeremysteerio Jan 26, 2023
5a54ed1
UHF-7791: Remove updatehelper
jeremysteerio Jan 26, 2023
cc84cc9
UHF-7791: Remove updatehelper from deps
jeremysteerio Jan 26, 2023
a7d035b
UHF-7791: Remove checking for update helper from install hook
jeremysteerio Jan 26, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
182 changes: 0 additions & 182 deletions helfi_features/helfi_events/assets/js/eventList.js

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions helfi_features/helfi_events/helfi_events.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@ dependencies:
- 'paragraphs:paragraphs'
- 'update_helper:update_helper'
package: HELfi
'interface translation project': helfi_events
'interface translation server pattern': modules/contrib/helfi_platform_config/helfi_features/helfi_events/translations/%language.po
33 changes: 33 additions & 0 deletions helfi_features/helfi_events/helfi_events.install
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,36 @@ function helfi_events_update_9001() {
// Output logged messages to related channel of update execution.
return $updateHelper->logger()->output();
}

/**
* Implements hook_uninstall().
*
* Remove configs.
*/
function helfi_events_uninstall() {
/** @var \Drupal\Core\Config\ConfigFactoryInterface $configFactory */
$configFactory = \Drupal::configFactory();
$logger = \Drupal::logger('helfi_events');

$configNames = [
'core.entity_form_display.paragraph.event_list.default',
'core.entity_view_display.paragraph.event_list.default',
'field.field.paragraph.event_list.field_api_url',
'field.field.paragraph.event_list.field_event_list_description',
'field.field.paragraph.event_list.field_event_list_title',
'field.storage.paragraph.field_api_url',
'field.storage.paragraph.field_event_list_description',
'field.storage.paragraph.field_event_list_title',
'paragraphs.paragraphs_type.event_list'
];

foreach ($configNames as $configName) {
try {
$configFactory->getEditable($configName)->delete();
}
catch (\Exception $e) {
$logger->warning(sprintf('Unable to uninstall config: %s.', $configName));
}
}

}
8 changes: 0 additions & 8 deletions helfi_features/helfi_events/helfi_events.libraries.yml

This file was deleted.

Loading