Commit Graph

29 Commits

Author SHA1 Message Date
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 dc87184ef0 Added handleComposeSubmit in actions/compose
Split up from submitCompose() so it can be called elsewhere
2019-08-28 01:24:06 -04:00
2458773093 65ce2a4b06 remove redraft + delete feature 2019-08-23 03:58:25 +03:00
2458773093 e5a05a9210 edit integration 2019-08-23 02:05:20 +03:00
2458773093 2fdeccd1c6 edit ui 2019-08-23 01:09:15 +03:00
mgabdev c6f8f4fa61 Removed unused imports in actions/statuses 2019-08-20 11:29:35 -04:00
Developer 3e43d062ca Merge branch 'delete-redraft' into 'develop'
Fix "delete & redraft" to pop up modal, fixes #71

Closes #71

See merge request gab/social/gab-social!39
2019-08-20 15:28:35 +00:00
mgabdev 0be86d6ec5 Added sidebar menu feature 2019-08-14 23:04:03 -04:00
Rob Colbert f7118a39df group accounts improvements 2019-08-11 14:40:44 +03:00
Alex Gleason d694d4a1a7
Fix "delete & redraft" to pop up modal, fixes #71 2019-08-07 15:50:09 -04:00
2458773093 064cc88b35 normalizing state updated for quotes 2019-08-04 16:45:53 +03:00
2458773093 aae01581d9 quote compose 2019-08-04 15:27:49 +03: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
mgabdev 5ca9ea500d Removed unused redirect after compose submit
route: /posts/new no longer exists
2019-07-17 18:46:42 -04:00
2458773093 6104e45d18 group edit ui 2019-07-17 21:56:06 +03:00
2458773093 db5a85a657 move cover image stuff to its own concern and add processing 2019-07-17 21:35:40 +03:00
2458773093 ea1378ada7 group creation form 2019-07-17 21:22:19 +03:00
2458773093 62b1707a85 remove status from group ui 2019-07-17 01:42:26 +03:00
2458773093 caaa9253d6 add remove account from group to status bar actions 2019-07-17 01:25:23 +03:00
2458773093 f13214f1f9 removing removed accounts 2019-07-16 23:18:23 +03:00
2458773093 7b2d3aa281 removed accounts ui + preparation for more group admin tools 2019-07-16 22:57:35 +03:00
2458773093 c56a8914f3 Merge remote-tracking branch 'origin/styling/add-groups-link' into groups-updates
* origin/styling/add-groups-link: (31 commits)
  Comment out the "groups" button until ready to reveal.
  Changed the method of adding main navigation icons. Created a png sprite sized @2x based on largest usage (for retina). This will fix some rendering issues caused by using svg images. It will allow adding depth and more color / shading if we choose later.
  intents fix
  federation fix
  two more federation fixes
  Removed unused imports
  Removed unused PublicTimeline component
  Updated CommunityTimeline to add option for "all federated" content
  Removed unused import in unauthorized_modal
  Updated registration legal links
  Updated compose_form to account for if compose modal open
  Added empty message to pinned statuses page
  Updated nextProps withReplies for account timeline
  Added empty message to account_gallery media page
  Updated timeline/notification dequeue to be in componentDidMount
  Added TimelineQueueButtonHeader to status_list
  Added queue functionality status_list_container for status timelines
  Updated all Redis.current.publish, PushUpdateWorker.perform_async to work again
  Added timeline dequeue functionality to onSubmitCompose action
  Added redux functionality for queueing/dequeueing timelines
  ...
2019-07-16 14:29:38 +03:00
2458773093 1fabd28498 New groups 2019-07-15 16:47:05 +03:00
mgabdev ebc44ed743 Added timeline dequeue functionality to onSubmitCompose action
when a status is composed and there's queued statuses, it attempts to dequeue those statuses with optional dequeueArgs
2019-07-11 12:10:46 -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
mgabdev f10878ceaa Removed unused column param actions 2019-07-10 14:22:18 -04:00
robcolbert bd0b5afc92 Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00