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

#24 - news #39

Merged
merged 13 commits into from
Aug 19, 2024
Merged

#24 - news #39

merged 13 commits into from
Aug 19, 2024

Conversation

krzysztofrewak
Copy link
Member

This partially solves #24.

obraz

obraz

@krzysztofrewak krzysztofrewak marked this pull request as ready for review August 12, 2024 12:09
@krzysztofrewak krzysztofrewak requested a review from a team as a code owner August 12, 2024 12:09
kamilpiech97
kamilpiech97 previously approved these changes Aug 13, 2024
Copy link
Member

@EwelinaSkrzypacz EwelinaSkrzypacz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. In validation message, the word "content" is not translated

Pole content jest wymagane.

  1. Date of publication is shown in UTC, but I think we should show in our timezone. Also styling of text doesn't work

image

  1. When I click on the news to go to details, I see some random text

image

  1. When no news are published, we should make some nice empty state or at least hide pagination and add text like "Brak aktualności"

image

@kamilpiech97
Copy link
Member

@krzysztofrewak conflicts

Copy link
Member

@EwelinaSkrzypacz EwelinaSkrzypacz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix GitHub warnings

image

@krzysztofrewak
Copy link
Member Author

@EwelinaSkrzypacz, all done.

image

@krzysztofrewak krzysztofrewak changed the title #24 - news draft #24 - news Aug 19, 2024
Copy link
Member

@EwelinaSkrzypacz EwelinaSkrzypacz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about this warning?

image

@krzysztofrewak
Copy link
Member Author

@EwelinaSkrzypacz, we cannot do anything, as we are sending formatted data from backend.

@krzysztofrewak
Copy link
Member Author

@EwelinaSkrzypacz, I added sanitizeHtml() for contents.

kamilpiech97
kamilpiech97 previously approved these changes Aug 19, 2024
# Conflicts:
#	composer.lock
#	package-lock.json
#	package.json
@krzysztofrewak krzysztofrewak merged commit 2f713a2 into main Aug 19, 2024
3 checks passed
@krzysztofrewak krzysztofrewak deleted the #24-news branch August 19, 2024 12:20
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.

3 participants