Discourse Translator Bot
f901c5fe97
Update translations ( #262 )
2021-12-07 16:19:31 +01:00
Krzysztof Kotlarek
3eaefb60dd
FIX: dont allow assigning user to topic when post assigned ( #259 )
...
When post is already assigned to user/group then don't allow assigning a topic to that user/group.
Similarly, right now when topic is already assigned we are not allowing to assign a post that that user.
2021-12-06 06:09:04 +01:00
Joffrey JAFFEUX
2930cda049
FIX: correctly position dropdown in modal on desktop ( #260 )
2021-12-03 12:22:29 +01:00
janzenisaac
5910fd5569
FIX: Refactor assign / reassign to combine logic ( #250 )
...
* Refactor and combine assign / reassign logic
2021-12-02 13:12:00 -06:00
Krzysztof Kotlarek
91d0712b04
FIX: improvements for assign to post ( #258 )
...
1. When post is assigned to current user, unassign icon is not hidden
2. Link under names lead to topic (when topic assignment) and to post (when post assignment)
2021-12-01 08:54:13 +11:00
Jordan Vidrine
a9a427150e
FIX: Adjust mobile list for recent topic list changes ( #257 )
2021-11-23 17:47:31 -06:00
Discourse Translator Bot
a5120b7574
Update translations ( #256 )
2021-11-23 17:29:35 +01:00
Martin Brennan
da3fdc1411
DEV: Fix spec ( #255 )
...
Broken by 9f8ee8f137
2021-11-22 16:05:15 +11:00
janzenisaac
09d254b369
FIX: Update aria-labels on mobile / dropdown ( #254 )
...
- Update aria labels on mobile and for re-assign dropdown
- Fixes: https://dev.discourse.org/t/quicker-assign-to-self-when-group-is-assigned/54647/33?u=isaacjanzen
2021-11-19 11:55:14 -06:00
Mark VanLandingham
cb0a65b844
FIX: current_user serializer not throwing error ( #253 )
2021-11-18 13:33:14 -06:00
Jarek Radosz
f56037cdf0
FIX: Selecting a user was clearing search terms ( #252 )
...
Regressed in #211 ?
2021-11-18 18:52:38 +01:00
Natalie Tay
3d2a9d1e87
Show custom topic tracking message when the user 'never' automatically tracks topics and gets assigned ( #249 )
...
* Show more precise topic tracking message when the user never tracks any topics and gets assigned
2021-11-18 09:44:53 +08:00
Jarek Radosz
f88c419a8c
FIX: Broken assigned topics search ( #251 )
...
regressed in #239
2021-11-18 01:58:01 +01:00
Krzysztof Kotlarek
89a61b58f8
FIX: use customOptions property ( #240 )
...
Change after https://github.com/discourse/discourse/pull/14933
2021-11-17 17:12:37 +11:00
Jordan Vidrine
ebe693ae96
REFACTOR: Topic list changes ( #248 )
...
* REFACTOR: Topic list changes
2021-11-16 14:50:31 -06:00
Discourse Translator Bot
b09239ec27
Update translations ( #247 )
2021-11-16 16:17:02 +01:00
Joffrey JAFFEUX
d6a8c75a86
typo ( #246 )
2021-11-16 10:37:30 +01:00
Jeff Wong
eb8f60ef7d
FIX: Pin plugin version when running discourse <= 2.8.0.beta7 ( #245 )
2021-11-15 17:18:25 -08:00
Krzysztof Kotlarek
677d6a9aed
FIX: no error when assigned post is deleted ( #244 )
...
When an assigned post is deleted, we should not error. For now, assignment object is left untouched to not lose information when post is `undeleted`.
We can change that behaviour later if we decide that assignments should be deleted as well.
2021-11-16 09:12:51 +11:00
janzenisaac
6354215341
UX: Have mobile icons match desktop ( #243 )
2021-11-15 11:53:56 -06:00
janzenisaac
54bd6bd2c3
UX: Update reassign dropdown styles ( #242 )
...
- Make drop down options regular font weight
- Add icon to drop down options
2021-11-15 10:47:29 -06:00
janzenisaac
28fbcac11e
FIX: Update Re-assign view permissions ( #241 )
...
Only show mobile re-assign options if user has permission to assign
Fixes: https://meta.discourse.org/t/discourse-assign/58044/155?u=isaacjanzen
2021-11-15 09:58:48 -06:00
Jarek Radosz
ab0c63b1fb
DEV: Fix a computed property override ( #239 )
2021-11-15 00:41:30 +01:00
Jarek Radosz
5fc1dee14d
DEV: `mobile-nav` no longer uses `currentPath` arg ( #238 )
2021-11-15 00:40:19 +01:00
janzenisaac
ec9405df5c
FIX: Return proper aria-labels ( #237 )
...
- Add proper aria label to dropdown
- Make sure footer button aria-labels are returned
fixes : https://dev.discourse.org/t/quicker-assign-to-self-when-group-is-assigned/54647/24?u=isaacjanzen
2021-11-13 14:58:35 -06:00
janzenisaac
98103586b2
FEATURE: Reassign workflow ( #231 )
...
Build a new workflow that adds a dropdown in place of the old assign button with the ability to
Re-assign a new user / group to an assigned topic
Re-assign yourself to an assigned topic
Unassign a user / group from an assigned topic
2021-11-12 10:09:47 -06:00
Martin Brennan
0e4649d507
DEV: Update code for eslint object-shorthand-rule ( #236 )
...
See 4f7aba06c0
2021-11-10 12:04:26 +11:00
Discourse Translator Bot
3a8e45700c
Update translations ( #235 )
2021-11-09 14:54:14 +01:00
Krzysztof Kotlarek
69dac06a82
FIX: correctly update UI when post is assigned/unassigned ( #233 )
...
Update topic title, first post and related post
2021-11-09 08:40:43 +11:00
Krzysztof Kotlarek
2d1f5668a5
FIX: rename action_code_href to action_code_path ( #234 )
...
We should use relative paths, therefore name change is necessary to avoid confusions. Post migration is added to fix existing data.
2021-11-08 14:32:21 +11:00
Krzysztof Kotlarek
22025b35b8
FEATURE: small post action with link to post ( #232 )
...
When a post is assigned/unassigned, we want small action to have a link to the specific post.
2021-11-08 08:25:13 +11:00
Krzysztof Kotlarek
a876821ab1
FIX: missing assignee icon in search ( #230 )
...
Change serializer to include icon path
2021-11-04 08:32:25 +11:00
Krzysztof Kotlarek
fcd4532c76
FIX: move post assignment when move post ( #229 )
...
When an assigned post is moved to the new topic, it becomes topic assignment.
When an assigned post is moved to an existing topic it stays post assignment
2021-11-04 08:22:53 +11:00
Krzysztof Kotlarek
a4b1847eff
FEATURE: display indirect assignments in the first post ( #227 )
...
A link in the first post will allow going to a specific post assigned to a user or group.
2021-11-03 10:35:10 +11:00
Discourse Translator Bot
5447a72fd8
Update translations ( #228 )
2021-11-02 18:48:28 +01:00
Osama Sayegh
0cda263a71
FIX: Pin plugin version when running discourse <= 2.8.0.beta1 ( #226 )
...
c396605d2f
introduces a call to the `TopicView.on_preload` method which was added in discourse 2.8.0.beta2.
This commit pins the plugin to the commit before the one linked above for Discourse instances running version 2.8.0.beta1 or older
2021-11-01 13:39:42 +03:00
Krzysztof Kotlarek
c396605d2f
FEATURE: assign to post ( #224 )
...
Ability to assign an individual post to a user or group
2021-11-01 09:27:13 +11:00
Discourse Translator Bot
54c670536c
Update translations ( #225 )
2021-10-28 11:24:51 +02:00
Discourse Translator Bot
09129d6529
Update translations ( #223 )
2021-10-27 14:24:31 +02:00
Krzysztof Kotlarek
95cd224898
FIX: deprecate TopicAssigner ( #221 )
...
Delegate to assigner and add deprecation note
2021-10-27 15:42:51 +11:00
Joffrey JAFFEUX
7747bb81a0
FIX: more accurate and flexible random assign automation ( #222 )
...
- allows to define the number of days within which a user is considered recently assigned
- more correct by now using post custom fields
2021-10-19 17:31:17 +02:00
Krzysztof Kotlarek
dc8f43fbb1
FEATURE: Assignment target is polymorphic ( #218 )
...
Change `topic_id` to polymorphic approach (In the next step we will allow assigning to individual post)
`topic_id` column is still used for efficient display of assigned users on topic list (to avoid scanning posts)
2021-10-14 09:22:29 +11:00
Bianca Nenciu
247c74ecfd
DEV: Add test when user is suspended ( #219 )
2021-10-12 10:44:59 +03:00
Jarek Radosz
58315230f0
UX: Remove an obsolete css class from an element ( #220 )
...
1. It's not needed in the new advanced search interface
2. It causes problems in some cases
2021-10-12 17:22:02 +11:00
Krzysztof Kotlarek
5124ba0f67
FIX: assignment table migration when SKIP_POST_DEPLOYMENT_MIGRATIONS ( #217 )
...
We need two branches of that migration. One when `assigned_to_type` is missing and another when `assigned_to_type` exists.
https://meta.discourse.org/t/db-migration-version-20210714173022-fails-when-having-skipped-post-deployment-migrations-before/204660
2021-09-29 18:33:45 +10:00
Krzysztof Kotlarek
3a58df219c
FIX: n+1 query on list of private messages assigned ( #216 )
...
When getting a list of private messages assigned to groups/users, we should include :allowed_users to avoid n+1
2021-09-29 09:01:15 +08:00
Penar Musaraj
dd37f66f5d
DEV: Fix dev plugin reloading issue ( #215 )
2021-09-23 12:56:35 -04:00
Penar Musaraj
dd2eae8f9c
DEV: Update bulk select in group topics list ( #214 )
2021-09-23 10:50:36 -04:00
Penar Musaraj
74b9f3d22c
UX: Fix input styling in group assignments page ( #213 )
2021-09-21 14:25:01 -04:00
discoursebot
ac0f8a6ee3
DEV: Update CI workflows ( #210 )
...
* DEV: Update CI workflows
* DEV: Fix prettier errors in tests
Co-authored-by: CvX <CvX@users.noreply.github.com>
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2021-09-20 15:52:26 +02:00