Commit Graph

91 Commits

Author SHA1 Message Date
Ahmed Gagan cb9ca82644
FIX: Remember scroll position in long assigned lists 2020-08-05 13:18:09 +01:00
Ahmed Gagan 96c3d9d12e
UX: Scroll to top of assigned list when switching users 2020-08-04 16:26:10 +01:00
Ahmed Gagan 6dbf3e2bcb
FEATURE: Allow sorting assigned topic lists 2020-08-04 15:48:33 +01:00
Ahmed Gagan 301be24c13
UX: Rename group tab from Assignments to Assigned (#88) 2020-07-27 12:26:12 +01:00
Kris 26682ccec4
UX: Improving styling so names/usernames fit better (#86) 2020-07-23 13:13:55 +01:00
Ahmed Gagan cd3e5763d1
UX: Hide group tab when there are no assignments, add everyone count (#83) 2020-07-21 16:26:40 +01:00
Ahmed Gagan 816f3c0e97
FEATURE: Per-member counts in group assignment summary (#80) 2020-07-21 12:55:34 +01:00
Ahmed Gagan bc26f099fa
FIX: Group assignments dropdown on mobile (#76) 2020-07-14 11:55:07 +01:00
Ahmed Gagan ae83f70e21
FEATURE: Assignments summary tab for groups (#70) 2020-07-10 09:45:18 +01:00
Robin Ward f5e53f8d22 FIX: Linting 2020-07-07 11:36:45 -04:00
Robin Ward a991684943 FIX: Add `getURL` back in
I think the failure was unrelated
2020-07-07 11:26:23 -04:00
Sam Saffron c49a1288b2
Revert "Import getURL to fix deprecation warnings (#72)"
This reverts commit e3a6a64193.

This sadly broke our build
2020-07-07 11:43:15 +10:00
Jarek Radosz 1a083e8b88
DEV: Fix the `getURL` deprecation warning (#69) 2020-07-06 17:01:44 +02:00
Mark VanLandingham e3a6a64193
Import getURL to fix deprecation warnings (#72) 2020-07-06 09:27:01 -05:00
jjaffeux 1761f749e1 FIX: doesn't need to be dependant on isPrivateMessage 2020-05-20 15:02:58 +02:00
jjaffeux be6dcfa38d FIX: removes PM check 2020-05-20 14:54:30 +02:00
jjaffeux 705b30c093 UX: always display assign button in dropdown on mobile 2020-05-20 14:07:37 +02:00
jjaffeux cddc0a2eb5 UX: displays avatar instead of icon on desktop 2020-05-19 10:51:20 +02:00
jjaffeux 3df853f5fb FIX: uses same style for mobile PMs than desktop 2020-05-13 11:01:36 +02:00
jjaffeux 8b7f89823d UX: improves assignee display on button and dropdown
- Changes the title attribute to display the name of the assignee
- Displays the assignee’s username in the row when  on mobile view
- Tweaks positioning to attempt good alignment
- Slightly increases icon size to have visually the same size than other topic footer buttons icons
2020-05-12 15:49:13 +02:00
jjaffeux c271178f73 UX: keeps showing icon for more consistency 2020-05-12 09:30:44 +02:00
Joffrey JAFFEUX af11fdca47
FEATURE: displays assignee avatar in button and dropdown (#66) 2020-05-11 19:02:22 +02:00
Justin DiRose 71fe8a54c0
FEATURE: Add 'g a' as keyboard shortcut to assigned list (#64) 2020-04-23 13:03:45 -05:00
Martin Brennan e7d5c88c8b
FEATURE: Add assigned to user to bookmark serializers (#62)
Add assigned to user to bookmark serializers, and also add to JS bookmark model for the route to assigned user.
2020-03-12 15:21:48 +10:00
Penar Musaraj 3675a5e273
DEV: use site settings from container (#60)
This is a bit more robust, site settings are not always injected (for example in raw handlebars templates).
2020-02-25 17:06:54 -05:00
Penar Musaraj 11794fd00a DEV: Find/replace deprecated decorators 2020-02-19 11:53:36 -05:00
jjaffeux b302d7566b FIX: prevents crash if assign_allowed_on_groups is empty 2020-01-22 09:50:40 +01:00
jjaffeux 7933a29fa0 FIX: @ember/object is not yet available in stable 2020-01-15 16:06:50 +01:00
romanrizzi c4f878a70c Minor improvements to the assigned-to-filter connector 2019-12-04 16:51:49 -03:00
Joffrey JAFFEUX 2f2cbd1e11 FIX: model might be a POJO and not a post model 2019-12-03 11:51:35 +01:00
Roman Rizzi 3593f9ef67
FEATURE: Filter reviewables by assigned user (#58) 2019-11-25 13:48:09 -03:00
Dan Ungureanu 434605f03f
FIX: Make it compatible with sub-folder installs 2019-11-25 14:53:17 +02:00
Sam Saffron b4d8001dc8 FIX: currentURL is unstable for in route transitions
If you transition just using query params but leave the rest of the route
alone, sometimes router.currentURL will not update.

This in turn causes active not to work correctly.
2019-11-06 16:36:26 +11:00
Sam Saffron 68ff24739b DEV: attempt a more cautious lookup
This was failing the test suite somehow, despite voting using the same
pattern.
2019-11-01 15:26:16 +11:00
Sam Saffron e0de9238a1 FEATURE: new category setting to add "Unassigned" navigation menu
When a category is used exclusively for managing topic assignments it can
be very useful to list all the unassigned topics. This introduces a new
category setting that allows admins to opt for this new navigation item.

It works both on mobile and desktop.

This uses an amended nav item API, to experience this fully you need latest
versions of Discourse.
2019-11-01 14:15:28 +11:00
Sam Saffron bc5469c6c6 Revert "FEATURE: new category setting to add "Unassigned" navigation menu"
This reverts commit 600e1b6544.

The level of hack here is just to high, this destabilizes tests. We need a
proper pattern.
2019-10-30 18:16:12 +11:00
Sam Saffron abc21b7734 Revert "DEV: make pre-initializer a bit safer"
This reverts commit 029a26733a.

This whole experiment is too unstable
2019-10-30 18:13:30 +11:00
Sam Saffron 029a26733a DEV: make pre-initializer a bit safer
Was noticing custom fields could be null is some cases so this ensures we
never reach to it if missing
2019-10-30 17:55:50 +11:00
Sam Saffron ce63380eb5 DEV: Missed running prettier automatically
This is not fixed in my dev environment
2019-10-30 17:07:40 +11:00
Sam Saffron 600e1b6544 FEATURE: new category setting to add "Unassigned" navigation menu
When a category is used exclusively for managing topic assignments it can
be very useful to list all the unassigned topics. This introduces a new
category setting that allows admins to opt for this new navigation item.

It works both on mobile and desktop.

Unfortunately Discourse is lacking internal APIs for cleanly adding NavItems

We will look at improving this soon.
2019-10-30 16:37:13 +11:00
romanrizzi a6df22bb32 DEV: Remove old backward-compatibility code 2019-10-09 15:21:00 -03:00
romanrizzi 3b2f10a450 Remove fallback PM tag 2019-09-11 17:14:48 -03:00
Roman Rizzi dc6041abcb
DEV: Remove dreprecated review queue code (#47) 2019-09-11 09:51:23 -03:00
Kyle Zhao d18c347cd9 FEATURE: Quick access panel for assignments. (#49)
* FEATURE: Quick access panel for assignments.

* Only enable quick access when core is compatiable.

This ensures that the plugin won't break Discourse instances without the
latest `QuickAccessPanel` feature.
2019-09-09 16:12:14 +10:00
romanrizzi 2d78151481 FIX: Use can_assign instead of staff to show the assign modal correctly 2019-08-04 18:30:28 -03:00
David Taylor 9c72a2f5ca UX: Add "Assigned" to the page title for the assigned topic list 2019-08-02 15:51:14 +01:00
romanrizzi 8114684ed8 Initialize allowedGroups inside the constructor 2019-07-24 12:17:42 -03:00
romanrizzi 8792cf51bd DEV: Assign allowed groups are sent alongside suggestions. After the migration happens, we'll need to still have access to the allowed group names so we can search users. 2019-07-19 14:49:45 -03:00
Joffrey JAFFEUX 49474c94ea
FIX: uses taskActions api and removes old buttons (#44) 2019-07-19 13:32:08 +02:00
Joffrey JAFFEUX 02c6fa6d24
DEV: uses new topic-button API (#43) 2019-07-19 10:20:55 +02:00