discourse/app/assets/stylesheets/common/base
Kyle Zhao 9b10a78d82 FEATURE: Quick access panels in user menu (#8073)
* Extract QuickAccessPanel from UserNotifications.

* FEATURE: Quick access panels in user menu.

This feature adds quick access panels for bookmarks and personal
messages. It allows uses to browse recent items directly in the user
menu, without being redirected to the full pages.

* REFACTOR: Use QuickAccessItem for messages.

Reusing `DefaultNotificationItem` feels nice but it actually requires a
lot of extra work that is not needed for a quick access item.

Also, `DefaultNotificationItem` shows an incorrect tooptip ("unread
private message"), and it is not trivial to remove / override that.

* Use a plain JS object instead.

An Ember object was required when `DefaultNotificationItem` was used.

* Prefix instead suffix `_` for private helpers.

* Set to null instead of deleting object keys.

JavaScript engines can optimize object property access based on the
object’s shape. https://mathiasbynens.be/notes/shapes-ics

* Change trivial try/catch to one-liners.

* Return the promise in case needs to be waited on.

* Refactor showAll to a link with href

* Store `emptyStatePlaceholderItemText` in state.

* Store items in Session singleton instead.

We can drop `staleItems` (and `findStaleItems`) altogether. Because
`(old) items === staleItems` when switching back to a quick access
panel.

* Add `limit` parameter to the `user_actions` API.

* Explicitly import Session instead.
2019-09-09 11:03:57 -04:00
..
_topic-list.scss UX: User vertical-align: middle instead of em units 2019-08-29 17:33:35 -03:00
about.scss UX: More consistent table header styles, removing duplicate styles 2019-02-26 21:40:17 -05:00
activation.scss Streamlining some breakpoint mixins 2018-07-12 16:39:16 -04:00
alert.scss UX: Better close button positioning in alerts, some cleanup 2019-04-05 16:21:16 -04:00
bbcode.scss remove built-in support for bbcode size 2016-03-27 09:29:27 -07:00
cat_reorder.scss UX: Mobile editor style fixes (#7878) 2019-07-11 09:57:53 -04:00
category-list.scss UX: Layout fix for category boxes w/ long subcategory names 2019-08-21 20:03:34 -04:00
code_highlighting.scss UX: improve code highlighting diffs for dark themes 2018-12-06 10:54:30 -05:00
colorpicker.scss Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
compose.scss UX: ensures popup-tip shows over dropdowns (#7891) 2019-07-15 08:55:20 +02:00
composer-user-selector.scss UX: Reducing usage of btn-small, simplifying styles 2019-01-11 19:41:09 -05:00
crawler_layout.scss FIX: Crawler footer style needed to be more specific 2019-06-03 11:52:20 -04:00
d-icon.scss tweak icon-library generation 2017-11-23 18:24:26 +01:00
d-popover.scss UX: more compact local-dates preview (#7305) 2019-04-02 14:39:20 +02:00
directory.scss UX: Move total user count 2019-04-19 00:35:50 -04:00
discourse.scss UX: Make input caret color match text color 2019-06-05 14:27:27 -04:00
edit-topic-status-update-modal.scss FIX: safari desktop doesnt support input[time] (#7719) 2019-06-07 15:50:43 +10:00
ember-select.scss UX: Dark theme tweaks for Ember.Select. 2016-04-18 09:36:33 +08:00
emoji.scss FEATURE: updates emoji to latest 12.0 version (#7095) 2019-03-15 16:12:07 +01:00
exception.scss UX: Type system rebuild (#5492) 2018-01-12 17:27:38 -05:00
explain-reviewable.scss FEATURE: Adds a pop up that shows a more detailed score for reviewables (#8035) 2019-09-04 09:56:25 -06:00
faqs.scss FEATURE: list category moderators on the about page (#7916) 2019-07-31 16:46:58 +03:00
group.scss REFACTOR: More consistent user/group page layouts 2019-03-25 14:40:22 -04:00
groups.scss Updating breakpoint mixin value name 2019-07-18 16:33:12 -04:00
header.scss UX: small follow-up to #8047 2019-08-28 16:52:46 +08:00
history.scss UX: rearrange controls in edit modals 2019-07-15 13:44:44 -04:00
lightbox.scss DEV: Remove lightbox CSS rules 2019-07-26 10:57:22 -04:00
login.scss UX: add awaiting-approval class to login modal 2019-04-03 11:30:43 +02:00
magnific-popup.scss Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
menu-panel.scss FEATURE: Quick access panels in user menu (#8073) 2019-09-09 11:03:57 -04:00
modal.scss FEATURE: Add a preview to the poll builder (#7988) 2019-08-13 09:49:40 -04:00
not-found.scss DEV: adds prettier (#5956) 2018-06-08 11:49:31 +02:00
onebox.scss UX: Prevent twitter onebox iframes from being taller than mobie viewport 2019-08-12 11:03:54 -04:00
redirection.scss FIX: show an error page on click tracking error 2018-03-17 00:33:11 +01:00
request_access.scss DEV: adds prettier (#5956) 2018-06-08 11:49:31 +02:00
request-group-membership-form.scss UX: Split up group form into smaller sections. 2018-04-09 15:14:50 +08:00
reviewables.scss FEATURE: Adds a pop up that shows a more detailed score for reviewables (#8035) 2019-09-04 09:56:25 -06:00
rtl.scss FIX: rtl topic progress wrapper position (#7070) 2019-02-25 20:56:52 -05:00
search-menu.scss UX: improves styling of similar topics results in composer (#7839) 2019-07-02 11:26:43 +02:00
search.scss FEATURE: when under extreme load disable search 2019-07-02 11:22:01 +10:00
share_link.scss FIX: brings back [+ New Topic] btn from share-popup post action (#7182) 2019-03-18 07:30:10 +01:00
shared-drafts.scss FEATURE: Shared Drafts 2018-03-20 17:15:26 -04:00
tagging.scss UX: Improve layout of long tag headings on mobile 2019-07-22 10:08:03 -04:00
tooltip.scss FIX: uses appropriate z-index for tooltips (#6674) 2018-11-26 22:47:12 +01:00
topic-admin-menu.scss Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
topic-post.scss FEATURE: Publish read state on group messages. (Originally introduced in #7989) (#8025) 2019-08-27 09:09:00 -03:00
topic.scss FEATURE: Include a user's pending posts in the topic view 2019-04-12 14:25:12 -04:00
upload.scss UX: Fix profile image upload control spacing on mobile 2019-07-18 11:36:24 -04:00
user-badges.scss UX: Mobile editor style fixes (#7878) 2019-07-11 09:57:53 -04:00
user.scss IE11 fix for b73bd7f 2019-07-19 11:46:20 -04:00
username_tagsinput.scss DEV: adds prettier (#5956) 2018-06-08 11:49:31 +02:00