435 Commits

Author SHA1 Message Date
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
mahula
30080a44c2
refactor(other): cypress: simplify cucumber preprocessor imports and some linting (#8489)
* cypress: a little linting

* cypress: import badeball preprocessor globally

* cypress: reintroduce accidentally removed semicolons

* cypress: set new e2e support file in config

* Revert "cypress: import badeball preprocessor globally"

This reverts commit 55fde3de2f9c355fe25bf9b49485b6bf64ca01cf.

* Revert "cypress: set new e2e support file in config"

This reverts commit 525cb5cf3766e402dadfd17f48e5b0f6c6ba1f9b.

* cypress: change preprocessor import to correct method in step definition file

* cypress: change preprocessor import to correct method in step definition files
2025-05-04 22:00:36 +02:00
Max
1b07b06ca7
feat(webapp): notification settings frontend (#8320)
Implements detailed settings for email notifications.

Issues
relates 🚀 [Feature] Drei neue Interaktions-Benachrichtigungen #8280
2025-04-09 13:21:38 +00:00
mahula
dfe9205bf6
refactor(other): cleanup cypress configuration (#8345)
* cypress:remove redundant comment from command config

* cypress: move command and factory imports from global to local

* cypress: linting

* cypress: set support file to false in config
2025-04-08 22:20:41 +02:00
mahula
66ee8571a9 adapt cypress config to cypress-cucumber-preprocessor update
- see https://github.com/badeball/cypress-cucumber-preprocessor/releases/tag/v21.0.0
2024-10-29 08:59:45 +01:00
mahula
97355d55b5 add wait fornetwork to be idle in e2e test step 2024-02-07 07:05:10 +01:00
mahula
0dcaee5e8c set viewport size in cypress config 2024-02-06 10:54:22 +01:00
mahula
0983ed023d fix links in markdown files 2023-11-21 17:11:20 +01:00
mahula
48fb4b17d9 fix links in markdown files 2023-11-21 17:04:58 +01:00
mahula
2049ce183f increase cypress default command timeout 2023-10-31 15:35:27 +01:00
mahula
21fd669a60 increase cypress page load timeout 2023-10-31 14:25:12 +01:00
mahula
2c39e8f8a2
Merge branch 'master' into 6376-refactor-cypress-upgrad-all-relevant-packages-to-current-versions 2023-07-17 16:22:14 +02:00
mahula
264546c27c
Merge branch 'master' into cypress-reporting 2023-07-13 14:04:14 +02:00
mahula
c9e4029b2e
Merge branch 'master' into 6375-refactor-cypress-migrate-from-cypress-file-upload-to-selectfile 2023-07-13 13:32:18 +02:00
mahula
f073553621 Revert "make e2e tests failto test html reporting"
This reverts commit 463d2224be3f408755e2f04505ecbd63df315604.
2023-07-12 10:50:58 +02:00
mahula
463d2224be make e2e tests failto test html reporting 2023-07-12 10:00:35 +02:00
mahula
875dfcefa5 reset e2e test workflow 2023-07-12 09:28:51 +02:00
mahula
4c565e92c5 correct spec pattern path in cypress config 2023-07-12 09:05:41 +02:00
mahula
8d3dd01724 add htlm report creation script 2023-07-11 20:40:18 +02:00
mahula
8dd7156195 remove unnecessary code from cypress config 2023-07-11 20:13:27 +02:00
mahula
82999d377d disable waiting for actionability at post creation image dropzone 2023-07-11 15:00:16 +02:00
mahula
5b73dc8e58 fix typo 2023-07-11 12:33:54 +02:00
mahula
bb53ee70da
Merge branch 'master' into 6375-refactor-cypress-migrate-from-cypress-file-upload-to-selectfile 2023-07-11 11:56:40 +02:00
mahula
242619d21b remove unnecessary cypress code from step definitions 2023-07-11 11:19:47 +02:00
mahula
f44dda4127 fix file path 2023-07-11 10:30:20 +02:00
mahula
d42cac30c8 add file content to file selection in test step 2023-07-11 09:59:38 +02:00
mahula
4efb6463a0 adapt feature step to selectFile 2023-07-11 08:42:08 +02:00
mahula
c1a4ba12da adapt feature step to selectFile 2023-07-10 21:58:53 +02:00
mahula
73f6bc6421 remove package cypress-file-upload from e2e testing 2023-07-10 20:41:21 +02:00
mahula
728fd79579 set cypress test retries to 0 2023-07-10 18:42:06 +02:00
1cadf80a43
fixed fullstack tests 2023-06-22 16:48:51 +02:00
23c2be3093
Merge branch 'master' into update-database 2023-06-16 15:02:58 +02:00
5f545f3b8f
fixed cypress 2023-06-13 15:06:04 +02:00
mahula
44ef732825
Merge branch 'master' into 6376-refactor-cypress-upgrad-all-relevant-packages-to-current-versions 2023-06-08 09:34:18 +02:00
mahula
747d7294cd remove async from step definition file 2023-06-07 12:38:31 +02:00
mahula
497e448088 remove async from step definition file 2023-06-07 12:12:18 +02:00
mahula
4b26a0c665 remove async from step definition file 2023-06-07 11:48:52 +02:00
mahula
5dd9c03b4f
Merge branch 'master' into seed-posts-as-articles 2023-06-07 09:32:01 +02:00
mahula
d70030387d fix reporting e2e tests 2023-06-07 08:44:08 +02:00
mahula
38a135d966 fix social media test step 2023-06-07 08:44:07 +02:00
mahula
fd68118543 add visit main page to logout e2e test 2023-06-07 08:44:07 +02:00
520e1e44b4 removed duplicate step defintion 2023-06-07 08:44:07 +02:00
38c3fc1397 fix .env loading 2023-06-07 08:44:07 +02:00
00c615d796 fix first errors 2023-06-07 08:44:07 +02:00
mahula
c8c59886a1 move cypress config to cypress.config.js 2023-06-07 08:44:07 +02:00
mahula
60c30dea28 set cypress specpattern in congif file 2023-06-07 08:41:43 +02:00
mahula
b308b290aa drop usage of environment variables for neo4j in cypress:
- the default values in backend's neo4j.js are used
2023-06-07 08:41:43 +02:00
mahula
74a054e2b4 correct dependencies in step definition files 2023-06-07 08:41:43 +02:00
mahula
d8e72f42bc adapt e2e test paths in parallel execution script 2023-06-07 08:39:18 +02:00
mahula
a73af27870 move support index to e2e.js for cypress v10.x 2023-06-06 17:33:33 +02:00