Commit Graph

253 Commits

Author SHA1 Message Date
benj ec8a785df9
FIX: Ensure assign plugin respects `prioritize_full_name_in_ux` site setting (#632)
* WIP

* more messing around

* undos, notes to self

* WIP notes

* completed logic and added tests for existing  code and implemented code

* fixed failing tests

* fixed failing tests

* added suggested changes

* added suggested changes

* fix merge

* fix linting issues

* possible flaky test

* removed comment

* further user name display changes

* implemented suggested change

* fixed bug in small action post when assigning or unassigning

* fixed breaking tests

* refactored test

---------

Co-authored-by: Juan David Martinez <juan@discourse.org>
2025-03-14 18:08:28 -05:00
Discourse Translator Bot 698b5be85c
Update translations (#628) 2025-01-31 10:48:04 +01:00
Discourse Translator Bot bfbc8d5924
Update translations (#627) 2025-01-21 15:54:50 +01:00
Régis Hanol 8c52b9a31c
FEATURE: new "notification level when assigned" user preference (#626)
This adds a new user preference allowed users to control how the
notification level of the topic they're assigned to changes.

Internal ref - t/141162
2025-01-16 17:59:16 +01:00
Discourse Translator Bot 890d8e1a42
Update translations (#623) 2025-01-03 14:01:50 +01:00
Discourse Translator Bot 5eab6bb404
Update translations (#588) 2024-08-14 08:10:02 +02:00
Discourse Translator Bot 0b7842d3b4
Update translations (#587) 2024-08-13 16:31:04 +02:00
Discourse Translator Bot fe725251c1
Update translations (#584) 2024-07-31 00:13:58 +02:00
Discourse Translator Bot 5b6c9f5479
Update translations (#579) 2024-06-25 15:39:24 +02:00
Discourse Translator Bot 2cf5831d21
Update translations (#577) 2024-05-31 12:26:42 +02:00
Discourse Translator Bot a32af36a98
Update translations (#573) 2024-05-14 16:19:29 +02:00
Gabriel Grubba e3c24ba2f2
FEATURE: Add pending assign reminder threshold setting (#571)
* FEATURE: Add pending assign reminder threshold setting

User can define a threshold for the pending assign reminder.

* DEV: rename REMINDER_THRESHOLD with SiteSetting
2024-05-08 15:17:36 -03:00
Discourse Translator Bot 5a67a3ec35
Update translations (#564) 2024-04-23 16:22:18 +02:00
Discourse Translator Bot 6665dd09b3
Update translations (#563) 2024-04-16 17:37:45 +02:00
Andrei Prigorshnev c1d4633ba4
FEATURE: Make it possible to reassign posts on the topic level assign modal (#562)
This adds a new dropdown to the topic level assign modal. A topic may contain several assignments, the topic itself may be assigned and also some of the replies may be assigned. With this new dropdown, it's possible to edit all the assignments from this modal.

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2024-04-16 14:08:39 +02:00
Discourse Translator Bot f2906e0885
Update translations (#557) 2024-04-02 18:19:42 +02:00
Andrei Prigorshnev 2676522abc
FEATURE: Add buttons for unassigning from posts to the topic level assign menu (#554)
Before, we only had buttons for assigning and unassigning topic on 
the topic level assign menu. This commit adds dynamic buttons for 
unassigning posts to the menu.
2024-03-29 18:10:04 +04:00
Discourse Translator Bot 33c43ca51a
Update translations (#551) 2024-03-05 16:47:42 +01:00
Discourse Translator Bot ae26c05db5
Update translations (#545) 2024-01-30 17:02:58 +01:00
Discourse Translator Bot d3f9af3eb6
Update translations (#544) 2024-01-23 18:29:09 +01:00
Discourse Translator Bot 4ce9ae97f4
Update translations (#531) 2023-11-21 14:36:06 +01:00
Discourse Translator Bot 751483ed2b
Update translations (#526) 2023-11-14 14:30:06 +01:00
Martin Brennan bf6df7ccd9
DEV: Change settings root from plugins: to discourse_assign (#523)
This is so the plugins settings are better categorized in the site settings UI.
2023-11-13 10:24:09 +10:00
Loïc Guitaut 80604e9012 FIX: Display assignments in user menu properly
Currently, we display a mix of topics and notifications in the user menu
assignments tab. This has a number of issues like having to maintain
hard to understand code instead of simply relying on the notifications
system we have, we can’t display more than one assignment per topic and
it’s not clear if an assignment is for a topic or a post nor if it’s a
group assignment or an individual one.

This patch addresses those issues by relying on the notifications system
we’re using for most of the other user menu tabs instead of a custom
implementation. This led to some heavy refactoring but it was
worthwhile as things are a bit more normalized and easier to reason
about. Instead of serializing topics with different attributes to access
various assignments, we now simply return a notification for each
existing assignment.

The UI changed a bit: tooltips are now explaining if the assignment is
for a topic or a post and if it’s for an individual or a group. Icons
are also properly set (so no more individual icon for group assignments)
and the assigned group name is displayed.

The background jobs signatures changed a bit (`assignment_id` is now
needed for the unassign job) so when deploying this patch, it’s expected
to have some jobs failing. That’s why a post-migration has been written
to handle the creation of missing notifications and the deletion of
extra notifications too.
2023-11-08 15:26:57 +01:00
Discourse Translator Bot 2185513d96
Update translations (#514) 2023-10-11 11:17:57 +02:00
Krzysztof Kotlarek 0c01e8fdfd
FIX: granular webhooks (#498)
After those core changes we need additional translations

https://github.com/discourse/discourse/pull/23070
2023-10-09 03:26:40 +00:00
Discourse Translator Bot d28c06a973
Update translations (#505) 2023-08-29 15:50:21 +02:00
Renato Atilio 4ff42c19a2
FIX: move comment out of the translation value (#503) 2023-08-24 16:47:13 -03:00
Discourse Translator Bot 5551ab4d2f
Update translations (#502) 2023-08-23 09:29:04 +02:00
Discourse Translator Bot 0cbf10b805
Update translations (#500) 2023-08-15 21:24:43 +02:00
Discourse Translator Bot a0bd07115e
Update translations (#497) 2023-08-08 15:42:18 +02:00
David Taylor 3ca56e82d7
DEV: Fix Zeitwerk reloading error (#479)
Using `.append` can lead to a 'two routes with the same name' error
2023-06-16 11:32:50 +01:00
Discourse Translator Bot be4a50cf8d
Update translations (#472) 2023-05-23 21:23:18 +02:00
Vinoth Kannan dcaadb75dc
FEATURE: invite user/group to PM if not a participant already. (#471)
When a group or user is assigned to a personal message, if they are not already a participant, invite them to the PM before assignment.
2023-05-22 14:48:08 +05:30
Bianca Nenciu 858636cf72
DEV: Update plugin to match latest guidelines (#450)
This commit updates the plugin to follow the latest guidelines, as
shown in discourse-plugin-skeleton, removing the explicit require calls
and using config/routes.rb for defining all routes.
2023-03-23 11:12:04 +02:00
Discourse Translator Bot 2e5598e818
Update translations (#454) 2023-03-21 14:12:20 -04:00
Kris 9bbd1e8321
UX: clearer assign messages on first post (#452) 2023-03-14 10:19:39 -04:00
Penar Musaraj 99e5bb48c9
Revert "DEV: Update plugin to match latest guidelines (#448)" (#449)
This reverts commit 8548df4138.
I suspect this is causing smoke tests to fail. Reverting to confirm.
2023-03-08 14:53:50 -05:00
Bianca Nenciu 8548df4138
DEV: Update plugin to match latest guidelines (#448)
This commit updates the plugin to follow the latest guidelines, as
shown in discourse-plugin-skeleton, removing the explicit require calls
and using config/routes.rb for defining all routes.
2023-03-08 15:15:12 +02:00
Discourse Translator Bot aec66333f4
Update translations (#447) 2023-02-21 17:11:14 +01:00
Discourse Translator Bot c95c520a6e
Update translations (#443) 2023-02-15 10:50:18 +01:00
Discourse Translator Bot 7e7da1a876
Update translations (#436) 2023-01-24 16:30:42 +01:00
Bianca Nenciu 02b9d9423e
UX: Add suggestions label to assign modal (#429) 2023-01-18 17:43:23 +02:00
Discourse Translator Bot a20eed02f3
Update translations (#431) 2023-01-18 11:42:05 +01:00
Discourse Translator Bot 4b430ae36e
Update translations (#423) 2023-01-10 20:53:45 +01:00
Gerhard Schlager 4777d0179c
UX: Rephrase notification message (#417)
* UX: Rephrase notification message

* Fix specs
2023-01-03 21:25:13 +01:00
Discourse Translator Bot 5d7c4ed8f7
Update translations (#416) 2023-01-03 14:45:59 +01:00
Discourse Translator Bot fd68f4266a
Update translations (#415) 2022-12-30 17:49:39 +01:00
Discourse Translator Bot 9cf451647f
Update translations (#410) 2022-12-28 13:31:58 +01:00
Bianca Nenciu a4ce90e855
UX: Improve assign modal design (#403)
Implements a new design that improves the user experience:

- add a clear cancel button
- add an indication the note is optional
- change the plus icon to a search icon
- show an error when the user tries to assign without choosing an assignee
- move suggestions to default search results
- focus search input when modal is displayed
2022-12-21 14:49:24 +02:00