Commit Graph

42 Commits

Author SHA1 Message Date
mgabdev
47b43d78d9 Updated all component styles
new mixins, consolidated
all original styles files uncomitted
2019-08-12 16:48:46 -04:00
mgabdev
3d509c84a2 Another 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 group page components.
2019-08-09 12:06:27 -04: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
mgabdev
42917806e9 Updated all basic components
removed unnecessary components, combined where necessary
added each component to a folder, added individual css style modules
optimized some component rendering flows
removed functional components in favor of pure components
linted and formatted all of the files
2019-08-03 02:00:45 -04:00
mgabdev
2044648179 Added webpack.ProvidePlugin for most used imports
Removed imports of React, connect, PropTypes throughout
Removed the "React" in React.Component/PureComponent
2019-07-29 15:20:00 -04:00
mgabdev
dd6129e218 Reorganized utils files 2019-07-27 21:49:17 -04:00
2458773093
c4ca0b9d4d pass group down from group timeline and hide group section of status component 2019-07-26 21:28:26 +03:00
2458773093
7503d5728e show group in status component 2019-07-26 21:19:13 +03:00
2458773093
c311f6b9d0 group added to status serialization and old group_id usages changed 2019-07-26 21:08:51 +03:00
mgabdev
f5f166a985 Removed unused display_name_badge
unused now that we have component specific badges
2019-07-23 00:22:36 -04:00
mgabdev
757fde8798 Added user badges and "member since"
added ProBadge, InvestorBadge, DonorBadge components, css
removed "PRO" from appending in display_name
fixes: #50
2019-07-23 00:21:46 -04:00
mgabdev
b61596b1a7 Added confirmation to compose modal on close if has text
Added to modal_root if modal type is compose
Added to compose_modal
Fixes: #51
2019-07-22 23:10:05 -04:00
mgabdev
efb3ac7ac3 Added unauthorized modal on detail status action buttons
fixes: #52
added isRequired propType on onOpenUnauthorizedModal on normal status
2019-07-22 15:39:45 -04:00
Rob Colbert
46bec5710f Merge branch 'groups-updates' of https://code.gab.com/gab/social/gab-social into develop 2019-07-21 23:08:31 -04:00
mgabdev
cfe4d7530c Updated home_column_header for lists
if no lists, go to /lists page
2019-07-19 00:20:33 -04:00
mgabdev
94566e0ab4 Added list functionality to home page, updated column header buttons for list 2019-07-19 00:03:57 -04:00
mgabdev
3ec39ee7c9 Updated scrollable list to improve infinite scoll 2019-07-18 23:55:32 -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
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
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
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
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
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
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
mgabdev
45dcd5a1ab Updated timeline/notification dequeue to be in componentDidMount 2019-07-11 17:31:04 -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
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
a385210c09 Removed unused import in scrollable_list 2019-07-10 14:17:07 -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
e210c70e21 Removed visiblity favorites of a status
todo: remove account ids from returning in "favourited_by"
2019-07-03 23:47:23 -04:00
robcolbert
fb49559d05 explicitly nav to /home #homehack 2019-07-03 19:29:54 -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
1783ec0d1f Comment out the Direct Message option from a couple of drop down menus. 2019-07-03 00:19:20 -04:00
robcolbert
bd0b5afc92 Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00