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

49-feat: Auto remove old events #236

Merged
merged 4 commits into from
Jun 5, 2024

Conversation

ansivgit
Copy link
Collaborator

What type of PR is this? (select all that apply)

  • πŸ• Feature
  • πŸ› Bug Fix
  • 🚧 Breaking Change
  • πŸ§‘β€πŸ’» Code Refactor
  • πŸ“ Documentation Update

Description

  • Configure the system to automatically remove old announcements after a specified time period (it's 3 days now), once they have expired.
  • Upcoming events are displayed first.
  • If there are no events in the near future we show a stub with photo.
  • Also hardcoded data moved to separate file.

Related Tickets & Documents

Screenshots, Recordings

Before
image

After
image
image

Added/updated tests?

  • πŸ‘Œ Yes
  • πŸ™…β€β™‚οΈ No, because they aren't needed
  • πŸ™‹β€β™‚οΈ No, because I need help

[optional] Are there any post deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

@ansivgit ansivgit self-assigned this May 27, 2024
@ansivgit ansivgit added feature New feature or request refactor labels May 27, 2024
@Quiddlee
Copy link
Member

image
Is related Issue wrong?

src/features/home/events/events.tsx Show resolved Hide resolved
src/utils/getActualDataList.ts Outdated Show resolved Hide resolved
src/utils/getActualDataList.ts Outdated Show resolved Hide resolved
src/utils/getActualDataList.ts Show resolved Hide resolved
src/features/home/events/events.module.scss Outdated Show resolved Hide resolved
src/features/home/events/events.data.ts Outdated Show resolved Hide resolved
@ansivgit ansivgit requested a review from Quiddlee May 30, 2024 11:29
@ansivgit
Copy link
Collaborator Author

image Is related Issue wrong?

No, it doesn't. This task

image Is related Issue wrong?

No, it doesn't. #126 is a subtask of this task

@dzmitry-varabei dzmitry-varabei merged commit 206a998 into main Jun 5, 2024
4 checks passed
@dzmitry-varabei dzmitry-varabei deleted the feat/49-auto-remove-old-events branch June 5, 2024 10:56
@ansivgit ansivgit removed the preview label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implementing Automatic Removal of Old Announcements
4 participants