51 Commits

Author SHA1 Message Date
Wolfgang Huß
be9dbdbb76 Refine component 'my-social-media' in webapp 2022-10-04 11:04:50 +02:00
Wolfgang Huß
4075e63167 Fix linting 2022-08-02 08:54:33 +02:00
Wolfgang Huß
d39213f559 Refactor MySomethingList and social media list and adding deletion modal dialog 2022-08-02 08:52:13 +02:00
Wolfgang Huß
7c43372423 Correct namings etc.
- Rename all "link" contaning names from MySomeThingList.
- Remove comment from notificationsMiddleware.
- Create translations.
2021-11-11 18:24:44 +01:00
Wolfgang Huß
32844b8197 Cleanup 2021-11-11 12:05:26 +01:00
Wolfgang Huß
b7400339ab Split social media page and list component
- Rename variables.
- Implement callbacks.
- Fix tests.
2021-11-11 11:53:56 +01:00
Wolfgang Huß
280f0f5a78 Implement edit callback, fist step 2021-11-09 10:48:22 +01:00
Wolfgang Huß
433c5fd883 Implement MySomethingList for social media, use edit-item slot
- Pass formData and formSchema by properties.
2021-11-03 13:55:11 +01:00
Wolfgang Huß
d3cc49d37b Implement MySomethingList for social media, use list item slot 2021-11-03 13:04:45 +01:00
roschaefer
276ea79e8f Update prettier to v2 2020-03-24 21:11:11 +01:00
Alina Beck
9895c32b0b replace remaining instances of ds-card with base-card 2020-02-11 17:45:32 +01:00
Alina Beck
93b6323c34 make cancel buttons red 2020-01-09 13:37:15 +05:30
Alina Beck
34006a25e2 rename primary to filled 2020-01-09 13:25:12 +05:30
Alina Beck
ad27404059 fix failing component tests 2019-12-19 12:48:13 +05:30
Alina Beck
ea612bdf78 replace another batch of ds-buttons with base-buttons (wip) 2019-12-19 12:19:58 +05:30
Alina Beck
4e6572a042 replace ds-icon with base-icon 2019-11-19 12:26:07 +03:00
Alina Beck
d1cb72b9a0 disable save button when link has not been changed 2019-07-23 14:51:45 +02:00
Alina Beck
fcc6a4a084 center arrow icon in list 2019-07-23 14:48:28 +02:00
Alina Beck
972425fb09 fix lint errors 2019-07-16 14:00:30 +02:00
Alina Beck
05b6c63006 add component tests 2019-07-16 12:01:10 +02:00
Alina Beck
7217bb37a4 avoid duplicate social media urls 2019-07-15 13:30:40 +02:00
Alina Beck
b633273ddd refactor social media component 2019-07-15 12:50:56 +02:00
Alina Beck
a586bc450c update link in store 2019-07-10 16:22:46 +02:00
Alina Beck
8847f071fd update social media links in database 2019-07-10 15:16:28 +02:00
Alina Beck
22c673f47e allow to cancel editing link 2019-07-10 12:57:43 +02:00
Alina Beck
d200b822db display input in list when editing 2019-07-10 12:52:03 +02:00
Alina Beck
0275971381 disable submit button for invalid input 2019-07-09 19:30:39 +02:00
Alina Beck
68543aa823 replace spaces with padding 2019-07-09 17:07:38 +02:00
Alina Beck
b91d60badf set cursor pointer for icon buttons 2019-07-09 16:56:15 +02:00
Alina Beck
fd171917d5 add title and aria-label to icon buttons 2019-07-09 16:54:10 +02:00
Robert Schäfer
b8c5db48a6 Implement prefix of image urls with a filter
Fix #820

Ok, so after I would have to use the same method in three different
locations (`<ds-card>` expects an `image` attribute but cannot render
entire components) I decided to implement the prefix of image urls with
a filter rather than a component. The downside of this is that we have
to add the filter on a lot of component tests. The benefit is less
components and hopefully less complexity.
2019-06-13 16:56:41 +02:00
Matt Rider
ff0b4b6867 Fix lint 2019-05-29 09:47:24 -03:00
5202763dd8
frontend lint fixes 2019-05-23 19:40:39 +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
aonomike
bf57198815 Refactor code based on comments from PR review 2019-05-09 02:27:03 +03:00
Wolfgang Huß
ff303fccd3 Fixed linting errors 2019-05-08 14:14:34 +02:00
aonomike
399507c7fb Fix linting issues 2019-05-07 15:56:31 +03:00
aonomike
3ff034d014 Refactor <img> tags to use Image component 2019-05-07 15:21:42 +03:00
Wolfgang Huß
41711c316a Get delete SocialMedia to work, refactored Frontend Jest tests, written Cypress tests
Optimised tests and Vue for add Social Media a bit.
Added localisation.

Finished this commit together with @mattwr18 !!!
Thank you so much dude! You did great stuff …
2019-05-06 17:31:02 +02:00
Wolfgang Huß
2af9b853a1 Add first try of Webapp Component Test
Add `ìd` to the SocialMedia data
2019-05-04 10:13:40 +02:00
Wolfgang Huß
3294cffa88 Renamed handleDeleteSocialMedia 2019-05-02 18:09:46 +02:00
Wolfgang Huß
b03cbb212a First Vue design of delete SocialMedia, custom mutation DeleteSocialMedia
Backend Jest tests for DeleteSocialMedia
New backend Jest tests for CreateSocialMedia
2019-05-02 17:41:54 +02:00
Wolfgang Huß
a4f5fdc324 Make SocialMedia Links to target="_blank" 2019-05-02 07:22:32 +02:00
Matt Rider
edd37db8fe Update frontend to display urls, update currentUser 2019-04-10 20:33:37 -03:00
Matt Rider
4de8407620 Rename variable, mutation
- result is not a good name in this case because we know what is coming back, the result is a socialMedia node
- update the mutation name in the front end
2019-04-08 12:05:57 -03:00
Matt Rider
94288ced54 Update currentUser after successful addSocialMedia mutation
Co-authored-by: Mike Aono <aonomike@gmail.com>
2019-03-28 15:54:45 -03:00
Robert Schäfer
209b63715f Show social media links as list 2019-03-27 14:28:20 +01:00
Robert Schäfer
9de652c631 Fix render error bug
🙌 @mattwr18
2019-03-27 14:17:47 +01:00
Matt Rider
597d1a0cb0 Pull in icons from currentUser
Co-authored-by: Joseph Ngugi <jngugi88@gmail.com>
2019-03-26 17:43:23 -03:00
Matt Rider
7da9baf748 Update socialMediaIconUrl, display linked icons
- After successfully adding a socialMedia, update the sociaMeidaIconUrl, and iterate over them to display their icons, which link to the user's profile.

Co-authored-by: Joseph Ngugi <jngugi88@gmail.com>
2019-03-25 20:18:49 -03:00