Commit Graph

132 Commits

Author SHA1 Message Date
mgabdev dd6129e218 Reorganized utils files 2019-07-27 21:49:17 -04:00
2458773093 20a12f736a added group label to detailedstatus 2019-07-27 21:27:33 +03: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
Dank Gabs 493634aee5 Finess for the add / edit groups forms. Is now pixel-perfect to mockup specs.
Added all post-function icon sprites to the app.
Remove FA icon from the form and used bg sprite for upload button.
Will match all other post / composer / widget ui buttons eventually.
2019-07-25 00:27:58 -04:00
mgabdev f604b18f0f Merge branch 'styling/groups-styling-updates' of https://code.gab.com/gab/social/gab-social into develop 2019-07-23 00:39:23 -04: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
Dank Gabs 15f4427bb9 Merge branch 'develop' into styling/groups-styling-updates 2019-07-22 23:23:40 -04:00
Dank Gabs 48b66e4352 Adjustments made to the standard form text input and textarea for both themes. 2019-07-22 23:22:42 -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 efd441d0ba Added onCancel function prop to confirmation_modal
Added an optional function to call on confirmation modal
2019-07-22 23:02:14 -04:00
mgabdev 8aeeaa7244 Added type to modal_root base 2019-07-22 23:01:12 -04:00
Dank Gabs 47a18f6024 Adjustments to the create group form to match mockup specs.
Strip out css for form input from component css file.
Created global form input css.
Padding adjustments.
2019-07-22 22:35:46 -04:00
mgabdev 1054e0c51b Updated list_timeline to check for new list id on to reload new list
added check in componentWillReceiveProps for new params.id for updating list
fixes: #53
2019-07-22 16:02:48 -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
mgabdev ef3f9a801e Updated GroupSidebarPanel locations, keys
added/updated keys to layout array to remove "missing key" error in ui/index
updated location of group sidebar panel to always be above wtf panel
2019-07-22 00:10:45 -04:00
mgabdev 0216aa973c Updated groups sidebar title
Capitalized the title
2019-07-22 00:09:30 -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
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
mgabdev bc3959fce2 Added search button to list editor modal 2019-07-19 18:53:16 -04:00
mgabdev 5077165275 Updated edit list form
only show "save title" button if title has been changed
2019-07-19 18:32:05 -04:00
mgabdev 94b8ea23fd Added onClose function to list editor modal 2019-07-19 18:02:36 -04:00
mgabdev 937a7540bd Updated column backBtnSlim prop type 2019-07-19 15:33:42 -04:00
mgabdev 57bc960da0 Added keys to layout items in ui/index
fixes the error displaying in console for missing keys
2019-07-19 15:33:27 -04:00
mgabdev 60c77a6ca3 Updated list components
Updated list edit/add modal to be more user friendly. Added titles where necessary. Spaced out components/divs. Added text buttons instead of checkmark and plus icons for list titles. Updated title where list is empty of accounts/posts where user can click to add people to list. Added add/remove to list from account action dropdown
2019-07-19 15:31:55 -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
mgabdev db480928ec Added column back button to column component by default 2019-07-18 23:27:54 -04:00
mgabdev 0510fe0915 Added column back button to hashtag timeline component 2019-07-18 23:27:22 -04:00
mgabdev 9f9103b11c Removed column back button from all feature component 2019-07-18 23:27:07 -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