Commit Graph

78 Commits

Author SHA1 Message Date
Massedil
7c68c9c0c1 Issue #1308: remove MATCH_DESC, MEMBER_COUNT_ASC and CREATED_AT_ASC options for sorting groups
Remove MATCH_DESC for events for consistency.

Options stays available in backend and GraphQL.
2024-11-07 14:47:49 +01:00
Massedil
67393ba2f0 Issue #1569 : New event times and participants are hidden by default 2024-11-07 14:22:48 +01:00
Massedil
3a3d77b698 Issue #1511: Remove useUserSettings() and always add user settings in useLoggedUser()
The user time zone setting is now available in the event display page
2024-11-07 13:29:10 +01:00
Laurent GAY
ea6d1ba83d #1492: search page correction + refactoring 2024-11-06 17:36:35 +01:00
Laurent GAY
f2d7da7af7 #1492: add distance value in selector + add with filter in search page 2024-11-06 12:58:02 +01:00
Massedil
42c98be036 Issue #1571: Fix null check before use 2024-11-04 22:59:09 +01:00
Massedil
3d7ffbf5ca Issue #1571: Design adjustments for mobile 2024-11-04 22:49:54 +01:00
Massedil
19ba095e07 Issue #1571: Fixes the switches for displaying hours not working. 2024-11-04 22:35:01 +01:00
Massedil
7f43169fae Issue #1571 Hide the time when the user chooses to not display it 2024-11-04 22:23:58 +01:00
Massedil
f236ec3a2d Issue #1571 Refactor to a new date component <event-date-picker> 2024-11-04 20:24:58 +01:00
Massedil
841cc4e0b6 Issue #1571 Replace <o-datetimepicker> by <input type="datetime-local">
Solves the "date is not updated issue" on iOS 17
2024-11-04 17:11:04 +01:00
Massedil
edac95ef4a Issue #1546 Small CSS tweaks for mobile view 2024-11-02 16:17:44 +01:00
Massedil
02687e68bb Issue #1546 Change block order 2024-11-02 16:06:17 +01:00
Massedil
ae02e28129 Issue #1511: Date components no longer change their value when the timezone is updated 2024-11-02 15:32:54 +01:00
Massedil
c0e906023c Issue #1511 : Use the user account timezone setting by default for the timezone of the event 2024-11-01 19:17:05 +01:00
Massedil
b440e129a9 Issue #1511 : Harmonization to use UTC functions for all dates
"The above approach attempts to manipulate the Date object's time zone by shifting the Unix timestamp by some other time zone offset. However, since the Date object only tracks time in UTC, it actually just makes the Date object represent a different point in time. [...] When doing so, any access to non-UTC properties must be avoided. "

See: https://stackoverflow.com/a/15171030
2024-11-01 19:09:38 +01:00
Massedil
3f65781d27 Issue #1511 tzOffset need to use browserTimeZone and not userActualTimezone
Javascript Date() objects are based on "the host environment (user's device)".

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
2024-11-01 19:04:39 +01:00
Massedil
6c189b2d6c Issue #1511 Restore timezone consideration
- tz-offset is not a valid parameter for <o-datetimepicker> so the offset was ignored.
- also remove invalid horizontal-time-picker and first-day-of-week parameters from <o-datetimepicker>
2024-11-01 14:09:02 +01:00
Laurent GAY
8044dbde86 #1492 & #1556 : small corrections about those issues 2024-10-31 10:52:47 +01:00
Massedil
861c445b63 #1546 Harmonization between public and private view + improved CSS 2024-10-30 20:01:13 +01:00
Laurent GAY
65ad3d855b #1492 : add frame to select distance from searching events 2024-10-30 17:29:24 +01:00
Massedil
042b0f097f Fix #1476 by updating the search interface
- Removed "Everything" choice for search, default to "Events"
- Add radio button for search type selection (events, activities, groups)
- Label now have a cursor pointer
- Remove the confusing concept of EVENTS, SHORTEVENTS and LONGEVENTS. There is only EVENTS and LONGEVENTS.
2024-10-28 19:41:30 +01:00
Massedil
ce2d4f44cb #1572 Display when results are loading 2024-10-25 17:23:01 +02:00
Massedil
057f0a3744 #1545 Remove SearchTargets.GLOBAL from the front-end 2024-10-25 16:43:37 +02:00
Massedil
6ff3525764 #1308 Fix group sorting and add new criteria (creation date, last event activity) 2024-10-24 19:09:28 +02:00
Laurent GAY
9403a9d60a correction about issue #1556 : Fix location on homepage and location clearing 2024-10-23 16:13:17 +02:00
Massedil
d1ce24cb69 #1511 format <start-time-icon> with the timezone and the formatTimeString() function already used for that in Mobilizon 2024-10-14 16:18:25 +02:00
Massedil
3401a7dd85 The validation button area no longer causes the event page to scroll in mobile view 2024-10-11 17:53:23 +02:00
Massedil
4d9d6b02b6 The status choice area no longer causes the event page to scroll in mobile view 2024-10-11 17:53:23 +02:00
Massedil
78b7fae91b Move time display settings near the related datetimepicker 2024-10-07 13:06:32 +02:00
setop
b48ab8201f feat(front): change horizontal scroll to grid view. closes #1456 2024-09-09 23:02:49 +02:00
setop
18c78b81cb feat(front): remove popular groups and online events from homepage. closes #1527 2024-09-09 16:21:17 +02:00
setop
79bd6a5d21 fix #1469 and # 1475 2024-07-08 21:44:22 +00:00
setop
e41ecd377f fix(frontend): my events page, handle start date correctly 2024-06-26 10:32:57 +00:00
setop
cde54249a9 Merge branch '1307-post-content-is-lost-when-editing' into 'main'
post data are correctly restored when editing

See merge request framasoft/mobilizon!1563
2024-06-26 09:57:06 +00:00
Massedil
66280a07e6 post data are correctly restored when editing 2024-06-17 18:12:18 +02:00
setop
a70bad568b fix(front): don't load leaflet in the background 2024-06-16 23:37:27 +02:00
setop
7030d56864 all developments of milestone 1 2024-04-10 12:36:21 +00:00
Thomas Citharel
3f73b2f856 refactor(front): cleanup unused lines
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 15:24:53 +01:00
Thomas Citharel
98230a56bb fix(front): use functions to generate classnames dynamically
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 15:00:45 +01:00
Thomas Citharel
9d99684402 feat: allow to filter events by local-only
In addition to internal (self + federated) and global (global external search engine), introduce the
self possibility

Closes #1322

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 13:51:59 +01:00
Thomas Citharel
cba2075431 fix(front): correctly show error message when a tag is too short
Closes #1382

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Thomas Citharel
6a482b0d97 fix(front): various cleanups
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Thomas Citharel
34c0dd6498 fix(front): only update identity username from name if it's a new identity
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Thomas Citharel
c9a1c35aa7 fix(announcements): make sure only valid announcements are shown to the user
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:20 +01:00
Thomas Citharel
48f57ec1cf fix(front): reset page to lower or page 1 if we didn't found results in instances view
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:19 +01:00
Thomas Citharel
2b5439b1d0 fix(front): reset instances list to page 1 if filter or follow status changes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:18 +01:00
Jonathan Reinbrecht
137a8ed69c remove unneeded import 2024-01-19 15:11:40 +01:00
Jonathan Reinbrecht
9670b77bc3 [IMP] move filtering of past events in related events section to backend 2024-01-19 13:59:01 +01:00
Thomas Citharel
57d0372ce8 fix(front): fix reporting group
Item was hidden unless anonymous reporting was enabled

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-01-04 14:02:13 +01:00