73 Commits

Author SHA1 Message Date
0be2891858
make email a required field for user, tests for front- & backend 2019-05-02 16:17:16 +02:00
Wolfgang Huß
a4f5fdc324 Make SocialMedia Links to target="_blank" 2019-05-02 07:22:32 +02:00
3eb96a20b2
lint fixes 2019-04-17 15:21:08 +02:00
2efc77097f
match specification of Dennis - minimum 3 characters for username, no hint for user to change the username to "Anonymous", Toast error if userdata cannot be changed due to username restrictions, display "Anonymous" if no username is found in database (even tho this is against implemented rules) 2019-04-17 14:49:03 +02:00
e5f98f2cee
Merge branch 'master' into 2019/kw15/User_can_change_its_username_to_emptystring
# Conflicts:
#	webapp/locales/de.json
#	webapp/locales/en.json
#	webapp/pages/profile/_id/_slug.vue
2019-04-17 13:59:30 +02:00
Matt Rider
444f01f879 Refactor test, component
- Remove redundant code
- change socialMediaUrl to add the attributes().href since that's the url
- grab last element of url as username, makes an assumption, but a safer one
2019-04-12 08:34:06 -03:00
Matt Rider
366c5d776b Fix lint 2019-04-11 22:28:18 -03:00
Matt Rider
1e4fad8425 Add cucumber scenario, component tests 2019-04-11 21:23:17 -03:00
Matt Rider
9bdd0742c9 Update tests, start test driving new scenario
- tests had become outdated thanks to new implementation details, namely that a socialMedia node is being created and associated with a user instead of it being an attribute of the User
- scenario to ensure other user's can view my social media
2019-04-11 16:35:22 -03:00
7e258bc3d3
basic stuff from alpha 2019-04-11 17:24:05 +02:00
Matt Rider
edd37db8fe Update frontend to display urls, update currentUser 2019-04-10 20:33:37 -03:00
c70e6227ba
first implementation - unclear if specifications are correct 2019-04-10 13:35:24 +02: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
Robert Schäfer
8fb9ebd2b5 Expose bug: Server-side render error 2019-03-27 14:07:24 +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
Matt Rider
e409d6508f Merge branch 'master' of github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts 2019-03-25 17:32:06 -03:00
Matt Rider
aca3562e22 Migrate PRs from archived repos to monorepo
Co-authored-by: Joseph Ngugi <jngugi88@gmail.com>
2019-03-22 14:44:43 -03:00
Robert Schäfer
e0432b2fd9 Styleguide blocks development
cc @appinteractive

We're trying to cross-validate two form fields and don't know how.
We (ie. @kachulio1, @aonomike, myself) gave up after
we discovered https://github.com/Human-Connection/Nitro-Styleguide/issues/46
2019-03-22 15:53:01 +01:00
Robert Schäfer
c91a61af89 Merging webapp to master 2019-03-20 21:06:17 +01:00