Commit Graph

81 Commits

Author SHA1 Message Date
Joffrey JAFFEUX cb49dc6448 FIX: use right caret for collapse state of tag and category drops 2018-03-16 10:52:15 +01:00
Joffrey JAFFEUX 19177c89e8 remove unused const 2018-03-14 16:37:48 +01:00
Joffrey JAFFEUX fd7308e7f6 FIX: share selected tags between tag-chooser in preferences 2018-03-14 16:01:44 +01:00
Joffrey JAFFEUX 3ab58ac881 FEATURE: no category description in category-drop for staff or TL > 0 2018-03-14 11:12:57 +01:00
Arpit Jalan 24338fbbe8 FEATURE: replace PM tags dropdown with a dedicated tags page 2018-03-13 13:06:58 +05:30
Arpit Jalan 0c2be8b775 Merge pull request #5655 from techAPJ/pm-tags-dropdown
FEATURE: filter personal messages by tags
2018-03-08 16:30:38 +05:30
Arpit Jalan c29660c8f1 FEATURE: filter personal messages by tags 2018-03-08 14:42:07 +05:30
Joffrey JAFFEUX 90a1b48503 FIX: correctly allow tag creation if this.site.get("can_create_tag") 2018-03-07 16:06:56 +01:00
Joffrey JAFFEUX 057fa049e6 FIX: display keyboard on mobile when focusing mini-tag-chooser 2018-03-05 10:55:20 +01:00
Joffrey JAFFEUX a15b2fdeca FIX: make it possible to edit tags on topics on mobile 2018-03-04 13:47:25 +01:00
Joffrey JAFFEUX 5e323139ae FIX: makes sure we recompute shouldDisplayCreateRow after request 2018-03-03 11:42:44 +01:00
Neil Lalonde dda248f5df FIX: tag input in composer was not respecting tag group rules 2018-03-02 15:56:24 -05:00
Joffrey JAFFEUX 8ca1b1ab0b FIX: load tag_groups and not tags 2018-02-27 21:10:57 +01:00
Joffrey JAFFEUX ba2f01c0bd FIX: prevents selected value from hiding one item of the list 2018-02-27 18:31:51 +01:00
Joffrey JAFFEUX 410b90dde0 FIX: mini-tag-chooser was not returning a correct list of tags
Should also fix an issue where it validates the creation of an existing tag.
2018-02-27 08:47:44 +01:00
Joffrey JAFFEUX ac701696b3 FEATURE: replaces tag-chooser/tag-group-chooser with select-kit component
These component were also the last using select2. As a consequence select2 is removed from Discourse in this commit.
2018-02-26 11:42:57 +01:00
Joffrey JAFFEUX 2cf40096d1 FIX: makes mini-tag-chooser search more efficient 2018-02-15 15:01:19 +01:00
Joffrey JAFFEUX 3ad0266dd8 FIX: better handling of category badge when displaying sub and parent cat 2018-02-14 16:42:20 +01:00
Joffrey JAFFEUX 23ef5f10e9 FIX: check can_create_tag on create and not on select 2018-02-14 12:20:07 +01:00
Joffrey JAFFEUX e3774c7bed FEATURE: displays category badge in {{category-chooser}} header 2018-02-14 11:49:23 +01:00
Joffrey JAFFEUX 5d00a97ae9 FIX: regression preventing uncategorized badge to be shown 2018-02-14 11:03:33 +01:00
Joffrey JAFFEUX b0eed424f7 FIX: continue discussion when creating new topic from composer-actions 2018-02-14 10:32:46 +01:00
Joffrey JAFFEUX 548db91c76 FIX: displays an error when reaching tags limit 2018-02-14 00:30:09 +01:00
Joffrey JAFFEUX ed114177e7 Mini tag chooser tweaks 2018-02-13 19:41:03 +01:00
Joffrey JAFFEUX 20123271d2 FIX: override backspaceFromFilter only if defined 2018-02-13 17:48:00 +01:00
Joffrey JAFFEUX 6bfc25d895 FEATURE: new {{mini-tag-chooser}} replaces {{tag-chooser}} in composer 2018-02-13 17:23:12 +01:00
Robin Ward 2faa4c2f5f FIX: Don't show personal messages if disabled as a composer action 2018-02-09 16:58:35 -05:00
Joffrey JAFFEUX 8c89f5704d FIX: makes sure we display whisper if we don’t have a post 2018-02-08 14:18:53 +01:00
Joffrey JAFFEUX 190d208631 FEATURE: improves composer-actions toggle menu
* only toggles
* fix a bug with presence
* more tests
* do not duplicate `continuing discussion...` text
* persist state to allow switching between toggles
2018-02-08 11:46:55 +01:00
Joffrey JAFFEUX c48761c628 s/select-box-kit/select-kit
Definitely remove legacy naming.
2018-02-05 18:25:39 +01:00
Joffrey JAFFEUX b4aad15267 FIX: simplify styling of category-name when using category-drop/link 2018-02-02 10:31:20 +01:00
Joffrey JAFFEUX 85db6cd2d7 FIX: makes sure we have a content to filter 2018-02-02 02:13:06 +01:00
Joffrey JAFFEUX ce507b7957 FEATURE: display search on large category-drop and tag-drop 2018-02-01 23:51:29 +01:00
Robin Ward 8ff4104555 Many enhancements to the flagging / suspending interface. 2018-02-01 17:13:02 -05:00
Joffrey JAFFEUX f7df68c9a3 FIX: makes composer-actions toggling whisper instead of replying 2018-02-01 23:07:37 +01:00
Joffrey JAFFEUX 97ddaeeae8 FIX: use css instead of js to fix select-kit-collection max-height 2018-02-01 16:56:07 +01:00
Joffrey JAFFEUX 9923829402 FEATURE: Menu toggle for different reply modes
Allow users to access different reply modes from the composer.

Actions introduced:

- reply_as_new_topic
- reply_as_private_message
- reply_to_topic
- reply_as_whisper/not
2018-02-01 16:42:56 +01:00
Robin Ward 95e0aa059c UX: The delete button is also a dropdown 2018-01-29 19:15:19 -05:00
Joffrey JAFFEUX 56834dbd98 FEATURE: select-kit api to modify collection header 2018-01-26 14:42:24 +01:00
Joffrey JAFFEUX 0eb71cef98 FIX: makes sur allowUncategorized is passed to category-selector 2018-01-26 14:41:30 +01:00
Joffrey JAFFEUX 01f9995956 FEATURE: do not restrict categories filtering to only FULL permission type 2018-01-25 12:03:13 +01:00
Joffrey JAFFEUX b821da80f8 FIX: makes sure allowUncategorized is passed to underlying component 2018-01-25 10:41:10 +01:00
Joffrey JAFFEUX 47bef377f6 FIX: force full width on mobile for cat and tag drops 2018-01-25 09:38:02 +01:00
Joffrey JAFFEUX 3a290ee625 FEATURE: replaces category/tag dropdowns by select-kit 2018-01-24 11:48:20 +01:00
Joffrey JAFFEUX ec2ce8f763 FEATURE: replace period-chooser by a select-kit component 2018-01-15 11:55:16 +01:00
Robin Ward ff2e8c1a51 UX: Don't use a chevron when a dropdown is just an icon 2018-01-12 12:39:42 -05:00
Joffrey JAFFEUX 3a7d2da633 FIX: category badges css refactoring/fixes
This commit fixes multiple css issues with category badges in select-kit and outside of select-kit. It also contains refactoring of components impacted by those changes.
2018-01-11 13:05:29 +01:00
Joffrey JAFFEUX 3ee7b18886 FIX: disable by default limitMatches 2018-01-11 09:54:39 +01:00
Joffrey JAFFEUX 3ec2024466 select-kit refactoring
* improve events naming/handling
* do not explicitly check for true/Fasle
* make sure header is re-computed on toggle
2018-01-11 09:39:51 +01:00
Joffrey JAFFEUX c9921869f1 FIX: adds select-kit api to modify header computed content (#5476)
This api would allow to simply modify header text or icons, eg:

```
      api.modifySelectKit("select-kit")
        .modifyHeaderComputedContent((context, computedContent) => {
          computedContent.title = "Not so evil";
          return computedContent;
        });
```
2018-01-09 10:52:32 +01:00