1579 Commits

Author SHA1 Message Date
mattwr18
a33cb1e6fc Make tests accurate 2019-12-20 01:14:43 +01:00
mattwr18
730da2029c Fix imageAspectRatio set to null UpdatePost
- we were not setting the form.imageAspectRatio to the value of the
post's imageAspectRatio, so when a user updated their post, but did not
update their imageAspectRatio it would set it to null
2019-12-20 00:59:29 +01:00
Alexander Friedland
d38a1f089f
Merge branch 'master' into 1188-Delete_teaser_image 2019-12-19 18:26:05 +01:00
ogerly
b9676271ea Delete teaser image 2019-12-19 17:46:25 +01:00
mattwr18
3ef04f8391 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1463-search-for-users 2019-12-19 17:16:48 +01:00
mattwr18
46191e5889 Refactor isOfFirstType to computed/styling updates 2019-12-19 17:13:58 +01:00
mattwr18
b79c292ef4 Fix failing component tests
- Extract testing logic to SearchableInput spec
- write new tests for SearchResources
2019-12-19 17:13:14 +01:00
Wolfgang Huß
377f2eecd2
Merge pull request #2351 from Human-Connection/1746-Blur_explicit_Image_Content
Blur Images
2019-12-19 11:46:38 +01:00
Alina Beck
5c1242b999 reduce CounterIcon tests to only test logic 2019-12-19 13:07:07 +05:30
Alina Beck
56b1a74e64 let eslint do some magic 2019-12-19 12:53:38 +05:30
Alina Beck
ad27404059 fix failing component tests 2019-12-19 12:48:13 +05:30
Alina Beck
2941b1392e improve markup and design of Paginate component 2019-12-19 11:44:31 +05:30
Alina Beck
72f2aff455 add color variants to CounterIcon 2019-12-19 11:43:14 +05:30
Alina Beck
ee11f4e366 replace even more ds-buttons with base-buttons (wip) 2019-12-19 11:39:39 +05:30
Alina Beck
4e6ec6eba7 move dropdown-arrow class to main.scss 2019-12-19 08:40:04 +05:30
Alina Beck
f6cdf9ff64 removes LoadMore button 2019-12-19 08:39:27 +05:30
Alina Beck
85f628848b continue to replace ds-button with base-button (wip) 2019-12-19 08:38:04 +05:30
Alina Beck
f2a59c8a90 rename classes in EmbedComponent tests 2019-12-19 07:32:57 +05:30
Alina Beck
99a8efa8df fix emotions buttons markup 2019-12-19 01:03:35 +05:30
Alina Beck
da9403794d move embed related css to EmbedComponent, rename classes 2019-12-19 01:02:48 +05:30
Alina Beck
c4959bb851 use computed property to enable/disable delete button 2019-12-19 01:02:15 +05:30
Alina Beck
7c7a800bc2 replace ds-button with base-button (wip) 2019-12-19 00:50:27 +05:30
mattwr18
d74d2072ba Separate concerns in components
- SearchResources is a feature component that handles communication with
the backend and fetches the search results
- Those results are passed to SearchableInput which displays the results
in a ds-select dropdown and handles interacting with them
- SearchInput renders the SearchHeading, SearchPost, and HcUser generic
components
- Would love to make the SearchableInput more generic and reusable, or
create a new reusable component for this, but I think this will happen
just when we migrate the Search.vue from the styleguide

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2019-12-18 19:50:01 +01:00
Alina Beck
7cf8aec283 add ghost style for special use cases 2019-12-18 23:59:43 +05:30
Alina Beck
d6560438e5 add button type to allow submit buttons 2019-12-18 23:13:40 +05:30
Alina Beck
63549d987e add button size small 2019-12-18 22:55:28 +05:30
mattwr18
57a4309b30
Merge pull request #2544 from Human-Connection/2543-add-back-layout-changes
Add back layout changes/update db_manipulation
2019-12-18 16:16:00 +01:00
mattwr18
e002ed0b49 Add back layout changes/update db_manipulation
- we had removed these changes till we could deploy them by themselves
and run the db_manipulation

Co-authored-by: Alina Beck <alina.beck@mail.com>
2019-12-18 15:39:42 +01:00
Alina Beck
c74bfde652 refactor to use only one value for the blurImage status 2019-12-18 15:26:45 +05:30
Alina Beck
edaac117eb remove code related to imageAspectRatio 2019-12-18 15:26:45 +05:30
Alina Beck
c83f158ca4 Merge branch 'master' into migrate-styleguide-buttons 2019-12-18 12:59:23 +05:30
ogerly
0213d64ba5 change const height = Math.min, remove 2000 2019-12-18 07:56:36 +01:00
Moriz Wahl
2242c001b4 SearchInput components created 2019-12-17 16:56:37 +01:00
mattwr18
3abfe13dcc Fix maintenance service/LocaleSwitch import 2019-12-17 16:15:11 +01:00
Alina Beck
7568837963 refactor counter icon 2019-12-17 18:13:53 +05:30
Alina Beck
5a30001db8 rearrange BaseButton stories 2019-12-17 14:46:54 +05:30
Alina Beck
93233a5c76 style button loading state 2019-12-17 14:35:49 +05:30
Moriz Wahl
5657ab3258 Merging changes made by @mattwr18
Merge branch '1463-search-for-users' of https://github.com/Human-Connection/Human-Connection into 1463-search-for-users
2019-12-17 09:57:51 +01:00
Alina Beck
69a69ad0c9 migrate loading spinner 2019-12-17 14:02:59 +05:30
Alina Beck
ab9ad46b14 style button variants 2019-12-17 13:29:29 +05:30
Alina Beck
557fa3211d rearrange button stories 2019-12-17 13:01:50 +05:30
Alexander Friedland
ed617f8c83
Merge branch 'master' into 1746-Blur_explicit_Image_Content 2019-12-17 07:39:26 +01:00
mattwr18
c2bb406502
Merge pull request #2512 from Human-Connection/refactor_content_menu
Refactor: content menu
2019-12-16 16:13:45 +01:00
mattwr18
83ab648e93 Add back @roschaefer changes
- maintain reactive placeholders
2019-12-16 11:42:37 +01:00
Alexander Friedland
3a98767707
change link to FAQ
link FAQ Blur: https://support.human-connection.org/kb/faq.php?id=113
2019-12-16 11:12:30 +01:00
mattwr18
70c63297d4 Revert unrelated changes
- @roschaefer, I reverted the changes you made that were unrelated to
the server-side rendering issue with the editor... maybe we can put in a
separate PR with them, or a subset of them that doesn't remove the
reactivity of the editor placholder(?)
2019-12-16 11:06:47 +01:00
mattwr18
65b92786b7 Revert unrelated changes 2019-12-16 11:00:55 +01:00
roschaefer
71b2eac175 refactor: content menu
I hoped this would fix the bug with the editor sometimes not being shown
when clicking "Edit Post" but it does not.
2019-12-14 20:16:09 +01:00
roschaefer
a7a1e4affc fix: editor not visible in server-side-rendering
This is fixing a bug where sometimes the editor would not get displayed
until you click into the title text fields. This commit also removes
some obscure optimizations.

I'm really annoyed by the cruft that we still carry around until this
very day.

Every single line of untested code, which you left because you thought:
"Well sure this is going to improve performance!" is going to bite you.
2019-12-14 01:36:59 +01:00
mattwr18
4cd43b68a4 Refactor further search
- in the end, the error was due to not asking for the id of the author
back of the Post.. grrr.... why couldn't we get better error messages!!

- Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2019-12-13 15:56:18 +01:00