conference-app-2022
conference-app-2022 copied to clipboard
apply notification screen design
Idea Description apply notification screen design
Reference images and links coming soon
Will the design of the announcement screen be released?
@l2hyunwoo I believe so π¨
The design is added!
https://www.figma.com/file/NcSMs6dMsD88d4wOY0g3rK/DroidKaigi-2022-Conference-App?node-id=1977%3A10268
There is a Screen root composable. But there isn't ViewModel and repository. So we should implement it. https://github.com/DroidKaigi/conference-app-2022/blob/main/feature/announcement/src/main/java/io/github/droidkaigi/confsched2022/feature/announcement/Announcement.kt
This is the API and sample response.
https://ssot-api-staging.an.r.appspot.com/announcements/japanese
{
"status": "string",
"announcements": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"title": "string",
"content": "string",
"type": "ALERT",
"publishedAt": "string",
"deletedAt": "string",
"language": "japanese"
}
]
}
You can refer to other screens' implementations. https://github.com/DroidKaigi/conference-app-2022/pull/331
I would like to start on this task.
@takahirom
I have a question.πββοΈ
If I apply the API response and my understanding, it looks like the image.
How do you expect to use deletedAt
and language
?
Thank you for your detailed image! I think you don't have to use it. The fields are for the server side. You can access by language, so there it is. But I think we don't have to use it. And if there is deleteAt field, Please filter it in API or repository it is not for the client. https://ssot-api-staging.an.r.appspot.com/announcements/japanese https://ssot-api-staging.an.r.appspot.com/announcements/english
@RyuNen344 Is this correct?
@takahirom @Corvus400
sorry for late π announcement end points returns json like thisπ
{
"status": "string",
"announcements": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"title": "string",
"content": "string",
"type": "ALERT", //ALERT, NOTIFICATION, FEEDBACK
"publishedAt": "string", //ISO-8601-datetime
"language": "japanese"
}
]
}
so, client doen't need to filter announcement by deletedAt
@takahirom Just to confirm, there is no need to store data in the DB, right? I assume the same is true for contributors and sponsors since they are not stored in the DB.
@Corvus400 I think there is no need too!