Commit Graph

648 Commits

Author SHA1 Message Date
Discourse Translator Bot 9371bb45e7
Update translations (#291) 2022-02-08 14:12:49 +01:00
Penar Musaraj 87026078b4
A11Y: Use `autocomplete=off` for search inputs (#290) 2022-02-03 13:50:42 +01:00
Discourse Translator Bot 70082fbdb3
Update translations (#289) 2022-02-01 16:14:59 +01:00
jbrw 44dd73e151
FIX: Exclude inactive assigns from assigned_total count (#288)
If `SiteSetting.unassign_on_close` is enabled, an Assignment record can still exist, but be set to inactive, when a Topic is closed.

Inactivement Assignments should be ignored when comparing to the maximum number of assigned topics.
2022-01-31 15:26:58 -05:00
Krzysztof Kotlarek f54f0486b9
FIX: better group assign message (#287)
When topic is assigned to group, then notification should be different to distinguish from direct assignments.
2022-01-30 23:42:44 +01:00
Bianca Nenciu b4d85bd0ae
FIX: Count and show only active assignments (#286)
After a topic is closed, the assignment is not deleted but becomes
inactive. When this happened, it was not removed from the assignments
count or list.
2022-01-28 11:07:42 +02:00
David Taylor ffe95da7ed DEV: Set user attributes earlier in test 2022-01-25 15:02:24 +00:00
discoursebuild 15eb7e02ab DEV: Update CI workflows 2022-01-25 15:02:24 +00:00
Discourse Translator Bot bbcc34487c
Update translations (#285) 2022-01-25 14:26:30 +01:00
Krzysztof Kotlarek 5779385d66
FIX: don't display inactive assignments (#283)
There is an active flag for assignments. It is used to bring assignments back when topic is reopened.

However, when assignment is inactive, it should not be displayed on assigned list or search.
2022-01-19 22:20:21 +01:00
Discourse Translator Bot dfa4f8f752
Update translations (#282) 2022-01-18 14:40:53 +01:00
Krzysztof Kotlarek 594dad6b83
FEATURE: holiday icon for suggestions (#278)
When user is on holiday, mark avatar with calendar icon.
In this case, urgent topics can be assigned to an available team member.
2022-01-17 09:10:08 +11:00
jbrw 7a04569c0a
FIX: Only active assigns should be included in reminders (#281)
* FIX: Only active assigns should be included in reminders

* Update lib/pending_assigns_reminder.rb

Co-authored-by: Robin Ward <robin.ward@gmail.com>
2022-01-14 15:23:29 -05:00
Penar Musaraj a52da2396c
FIX: Use Ember router for small action post links (#280)
Routing was fixed in https://github.com/discourse/discourse/pull/15536
2022-01-11 09:01:28 -05:00
Discourse Translator Bot 268af3049a
Update translations (#279) 2022-01-11 14:21:02 +01:00
Discourse Translator Bot 50ce10e608
Update translations (#277) 2022-01-04 17:39:02 +01:00
Arpit Jalan 5a426e6836
FIX: bulk assign modal was broken (#276)
When trying to bulk assign topics to a user via bulk topics action modal
the modal was broken because the key "model.description" was missing.

This commit adds key "model.description" and adds a new locale for it to
indicate that this action will be performed on multiple topics.
2022-01-04 14:32:37 +05:30
Discourse Translator Bot e384ca8947
Update translations (#275) 2021-12-28 14:13:24 +01:00
communiteq 43f93d9611
Fix: set these fields in condition below only (#273)
Co-authored-by: Richard <richard@communiteq.com>
2021-12-24 11:24:57 +11:00
David Taylor 8184c5fa98
UX: Change "Re-assign" copy to "Reassign" (#274) 2021-12-23 19:15:56 +00:00
discoursebot 920503f5fc
DEV: Update CI workflows (#271)
Co-authored-by: davidtaylorhq <davidtaylorhq@users.noreply.github.com>
2021-12-16 16:16:56 +00:00
Krzysztof Kotlarek a229b2feb1
FIX: always unassign posts when deleted (#270)
Post should be always unassigned when deleted. They are hidden, and it may cause a lot of confusion. For example, when a user wants to assign topic, and it cannot be done because existing assignment to deleted post.
2021-12-16 13:38:06 +01:00
Krzysztof Kotlarek 9ac8b70b14
FIX: refresh topic when topic or post is deleted or recovered (#269)
Additional check was added to only refresh if there were affected assignments
2021-12-15 07:53:12 +01:00
Discourse Translator Bot 99811d493d
Update translations (#268) 2021-12-14 14:53:18 +01:00
Krzysztof Kotlarek 485aef0e69
FIX: specs for search fix (#267)
Yesterday a quick fix was made with this PR https://github.com/discourse/discourse-assign/pull/266

Here are additional specs to ensure that serializer is not erroring
anymore
2021-12-14 11:26:15 +01:00
Roman Rizzi fe2f629975
FEATURE: Delete previous assign reminder PMs (#265) 2021-12-13 12:59:26 -03:00
Krzysztof Kotlarek a9ef43e12f
FIX: indirect assigned to in search (#266)
Search similarly to topic list should return a hash with post_number
2021-12-13 15:47:09 +01:00
Krzysztof Kotlarek 1a1dffc5e8
FEATURE: active flag for assignments (#264)
When topic is closed, we mark assignments as "inactive". Then when it is reopen and setting reassign_on_open is enabled, we bring back previous assignments.

We were already using custom fields for archive message and move to inbox. I changed custom fields solution to use active flag on Assignment model
2021-12-13 08:36:14 +01:00
Andrei Prigorshnev 3a76a465a0
DEV: use the empty-state component (#261) 2021-12-09 00:23:10 +04:00
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