Commit Graph

18 Commits

Author SHA1 Message Date
Loïc Guitaut 90313ae82a
DEV: Add system spec to check core features are working fine (#713) 2025-04-09 14:21:34 +02:00
David Taylor b023c4d2f2
DEV: Update spec in preparation for dropping glimmer_topic_list_mode (#714) 2025-04-03 15:50:08 +01:00
Alan Guo Xiang Tan 7674040f4f
DEV: Fix flaky test (#711)
When asserting against the database, we have to consider that
asynchronous nature of system test.
2025-03-28 16:42:09 +08:00
Juan David Martínez Cubillos 3d6b7ae482
DEV: Allow the 'UpcomingEventsCalendar' Component to be used outside of the 'PostEventUpcomingEventsIndexRoute' route (#706)
* DEV: Allow the 'UpcomingEventsCalendar' Component to be used outside of the 'PostEventUpcomingEventsIndexRoute' route

* add system test to upcoming events

* improved addRecurrentEvents function

* fixed flaky test
2025-03-25 10:31:57 -05:00
Arpit Jalan ece387e429
FIX: do not show 'send pm' button to the user who created the event (#690) 2025-02-12 18:31:59 +05:30
Jordan Vidrine 3007975b95
UX: Do not show participants in admin drop down menu for standalone events (#679) 2025-01-14 19:28:06 -06:00
David Taylor 0d13b05695
DEV: Force enable glimmer topic list in specs (#670)
Otherwise it'll fail if some other incompatible plugin is installed at the same time
2024-12-19 17:30:31 +00:00
David Taylor 602db39265
DEV: Update specs for core change (#669)
https://github.com/discourse/discourse/pull/30375
2024-12-19 17:17:41 +00:00
Joffrey JAFFEUX df7e7a9098
FIX: ensures bulk-invite is working properly (#666)
There was two bugs:
- naming of properties were incorrect s/is_private/isPrivate and s/is_public/isPublic
- a previous refactoring has used `=` for setter when it's an `EmberObject` and `set` should be used

This commit also adds a spec and page objects to ensure this modal is working as expected.
2024-12-10 14:57:46 +01:00
Jordan Vidrine 725ae51373
UX: Events UI Edits (#641)
This PR restyles the current events post UI:

Minimize size of invitee avatars
move CTA buttons to bottom
remove invitee header & show more button (show more is in ellipses drop down)
restyle border
restyle month & date size & spacing
increase font size for title
add "0 going" placeholder to prevent jumpiness when invitees are rendered

---------

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2024-12-03 18:34:34 +01:00
Jarek Radosz 026d755c78
DEV: Use `topic-list-header-sortable-column` transformer (#651) 2024-12-02 14:40:53 +01:00
Renato Atilio b2fb2e4efc
FIX: regressions from modernization (#642)
When converting widgets to Glimmer and modernizing the plugin, there were some small leftovers.

status wasn’t tracked, so the UI didn’t update

raw_invitees should be camelCase now

custom_fields should be camelCase, and setting it was not working
2024-11-07 10:56:21 -03:00
Joffrey JAFFEUX ee693e33b0
FIX: correctly render html of event title (#623)
This has been lost during the move to glimmer.

---------

Co-authored-by: David Taylor <david@taylorhq.com>
2024-10-22 23:18:15 +09:00
Joffrey JAFFEUX b4c4e4e0bc
DEV: migrate post event to glimmer (#615)
This commit is making two major changes:

- Move all the post event widgets code to glimmer
- Implement tracked models to ensure reactivity, many paths didn't have real reactivity atm and were mostly working by luck or the fact that widgets re-render a lot
---------

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2024-10-22 12:38:40 +09:00
Sam 647ba1ca7f
FEATURE: allow event editors to control list of users on the event (#614)
Previously event editors could remove people from an event but had no way
of acting on behalf of users in the event and adding them.

That meant that for events to properly show up in agenda and so on a user
must actively click a button.

In some cases (company ran events) the event manager may prefer controlling
attendance.
2024-10-14 08:59:23 +11:00
Joffrey JAFFEUX 499f29a2a0
FIX: shows category calendar on hot/latest (#611)
* FIX: shows category calendar on hot/latest

The previous URL parsing code was not resilient to these paths, we now use the router to recognize these paths and extract the params we need.

* linting

* Update category_calendar_spec.rb
2024-10-10 17:00:14 +11:00
Penar Musaraj 40d4c65efd
DEV: fix flakey post event spec (#596) 2024-08-08 15:44:22 -04:00
Régis Hanol acb0681ff9
FEATURE: closed events (#564)
Adds support for "closed" events instead of just relying on the start & end dates.

An event might now be "expired" when it happened in the past.

An event might now also be "closed", if for whatever reasons, the author decides to "cancel" it.

Context - https://meta.discourse.org/t/when-closing-event-it-moves-it-to-todays-date-time/307292
2024-05-14 10:12:47 +02:00