44 Commits

Author SHA1 Message Date
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
sebastian2357
eef2eb9c56
fix(webapp): logo and top-menu optimization (#8590)
* - added case for tablet

* - optimized HeaderMenu for desktop and mobile
- fixed Logo

* - refixed Logo (missing changes)

---------

Co-authored-by: Sebastian Stein <sebastian@codepassion.de>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-25 17:43:01 +00:00
sebastian2357
ff366a4075
fix(webapp): mobile optimization (#8516)
* - optimized header
- added possibility of extra mobile logo

* - changed behavior of NotificationMenu link get directly open for mobile

* - moved notification links to the top of the menu

* - optimized chat view for mobile

* - added logo branding structure

* - added logo branding structure

* - fixed chat height

* - fixed paddings for internal pages

* Fix linting

* Fix linting

---------

Co-authored-by: Sebastian Stein <sebastian@codepassion.de>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-09 17:04:06 +00:00
Wolfgang Huß
87e5fc6bf8
feat(webapp): implement configurable custom button in header (#8215)
* Implement configurable custom button in header

* Implement default values for 'headerMenu'

---------

Co-authored-by: mahula <lenzmath@posteo.de>
2025-03-01 08:00:41 +01:00
Wolfgang Huß
74989cff54 Move 'if' property from 'div' tag to 'ds-flex-item' tag
- Remove the previously added 'div' tag.
2025-01-05 13:31:29 +01:00
475d4abc06
hide invite button on mobile if disabled
The invite button was displayed even when the functionality was
dsiabled. This was caused by a missing check for the corresponding flag.
2024-12-19 01:13:58 +01:00
Maximilian Harz
0ae4881805 Fix linting 2024-10-29 11:11:48 +01:00
Maximilian Harz
c16ad813aa Adapt to different logo sizes, including fixes for Safari 2024-10-29 11:06:51 +01:00
Wolfgang Huß
0eaa4059b3 Fix icon and dummy count for chat notification button in header menu 2023-07-12 16:07:33 +02:00
Wolfgang Huß
181207a90b Move chat notification button in header to position between language and system notification
- Add this button to mobile as well.
2023-07-12 14:28:04 +02:00
ogerly
c8af90f0a6 add chat base-button in header menu 2023-07-05 15:51:55 +02:00
Alexander Friedland
2c9affaef1
Merge pull request #5958 from Ocelot-Social-Community/5598-Post-Teaser-Width-in-Mobile-View
fix(webapp): post teaser width in mobile view
2023-02-09 16:57:28 +01:00
Moriz Wahl
1d3a35a638 linting 2023-02-09 16:14:35 +01:00
ogerly
55106dbe69 fix post teaser width in mobile view 2023-02-09 16:00:05 +01:00
ogerly
8e8565810c fix lint 2023-02-09 13:39:30 +01:00
ogerly
807e4124ed Merge branch '5955-close-mobile-menu-on-all-links' of https://github.com/Ocelot-Social-Community/Ocelot-Social into 5953-navbar-disappears-when-scrolling-to-top 2023-02-09 13:27:02 +01:00
ogerly
e6f2d14fee the first 50px are excluded from the scrolling hide mechanism 2023-02-09 13:19:37 +01:00
Moriz Wahl
7710fcab95 emit toggle mobile menu view from avatar menu 2023-02-09 13:04:00 +01:00
ogerly
4ae4edf000 close mobile menu on all links 2023-02-09 12:33:49 +01:00
ogerly
df22c7289e add change showFilter by mouseleave on my-filter 2023-02-07 16:40:33 +01:00
ogerly
e8ce152f06 fix test, remove unused code 2023-02-07 14:38:16 +01:00
Moriz Wahl
8bfe486034 linting 2023-02-03 22:37:16 +01:00
Moriz Wahl
60b9d577f0 Merge branch 'master' into merge-5750-in-5818 2023-02-03 22:10:57 +01:00
Moriz Wahl
18749f48d8 only one if instead of two 2023-02-03 20:31:36 +01:00
Alexander Friedland
e8d33aba1b
Update webapp/components/HeaderMenu/HeaderMenu.vue
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2023-02-03 19:21:12 +01:00
ogerly
930d820ae2 add constants filter on headermenu and index 2023-02-03 08:28:33 +01:00
Wolfgang Huß
e9b885d33b Adjust the language switch position on desktop 2023-01-31 17:09:32 +01:00
Wolfgang Huß
8ae6eff0e4 Add map button to header menu 2023-01-31 13:06:34 +01:00
ogerly
5765f4747a fix lint 2023-01-22 11:45:22 +01:00
ogerly
3040f216d3 hide navbar by scroll down, show navbar by scroll up 2023-01-22 11:19:22 +01:00
SvFedoriv
e34ee1a259 Centrelize mobile hamburer menu 2022-11-15 08:52:35 +01:00
ogerly
e7fe6a9d3d Merge remote-tracking branch 'origin/master' into 5540-Refactor-Design-Of-Category-Filter-In-Filter-Menu 2022-10-28 13:46:38 +02:00
Wolfgang Huß
27589a64ba Fix target property in 'HeaderMenu.vue' 2022-10-28 13:08:39 +02:00
Wolfgang Huß
ed48656d8a Revert to have header menu groups button again 2022-10-28 12:48:58 +02:00
Wolfgang Huß
9bf0e26731 Merge branch 'Make-Header-Menu-To-Component' of github.com:Ocelot-Social-Community/Ocelot-Social into 5545-Footer-And-Header-Links-Configurable 2022-10-28 10:13:52 +02:00
Wolfgang Huß
6d3c7f0acb Simplify usage of 'LOGOS.LOGO_HEADER_CLICK.externalLink.target' 2022-10-28 10:12:39 +02:00
Wolfgang Huß
6c45b1f3a1 Merge branch 'Make-Header-Menu-To-Component' of github.com:Ocelot-Social-Community/Ocelot-Social into 5545-Footer-And-Header-Links-Configurable 2022-10-28 09:14:08 +02:00
Wolfgang Huß
ef97b4c388 Fix a merging left over with header logo click and fix functionallity on empty string targets 2022-10-28 09:11:01 +02:00
ogerly
533eef0f37 remove unused code 2022-10-27 15:46:41 +02:00
ogerly
75ff8f5eba fix lint 2022-10-27 15:30:06 +02:00
ogerly
4c4e67bcf7 filter category save and all button in on line 2022-10-27 15:17:27 +02:00
ogerly
1dfdc61220 footer links target dynamic 2022-10-27 08:48:58 +02:00
ogerly
15561cb94f fix lint 2022-10-22 09:36:18 +02:00
ogerly
401f59ae8d add header menu to component, central variabl for screen width 2022-10-22 09:35:27 +02:00