Commit Graph

104 Commits

Author SHA1 Message Date
mgabdev
a7f2837a37 Added TimelineQueueButtonHeader to status_list
updated render return to add timeline queue button header before scrollable list
added handleDequeueTimeline action with totalQueuedItemsCount props
2019-07-11 12:14:27 -04:00
mgabdev
a41e6f2876 Added queue functionality status_list_container for status timelines
added totalQueuedItemsCount to props per timeline
added dequeueTimeline action with timeline onLoadMore for expanding/dequeueing
2019-07-11 12:13:32 -04:00
mgabdev
49e533244c Updated all Redis.current.publish, PushUpdateWorker.perform_async to work again
added back now that we will have timeline/notification queueing functionality
2019-07-11 12:11:57 -04: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
6ad747a609 Added TimelineQueueButtonHeader component, styles
button at top of feeds to show "click to load more"
2019-07-10 23:54:19 -04:00
mgabdev
f10878ceaa Removed unused column param actions 2019-07-10 14:22:18 -04:00
mgabdev
6b5b0dc162 Removed unused hashtag timeilne column settings
non visible functionality to change visiblility of filtering hashtags on hashtag timeline
2019-07-10 14:21:24 -04:00
mgabdev
038e7db5b9 Removed unused columnId throughout app 2019-07-10 14:20:31 -04:00
mgabdev
a385210c09 Removed unused import in scrollable_list 2019-07-10 14:17:07 -04:00
robcolbert
fd50f03304 Gabbers like servers that are less pushy. 2019-07-09 00:48:11 -04:00
mgabdev
22eaad1846 Added functionality to notifications page to scroll top on component mount
clears notification badge (unread count) on page open
2019-07-09 00:19:03 -04:00
mgabdev
451e5eaca0 Updated community/home timeilne to use new HomeColumnHeader
removed duplicate components from home_timeline that is now in home_page like compose, avatar, etc.
removed unused imports
2019-07-08 23:59:11 -04:00
mgabdev
2a7e3bb782 Fixed issue with scrollbar showing on main column pane 2019-07-08 23:58:19 -04:00
mgabdev
29215a2479 Updated column header style to match other panels with rounded corners 2019-07-08 23:58:07 -04:00
mgabdev
a74d1ce2fc Updated padding of column header buttons 2019-07-08 23:57:52 -04:00
mgabdev
100076ab6f Updated margin of compose block 2019-07-08 23:57:24 -04:00
mgabdev
7b2aa82ac5 Updated style updates for column header buttons for grouped, active 2019-07-08 23:57:06 -04:00
mgabdev
41895b12ab Added home_column_header
includes custom tabs for home, all buttons to switch between home page and all/community page
2019-07-08 23:56:11 -04:00
mgabdev
2c047a1126 Fixed issue with key warning/error log 2019-07-08 23:52:18 -04:00
mgabdev
de2126bd60 Removed unused imports 2019-07-08 23:51:08 -04:00
mgabdev
cf83aa58c3 Added all/community timeline route 2019-07-08 23:50:57 -04:00
mgabdev
899be5b4f0 Removed home layout in ui/index
unused now that we have HomePage
2019-07-08 23:50:30 -04:00
mgabdev
c7b70b77c5 Updated home route to use HomePage instead of home layout 2019-07-08 23:50:12 -04:00
mgabdev
f12145eb47 Added HomePage
for use with components that require all home page related features such as compose, user panel, etc.
2019-07-08 23:49:44 -04:00
Rob Colbert
503cdaa22b Merge branch 'bugfix/33-reply-composer-vertical-height-renders-reply-impossible-for-mobile' into 'develop'
Fix issue 33: reply composer vertical height renders reply impossible for mobile

See merge request gab/social/gab-social!7
2019-07-08 22:28:11 +00:00
mgabdev
003113a0da Added legal in-text links to legal pages
for: privacy, terms, sales, dmca
2019-07-08 17:19:48 -04:00
Dank Gabs
d5efb5540c gab/social/gab-social#33
Adjustment to the patch fix for inaccessible publish button.
2019-07-08 16:16:47 -04:00
Dank Gabs
877780755f gab/social/gab-social#33
The composer window will go through a round of major improvements.
This is a patch fix to lock the height of the composer window original message.
Prevents publish button from being inaccessible when replying to long posts.
2019-07-08 15:28:18 -04:00
robcolbert
301cf54cff change prompt for verified users re: display name change 2019-07-08 06:16:33 -04:00
robcolbert
d4bc274d11 add check to make sure a change is submitted for display name 2019-07-08 06:16:14 -04:00
robcolbert
14f6771e77 for now, stop sending push updates to clients (auto-scroll timelines)
One of the biggest complaints received at launch was the update speed of
the home timeline. This change disables the jobs and signals that
trigger the update to get pushed without altering other logic.
2019-07-08 06:02:42 -04:00
robcolbert
948ba449fb revert OStatus xmlns to mastodon.social 2019-07-06 21:57:50 -04:00
robcolbert
b9ad92b539 remove trends 2019-07-05 09:24:16 -04:00
Dank Gabs
5176ede41d Merge branch 'develop' into styling/patch_fixes_for_theme_colors 2019-07-04 14:24:28 -04:00
Dank Gabs
5cd0a404da Patch fix for long usernames breaking the compose modal on narrow screens.
Also patch fixes any case where a user has a super long username with no spaces.
2019-07-04 14:20:46 -04:00
robcolbert
a0a1c8d1f9 add ability to log in w/username or email address
accepts:
@user, user, user@domain.com
2019-07-04 13:50:51 -04:00
robcolbert
9040b6bdcf update 2019-07-04 03:27:52 -04:00
robcolbert
c108da80ee strip post content 2019-07-04 03:17:36 -04:00
mgabdev
a115471df7 Added gitlab link to about page 2019-07-04 02:04:44 -04:00
mgabdev
4354c6ec99 Removed ability to change display name if account is verified
if account is verified, display name input in settings is not visible
if attempting to change the display name by other means, an error is return and you are redirected
2019-07-04 02:01:50 -04:00
mgabdev
70e3cef5a6 Updated footer link text cases 2019-07-04 01:28:26 -04:00
mgabdev
2f43a48c61 Added "Invest" link to home page nav 2019-07-04 01:25:43 -04:00
mgabdev
7f538c8809 Updated account-header.scss to fix "k" fragment on thousands on account header counts
1300 was showing up as two lines with 1.3 | k
this fixes it so it shows up normally like 1.3k
2019-07-04 01:16:14 -04:00
mgabdev
a0da2e237c Updated number formatter util to return single span child, not multiple fragments 2019-07-04 01:14:44 -04:00
mgabdev
35b24e687c Removed ability to view lists
redirect lists for the time being to home page
todo: replace this functionalty soon and make into pro feature
2019-07-04 00:52:20 -04:00
mgabdev
f849321b07 Updated favourited_by_accounts_controller to return empty object
Removed ability to view accounts that favorited a status
2019-07-04 00:10:24 -04:00
mgabdev
e210c70e21 Removed visiblity favorites of a status
todo: remove account ids from returning in "favourited_by"
2019-07-03 23:47:23 -04:00
Rob Colbert
99e25130e1 Merge branch 'styling/patch_fixes_for_theme_colors' into 'develop'
Patch fixes for theme colors

See merge request gab/social/gab-social!4
2019-07-04 03:08:20 +00:00