256 Commits

Author SHA1 Message Date
Max
7ea8107ed0
fix(webapp): fix popover flickering (#8555)
Add boundary to v-popover to avoid random flickering when hovering a user teaser
Preload user data to avoid resizing (and sometimes repositioning) of popover after data has been loaded
2025-05-20 07:21:22 +00:00
sebastian2357
2fd138697f
feat(webapp): badges UI (#8426)
- New badge UI, including editor.
- Adds config to enable/disable badges.

---------

Co-authored-by: Sebastian Stein <sebastian@codepassion.de>
Co-authored-by: Maximilian Harz <maxharz@gmail.com>
2025-04-25 16:55:46 +00:00
8cf405c549
feat(backend): badges (#8391)
* delete all old badges

* reward/unrewardBadge

* verification Badges

* name all badged accordingly

* more tests, lint

* seed badges

* profileBadge mechanic

* badgesUnusedCount

* seed profileBadges set

* configure profile badge count

* insert badges db:data:badges:default

* seed commands to seed default badges and allow to seed branding data

* copy data migrations when building docker

* typo

* correct data:branding command & document it

* test new functionality

* Update backend/src/db/seed/badges.ts

Co-authored-by: Max <maxharz@gmail.com>

* Update backend/src/db/seed/badges.ts

Co-authored-by: Max <maxharz@gmail.com>

* Update backend/src/db/seed/badges.ts

Co-authored-by: Max <maxharz@gmail.com>

* naming coventions

* final naming fix

lint

fix build

fix badge type in test

renamed badge_ to trophy_

lint fixes

small renameing

fixes

fix users spec

fix webapp queries

fix display

* expose badge description

---------

Co-authored-by: Max <maxharz@gmail.com>
2025-04-17 23:08:54 +00:00
Max
1e6a74b8ce
feat(frontend): observe posts (#8293)
* After creating the post, the author of it automatically observes it to get notifications when there are interactions

* a user that comments a post, automatically observes that post to get notifications when there are more interactions on that post

* mutation that switches the state of the obeservation of a post on and off

* remove duplicate code

* fix unit tests

* add metric observed users count to posts

* change naming

* Add follow post entry to post menu

* Add FollowButton (WIP), show unfollow in menu when already followed

* Follow/unfollow post => observe

* Update slashed bell

* Add requests to observe/unobserve posts

* Add ObserveButton functionality

* Rename isObservedByMe

* Add observingUsersCount; simplify ObserveButton and menu entries

* Fix locales

* Add snapshot test for ObserveButton (WIP)

* Remove empty routes push

* Add test for ObserveButton

* Add test for ContentMenu, improve ObserveButton test

* Remove unneeded fields from PostQuery

---------

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2025-04-04 11:54:43 +00:00
Wolfgang Huß
9157e14ded Change small chat partner on click the chat button on different user profile 2023-07-18 18:21:05 +02:00
Wolfgang Huß
34bb207e8e Change store commits into 'mapMutations' on user profile 2023-07-13 09:30:19 +02:00
Wolfgang Huß
40774b0498 Put user name in the tooltip of the chat button on the user profile 2023-07-13 08:59:51 +02:00
Wolfgang Huß
a07a8b35e0
Update webapp/pages/profile/_id/_slug.vue
Co-authored-by: Alexander Friedland <fridolin@tutanota.com>
2023-07-13 08:49:08 +02:00
Wolfgang Huß
2a44b18aa6 Fix icon and set texts on chat button on user profile 2023-07-12 16:11:58 +02:00
610d279465
fixable lints 2023-07-06 13:08:41 +02:00
38d555bdf8
rename chat-modul to chat 2023-07-06 12:30:50 +02:00
ogerly
1cb486cc8c chat-modul structur, add store state roomID 2023-07-06 11:30:55 +02:00
ogerly
9b4a71bd96 add store chat-modul, showChatModul 2023-07-06 07:17:38 +02:00
ogerly
9a690d6051 single chat modul in default template 2023-07-05 17:17:54 +02:00
elweyn
0b7e0fbc4b Change Infinity to exact count. 2023-03-07 13:16:38 +01:00
Moriz Wahl
5f70189a2b
Merge pull request #5968 from Ocelot-Social-Community/webapp-upgrade-jest
refactor(webapp): upgrade jest and vue test util
2023-02-27 11:08:36 +01:00
elweyn
97c87e2f93 Fix linting. 2023-02-22 09:01:09 +01:00
elweyn
9bdc9fe2ef Add align center to the user profile slug. 2023-02-22 07:56:13 +01:00
Moriz Wahl
038bae5571 stub router link 2023-02-15 07:56:48 +01:00
Moriz Wahl
4850e456fe pages tests nearly working 2023-02-13 23:08:41 +01:00
Wolfgang Huß
13f2451e02 Change default GQL 'UserQuery' to named 'profileUserQuery' 2023-01-12 10:12:32 +01:00
Wolfgang Huß
4f2ea8ef3c Refine and synchronize group slug on group profile with user slug on user profile 2022-10-21 11:12:05 +02:00
Wolfgang Huß
7b11122bea Refine design and functionality of group list and create, edit group 2022-09-26 10:31:00 +02:00
Wolfgang Huß
6df10e5588 Refactor 'updateGroupMutation' to a function that returns GQL
- Add and refactor some tests for the user resolvers.
- Refactor minor in general.
2022-09-18 08:35:31 +02:00
Wolfgang Huß
7f397b4669 Set Vue tooltip delay to 1500 ms and remove unneeded properties 2022-09-16 07:05:21 +02:00
Wolfgang Huß
176fb3919a Fix Vue HTML errors in group profile 'groupType' etc. 2022-09-14 08:49:45 +02:00
Wolfgang Huß
9472a68bcd Add Vue 'head' element to group and user profile 2022-09-13 22:49:46 +02:00
Wolfgang Huß
330bdd4df5 Implement join/leave button on group profile 2022-09-12 20:00:48 +02:00
Wolfgang Huß
aac951e7a7 Refine profile and follow list 2022-09-12 13:23:37 +02:00
Wolfgang Huß
a9376cb979 Renamed folder 'FollowList' to 'ProfileList' 2022-09-12 07:32:18 +02:00
Wolfgang Huß
9b83b37ea3 Upload group avatar on group profile page 2022-09-06 09:14:28 +02:00
Wolfgang Huß
5f43a51c6a Rename prop 'user' of 'profile-avatar' to 'profile' 2022-08-29 18:39:51 +02:00
Wolfgang Huß
615ee2991a Rename Component from 'UserAvatar' as 'user-avatar' to 'ProfileAvatar' as 'profile-avatar' 2022-08-29 18:21:50 +02:00
Wolfgang Huß
077a63aca7 Rename class 'user-avatar' to 'profile-avatar' 2022-08-29 18:09:51 +02:00
Wolfgang Huß
2fc84f9c36 Rename class 'profile-avatar' to 'profile-page-avatar' 2022-08-29 13:45:30 +02:00
Wolfgang Huß
a9c52bfcae Renamed 'AvatarUploader' property from 'user' to 'profile'
- Rename several CSS.
2022-08-29 13:03:43 +02:00
Wolfgang Huß
ac0aacf776 Rename 'hc-upload' or 'Upload' to AvatarUploader and moved 'ImageUploader' to folder 'Uploader' 2022-08-29 12:10:23 +02:00
Wolfgang Huß
e82d35c824 Fix linting 2022-08-25 23:17:50 +02:00
7e16b8e72c
lint fixes 2021-04-25 19:02:52 +02:00
d16886c1fd
lint fixes 2021-04-25 16:28:29 +02:00
63d962a69e
coverage profile/_id.spec.js 2021-04-25 15:28:08 +02:00
Wolfgang Huß
ae09aee91c Renamed NewTabNavigation to TabNavigation
- Renamed old TabNavigation to OldTabNavigation.
2021-01-21 20:27:13 +01:00
Wolfgang Huß
9ce1e089fa Fix lint 2021-01-21 16:38:55 +01:00
Wolfgang Huß
101b50486c Cleanup comments 2021-01-21 13:03:32 +01:00
Wolfgang Huß
3de2e3c003 Add again accidental removed 'deleteUser' function on user profile 2021-01-21 07:53:25 +01:00
Wolfgang Huß
7dbc833e22 Merge branch '2144-Add_Search_Results_Page' of https://github.com/Human-Connection/Human-Connection into HC-2144-Add_Search_Results_Page
# Conflicts:
#	webapp/pages/profile/_id/_slug.vue
2021-01-18 14:12:13 +01:00
Nimit Bhargava
0a177e4a5f
Merge branch 'master' into 3505-display-social-media-favicons-on-profile 2020-12-06 19:44:46 +05:30
Nimit Bhargava
3be426c0d5 refactor: extracting social media to vue component 2020-12-06 19:30:19 +05:30
Nimit Bhargava
0585960313 feat: keeping same favicon implementation as in settings page 2020-12-03 12:41:38 +05:30
Nimit Bhargava
7e80189e2e fix: using ds-avatar instead of using user-avatar 2020-12-03 12:01:00 +05:30