Commit Graph

100 Commits

Author SHA1 Message Date
Rob Colbert
6b43c2ee76 Merge branch 'styling/patch-colors-for-groups-updates' into 'groups-updates'
Updates for the Groups styling

See merge request gab/social/gab-social!14
2019-07-22 02:55:26 +00:00
2458773093
aefe5a44f3 show group sidebar panel across the site 2019-07-22 05:12:59 +03:00
2458773093
06e1c47ff4 group sidebar panel improvements 2019-07-22 02:45:14 +03:00
2458773093
61134fb645 group sidebar panel ui 2019-07-22 02:36:55 +03:00
Dank Gabs
d5d52d4df9 Added a standard button class for anchor tags to become pseudo-buttons.
Button and anchor-button render exactly the same.
Applied standard-small class to create group anchor.
2019-07-20 00:31:16 -04:00
Dank Gabs
9637e35e17 Added a "buttons" component file to css stack.
Removed button style spec from group form into a re-usable class.
2019-07-20 00:10:29 -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
2458773093
f33c178b5a New form style for groups 2019-07-18 22:37:53 +03:00
mgabdev
8ccb710665 Updated status component to use properStatus when going to status page
Takes into account if is reblog or not and uses the original poster information if so, otherwise use status url as normal.

Fixes issue with clicking on status and it goes to wrong url of the reposter and shows error message.
2019-07-18 00:59:54 -04:00
mgabdev
abd4a831a2 Added floating action button to ui/index
hide on search, post, getting-started, if no user
2019-07-18 00:22:19 -04:00
mgabdev
b163726651 Removed floating action button from columns area 2019-07-18 00:17:36 -04:00
Rob Colbert
7cea08ce35 Merge branch 'bugfix/hidden-poll-results-light-theme' into 'develop'
CSS updates

See merge request gab/social/gab-social!13
2019-07-17 23:07:57 +00:00
mgabdev
4ee4d7c8e8 Merge branch 'feature/updating_page_scroll' of https://code.gab.com/gab/social/gab-social into develop 2019-07-17 19:05:39 -04:00
mgabdev
a8bc9be5e7 Updated scrollable_list to use documentElement for (primary/only) scrolling functionality
added infinite scrolling, updated intersection observer, updates all components that send onScroll, onScrollTop props, removed div ref/setRef to this.node, removed all references to this.node
2019-07-17 19:03:25 -04:00
mgabdev
a6e80559ad Added onScroll props to status_list
(previously removed, adding back now)
2019-07-17 19:00:31 -04: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
d978734bce Removed unnecessary scrollContainer in status, account_gallery
document scrolls, not individual containers/components
simply removed the wrapping <ScrollContainer /> and updated indentation
2019-07-17 18:57:44 -04:00
mgabdev
c466fc6b86 Added missing isLoading prop to ScrollableList 2019-07-17 18:55:28 -04:00
mgabdev
08f3f5f6ec Updated scrollable_list intersectionObserverWrapper
removed root, uses the document/window to scroll so no options are needed
2019-07-17 18:54:48 -04:00
mgabdev
399891f25e Updated floatingActionButton to only show if someone is logged in 2019-07-17 18:54:02 -04:00
mgabdev
2aa38d53ea Updated timeline_queue_button_header
fixes: #27
put queue header in dom but hide if no count
if count, animate in so it doesn't jump the feed
2019-07-17 18:53:09 -04:00
mgabdev
2eea427148 Removed focus of compose/cw after submit or spoiler change
fixes: #21
2019-07-17 18:49:52 -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
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