rokwire / illinois-app

Source code repository of "Illinois" App - the official mobile app of the University of Illinois.
https://app.illinois.edu/
Apache License 2.0
23 stars 21 forks source link

[FEATURE] Feed Proto #4022

Open mihail-varbanov opened 7 months ago

mihail-varbanov commented 7 months ago

Re: University Monday 2024/03/25 / 2024-03-26

4 Misho, Feed Proto

Linked to https://github.com/rokwire/app-flutter-plugin/issues/443

mihail-varbanov commented 6 months ago

Re: University Monday 2024/04/15 / 2024-04-18

1 Misho, in your Feeds proto you gave us:

1.1 For now, could you only show Events, Group Posts, and Notifications please?

1.2 Please hook it up to use real data if it is not and also tell us what APIs would be needed and where to improve performance etc.

mihail-varbanov commented 6 months ago

Re: University Monday 2024/04/22 / 2024-04-25

3 Misho, a real Feeds proto with just Events, Groups and Notifications is way more important than the analytics/Cameron ticket.

At first you can use hard coded stub like you did before just limit it to the 3 features (Events, Groups and Notifications).

Then you can hook it up to real data even if it is slow.

mihail-varbanov commented 6 months ago

Re: University Monday 2024/04/22 / 2024-04026

3 Misho, I talked with JP and this is what we came up with on Feeds:

3.1 Sorted Newest to Oldest

3.2 Keep 24 hours (configurable) of history for all 3 types

3.3 Group Posts as they happen

3.4 Notifications as they happen

3.5 Events

3.3.1 Show event 24 hours (configurable) before it happens so we know it is coming up

3.3.2 Show same Event when it happens

3.3.3 Bonus, show event survey if there is one when it happens

mihail-varbanov commented 6 months ago

University Monday 2024/04/29 / 2024-04-29

3 Misho, "I initially started adding them as separate feed entries but then I realized that they should rather appear inside their Event's card. So I gave it up for the next day on a fresh head."

My feeling is to repeat the Event Card with a "Take Survey" button, if that helps.

mihail-varbanov commented 6 months ago

Re: University Monday 2024/05/13 / 2024-05-17

1.2 Feed sorting. A bad explanation:

Type, Date Start, Title, Date End Event, 20240101 09:00:00, E1, 20241223 10:00:00 Event, 20240101 11:00:00, E2, 20241223 12:00:00 Event, 20240516 13:00:00, E3, 20240516 14:00:00 Event, 20240516 18:00:00, E4, 20240516 22:00:00 Event, 20240516 19:00:00, E5, Event, 20240517 13:00:00, E6, 20240517 14:00:00 Event, 20240523 13:00:00, E7, 20240523 14:00:00 Group, 20240516 13:15:00, G1, Group, 20240516 20:15:00, G2, Notification, 20240516 13:30:00, N1, Notification, 20240516 18:10:00, N2, Notification, 20240516 19:10:00, N3, Notification, 20240516 21:45:00, N4,

If we take example E1 long duration start and end, set the SortDateTime to Today at 00:00:01 AM If we take example E2 every day short duration start and end, set the SortDateTime to Today at event start time (in E2 11 AM) If we take example E5 missing end, set the SortDateTime to Today at event start time (in E5 19:00) Groups and Notifications follow the E5 example

This means when I get up I would see E2 at the top followed by E1 the rest would always be put at the beginning as they happen. Keeping the events that appear every day at the bottom of the days list.

Hope this makes some sense