Commit Graph

239 Commits

Author SHA1 Message Date
Andrei Prigorshnev 6d151af2db
Add strings 2024-04-08 18:00:47 +04: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
Discourse Translator Bot 212a12d709
Update translations (#405) 2022-12-20 15:22:24 +01:00
Kris f19cc66b68
UX: update small actions to use sentence case (#401) 2022-12-14 13:28:07 -05:00
Discourse Translator Bot 889df32cc6
Update translations (#398) 2022-11-29 15:35:41 +01:00
Discourse Translator Bot d8a2e42f79
Update translations (#391) 2022-11-02 15:13:07 +01:00
Discourse Translator Bot 17bcfde257
Update translations (#387) 2022-10-05 15:31:23 +02:00
Discourse Translator Bot 568dd4d4f6
Update translations (#383) 2022-09-27 19:07:37 +02:00
Osama Sayegh 6479e54830
UX: Add title for the assign tab in the user menu (#381)
As of 496f910f03, core automatically adds title to user menu tabs if an i18n string exists at the key `user_menu.tabs.${tab_id}`. This PR adds a string in the right place so core picks it up and uses it for the assign tab.
2022-09-21 17:50:13 +03:00
Discourse Translator Bot ad1b63b1a4
Update translations (#377) 2022-09-13 16:03:59 +02:00
Discourse Translator Bot 030d349aa0
Update translations (#374) 2022-08-30 20:15:40 +02:00
Bianca Nenciu 4046c9fb40
FIX: Find better users for automatic assignment (#370)
There were two problems with the way current automation script for automatic
assignment works:

- it tried to assign users that were not allowed to be assigned because they
were not part of groups that are allowed to use discourse-assign - fixed by
skipping users that are not a part of assign_allowed_on_groups groups

- it assigned new users - fixed by adding a new user that can skip new users
2022-08-25 15:13:33 +03:00
Discourse Translator Bot ba2eedb874
Update translations (#369) 2022-08-23 17:24:17 +02:00
Osama Sayegh e6e222d8bc
FEATURE: Add assigns tab to the experimental user menu (#366)
This commit adds a tab for assignments in the experimental user menu. The assignments tab behaves very similarly to the bookmarks and messages tab in core: it displays the user's unread assign notifications first and then fills the rest of available space in the menu with assignments (same content that the current user menu displays).

More details of the experimental user menu can be found in https://github.com/discourse/discourse/pull/17379.
2022-08-17 11:57:15 +03:00
Discourse Translator Bot 28bc8ab78a
Update translations (#367) 2022-08-16 16:12:28 +02:00
Discourse Translator Bot 030cdc2d9c
Update translations (#364) 2022-08-09 16:58:16 +02:00