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

feat: Add new field archived for announcements #145

Open
oSumAtrIX opened this issue Dec 28, 2023 · 2 comments
Open

feat: Add new field archived for announcements #145

oSumAtrIX opened this issue Dec 28, 2023 · 2 comments
Assignees

Comments

@oSumAtrIX
Copy link
Member

oSumAtrIX commented Dec 28, 2023

Issue

Scenario: Some issue leads to an announcement. Now, the issue is fixed, but the announcement is still shown to everyone.

Solution

Add a field archived. The field value may be the date the announcement has been or will be archived. The field may be nullable. If it is null, the announcement is not archived. Additionally, this field should be modifiable through a PATCH in case we want to extend or shorten the date when to archive the announcement.

@Ushie
Copy link
Member

Ushie commented Dec 30, 2023

Maybe there's a better-fitting word than "archived"

@oSumAtrIX
Copy link
Member Author

Archived is used here as a general super term. If the field is true, any consumer can handle the announcements accordingly. The website would, for example, not display them unless you also want to show archived announcements; the API can ask for a query parameter to return archived announcements and so on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants