Sam Saffron
79b8c08d45
DEV: give categories-separator class to HR after cateogries
...
This allows for better styling of the hamburger menu
2019-11-18 17:31:01 +11:00
Jarek Radosz
5d4b240453
DEV: Provide radix argument to parseInt ( #8281 )
...
* DEV: Provide radix 10 argument to parseInt
* DEV: Provide radix 16 argument to parseInt
* DEV: Remove unnecessary parseInt calls
* Fix year formatting
parseInt was used here to convert decimals to ints
2019-11-12 10:47:42 +01:00
Vinoth Kannan
ba5b78a348
FEATURE: support to mute all categories by default. ( #8295 )
...
Instead of enabling `suppress_from_latest` setting on many categories now we can enable `mute_all_categories_by_default` site setting. Then users should opt-in to categories for them to appear in the latest and categories pages.
2019-11-08 08:28:11 +05:30
Robin Ward
8d34f4bbd9
Revert "Revert Ember.run refactors"
...
This reverts commit fcb1ca52f9 .
2019-10-30 09:48:24 -04:00
Robin Ward
fcb1ca52f9
Revert Ember.run refactors
...
This reverts commit 5ca60fcb6b .
2019-10-29 17:10:47 -04:00
Robin Ward
5ca60fcb6b
REFACTOR: Use imports for Ember.run
2019-10-29 15:31:56 -04:00
Robin Ward
02f6db4e59
FIX: Back button shenanigans when redirecting from index routes
...
This is a problem that has long plagued Discourse. The root issue here
is that we have to implement our own link click handler, because
Discourse allows users to create HTML blobs of content with links, and
when those links are clicked they must be handled by the Ember router.
This always involved a certain amount of use of private Ember APIs which
of course evolved over time.
The API has more or less stabilized in the last two years, however we
have hacks in our URLs to handle a dynamic root path, depending on how
forums have set up their filters and in what order.
This patch adds a special case for the root path so we needn't update
the URL ourselves otherwise, which preserves the back button on index
routes. The update call would otherwise insert an extra history event if
a route redirected on transition, breaking the back button.
2019-06-21 14:42:01 -04:00
Dan Ungureanu
c06b00a54e
FIX: Hide Uncategorized in site menu when disabled. ( #7509 )
2019-05-09 14:08:10 +03:00
Robin Ward
b409dab77f
Rename flags_default_topics to reviewable_default_topics
...
This functionality regressed with the reviewable update. I took the
opporunity to rename it when fixing it for clarity.
2019-05-08 10:07:10 -04:00
Robin Ward
404b35bd04
FEATURE: Category Reviewable by Group
...
Allow a group to review content in a particular category.
2019-04-30 15:23:06 -04:00
Robin Ward
b58867b6e9
FEATURE: New 'Reviewable' model to make reviewable items generic
...
Includes support for flags, reviewable users and queued posts, with REST API
backwards compatibility.
Co-Authored-By: romanrizzi <romanalejandro@gmail.com>
Co-Authored-By: jjaffeux <j.jaffeux@gmail.com>
2019-03-28 12:45:10 -04:00
Kris
87b5003453
UX: Increase width of hamburger menu to 320px
2019-02-21 21:52:21 -05:00
Joffrey JAFFEUX
80d42b4ea2
icons deprecations fixes ( #6920 )
2019-01-22 12:02:02 +01:00
Jeff Wong
d2569f8e77
make linter happy
2018-12-11 09:41:40 -08:00
Jeff Wong
71d8807fec
Full height swipe-able menus ( #6566 )
...
* Feature: Full height swipe enabled menus
support pan events on iphone
2018-12-11 09:15:20 -08:00
Bianca Nenciu
5be41faa8c
UX: Do not show the groups directory if disabled.
...
Staff could still the groups directory before.
2018-08-26 00:21:16 +02:00
Vinoth Kannan
ece3cb73df
Rename humburger_menu_categories_count site setting to header_dropdown_category_count
2018-07-31 09:12:30 +05:30
Vinoth Kannan
c1e62808ed
FIX: Top site categories are displayed in random order
2018-07-31 01:01:03 +05:30
Vinoth Kannan
c54b5824d4
REFACTOR: Prioritize unread categories in hamburger menu
2018-07-30 20:20:10 +05:30
Vinoth Kannan
249b16e8e3
FIX: Hide muted categories from hamburger menu top categories block
2018-07-30 15:37:41 +05:30
Vinoth Kannan
78d91b1daf
UX: Changes in top categories of hamburger menu ( #6200 )
2018-07-30 14:13:00 +05:30
Vinoth Kannan
a9c959e3e2
Make prettier happy
2018-07-27 20:39:44 +05:30
Vinoth Kannan
bc501038cb
FIX: Remove null value from categories list
2018-07-27 20:00:39 +05:30
Vinoth Kannan
5b4e13bfcc
Make prettier happy
2018-07-27 13:20:21 +05:30
Vinoth Kannan
c0f7d95bb8
Include subcategories in hamburger menu top categories
2018-07-27 13:05:18 +05:30
Vinoth Kannan
dac29b5ebc
UX: Display only top categories in hamburger menu ( #6146 )
2018-07-27 12:11:07 +05:30
Joffrey JAFFEUX
03a7d532cf
DEV: introduces prettier for es6 files
2018-06-15 17:03:24 +02:00
Guo Xiang Tan
c720bf32c3
UX: Add proper titles to topic navigation links in hamburger menu.
...
https://meta.discourse.org/t/what-is-the-difference-between-latest-and-new/47809/9?u=tgxworld
2018-05-10 09:29:02 +08:00
Kris
a4b8813a02
FIX: Header nav should be tabbable and have focus state
2018-04-13 12:53:04 -04:00
Guo Xiang Tan
ffb7ec2543
Fix the build.
2018-04-10 09:50:00 +08:00
Guo Xiang Tan
d9d86577ff
FIX: Staff users are not affected by enable_group_directory site setting.
2018-04-10 09:22:01 +08:00
Robin Ward
32be3f98c9
UX: Widget options to disable FAQ and About
2017-11-10 10:54:15 -05:00
Robin Ward
0a69f2bc77
REFACTOR: Remove many Discourse.Category.list() calls
2017-11-01 15:25:35 -04:00
Robin Ward
e9159e49f3
FEATURE: Site Setting to determine whether flags defaults to topics
2017-10-20 12:37:20 -04:00
Robin Ward
cc4a102b26
UX: Allow customization on header dropdown sizes
2017-10-03 15:24:18 -04:00
Robin Ward
c72ceb1f2d
An option to not display categories in the hamburger
...
This is mostly useful if your site has very few categories.
2017-10-03 14:39:56 -04:00
Sam
8ee2a500bc
FEATURE: add hamburger extensibility
2017-04-18 15:18:03 -04:00
Robin Ward
45a257815a
Convert front end paths from /users/ to /u/
2017-03-30 10:23:24 -04:00
Robin Ward
1cd14ef3aa
FIX: Site Settings weirdness with back button
2017-03-21 16:13:19 -04:00
Robin Ward
3905778fc0
FIX: Put back the back button fix again.
2017-03-06 12:24:27 -05:00
Neil Lalonde
9c7a02192a
FIX: flag action buttons are missing when visiting flags from the hamburger menu
2017-03-04 11:36:58 -05:00
Robin Ward
e863d66e33
FIX: Back button was broken after clicking flags in hamburger
2017-02-28 13:53:48 -05:00
Neil Lalonde
cfedbad0e9
FIX: hamburger shouldn't show subcategories if show_subcategory_list is enabled on the parent
2017-02-27 15:34:07 -05:00
Neil Lalonde
a702330ccd
FEATURE: make show_subcategory_list a per-category setting
2017-02-22 11:42:36 -05:00
Guo Xiang Tan
7d307d6f29
Fix incorrect site setting.
2016-12-29 14:03:47 +08:00
Guo Xiang Tan
8551d821a0
FEATURE: Add site setting to disable group directory.
2016-12-22 14:14:22 +08:00
Guo Xiang Tan
c15bf62b43
FIX: Display empty message when no groups can be shown.
2016-12-20 14:47:39 +08:00
Guo Xiang Tan
4b940dc8bd
FEATURE: Add groups page.
2016-12-14 17:27:47 +08:00
Vinoth Kannan
c90376653b
Update hamburger-menu.js.es6
2016-11-19 23:49:31 +05:30
Robin Ward
70fb2431a1
Migrate this.container to getOwner(this)
2016-11-07 15:21:31 -05:00