Commit Graph

12 Commits

Author SHA1 Message Date
mgabdev 0ef9d8410f Fixed issue in timelines reducer with wrong variable on fail
• Fixed:
- issue in timelines reducer with wrong variable on fail
2021-01-13 22:46:40 -05:00
mgabdev 985faeb930 Added check in deleteStatus function in timelines reducer for if timeline in map exists
• Added:
- check in deleteStatus function in timelines reducer for if timeline in map exists

• Fixes:
- Issue when muting an account it shows "success" then "fail" toasts
2020-12-31 18:55:00 -05:00
mgabdev 9a43c51085 Progress on dms, code cleanup
Progress on dms, code cleanup
2020-12-02 23:22:51 -05:00
mgabdev b4e370d3d3 Commiting 2020-11-25 15:22:37 -06:00
mgabdev fb612f60c8 Commiting 2020-11-15 12:48:32 -06:00
mgabdev 498f163880 Progress 2020-05-04 14:44:37 -04:00
mgabdev dd6129e218 Reorganized utils files 2019-07-27 21:49:17 -04:00
2458773093 04b219355c Merge branch 'develop' into groups-updates
* develop:
  Updated status component to use properStatus when going to status page
  Added floating action button to ui/index
  Removed floating action button from columns area
  Fix issue with notification badge number not showing on mobile
  Updated scrollable_list to use documentElement for (primary/only) scrolling functionality
  Added onScroll props to status_list
  Added timeline scrollTop action, added to status_list_container, scrollable_list
  Removed unnecessary scrollContainer in status, account_gallery
  Added missing isLoading prop to ScrollableList
  Updated scrollable_list intersectionObserverWrapper
  Updated floatingActionButton to only show if someone is logged in
  Updated timeline_queue_button_header
  Removed focus of compose/cw after submit or spoiler change
  Removed set height of 100% on body
  Removed unused redirect after compose submit
  Patch Fix for hidden poll choices and results on light theme.
  Updated notification badge number formatter
  Fixed status/repost functionality to show status if owned by given username
  admin tool for editing pro status of accounts
2019-07-18 23:02:16 +03:00
mgabdev dea606b62d Added timeline scrollTop action, added to status_list_container, scrollable_list
(previously removed, adding back now)
2019-07-17 18:59:50 -04:00
2458773093 62b1707a85 remove status from group ui 2019-07-17 01:42:26 +03: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
robcolbert bd0b5afc92 Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00