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
Robin Ward
3cb0d27d38
DEV: Upgrade our widget handlebars compiler
...
Now supports subexpressions such as i18n and concat, plus automatic
attaching of widgets similar to ember.
2019-05-02 15:47:57 -04:00
Kris
8e795d82f9
UX: Bump up notification panel width to accommodate larger text
2019-01-24 12:48:48 -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
Kris
b637b57e4f
FIX: Alignment of user dropdown menu icons
2018-06-19 15:38:06 -04:00
Joffrey JAFFEUX
03a7d532cf
DEV: introduces prettier for es6 files
2018-06-15 17:03:24 +02:00
Kris
a4b8813a02
FIX: Header nav should be tabbable and have focus state
2018-04-13 12:53:04 -04:00
Arpit Jalan
ff0376a80b
rename 'enable_private_messages' to 'enable_personal_messages'
2018-02-01 13:25:29 +05:30
Robin Ward
3ed9cbc040
UX: Put the HR in the correct place
2018-01-09 17:48:52 -05:00
Robin Ward
685fc637d5
Improve some user menu code and make the logout button optional
2018-01-08 16:56:56 -05:00
Régis Hanol
8a7cbeef00
UX: hide 'dismiss' in notifications dropdown when there are no unread notifications
2017-11-22 15:56:01 +01:00
Neil Lalonde
3940e95227
better way to show dismiss link based on notifications widget state
2017-11-08 11:20:39 -05:00
Neil Lalonde
7134b11673
better tooltip on the dismiss link
2017-11-08 10:45:41 -05:00
Neil Lalonde
814502f7bb
FEATURE: add a Dismiss link to user menu that dismisses all notifications
2017-11-07 10:41:21 -05:00
Robin Ward
a0dd75ba88
FEATURE: New API to create a custom formatter for displaying usernames
...
This is not exhaustive right now, but a good start and we can add to
it over time.
2017-10-30 13:27:08 -04:00
Robin Ward
cc4a102b26
UX: Allow customization on header dropdown sizes
2017-10-03 15:24:18 -04:00
Robin Ward
9e17fd8907
FIX: Support for menu glyphs that are optional
2017-09-26 09:50:43 -04:00
Robin Ward
5d494cf158
FIX: Broken back button on account URLs
2017-05-16 17:21:52 -04:00
Sam
8c8de1c2d4
FEATURE: addUserMenuGlyph extensibility point
2017-03-01 10:32:01 -05:00
Guo Xiang Tan
6684e4ab87
UX: Don't show more notifications message when there is none.
2016-07-07 17:42:18 +08:00
Jeff Atwood
5b6357ec4b
missed a file somehow?
2016-06-16 15:52:44 -07:00
Jeff Atwood
98d95cd7ee
UX: switch to glyph for exit anon
2016-06-16 15:23:07 -07:00
Robin Ward
514c3976f0
PERF: Migrate header to discourse widgets
2016-04-25 10:48:04 -04:00