Commit Graph

386 Commits

Author SHA1 Message Date
Roman Rizzi b824e19e91
REFACTOR: Use the new format for acceptance tests. (#126) 2020-12-30 17:02:45 -03:00
Roman Rizzi 1663b3ab18
Use the new discourseDebounce function wrapper. (#124)
We recently merged a Discourse core's PR to replace usages of Ember's debounce and discourseDebounce with a new debounce wrapper. The new wrapper works exactly like Ember's debounce but internally calls "run" when called in test mode.

This PR replaces all usages of other debounce functions with the new wrapper and fallbacks to Ember's debounce for backward-compatibility.
2020-12-22 14:34:03 -03:00
Discourse Translator Bot 60ef0c8f41
Update translations (#125) 2020-12-22 14:47:32 +01:00
Arpit Jalan 6da6f525f2
FEATURE: show assigned user on search results (#123)
This commit allows discourse-assign plugin to show assigned users on
search result topic list.
2020-12-17 21:58:35 +05:30
Rafael dos Santos Silva d08497c308
Revert "FEATURE: show assigned user on search results (#121)" (#122)
This reverts commit ed51dcef10.

Plugin triggers a N+1, and the N+1 protection breaks search
everywhere

StandardError (Attempted to access the non preloaded custom field
  'assigned_to_id'. This is disallowed to prevent N+1 queries.)
2020-12-08 13:18:02 -03:00
Arpit Jalan ed51dcef10
FEATURE: show assigned user on search results (#121) 2020-12-08 19:57:19 +05:30
Osama Sayegh 314616dbd5
DEV: Delete Travis config file (#120) 2020-12-01 19:36:59 +03:00
Joe 55ceec2ac3
UX: adds margins to assign tag in composer-popup (#119)
This PR adds some margins to the assign tags in the composer-popup.

Before 

<img src="https://user-images.githubusercontent.com/33972521/100543762-02948f00-328d-11eb-8147-3cc5d53eaf72.png" width=500>

After

<img src="https://user-images.githubusercontent.com/33972521/100543767-09230680-328d-11eb-98e5-278d96623b37.png" width=500>
2020-11-30 01:13:56 +08:00
Discourse Translator Bot 84433768a6
Update translations (#118) 2020-11-24 17:23:47 +01:00
Robin Ward 53c5933b93
FIX: `onChange` needs an action (#117)
Before this fix it was impossible for a user to change their preference
for reminder frequency.
2020-10-30 11:49:56 -04:00
Discourse Translator Bot f542f2e456 Update translations 2020-10-20 15:30:51 +02:00
Discourse CI 900b6ce0f8 DEV: Update CI workflows 2020-10-14 16:27:51 +00:00
Discourse CI 95790c8e4e DEV: Update CI workflows 2020-10-12 08:16:47 +00:00
Discourse CI 379964da2b DEV: Update CI workflows 2020-10-09 19:03:08 +00:00
Discourse CI 944eec60a8 DEV: Update CI workflows 2020-10-09 16:14:59 +00:00
Discourse CI c8a8f6aa51 DEV: Update CI workflows 2020-10-09 15:09:40 +00:00
Discourse Translator Bot 15169812bb Update translations 2020-10-06 15:21:39 +02:00
Joffrey JAFFEUX 977f7592f4
FIX: removes the need for intermediate property and updates code (#114)
Before this commit, changing the value of the reminder frequency on a user notifications page was not working.

This commit also get rid of a few deprecations warning.
2020-09-30 11:10:15 +02:00
Justin DiRose 158cb01ac1
DEV: Add plugin testing workflow 2020-09-25 11:33:31 -05:00
Justin DiRose 977b48fffe
DEV: Add linting workflow 2020-09-25 11:33:10 -05:00
Justin DiRose 5e3f5dc6ac
DEV: Add RubyGems as source 2020-09-25 11:32:55 -05:00
jjaffeux 6c14a0288b DEV: linting 2020-09-22 17:07:15 +02:00
jjaffeux 7e023968b8 DEV: removes superfluous arguments 2020-09-22 16:23:23 +02:00
Discourse Translator Bot f98f5159ce Update translations 2020-09-22 13:01:07 +00:00
David Taylor c4aefd5917
REFACTOR: Use core `default_results` function (#111)
This significantly reduces the amount of logic we need to carry in the discourse-assign plugin. One side effect is that I had to rename the 'q' parameter to 'search', so that it matches core's implementation.
2020-09-16 12:18:14 +01:00
Discourse Translator Bot f6fc09ff13 Update translations 2020-09-16 10:14:51 +00:00
jjaffeux 445e94de4c DEV: this is now fixed in core 2020-09-16 11:08:16 +02:00
Discourse Translator Bot 1b52bd3a63 Update translations 2020-09-15 13:01:10 +00:00
jjaffeux 6a449367f5 FIX: keeps updateInRegex public 2020-09-15 12:23:08 +02:00
jjaffeux 8192b888d5 FIX: missing conditional 2020-09-15 12:18:53 +02:00
jjaffeux 1cc42e5c9a FIX: makes updates of search term work with core update 2020-09-15 12:02:51 +02:00
Vinoth Kannan e645cc303f
DEV: Pin plugin version for Discourse <= 2.5.1 stable branch too
e6a3bc80d7
2020-09-14 12:25:10 +05:30
jjaffeux bf98811165 FIX: ensures autofocus is working 2020-09-11 16:48:00 +02:00
Ahmed Gagan d9826cc608
FIX: Input helper loosing focus and default selecting 'Everyone' tab in 'group-assigned' tab (#112) 2020-09-11 15:06:37 +01:00
Ahmed Gagan 303274eae3
FEATURE: Advanced search filters for assigned topics (#102)
Adds three new search modifiers:

- in:assigned for assigned topics
- in:unassigned for unassigned topics
- assigned:{username} to list topics assigned to a specific user

These modifiers are all made available in the advanced search sidebar
2020-09-11 12:15:50 +01:00
Ahmed Gagan 3e3dc3815b
FEATURE: Assign bulk actions for topics lists (#110)
- Allows unassigning and reassigning topics using bulk actions
- Adds bulk actions UI to the group assigned page
2020-09-11 11:49:25 +01:00
David Taylor e6a3bc80d7
DEV: Pin plugin version for Discourse <= 2.6.0.beta1
Some upcoming changes will make use of new core APIs added in 2.5.0.beta2
2020-09-11 11:42:34 +01:00
David Taylor e78537ac46
DEV: Apply prettier 2020-09-09 18:41:42 +01:00
Ahmed Gagan 43c68f6ffd
FEATURE: Allow filtering topics in the user assigned list (#108) 2020-09-09 18:28:14 +01:00
Discourse Translator Bot 17f59992ab Update translations 2020-09-09 14:57:52 +00:00
Joffrey JAFFEUX 598c717009
DEV: apply coding standards (#109) 2020-09-04 13:24:23 +02:00
Ahmed Gagan cd31a821fc
UX: Only show assigned tab for groups where all users can assign (#103) 2020-08-28 15:18:25 +01:00
Ahmed Gagan 2fad129af5
UX: Ensure equal margin around topic search box (#106) 2020-08-21 14:39:18 +01:00
Ahmed Gagan b88723a3b1
FIX: Correct sorting issues 2020-08-20 12:07:24 +01:00
Discourse Translator Bot 7ff3641986 Update translations 2020-08-18 13:00:42 +00:00
Ahmed Gagan 141ef6a882
FIX: Remember sort and topic-search when switching users (#98) 2020-08-14 12:31:34 +01:00
Ahmed Gagan 98bc01be16
UX: Load topic filter results while typing (#101)
This matches the user sidebar filter behaviour
2020-08-14 11:40:23 +01:00
Ahmed Gagan 99c2c48c08
DEV: Refactors following code review (#100) 2020-08-14 11:37:34 +01:00
David Taylor 83ff23c98e
UX: Ensure bottom of usernames/names are never cut off 2020-08-13 17:00:50 +01:00
David Taylor 18284b9a2e
UX: Update group assigned user dropdown styling for mobile 2020-08-13 01:58:46 +01:00