gab-social/app/javascript/gabsocial/reducers
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
..
accounts_counters.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
accounts.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
alerts.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
compose.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
contexts.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
conversations.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
custom_emojis.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
domain_lists.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
dropdown_menu.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
filters.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
group_relationships.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
groups.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
height_cache.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
identity_proofs.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
index.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
list_adder.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
list_editor.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
lists.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
media_attachments.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
meta.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
modal.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
mutes.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
notifications.js Added notification queueing functionality 2019-07-11 00:02:18 -04:00
polls.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
push_notifications.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
relationships.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
reports.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
search.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
settings.js Removed unused column param actions 2019-07-10 14:22:18 -04:00
status_lists.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
statuses.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
suggestions.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
timelines.js Added redux functionality for queueing/dequeueing timelines 2019-07-11 12:09:41 -04:00
trends.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
user_lists.js Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00