Commit Graph

10 Commits

Author SHA1 Message Date
mgabdev 57d27420ca Updated group timelines and sorting
• Updated:
- group timelines and sorting
2020-08-07 17:59:39 -05:00
mgabdev 805e9a0471 Added GroupCollection timeline, redux, streaming, routes
• Added:
- GroupCollection timeline, redux, streaming, routes
2020-08-06 00:07:46 -05:00
mgabdev bc2eeee497 Added pro feed
• Added:
- pro feed
2020-07-01 21:40:00 -04:00
mgabdev 7ad7fe06bd Removed public/community timeline for non-admins
• Removed:
- public/community timeline for non-admins
- links to the page
- web sockets for the page
2020-06-19 15:42:13 -04:00
mgabdev 46b1206be1 Removed refreshHomeTimelineAndNotification from streaming.js
• Removed:
- refreshHomeTimelineAndNotification from streaming.js
2020-05-22 01:26:40 -04:00
mgabdev 0f01c1bc97 Progress 2020-03-24 23:08:43 -04:00
mgabdev 31d4660947 Added streaming of updated status from fetch_link_card_service
Sends updated status down after adding/updating/removing preview card.
2019-08-28 01:26:34 -04:00
mgabdev 0356e21747 Added redux functionality for queueing/dequeueing timelines
using streaming.js, when a status comes in to the current page, it queues up using updateTimelineQueue action, it then goes to the reducer to add "queuedItems" to state (up to max:40) and to tally up all count in that timeilne state "totalQueuedItemsCount".

the dequeueTimeline action takes in a "timelineId", "expandFunc", and "optionalExpandArgs". when clicking on the "click to load more" it passes in the timelineId (e.g. "home", "community", etc.) and the "handleLoadMore" function from the timeline component. if within the range of the max: 40, it pushes them to the dom, if over the max: 40 it clears the timeline and refreshes the page/timeline to show the most recent 20 statuses. Then, it resets the "queuedItems" and "totalQueuedItemsCount" in timeline state.

if no expandFunc is added, and timeline is "home" or "community" it expands those timelines with "optionalExpandArgs". Otherwise, it queues up to any other timeline (e.g. "hashtags", etc.)
2019-07-11 12:09:41 -04:00
mgabdev c8e8618f64 Added notification queueing functionality
updated streaming functionality to load notifications into a queue (if currently on notitications page) and to display TimelineQueueButtonHeader with outstanding notification count. (if not on notifications page, it behaves as normal, adding/updating notification state). Max 40 are saved to queuedNotifications state and all are tallied into the totalQueuedNotificationsCount state. On click of TimelineQueueButtonHeader it dequeues the queuedNotifications and loads on page if <= max, otherwise it refreshes the page and shows latest 20 (default count) and clears/resets the state for queuedNotifications and totalQueuedNotificationsCount.
2019-07-11 00:02:18 -04:00
robcolbert bd0b5afc92 Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00