Commit Graph

308 Commits

Author SHA1 Message Date
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
Dank Gabs
601d91f73e Patch Fix for hidden poll choices and results on light theme. 2019-07-16 17:09:47 -04:00
Dank Gabs
e3e98084e7 Merge branch 'develop' into bugfix/hidden-poll-results-light-theme 2019-07-16 16:54:41 -04: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
mgabdev
45754503ca Updated notification badge number formatter
fixes: #44
2019-07-16 14:50:37 -04:00
mgabdev
17af572ec9 Fixed status/repost functionality to show status if owned by given username
fixes: #47
2019-07-16 14:41:36 -04: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
Dank Gabs
062353cfd6 Comment out the "groups" button until ready to reveal. 2019-07-16 00:10:14 -04:00
Dank Gabs
eed65d2d04 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.
2019-07-16 00:07:51 -04:00
2458773093
b1cd12c976 group timeline styling 2019-07-15 19:08:36 +03:00
2458773093
1fabd28498 New groups 2019-07-15 16:47:05 +03:00
mgabdev
1c8273e9e6 Removed unused imports 2019-07-12 16:29:17 -04:00
mgabdev
8f13fe0515 Removed unused PublicTimeline component
now that this functionality is within the CommunityTimeline component from: dfb8d53
2019-07-12 16:27:59 -04:00
mgabdev
dfb8d53785 Updated CommunityTimeline to add option for "all federated" content
added a toggle for showing only gab (off) or all fediverse content (on)
2019-07-12 16:26:06 -04:00
mgabdev
ee433f57fb Removed unused import in unauthorized_modal 2019-07-12 16:10:24 -04:00
mgabdev
4e9b22640c Updated compose_form to account for if compose modal open
fixes #9
since there are multiple compose_form on the page (on top of timeline = shouldCondense) and within the modal when replying. if isModalOpen and is the compose form that's on top of timeline then dont set the ref so we can set the cursor on the textarea of the compose modal after the existing reply content.
2019-07-12 12:22:05 -04:00
mgabdev
1e68c5d4fe Added empty message to pinned statuses page 2019-07-12 00:08:50 -04:00
mgabdev
9795c1139c Updated nextProps withReplies for account timeline
fixes #12
2019-07-12 00:08:26 -04:00
mgabdev
092bc3898c Added empty message to account_gallery media page 2019-07-12 00:07:11 -04:00
mgabdev
45dcd5a1ab Updated timeline/notification dequeue to be in componentDidMount 2019-07-11 17:31:04 -04:00
mgabdev
4043355b01 Merge branch 'feature/adding_queued_timeline' of https://code.gab.com/gab/social/gab-social into develop 2019-07-11 12:18:37 -04:00
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
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
Dank Gabs
9e926a34b0 Patch Fix for blocked navigation items on mobile due to compose button position.
Added 100px to bottom padding overall.
This will be fine tuned with the design evolution.
2019-07-10 17:56:51 -04:00
Dank Gabs
b7da0b3d38 Patch Fix for bar background colors for polls.
Polls need a tighter design overall, especially when one bar shows 0%.
2019-07-10 17:19:06 -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
Dank Gabs
d9d8721655 Patch Fix for scrollbar colors.
Complaints about not being able to see scrollbars on the light theme.
This adjusts both themes to become visible.
Adjustments may follow, along with incorporating into all supported browsers.
2019-07-09 16:33:07 -04:00
Dank Gabs
e1a00a26b1 Removed username from property files used on mention button within the app. 2019-07-09 14:40:28 -04:00
Dank Gabs
1c5fd06b8c Merge branch 'develop' into bugfix/patch-fix-mention-button-mobile 2019-07-09 14:34:39 -04:00
Dank Gabs
b15a1f0951 Removing the username from the mention button.
Gab has some very long usernames which will break the button.
2019-07-09 14:25: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
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
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
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
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
mgabdev
50701822e6 Updated user panel cover and photo 2019-07-03 23:01:00 -04:00
mgabdev
dc13ab4b76 Updated invite footer link to not open new tab 2019-07-03 23:00:36 -04:00
mgabdev
1414f36ee4 Updated all legal links and texts
added dmca, sales
removed guidelines
2019-07-03 23:00:14 -04:00
Dank Gabs
15938f169c patch fix for the open panel color on dark theme vs light theme. 2019-07-03 23:00:01 -04:00
mgabdev
51283fdbca Updated account dropdown to not open settings in new tab 2019-07-03 22:57:41 -04:00
Dank Gabs
3f2958289b Merge branch 'develop' into styling/patch_fixes_for_theme_colors 2019-07-03 22:49:27 -04:00
mgabdev
d5ea487abc Updated placeholder for favorite/pinned statuses on profile header 2019-07-03 21:58:50 -04:00
mgabdev
4084d14c97 Updated toLowerCase function on pinned, favorite statuses
fixes #6
2019-07-03 21:57:22 -04:00
robcolbert
5fefd73229 Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2019-07-03 21:53:23 -04:00
robcolbert
b6dd794f99 disable 'ribbit' sound for launch (needs preference in Settings) 2019-07-03 21:53:16 -04:00
mgabdev
37f5d81324 Removed direct message option on compose privacy dropdown
fixes #4
2019-07-03 21:33:59 -04:00
mgabdev
09acd0850f Updated z-index on compose privacy dropdown 2019-07-03 21:33:27 -04:00
robcolbert
05ffe63e3d remove test 2019-07-03 20:42:55 -04:00
robcolbert
5e08c29598 Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2019-07-03 19:31:17 -04:00
robcolbert
4c36e57afc GitHub => GitLab; github => gitlab 2019-07-03 19:30:54 -04:00
robcolbert
fb49559d05 explicitly nav to /home #homehack 2019-07-03 19:29:54 -04:00
mgabdev
400f434c8c Removed introduction from showing
fixes #13
2019-07-03 19:10:12 -04:00
robcolbert
482ff69549 Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2019-07-03 15:50:18 -04:00
robcolbert
14ec087075 It's GitLab, self-hosted, and not GitHub 2019-07-03 15:50:12 -04:00
Dank Gabs
3359453363 Patch fix for email text color. 2019-07-03 15:22:14 -04:00
Dank Gabs
bb716d44e2 Patch fix for email notification body text. 2019-07-03 15:20:48 -04:00
Dank Gabs
508bf78702 Comment out the Groups navbar link until post-launch. 2019-07-03 14:36:09 -04:00
Dank Gabs
9842cc5557 Merge branch 'develop' into styling/patch_fixes_for_theme_colors 2019-07-03 14:19:40 -04:00
Dank Gabs
9540eb2775 Proper fix for the position of the notification counter in the mobile navigation.
Everything in the main navigation is matching the mockup specs tightly.
2019-07-03 14:18:54 -04:00
robcolbert
7f3f321639 Restore normal footer source link functionality
Hard-coded a direct link to a source .zip file as a stop-gab while
porting Gab. Restored back to normal functionality on correct configs.
2019-07-03 14:17:20 -04:00
Dank Gabs
68503930a4 Merge branch 'develop' into styling/patch_fixes_for_theme_colors 2019-07-03 13:50:17 -04:00
Dank Gabs
69e0f95bf2 Patch fixes to colors on the home feed accordion panel options. 2019-07-03 13:49:45 -04:00
robcolbert
21bed9d36f Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2019-07-03 13:29:38 -04:00
robcolbert
1ef1a3881d change all GitHub links to Gab's GitLab at code.gab.com 2019-07-03 13:26:13 -04:00
Dank Gabs
447de8e6dc Merge branch 'develop' into styling/patch_fixes_for_theme_colors 2019-07-03 12:24:06 -04:00
mgabdev
2721cc13f2 Updated actions modal
fixes #1
2019-07-03 08:34:38 -04:00
Dank Gabs
1783ec0d1f Comment out the Direct Message option from a couple of drop down menus. 2019-07-03 00:19:20 -04:00
Dank Gabs
201481ffb7 Fix z-index of the emoji picker in compose modals. 2019-07-02 23:53:16 -04:00
Dank Gabs
5be3eb5dec Fixed the broken size on the profile block avatar image.
Handled by CSS.
2019-07-02 23:42:28 -04:00
Dank Gabs
d9e943f6f4 Patch fix for colors in compose modal when replying to a post. 2019-07-02 23:30:53 -04:00
Dank Gabs
a84ccff4cc Merge branch 'develop' into styling/patch_fixes_for_theme_colors 2019-07-02 22:50:53 -04:00
mgabdev
1c694c90d3 Updated, Added all non webapp routes for service worker 2019-07-02 19:01:24 -04:00
mgabdev
346a14635f Removed redirect to home on ui/index 2019-07-02 18:27:13 -04:00
Dank Gabs
267deeb04b Changed a couple of badly named color variables. 2019-07-02 15:50:43 -04:00
Dank Gabs
459aeb5dcc Patch Fix for display name color on profile page. 2019-07-02 15:27:42 -04:00
Dank Gabs
0a26d068ec Define the standard body text color for light theme.
Fixes white text showing up on unspecified elements when using the light theme.
2019-07-02 15:12:34 -04:00
robcolbert
bd0b5afc92 Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00