Commit Graph

279 Commits

Author SHA1 Message Date
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
d6ebbad3c9 Change blue reference in variable name.
Keep color names out of color variables so they can be changed later and still make sense.
Name based on primary function.
2019-07-20 00:14:13 -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
Dank Gabs
e008cb292a Update cards to use gab standard container properties. 2019-07-19 23:56:23 -04:00
Dank Gabs
20c36b1e94 Allow group cards to expand and contract with the height of their content. 2019-07-19 23:54:17 -04:00
Dank Gabs
b97d23f9e2 Adjustments to margins and container sizing to match mockup specs. 2019-07-19 23:34:15 -04:00
Dank Gabs
713deb810f Quick adjustments to column position and margins to match mockup spec. 2019-07-19 23:25:43 -04:00
Dank Gabs
187d9bd4e2 Adjust column padding to match mockup specs 2019-07-19 23:04:43 -04:00
Dank Gabs
5061e8f9e4 Removed the mixins that were moved from the variables file. 2019-07-19 22:23:32 -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
0ba57e695a Updated generic compose-modal to not take up full screen
leave some space to make users aware its a dialog
2019-07-19 15:32:54 -04:00
mgabdev
284a9ef082 Added min-height to error indicator 2019-07-19 15:32:18 -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
Dank Gabs
8e1d931996 Stopping point.
Just saving current progress to pick back up tomorrow.
2019-07-19 00:53:20 -04:00
Dank Gabs
96bd40f2ff Removed Height from group card.
Each card's height is determined by it's content.
Use flex positioning to position them top-aligned for each row like mockups.
2019-07-19 00:34:01 -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
mgabdev
42e9d5a360 Fix issue with notification badge number not showing on mobile
only hide first descendants of tab bar btn (the title of the tab) instead of all span children
2019-07-17 23:59:28 -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
6abffdb505 Removed set height of 100% on body 2019-07-17 18:47:58 -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
601d91f73e Patch Fix for hidden poll choices and results on light theme. 2019-07-16 17:09:47 -04:00