Commit Graph

122 Commits

Author SHA1 Message Date
mgabdev
663f46b166 Updated frontend notification filtering and configuration
• Updated:
- frontend notification filtering and configuration

• Added:
- lastReadNotificationId to initial_state
- minWidth20PX for responsive notification icon hiding on xs

• Removed:
- unused code
2020-05-21 15:37:40 -04:00
mgabdev
cd159c8f5b Added All/Community feed link in sidebars
• Added:
- All/Community feed link in sidebars

• Removed:
- Setting for optionally showing community button in sidebar
2020-05-15 17:20:25 -04:00
mgabdev
805012ab72 Progress 2020-05-14 23:36:10 -04:00
mgabdev
a1977ba450 Progress 2020-05-14 23:17:31 -04:00
mgabdev
4acc21944c Progress 2020-05-14 02:03:22 -04:00
mgabdev
a390662e4f Progress 2020-05-07 01:55:24 -04:00
mgabdev
c1131db577 Progress 2020-05-06 19:40:54 -04:00
mgabdev
498f163880 Progress 2020-05-04 14:44:37 -04:00
mgabdev
055b5a430f progress 2020-05-03 01:22:49 -04:00
mgabdev
196a906cec Progress 2020-05-02 02:25:55 -04:00
mgabdev
8e349c368c Progress 2020-05-01 01:50:27 -04:00
mgabdev
8673eb8975 Progress 2020-04-30 00:34:50 -04:00
mgabdev
03de4c4fea Progress 2020-04-29 18:32:49 -04:00
mgabdev
c3d0d8bde2 Progress 2020-04-28 01:33:58 -04:00
mgabdev
fed036be08 Progress 2020-04-22 01:00:11 -04:00
mgabdev
4d7aee59c9 Progress 2020-04-17 01:35:46 -04:00
mgabdev
595208780e Progress 2020-04-11 18:29:19 -04:00
mgabdev
7249143d9f Progress 2020-04-09 15:18:14 -04:00
mgabdev
bb4fcdf32d Progress 2020-04-07 21:06:59 -04:00
mgabdev
b5e3c2a94f Progress 2020-04-06 21:53:23 -04:00
mgabdev
e485e2f955 Progress 2020-04-03 19:18:26 -04:00
mgabdev
0a89c7b775 Grouped notifications (v1) 2020-04-02 21:05:49 -04:00
mgabdev
416bc3d603 Progress 2020-04-02 12:57:04 -04:00
mgabdev
80d41b8d94 Progress 2020-04-01 23:17:21 -04:00
mgabdev
1a33759e19 Progress 2020-03-31 12:04:50 -04:00
mgabdev
bc631b65db Progress 2020-03-27 18:57:03 -04:00
mgabdev
2bd344a594 Progress 2020-03-27 11:29:52 -04:00
mgabdev
3d0a85cde4 Progress 2020-03-25 23:11:32 -04:00
mgabdev
0f01c1bc97 Progress 2020-03-24 23:08:43 -04:00
mgabdev
0d9dbdfecd Progress 2020-03-24 00:39:12 -04:00
mgabdev
65af72faae Progress 2020-03-14 13:31:29 -04:00
Alex Gleason
d78dd971c0
Fix unlike counter, fixes #107 2020-03-13 13:44:44 -05:00
mgabdev
7712ebdbbd Progress 2020-03-11 19:56:18 -04:00
mgabdev
d31d5fcd81 Progress 2020-03-04 17:50:15 -05:00
mgabdev
198fe127a0 Progress 2020-03-04 17:32:57 -05:00
mgabdev
567894f614 Progress 2020-03-04 17:26:01 -05:00
mgabdev
33952e424f Progress 2020-03-03 22:45:16 -05:00
mgabdev
0df3c073a5 Progress 2020-03-02 17:26:25 -05:00
mgabdev
c6aa4e08a1 Progress 2020-02-29 10:42:47 -05:00
mgabdev
3ca4ffcc6b Progress 2020-02-28 10:20:47 -05:00
mgabdev
e37500c0cf Progress 2020-02-19 18:57:07 -05:00
mgabdev
2bd01457a6 Updating files after merge 2020-01-29 11:45:17 -05:00
mgabdev
0a3c6cea89 Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into feature/frontend_refactor 2020-01-28 11:29:26 -05:00
mgabdev
7fb0b462e2 Fix notifications
https://gitlab.com/soapbox-pub/soapbox/merge_requests/120/diffs#diff-content-917c7fb80cf426cfae1e7baaa21b3d90ccb2b29c
2020-01-16 18:24:10 -05:00
mgabdev
81b2c009a1 Added groups to search results 2020-01-14 18:13:30 -05:00
mgabdev
6ede1426f2 Added redux functionality for scheduled posts 2019-09-18 20:15:01 -04:00
Rob Colbert
4de30bd8d0 Merge branch 'feature/revision-history' of https://code.gab.com/gab/social/gab-social into develop 2019-09-18 11:08:04 -04:00
2458773093
498630f20f revision history ui 2019-09-17 18:23:51 +03:00
2458773093
fda449bf27 cover edited mentions 2019-08-28 17:27:33 +03:00
2458773093
5f352c4771 fixed repopulating composer for edits to handle mentions 2019-08-28 17:26:06 +03:00
2458773093
65ce2a4b06 remove redraft + delete feature 2019-08-23 03:58:25 +03:00
2458773093
a8bef0faab reset compose state after success 2019-08-23 03:20:11 +03:00
2458773093
2fdeccd1c6 edit ui 2019-08-23 01:09:15 +03:00
mgabdev
0be86d6ec5 Added sidebar menu feature 2019-08-14 23:04:03 -04:00
2458773093
57ddfabf20 group timeline improvements and prep for sorting 2019-08-11 15:41:56 +03:00
mgabdev
280dc51d85 Large update for all components
reorganization, linting, updating file imports, consolidation
warning: there will be errors in this commit
todo: update webpack, add missing styles, scss files, consolidate the rest of components within features/*
2019-08-07 01:02:36 -04:00
2458773093
aae01581d9 quote compose 2019-08-04 15:27:49 +03:00
Alex Gleason
f8113f705a
Refactor "All Fediverse" setting 2019-07-31 11:07:02 -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
6104e45d18 group edit ui 2019-07-17 21:56:06 +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
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
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