Penar Musaraj
efa9ba4975
UX: Prevent category-drop topic count from wrapping to new line ( #8943 )
2020-02-12 14:34:16 -05:00
Dan Ungureanu
b25d9e96c1
FIX: Show all parent categories on topic page ( #8767 )
2020-01-22 17:39:50 +02:00
Dan Ungureanu
eeefa1177f
FIX: Make category-chooser show all parent categories ( #8706 )
2020-01-19 13:07:54 +02:00
Blake Erickson
f921909595
FIX: Reorder categories not working
...
Ember was throwing this error preventing the reorder categories feature
from working:
```
access theidproperty (of <(unknown):ember1803>). ... the object in question
is a special kind of Ember object (a proxy). Therefore, it is still necessary
to use.get('id')in this case.
```
So I updated it to use the `get` method
https://api.emberjs.com/ember/3.14/functions/@ember%2Fobject/get
Follow up to: 6e5fedb312
2019-12-10 12:36:47 -07:00
Daniel Waterworth
6e5fedb312
DEV: Use category ids in more URLs preferentially
...
This is a followup to 374534f0
2019-12-04 09:47:41 +00:00
Mark VanLandingham
3c5df82590
DEV: Remove Discourse.Site in favor of import ( #8344 )
...
* DEV: Remove Discourse.Site in favor of importing Site
* Ran prettier
2019-11-13 12:13:47 -05:00
Robin Ward
7ac2a55588
REFACTOR: Remove Discourse.Category constants
2019-11-08 13:31:00 -05:00
Robin Ward
640a05c4ee
REFACTOR: Remove Ember.get
2019-11-01 13:50:15 -04:00
Jarek Radosz
d407bcab36
FIX: Correctly escape category description text ( #8107 )
...
* FIX: Correctly escape category description text
This bug has been introduced in db14e10943 .
* Remove unnecessary `html_safe`
`Theme.lookup_field` already returns html-safe strings: 7ad338e3e6/app/models/theme.rb (L237-L242)
* Rename `description` where it's acutally `descriptionText`
2019-10-01 12:04:39 -04:00
Joffrey JAFFEUX
1a3655b787
DEV: s/Em/Ember ( #6874 )
2019-01-11 17:54:23 +01:00
Penar Musaraj
f5c4ab0573
Add category link renderer to plugin API ( #6787 )
...
* Add category link renderer to plugin API
- lets themes/plugins override the category link display
- planning to use this in a "category icons" theme component
* small code review fix
* Code review refactor
2018-12-19 10:26:09 +01:00
Joffrey JAFFEUX
03a7d532cf
DEV: introduces prettier for es6 files
2018-06-15 17:03:24 +02:00
Joffrey JAFFEUX
b4aad15267
FIX: simplify styling of category-name when using category-drop/link
2018-02-02 10:31:20 +01:00
scossar
caa38aaaad
Add support for mixed text directions
2018-01-28 18:33:55 -08: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
Robin Ward
6ecb7cdff4
UX: Support for none style of category badge
2017-08-07 12:49:19 -04:00
Robin Ward
82230a1830
Support forcing badge styles
2017-08-03 14:55:36 -04:00
Robin Ward
e4c2b5e430
REFACTOR: CSS improvements to improve targetting and remove !important
2017-07-28 15:52:57 -04:00
Robin Ward
e87125b63c
FEATURE: Plugins can overwrite and add support for new icons
2017-07-26 13:21:17 -04:00
Robin Ward
be1d74d207
Split out common functions into discourse-common module
2016-09-22 09:52:19 -04:00
Robin Ward
7c0fb41ec0
Deprecation: Use Ember.Helper for later versions of Ember
2016-05-11 14:26:09 -04:00
Guo Xiang Tan
bd86e88b05
UX: Remove category hashtag decoration.
2016-01-21 12:27:52 +08:00
Guo Xiang Tan
c6697e2c14
Prefix decorate category badges with '#'.
2016-01-20 12:48:00 +08:00
Guo Xiang Tan
4a7f560a35
FEATURE: Decorate category hashtag links.
2016-01-19 10:58:15 +08:00
Sam
a591c019d4
correct tests
2015-01-29 17:57:34 +11:00
Sam
6495bca540
bar style fixes
2015-01-29 17:49:14 +11:00
Sam
844467015d
FEATURE: allow simple selection for category badge styles
...
clean up category badge styling
2015-01-29 17:49:14 +11:00
Robin Ward
2ea4c1c9de
FIX: Groups post page was broken.
...
Also added integration tests so we don't miss this breaking in the
future.
2015-01-23 11:13:27 -05:00
Robin Ward
350554e198
UX: Change category badge style to use stripes
2015-01-20 14:56:06 -05:00
Robin Ward
8b51176f2e
FIX: Category badges were missing stripes in some places
2014-12-18 11:03:17 -05:00
Robin Ward
5659b93c71
Many fixes for Ember 1.9.0
2014-12-17 09:31:40 -05:00
Robin Ward
62c9e4228d
Rename {{icon}} helper to {{fa-icon}} for future Ember
...
compatibility.
2014-09-09 17:29:05 -04:00
Robin Ward
8ac955247c
Convert category helpers to ES6.
2014-09-04 11:32:30 -04:00