-
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-6668 Add listing events in React #365
UHF-6668 Add listing events in React #365
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Added couple of comments about coding style things. I also noticed that on mobile view tag list is on top of the image althought in the designs is under the location. Is it like that for a reason?
"i18next-browser-languagedetector": "^6.1.2", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"react-i18next": "^11.7.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe i18next packages could be moved if you're not using those.
}) | ||
.catch(e => setFailed(true)) | ||
.finally(() => setLoading(false)) | ||
; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
coding style fix here
street_address?: MultilingualString | ||
}; | ||
|
||
export default Event; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe not every type needs to exported if not imported in other files. Also Event has double export.
Events list in React UHF-6668
First step in 'Reactifying' the events paragraph
What was done
How to install
composer require drupal/helfi_platform_config:dev-UHF-6668-linkedevents-react-results
composer reinstall drupal/hdbt --prefer-source
cd public/theme/contrib/hdbt
git cherry-pick 02ceb46c8fbbf81447d3a7b19a5738a38b5a3b30
drush-cr
events
paragraph to a landing or standard pageHow to test