Commit Graph

131 Commits

Author SHA1 Message Date
Massedil
66f3956d14 refactor: rename externalUrls to externalLinks 2025-09-12 21:46:48 +02:00
Massedil
48ae930b64 Show only enabled links in the navbar menu 2025-09-12 21:46:48 +02:00
Massedil
fd3e3010fc Improve the navbar menu
- The center `mobile-menu-2` can now contain an unlimited number of elements
- Components remain fixed at the top of the screen on small displays when the menu is expanded
- Menu items are always directly to the right of the logo (even when logged out)

Solves #1604
2025-09-12 21:46:48 +02:00
Massedil
960b2ca4f7 feat(front): add external links in the NavBar menu
Related to #1764
2025-09-12 21:36:58 +02:00
Laurent GAY
357a842180 Correct search by location: bad radus distance sended (Issue #1821) 2025-08-05 18:26:02 +02:00
Laurent GAY
40339a8f5b replace joinmobilizon.org by mobilizon.org (#1702) 2025-08-01 18:15:14 +02:00
Laurent GAY
aeeb52aced event icon: text contrast in light mode and add year in footer (#1822 & #1823) 2025-08-01 18:15:14 +02:00
Laurent GAY
3432645e74 correct front-end lint 2025-07-01 17:42:40 +02:00
Massedil
6020ad26af fix: Better inform the user that a profile is required
Solves #1806
2025-06-28 19:55:31 +02:00
Massedil
992d00f067 fix(login): remove the redirect to CREATE_IDENTITY in Navbar
This redirect is triggered when identities changes during the login process and interrupt it. Identity redirect is already checked inside the login process.

Related to #1806
2025-06-28 19:55:31 +02:00
Laurent GAY
7f849d116b correct screen "participation without account" and adapt test - issue 1776 2025-06-27 19:19:12 +02:00
Massedil
cf932a378f fix: Hide the number of participant in GroupView
Fixes #1747
2025-06-27 19:12:39 +02:00
Laurent GAY
01bf398056 correct focus order for nav header - issue #1782 2025-06-26 11:52:44 +02:00
Laurent GAY
c67fdae892 correct aria-controls to remove - issue #1783 2025-06-26 11:36:04 +02:00
Laurent GAY
ef1adecc12 correct assessible name for link - issue #1780 2025-06-26 11:16:47 +02:00
Massedil
7ceb631518 fix: significantly reduce unnecessary GraphQL HTTP calls for config information
Also stops calling the heavy ABOUT GraphQL query on HomeView, which does not require the longDescription field.

Fixes #1598
2025-06-20 23:58:41 +02:00
Massedil
3447bdc864 fix: fetch discussion and ressources info when accepting a group invitation
Also ensure that the actor is included in PERSON_STATUS_GROUP, to stay consistent with LOGGED_USER_MEMBERSHIPS as used in MyGroups.vue.

The accept-invitation and refuse-invitation events needed to be emitted before refetching PERSON_STATUS_GROUP, so they can be caught by GroupView.vue before <InvitationsList> is destroyed due to the v-if becoming false.

Fixes #1800
2025-06-20 18:36:28 +02:00
Massedil
c87f884d0a fix: interface is well updated after rejecting and accepting invitation in /groups/me page
InvitationList.vue now emit accept-invitation and reject-invitation as expected by MyGroups.vue

MyGroups.vue refetch data after receiving the events.

Fixes #1797
2025-06-19 18:35:39 +02:00
Massedil
a0d56b5083 fix: Precise the profile actor name linked to the invitation
Permit to know which profile to use when your got the error :
"You can't accept this invitation with this profile"

Solves #1795
2025-06-19 17:02:53 +02:00
Massedil
bd43815fbf fix: subscribing to an event with a different profile correctly updates the UI
Fixes: #1789
2025-06-18 19:30:27 +02:00
Laurent GAY
add4291e6f correct contrast (in light & dark mode) for DateCalendarIcon - Issue #1781 2025-06-18 15:20:47 +02:00
Laurent GAY
533ecbdbba correct and complete unit tests in Front-End 2025-06-11 18:49:57 +02:00
Massedil
2fa54e8282 fix: components not updating correctly when changing language
The issue was caused by incorrect handling of the `i18n.global.locale` value in the Composition API.

When using `createI18n` with `legacy: false`, `i18n.global.locale` is a reactive ref.
Assigning directly with `i18n.global.locale = lang;` breaks reactivity.

The correct usage is : `i18n.global.locale.value = lang;`.

However, this assignment was unnecessary because the value is already updated automatically when the language changes.

All scripts using `const { locale } = useI18n({ useScope: "global" });` are updated to use `locale.value` instead of just `locale`, to ensure correct reactive behavior.

Fixes: #1597, #1772, and possibly other related issues.
2025-06-10 22:45:53 +02:00
Massedil
8bb6b0b97c refactor: Remove the registerPerson GraphQL query
- The first profile is now created after the user email validation
- NavBar is correctly updated when a user is connected but without any profile
- Always fetch identities from the server at login (no cache)
- NoIdentitiesException is thrown again
- Refactor EditIdentity to create the first profile
- Translations updated
- Tests updated

Fixes #1762
2025-05-27 11:18:21 +02:00
Massedil
56301681f7 Workaround to fetch updated group info for the organiser field in the create event form
Solves #1683
2025-02-17 19:14:54 +01:00
Massedil
63b8cf3952 #1683 Ensure personMemberships use already cached values 2025-02-17 19:14:54 +01:00
Laurent GAY
135420a430 #1589: change 'Publish from a group' by 'Publish' for default button 2025-02-17 15:10:20 +01:00
Laurent GAY
cdccfe0b92 #1645: change 'Events' to 'Search' 2025-02-17 15:09:06 +01:00
Massedil
3721faa78e Improves aligment of location components and changes border-color of the input to match the global component color
Solves #1621
2025-02-14 17:18:31 +01:00
Massedil
a36a514747 fix(translation): update French translation
Solves #1671
2025-02-14 16:32:10 +01:00
Massedil
dcffab9b70 Improves aligment of location components
Solves #1621
2025-02-14 14:32:56 +01:00
Massedil
f6056ad92b #1680 Improved display of the publish button 2025-02-14 13:28:27 +01:00
Massedil
c154ff9ba8 #1680 Improved display of the search bar 2025-02-14 13:21:14 +01:00
Massedil
c808708911 Improves the displaying of the search zone in /search page and home page
Solves #1679
2025-02-13 20:01:49 +01:00
Laurent GAY
def786b99e #1637: add search text area in home page 2025-02-12 16:34:27 +01:00
Laurent GAY
676a87e70e #1645 : new link for search in nav bar 2025-02-12 16:03:11 +01:00
Laurent GAY
7d95392f2d #1636: add number of elements for each buttons 2025-02-12 16:01:59 +01:00
Laurent GAY
6332a9e2ee #1589 : add quick button in home page to publish 2025-02-12 11:13:33 +01:00
Laurent GAY
44230465bd #1616 : change button look, in search page, in function of content type 2025-02-12 11:12:33 +01:00
Massedil
e4cf73b9a7 fix(admin): Restore visibility of the last published event
- Don't expect event.options to be always here in EventCard
- Add event.options in Dashboard graphql query

Solves #1663
2025-02-07 15:34:27 +01:00
setop
d4de94bd44 fix(front): use the right term, closes #1624 2025-01-12 19:58:28 +01:00
Massedil
39b4356ea6 fix(home): ensure event hour displays correctly with timezone
Timezone parameter is now mandatory for <start-time-icon>.

Solves #1618
2024-12-15 21:48:13 +01:00
Laurent Gay
d485c7e113 #1591: display end date of events in group page 2024-12-15 21:48:13 +01:00
Laurent GAY
4489743853 issue #1574 - home page & search page : 3 buttons for search 2024-11-29 23:23:33 +01:00
Massedil
04fe44f72b Issue #1567 : distinction between activities (long_event) and normal events on group page 2024-11-29 19:19:19 +01:00
Massedil
f6c273f6f3 islongEvents -> isLongEvents 2024-11-29 19:19:07 +01:00
Massedil
71c0ce37a9 case harmonization with other fields
- longevents -> long_events (back-end)
- longevents -> longEvents (front-end)
2024-11-29 19:15:35 +01:00
Laurent Gay
844642aff5 #1564 : correct homepage default filtering + add debug log for testing 2024-11-29 19:15:35 +01:00
Laurent GAY
eb60da8ec9 #1574 - home page & search page : 3 buttons for search 2024-11-29 19:15:35 +01:00
Laurent GAY
0911902618 #1574 - homepage : remove text search + add buttons for each content type 2024-11-29 19:15:35 +01:00