This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/stylesheets/common/base
Osama Sayegh 0df1c4eab2
DEV: Refactor notification/reviewable items rendering in the new user menu (#17792)
Prior to this commit, we had a default Glimmer component that was responsible for handling generic rendering of notifications in the user menu, and many notification types had a custom Glimmer component that inherited from the default component to customize how they were rendered. That implementation was less than ideal because it meant plugins would have to create Glimmer components to customize notification types added by them and that would make the surface area of the API too big.

This commit changes the implementation so there's only one Glimmer component for rendering notifications, and then notification types that need to be customized can create a regular JavaScript class - `renderDirector` in the code - that provides the Glimmer component with the content it should display. We also introduce an API for plugins to register a renderer for a notification type or override an existing one.

Some of the changes are partially extracted from https://github.com/discourse/discourse/pull/17379.
2022-08-05 07:55:00 +03:00
..
_index.scss UX: Reduce number of links displayed in Community by default (#17703) 2022-07-28 16:46:46 +08:00
_topic-list.scss A11Y: Focus last viewed topic in topic lists (take 3) (#16257) 2022-03-23 13:03:56 +03:00
about.scss UX: More consistent table header styles, removing duplicate styles 2019-02-26 21:40:17 -05:00
activation.scss UX: updated account activation page design (#17730) 2022-07-29 22:33:11 +05:30
alert.scss UX: Fix z-index for new topic alert (#13676) 2021-07-09 15:22:30 -04:00
bbcode.scss remove built-in support for bbcode size 2016-03-27 09:29:27 -07:00
cat_reorder.scss UX: Increase width & center category reorder input (#10928) 2020-10-15 14:42:42 +11:00
category-list.scss FEATURE: Add mobile support for subcategories-with-featured-topics (#16118) 2022-03-08 22:06:27 +00:00
code_highlighting.scss UX: update hljs-builtin-name highlight (#16859) 2022-05-18 15:55:40 +02:00
colorpicker.scss FEATURE: Use native color-picker (#15748) 2022-02-01 11:18:13 -03:00
compose.scss UX: adjust sidebar margin to avoid composer height (#17731) 2022-08-01 11:02:11 +08: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: Mobile usability issues in crawler view (#17465) 2022-07-13 11:59:16 +08:00
d-icon.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
d-popover.scss UX: update color on arrow tippy box (#17263) 2022-06-28 13:25:40 +02:00
directory.scss UX: Normalize sizing for inputs, buttons, dropdowns (#14226) 2021-09-09 11:01:56 -04:00
discourse.scss FIX: CSS tweak and production position fix for miniprofiler (#17493) 2022-07-14 13:03:43 +02:00
edit-category.scss FEATURE: Allow multiple required tag groups for a category (#16381) 2022-04-06 14:08:06 +01:00
edit-topic-timer-modal.scss UX: Normalize sizing for inputs, buttons, dropdowns (#14226) 2021-09-09 11:01:56 -04:00
ember-select.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
emoji.scss UX: Larger images in mobile emoji picker (#17013) 2022-06-07 12:00:09 -04:00
empty-state.scss FIX: Small tweaks to "no messages" education (#12588) 2021-04-07 09:28:10 +10:00
exception.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
explain-reviewable.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
faqs.scss UX: more consistent mobile spacing (#13297) 2021-06-07 13:22:28 -04:00
group.scss FIX: Make group members bulk operations consistent (#17561) 2022-07-20 16:54:21 +03:00
groups.scss UX: improve group page grid sizes (#17208) 2022-06-22 17:14:22 -04:00
header.scss UX: sidebar transition and styling adjustments (#17678) 2022-07-26 23:16:34 -04:00
history.scss Fix CSS for collapsed table cells when showing insertion in Raw mode (#12489) 2021-03-23 10:43:25 +01:00
lightbox.scss FIX: Do not add CSS transition effect to animated images (#12803) 2021-04-22 14:05:48 -04:00
login.scss UX: Add the TOS disclaimer to the invite signup (#17717) 2022-07-29 12:04:36 -04:00
magnific-popup.scss FEATURE: Add link to original image in lightbox (#15640) 2022-03-08 19:39:46 +02:00
menu-panel.scss DEV: Refactor notification/reviewable items rendering in the new user menu (#17792) 2022-08-05 07:55:00 +03:00
modal.scss DEV: Minor fixes to json schema editor styling (#16634) 2022-05-05 09:52:58 +08:00
not-found.scss FEATURE: Add site setting to show more detailed 404 errors. (#8014) 2019-10-08 14:15:08 +03:00
onebox.scss UX: Prevent jitter in some onebox images (#17611) 2022-07-22 17:14:28 +08:00
personal-message.scss UX: prioritize moderator bg color in PMs (#13833) 2021-07-23 13:06:48 -04:00
popup-menu.scss UX: popup menu buttons need focus style (#11962) 2021-02-04 09:37:45 -05: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 UX: Normalize sizing for inputs, buttons, dropdowns (#14226) 2021-09-09 11:01:56 -04:00
rtl.scss UX: Fix extra indent on lists when supporting mixed text direction (#15110) 2021-11-26 12:32:45 -05:00
search-menu.scss FEATURE: show recent searches in quick search panel (#15024) 2021-11-25 15:44:15 -05:00
search.scss UX: prevent user grid blowout on full page search (#16672) 2022-05-10 09:48:01 +08:00
share_link.scss UX: Move post date under title in share-modal (#16455) 2022-04-27 16:36:08 +03:00
shared-drafts.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
sidebar-footer.scss DEV: Introduce SiteSetting to enable/disable Sidebar. (#17662) 2022-07-27 13:42:26 +08:00
sidebar-more-section-links.scss UX: Move About and FAQ links into secondary section in More... dropdown (#17793) 2022-08-04 13:41:08 +08:00
sidebar-section-link.scss UX: fix chat lock icon position and background (#17791) 2022-08-03 21:49:08 -04:00
sidebar-section.scss UX: sidebar transition and styling adjustments (#17678) 2022-07-26 23:16:34 -04:00
sidebar.scss UX: account for iPad hub nav when calculating top (#17780) 2022-08-03 12:00:36 -04:00
tagging.scss UX: Display gap between tag sort options on PMs (#17342) 2022-08-04 11:45:54 -04:00
tooltip.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
topic-admin-menu.scss UX: Tweak topic-admin-menu alignment/size (#16564) 2022-04-26 16:02:46 +02:00
topic-post.scss Revert "UX: missing specificity (#17324)" (#17426) 2022-07-11 20:20:40 +02:00
topic.scss UX: account for iPad hub nav when calculating top (#17780) 2022-08-03 12:00:36 -04:00
upload.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
user-badges.scss UX: core adjustments and styles for the experimental sidebar (#17271) 2022-06-29 10:49:01 +08:00
user.scss UX: Fix extra spacing for group metadata in user profile (#17725) 2022-07-29 13:47:14 -04:00