Matt Rider
068f6c2b49
Add logo as default avatar background image
2019-05-30 16:04:16 -03:00
Robert Schäfer
66aa744e75
Merge pull request #700 from Human-Connection/685-fix-user-avatar-jumping-on-upload
...
Fix user avatar jumping on upload
2019-05-29 12:33:20 +02:00
Wolfgang Huß
810746f138
Merge pull request #695 from Human-Connection/583-localize-tiptap-placeholder-text
...
Fix placeholder text not translating bug
2019-05-29 08:08:29 +02:00
Matt Rider
b08b29ba8e
Fix user avatar jumping on upload
2019-05-28 20:35:47 -03:00
Matt Rider
97a374fd84
Fix placeholder text not translating bug
...
- tiptap-extensions are not reactive
- we must call a method to change them dynamically
- emit changeLanguage event, which is listened for by the Editor component, which then calls a method to set the emptyNodeText of tiptap
2019-05-28 12:46:52 -03:00
Robert Schäfer
a07ca22e26
Replace <ds-avatar> on profile page
2019-05-28 15:20:24 +02:00
Robert Schäfer
db9596e276
Replace HcAvatar where possible
...
We still have `<ds-avatar>` in the code. It's used for the social media
icons. I'll leave it as it is for now.
2019-05-28 15:20:24 +02:00
Matt Rider
745a326fbe
Test refetching a Post with its comments
2019-05-27 19:16:27 -03:00
Matt Rider
b378bcb286
Fix edit field render bug(CommentForm)
...
- remove no-ssr, which was not necessary and causing the edit field not to appear the majority of the times visiting a Post.
- this was really bad user experience since a user would need to refresh the page to comment.
- removed args in refetchPostComments as there are no params passed in when it is called anymore
- needed to add an if statement since if there are no comments on a Post, then this.$apollo.queries.Post is undefined and it errors out trying to call refetch()
- update test to remove no-ssr
Co-authored-by: Mike Aono <aonomike@gmail.com>
2019-05-27 17:02:00 -03:00
Matt Rider
39d4771ce1
Fix lint
2019-05-24 08:48:52 -03:00
Matt Rider
460d081d52
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 399-user-profile-image-uploads
2019-05-24 08:10:17 -03:00
Matt Rider
cebd1046c7
Write cypress tests, show dropzone conditionally
...
- If it's the user's profile, show vueDropzone, if not show just the user's avatar
- apollo mutation is being called twice for drag and drop events
2019-05-24 01:26:37 -03:00
Matt Rider
d62f722381
Write component tests
2019-05-23 23:30:55 -03:00
ce3d16c146
fixed test error caused by manual lint error fixing
2019-05-23 20:02:56 +02:00
5202763dd8
frontend lint fixes
2019-05-23 19:40:39 +02:00
Matt Rider
fd90006dff
Merge branch 'uploads-on-server' of github.com:Human-Connection/Human-Connection into 399-user-profile-image-uploads
2019-05-21 17:32:02 -03:00
Matt Rider
4ac8c7f06b
Fix failing tests
2019-05-21 16:53:50 -03:00
Matt Rider
610a7f6bfe
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 399-user-profile-image-uploads
2019-05-21 16:15:45 -03:00
Robert Schäfer
834473e978
Merge pull request #622 from Human-Connection/2019/kw20/fix_post_card_design
...
🍰 2019/kw20/fix_post_card_design
2019-05-21 15:30:44 +02:00
Matt Rider
73fc0a420c
Improve CSS, add key to rerender Upload
...
- re-renders when avatar is successful updated
2019-05-20 17:30:51 -03:00
Matt Rider
d463312397
Get avatar upload working from frontend to backend
...
- there are several things to work on still
- the upload sets the avatar as the background image of the previewElement, which means that you must refresh the page to upload a different avatar
- the CSS is slightly different before and after successful upload
- the CSS is slightly broken in that the avatar is not in the "ideal" place, it is entirely inside the card, instead of half in, half out on the top
2019-05-20 16:37:02 -03:00
Matt Rider
3df7f588d2
Merge branch '399-user-profile-image-uploads' of github.com:Human-Connection/Human-Connection into 399-user-profile-image-uploads
2019-05-20 15:39:57 -03:00
Matt Rider
f60af6a704
Merge github.com:Human-Connection/Human-Connection into 399-user-profile-image-uploads
2019-05-20 15:38:30 -03:00
Matt Rider
1bb523a9ef
Set up to work with vddrop
...
- on vdropzone-drop call vddrop function, which sends the mutation to the backend
2019-05-20 15:37:08 -03:00
Matt Rider
1c072b97b5
Add apollo-upload-client
2019-05-20 13:20:24 -03:00
Robert Schäfer
b7632ed1fa
Follow "folder with spec and component" convention
2019-05-18 13:49:13 +02:00
a7fb3f0095
linting
2019-05-18 12:36:51 +02:00
eda58c25e3
ribbon tests, ribbon positions, fixed ssr stuff, fied missing language things
2019-05-18 12:33:41 +02:00
7095e38947
fixed post card design
2019-05-17 23:10:10 +02:00
Matt Rider
95e2667a9b
Add negative margin
2019-05-17 00:06:44 -03:00
Matt Rider
bb5b24cf07
Update to use custom styling, remove backgroundImage
...
- Merge in master
2019-05-16 15:56:20 -03:00
aonomike
29c9adc373
Refactor to use <img> instead of <hc-image> component for images
2019-05-16 16:36:25 +03:00
Matt Rider
49e19a3bd7
Set avatar as background image of vue-dropzone
2019-05-16 07:42:48 -03:00
Matt Rider
a04bc977d4
Fix lint
...
- still not automated
2019-05-14 20:57:49 -03:00
Matt Rider
24a6ec88ad
Add nuxt-dropzone, Upload component
2019-05-14 17:19:00 -03:00
fe386e2355
Merge pull request #595 from Human-Connection/delete-posts
...
Delete posts
2019-05-10 16:55:59 +02:00
c176ce738a
Merge pull request #556 from Human-Connection/554-add-component-test-CommentForm
...
Write component tests for CommentForm.vue
2019-05-10 16:30:54 +02:00
Matt Rider
bb306cad49
Update other ds-avatar sizes
2019-05-10 10:30:02 -03:00
Matt Rider
c28c51d86f
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 586-deal-with-yarn-warn-due-to-invalid-size-prop
2019-05-10 10:20:23 -03:00
0712b3c0dc
Merge pull request #551 from Human-Connection/2019/kw15/change_password_strength
...
2019/kw15/change password strength
2019-05-10 15:13:22 +02:00
d0fb12d7ad
fixed comment
2019-05-10 14:38:34 +02:00
dd8f9deb67
fixed lint error, refactored whole modules - its now small and neat!
2019-05-10 14:32:21 +02:00
Robert Schäfer
6c5f529d85
Couple of corrections
...
@aonomike use computed properties when possible
2019-05-10 13:58:24 +02:00
Robert Schäfer
51ed1604a0
Merge branch '296-image_component' of github.com:Human-Connection/Human-Connection into 296-image_component
2019-05-10 13:42:21 +02:00
Robert Schäfer
1db35be50f
Merge remote-tracking branch 'origin/master' into 296-image_component
2019-05-10 13:30:06 +02:00
15d03f18f7
fixed strength meter
2019-05-10 12:21:24 +02:00
Matt Rider
0d243b225e
Fix lint
...
- when will this be automated!!!
2019-05-09 15:53:01 -03:00
Matt Rider
6e675c74d5
Update ds-avatar size to use small
2019-05-09 15:34:24 -03:00
aonomike
e55129c64b
Merge branch '296-image_component' of github.com:Human-Connection/Human-Connection into 296-image_component
2019-05-09 21:04:46 +03:00
aonomike
6445c534b4
Refactor to pass imageProps as an object without the computed section
2019-05-09 21:04:07 +03:00