143 Commits

Author SHA1 Message Date
Max
192bedf95a
fix(webapp): fix property access of possibly undefined objects (#8639)
* Fix property access of possibly undefined objects
2025-06-25 11:58:53 +00:00
4b3a26d517
feat(webapp): shout comments (#8600)
* shout comments

* fix notifications

* Remove whitespace for empty category sections

* Overhaul post actions

* Adjust spacing

* Allow fine-grained size control for icons and circle buttons via css variables; adjust comments layout

* Adjust spacing

* Add test for ActionButton (WIP)

* Rename import

* Remove text and add count bubble

* Use filled icons to indicate active states

* Adjust sizes and orientation

* Remove unused properties, add test

* Fix ObserveButton test

* Fix ShoutButton test

* fix tests

* Adapt styles

* Adjust style for larger numbers

* Remove unused icon

* Fix test structure

* Remove unused class names

---------

Co-authored-by: Maximilian Harz <maxharz@gmail.com>
2025-05-31 00:13:15 +02:00
mahula
51564e5d9b
refactor(webapp): make group form's location select available as a separate component (#6245)
* WIP make location select a separate component

* trying ...

* fix update of geolocale from component

* clean up location select code

* refactor code

* refactor code

* clean up

* linting

* add first unit tests for location select

* reuse location setting component in user settings

* get it working

* fix unit test

* Update webapp/components/Select/LocationSelect.vue

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>

* Update webapp/components/Select/LocationSelect.spec.js

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>

* Update webapp/components/Select/LocationSelect.spec.js

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>

---------

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
Co-authored-by: ogerly <fridolin@tutanota.com>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-29 16:58:36 +00:00
Moriz Wahl
a3178a91b4
refactor(webapp): store for categories (#8551)
* after authentification, query the categories if active and store them

* get categories from store

* use category store to get categories

* get categories from store

* mock store to have access to categories

* to get rid of the active categories config variable in the frontend, the Category query returns an empty array when categories are not active

* remove CATEGORIES_ACTIVE from .env

* should return string to avoid warnings in console

* replace all env calls for categories active by getter from store

* use categoriesActive getter

* ignore order of returned categories

* mixin to get the category infos from the store, to ensure, that the quey has been called

* fix misspelling

---------

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-27 15:03:26 +02:00
mahula
73fac22148 linting according to updated linter 2024-03-10 22:49:46 +01:00
Wolfgang Huß
c90d5b7edb Change menu tool tip 'Show groups' to 'Groups' and rename identifier from 'group.button.tooltip' to 'header.groups.tooltip' 2024-01-24 14:50:52 +01:00
mahula
7480f2c523 replace deprecated jest methods in webapp unit tests 2023-10-31 11:10:38 +01:00
Hannes Heine
b881daef91
Merge branch 'master' into 6592-chat-component-+-button-open-search 2023-07-20 10:11:41 +02:00
Wolfgang Huß
4192612293 Fix linting 2023-07-19 17:51:05 +02:00
Wolfgang Huß
ffe51a0743 Separate 'ds-select' of 'AddGroupMember' into separate component 'SelectUserSearch' 2023-07-19 15:48:05 +02:00
Wolfgang Huß
a114b8a12c Give the chat plus button a function and show hide the user search 2023-07-19 14:07:10 +02:00
Markus
85e68795a3 [fix] all group related pages are now under one route, so link highlighting works 2023-07-19 10:09:04 +02:00
f4efe245a7
properly render avatars in group settings 2023-05-08 13:06:18 +02:00
mahula
60f18c1167 remove comments 2023-04-25 17:26:36 +02:00
mahula
6298194db3 fix updating of group type and action radius changes to the form 2023-04-25 14:11:00 +02:00
mahula
94656a901b linting 2023-04-21 12:34:41 +02:00
mahula
35bd3d2a61 use action radius select in group form 2023-04-21 12:11:06 +02:00
elweyn
6223edcb20 Change style ds-flex-item to class name group-item 2023-03-15 12:02:19 +01:00
elweyn
176050082b Add scoped to style 2023-03-15 11:55:18 +01:00
elweyn
be130f849a Fix linting. 2023-03-15 11:44:13 +01:00
elweyn
19ac18af2a Base is now width 98% after md we switch to 48% 2023-03-15 11:08:47 +01:00
elweyn
e2c82116ae feat(webapp): GroupList shows 2 GroupItem per row 2023-03-15 10:43:35 +01:00
Moriz Wahl
7fcb9a0ff6 use base button 2023-03-07 22:33:14 +01:00
Moriz Wahl
e298a29d8b test remove user from group 2023-03-03 18:38:41 +01:00
Moriz Wahl
c4d7c20b27 remove user from group implemented 2023-03-03 17:55:22 +01:00
Moriz Wahl
4ce5bdd6fa get most components working 2023-02-15 10:23:34 +01:00
Moriz Wahl
b8228db9f3 Merge branch 'master' into map 2023-02-03 17:41:12 +01:00
Wolfgang Huß
6590a8dd9f Move location hint under location select on group and settings form 2023-02-01 11:11:30 +01:00
Wolfgang Huß
5f8368e971 Add hint to labels of user and group position settings 2023-01-31 17:50:03 +01:00
Wolfgang Huß
55f699a130 Add tool tip to group button in header menu 2023-01-31 13:04:55 +01:00
Moriz Wahl
4fbfccb6ff fix(webapp): texts for groups 2023-01-30 14:23:56 +01:00
Moriz Wahl
e0b7d34745 esnure that username is correct 2022-11-23 18:06:50 +01:00
Moriz Wahl
287e5c29ea changes suggested by @tirokk 2022-11-23 17:53:43 +01:00
Moriz Wahl
b7c620c78c clear input field after select 2022-11-23 09:47:13 +01:00
Moriz Wahl
8bf22921cf use variable spacing instead of fix value in css 2022-11-22 12:40:13 +01:00
Moriz Wahl
5adf6b387d do not open modal if selected user is already member of group 2022-11-22 12:29:56 +01:00
Moriz Wahl
0d160c0280 add modal to add group member confrimation 2022-11-22 12:24:02 +01:00
ogerly
fc93017498 fix lint 2022-11-10 10:28:31 +01:00
ogerly
42d14421e0 style dropdwon search menu outside cards 2022-11-10 10:23:51 +01:00
Moriz Wahl
b5ed19a72a feat(webapp): Search Users to Add to Group 2022-11-08 09:03:38 +01:00
Moriz Wahl
55003447e5 check if user is member before adding user to group 2022-11-07 16:58:21 +01:00
Wolfgang Huß
f7cc020feb Fix linting 2022-10-28 13:15:44 +02:00
Wolfgang Huß
48d6bf6bd1 Remove commented 'deleteMember' 2022-10-28 13:14:55 +02:00
Wolfgang Huß
65431c2baf Merge branch '5545-Footer-And-Header-Links-Configurable' of github.com:Ocelot-Social-Community/Ocelot-Social into 5545-Footer-And-Header-Links-Configurable
# Conflicts:
#	webapp/components/Group/GroupMember.vue
2022-10-28 13:13:53 +02:00
Wolfgang Huß
ffb508806b Disable remove group member button, because this doesn't work yet 2022-10-28 12:10:57 +02:00
ogerly
709c9b1073 fix lint 2022-10-28 08:48:29 +02:00
ogerly
0c9fcaa5c6 test coverage to 64% 2022-10-28 08:47:55 +02:00
Wolfgang Huß
932572049b Fix not correct working change of slug in group settings 2022-10-27 12:27:51 +02:00
Wolfgang Huß
a69e155ef9 Fix slug indicator character '@' → '&' on the group teaser 2022-10-26 18:37:01 +02:00
Wolfgang Huß
73b91a5f04 Fix visibility of the role chip on the group teaser 2022-10-26 18:26:13 +02:00