122 Commits

Author SHA1 Message Date
sebastian2357
b1c19d0c94
fix(webapp): optimize registration layout (#8630)
* - fixed nowrap for button
- restyled bullets for slider
- relocated back links
- removed icons

* - removed icon from RegistrationSlideEmail too

* - added media query for padding

* - fixed missing constants

* - fixed padding in no-header layout

* - fixed sticky footer in registration flow

* - removed icons from inputs

* - set fixed height for back link

* - fixed invite code placeholder

* - added auto submit to invite and email code forms
- fixed layout password inputs
- added layout to checkboxes (create)
- removed unnecessary texts
- moved backLink for password-reset
- tidied up create layout

* fixed margin

* - fixed nonceLength

* lint fixes

* corrected path

---------

Co-authored-by: Sebastian Stein <sebastian@codepassion.de>
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-06-11 16:45:03 +00:00
Moriz Wahl
df4275c5cd
feat(webapp): location on registration (#8608)
* feat(webapp): location on registration

* add location name to signup verification, allow location query

* location name can be prompted in regeistration

* default value null for locationName

* Prevent ds-select overflow

* Remove location name from label

* Add margin-bottom to location-select

* group location is not affected by REQUIRE_LOCATION, previous location is shown

* Update webapp/components/Registration/RegistrationSlideCreate.vue

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

* Replace more '16px' by '$space-small' and remove class 'password-strength'

* Add class 'password-strength' again

* property for previous location

---------

Co-authored-by: Maximilian Harz <maxharz@gmail.com>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-06-04 15:16:24 +02:00
Max
206ff76b79
fix(webapp): fix flickering? (#8549)
* Fix flickering?

* Move scrollbar-gutter: stable to html, fixing flickering
2025-05-12 20:03:58 +00:00
Max
ce1844e521
feat(webapp): several group and personal invitation links (#8504)
* invite codes refactor

typo

* lint fixes

* remove duplicate initeCodes on User

* fix typo

* clean permissionMiddleware

* dummy permissions

* separate validateInviteCode call

* permissions group & user

* test validateInviteCode + adjustments

* more validateInviteCode fixes

* missing test

* generatePersonalInviteCode

* generateGroupInviteCode

* old tests

* lint fixes

* more lint fixes

* fix validateInviteCode

* fix redeemInviteCode, fix signup

* fix all tests

* fix lint

* uniform types in config

* test & fix invalidateInviteCode

* cleanup test

* fix & test redeemInviteCode

* permissions

* fix Group->inviteCodes

* more cleanup

* improve tests

* fix code generation

* cleanup

* order inviteCodes result on User and Group

* lint

* test max invite codes + fix

* better description of collision

* tests: properly define group ids

* reused old group query

* reuse old Groupmembers query

* remove duplicate skip

* update comment

* fix uniqueInviteCode

* fix test

* fix lint

* Get invite codes

* Show invitation data in registration

* Add invitation list to menu (WIP)

* Add mutations, add CreateInvitation, some fixes

* Improve style, fix long comments

* Lock scrolling when popover is open, but prevent layout change

* small fixes

* instant updates

* Introduce config for link limit; add texts, layout changes

* Validate comment length

* Improve layout

* Add message to copied link

* Add invite link section to group settings

* Handle hidden groups

* Add menu entry for group invite links

* Fix locale

* hotfix invite codes

* Add copy messages

* More styling (WIP)

* Design update

* Don't forget user state

* Localize placeholder

* Add locale

* Instant updates for group invites

* fix registration with invite code

* Fix text overflow

* Fix instant updates

* Overhaul styles, add locales, add heading

* Add test and snapshot for CreateInvitation

* Improve accessability; add invitation test

* Add tests for InvitationList

* Fix locales

* Round plus button

* Fix tests

* Fix tests

* fix locales

* fix linting

* Don't show name of hidden group in invite message

* Add more tests

* Update webapp/locales/de.json

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>

* Update webapp/locales/de.json

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-10 08:25:03 +00:00
Moriz Wahl
fcd1776f21
fix(backend): category seed (#8536)
* seed categories with given id
2025-05-10 09:59:50 +02:00
Moriz Wahl
ba9da00a7f
correct copy path in dockerfile (#8519) 2025-05-10 07:08:39 +02:00
Max
33274e5b9a
feat(webapp): user teaser popover (#8450)
* calculate distance between current user and queried user

* fix query for unset location

* use database to calculate distance

* rename distance to distance to me, 100% calculation done in DB

* distanceToMe tests

* lint fixes

* remove comments

* Show user teaser popover with badges, Desktop

* Refactor UserTeaser and add mobile popover support

* Avoid click propagation (WIP)

* Prevent event propagation

* Adjust alignment and font sizes

* More spacing for statistics

* Add distance, simplify user link

* Refactor location info into own component

* Add tests for UserTeaserPopup

* Refactor and test LocationInfo

* Query distanceToMe, rename distance to distanceToMe

* Update test

* Improve tests for UserTeaser, WIP

* Fix tests

* DistanceToMe on User instead of Location

* Revert "DistanceToMe on User instead of Location"

This reverts commit 96c9db00a44cd120e47bfe9534d3e066a194744c.

* Fix notifications

* Refactor UserTeaser and fix location info

* Fix group member crash

* Show 0 distance

* Fit in popover on small screens

* Allow access to profile on desktop

* Revert backend changes

* Load user teaser popover data only when needed

* Fix type mismatch

* Refactor for clarity and accessibility

* Litte refactorings and improvements

* Fix popover test

* Adapt and fix tests

* Fix tests and bugs

* Add placeholder

* cypress: adapt user teaser locator to changes

* Remove delays and scrolling

* Disable popovers in notification list and fix layout

* Remove flickering

* Make overlay catch all pointer events on touch devices

* Re-add attribute for E2E test

* Fix test, return to mouseover

* fix snapshot

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
Co-authored-by: mahula <lenzmath@posteo.de>
2025-05-05 23:54:13 +00:00
Wolfgang Huß
a31274c793
refactor(webapp): refactor branding of post ribbons and chat etc. (#8395)
* Refactor branding of post ribbons

* Refactor chat to be more brandable

* Refine avatar menu logout item to have danger color

* Change login menu item color to '$text-color-link'
2025-04-17 17:48:59 +02: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
elweyn
2706fbfaf4 Import svg from Nitro-Styleguide. 2023-07-26 12:58:19 +02:00
elweyn
fa9b839081 Remove client customizing. 2023-07-20 16:56:33 +02:00
elweyn
69394d800b Change default ocelot badge color to text-color-inverted. 2023-07-20 16:53:10 +02:00
elweyn
39eef13a51 Change the ocelot chat room badge color 2023-07-20 16:45:44 +02:00
Wolfgang Huß
65e5545c9a Test branding 2023-07-20 15:40:21 +02:00
Markus
897794b0ee [feature] changed seen checks for chat component 2023-07-19 11:06:05 +02:00
Markus
fcfd58cedf merged master 2023-07-13 11:05:36 +02:00
Markus
9cca4c9e6f [feature] changed chat style export so rebranding is also working for chat 2023-07-13 11:00:44 +02:00
Wolfgang Huß
0eaa4059b3 Fix icon and dummy count for chat notification button in header menu 2023-07-12 16:07:33 +02:00
Markus
b2976f06eb updated style for chat component 2023-07-12 12:34:12 +02:00
Markus
86bd4bad5b fixed intends for token style file 2023-07-12 09:38:31 +02:00
Markus
13b2968c28 added more base design to chat component & lint 2023-07-10 10:49:48 +02:00
Markus
59828c25d2 [feature] added basic custom styling for chat 2023-07-08 16:29:22 +02:00
elweyn
93a679c17a Add background color definitions
Add background ribbon colors

Co-authored-by: Tirokk <wolle.huss@pjannto.com>
Co-authored-by: entermex <max@infinity.labs.ooo>
2023-06-05 12:57:15 +02:00
entermex
9c98f87e69 refactor(webapp): changed color a bit litter for event-ribbons 2023-06-02 09:49:45 +02:00
entermex
a08d4f48ae refactor(webapp): changed color for event-ribbon.
Co-authored-by: Elweyn <heine.hannes@gmail.com>
2023-06-01 23:42:09 +02:00
e6e972e50e
removed compiled css files 2023-05-25 11:22:56 +02:00
13c7f080f0
removed compiled css files 2023-05-25 11:19:08 +02:00
ogerly
b421202e59 resolve conflict 2023-05-17 09:22:15 +02:00
Markus
02566a6e93 fixed hardcoded z-index of overlay, filter and add-btn 2023-05-02 15:49:26 +02:00
ogerly
e0b93ae796 Merge remote-tracking branch 'origin/fix-category-filter-buttons' into merge-all-events 2023-04-26 09:00:47 +02:00
Moriz Wahl
fa4ecaa3f6 filter by post type 2023-04-25 22:02:44 +02:00
ogerly
76eb8757cb merge event master + changes 2023-04-25 09:17:03 +02:00
Wolfgang Huß
a1fa905f40 Revert "Set Yunite rebranding"
This reverts commit 2635907ac71320b64a33121c412267662d5e9eb9.

# Conflicts:
#	webapp/assets/styles/imports/_branding.scss
2023-03-01 12:47:47 +01:00
Wolfgang Huß
a4a25eb5cf Replace explicit color #6e8b87 in branding by $color-primary 2023-03-01 07:57:07 +01:00
Wolfgang Huß
e719ae23c9 Adjust ds-chips background color on group teaser and group profile 2023-03-01 07:55:50 +01:00
Wolfgang Huß
7278adb09d Set primary and secondary color correctly for Yunite incl. donation bar and toast 2023-02-28 20:51:21 +01:00
Wolfgang Huß
58fd233e70 Make branding color setting possible or better for donation bar and toaster 2023-02-28 20:49:50 +01:00
Wolfgang Huß
2635907ac7 Set Yunite rebranding 2023-02-28 19:42:12 +01:00
Moriz Wahl
60b9d577f0 Merge branch 'master' into merge-5750-in-5818 2023-02-03 22:10:57 +01:00
Moriz Wahl
6e646d5373 add angle up icon 2023-02-03 17:29:16 +01:00
Wolfgang Huß
8ae6eff0e4 Add map button to header menu 2023-01-31 13:06:34 +01:00
Wolfgang Huß
40057a2b0b Fix linting 2023-01-29 16:27:20 +01:00
ogerly
beebcdbee7 Merge branch 'master' into 5344-add-group-members-management 2022-09-23 10:47:08 +02:00
ogerly
858739eaa0 fix review 2022-09-22 18:42:58 +02:00
ogerly
1af5ce9e30 add [200~.ds-footer a {scss token 2022-09-22 18:20:13 +02:00
ogerly
0293fec7e7 step1 refactor rebranding 2022-09-22 16:51:48 +02:00
ogerly
58e48cfe77 rebrand in config for scss and styleguide 2022-09-21 12:09:35 +02:00
ogerly
52070b8c57 change color and scss in branding 2022-09-20 16:03:06 +02:00
ogerly
bfcfb8462e resolve conflict 2022-09-20 10:29:37 +02:00
ogerly
8b62b624ac refactor header menu, add svg logos 2022-09-20 10:19:02 +02:00