Bianca Nenciu
ec0212e56b
FIX: Make category slugs lowercase ( #11277 )
...
Admins could specify category slug with upper case characters and same slug,
but with different cases could be used simultaneously.
2021-01-12 17:28:33 +02:00
Robin Ward
e80332a2bc
REFACTOR: Sync up master with changes for Ember-CLI ( #11671 )
...
The more parallel the branches, the easier the transition will be.
2021-01-12 10:13:21 -05:00
Kris
7210e0a050
FEATURE: Add before-groups-index-container outlet ( #11681 )
2021-01-11 20:27:24 -05:00
Kris
2f84ab6e0a
UX: add space between links and text in labels ( #11674 )
2021-01-11 13:35:41 -05:00
Osama Sayegh
422f395042
FIX: Show unassigned component warning when installing multiple components successively ( #11675 )
...
A while ago we made a change to display a warning after installing a theme component when the admin tries to leave the page without adding the new installed component to any themes (see 5e29ae3ef5
).
However there is an edge case that we forgot to address, and that's when an admin installs a component and then immediately opens the install modal again to install another one which can result in the warning being shown twice at the same time.
This PR prevents that by showing the warning when opening the install modal if the conditions are met (new component and not added to any themes) instead of showing it after installing the second component.
2021-01-11 18:29:12 +03:00
Osama Sayegh
116a879ff4
FIX: Reset theme install modal state on close ( #11670 )
...
The theme install modal should reset its state on close, otherwise it might cause confusion when installing multiple components successively.
2021-01-11 18:27:31 +03:00
Roman Rizzi
e696cba071
FIX: Don't count HTML comments when calculating reply length. ( #11658 )
...
We'll remove them when we sanitize the post raw content.
2021-01-07 15:44:17 -03:00
Osama Sayegh
2e3b3ec2de
FEATURE: Warn admins when installing a theme that's already installed ( #11651 )
...
Installing multiple copies of the same theme/component is possible, but you rarely need to actually have multiple copies installed. We've seen many times new admins installing duplicates of components because they were unaware it was already installed. This PR makes the theme installer modal loop through the existing themes when you click on 'install', and if there is a theme with a URL that matches the URL you entered, a warning will show up and you will need to click 'install' again to proceed.
2021-01-07 21:03:35 +03:00
Osama Sayegh
3865308e36
FIX: Tab key should autocomplete like enter key does ( #11659 )
2021-01-07 19:43:13 +03:00
Penar Musaraj
c819284660
UX: Improve color scheme choices in user prefs ( #11656 )
2021-01-07 11:15:38 -05:00
Jordan Vidrine
437ca97eac
FIX: Fix bg color of header on published page ( #11652 )
...
This commit correctly sets the bg color of the header on published pages to be var(--header_background) instead of var(--secondary).
2021-01-06 16:54:37 -06:00
Mark VanLandingham
aa909f58a9
FIX: Hide notification count on document title in Do Not Disturb ( #11646 )
2021-01-06 16:15:04 -06:00
Kris
d15159dff7
UX: Refactor topic list nav ( #11285 )
2021-01-06 16:15:28 -05:00
Osama Sayegh
e02cc98092
UX: Autocomplete suggestions should be unselected by default ( #11637 )
...
When you type # or @ in the search box, a popup appears with
autocomplete suggestions. Currently, when the popup is rendered it has
the first item selected and upon pressing Enter, the first item is
inserted into the search box. The problem with this behavior is that the
first suggestion may not be what you want, and if you are typing quickly
and hit enter, the first suggestion (which is not what you want) is
inserted in the search box.
This PR amends the popup so that it has no suggestions selected by
default which means the enter key will not insert anything unless you
select a suggestion via the up or down arrow keys.
2021-01-07 08:10:18 +11:00
Kris
5b77c6a5d8
UX: Allow quick access profile content to scroll ( #11639 )
2021-01-06 15:32:20 -03:00
Roman Rizzi
118ea89372
FEATURE: Replace arrows when the markdown typographer is enabled. ( #11638 )
...
By inserting this rule before markdown-it's replacement rule, we can replace "-->" with "→", and "<--" with "←".
2021-01-06 12:05:38 -03:00
Joffrey JAFFEUX
53f9a0883e
UX: allows to copy/paste a list of | separated values in sk ( #11642 )
...
* UX: allows to copy/paste a list of | separated values in sk
* fixes tests
2021-01-06 12:57:13 +01:00
Penar Musaraj
5f846531a5
DEV: Cleanup variables/mixins SCSS imports ( #11618 )
...
Prepends variables.scss and mixins.scss globally for all assets. With
one notable exception, theme fields, which will be addressed in a
separate PR.
2021-01-05 14:05:34 -05:00
Penar Musaraj
95df15bad9
UX: transition to edit URL when adding a category ( #11634 )
2021-01-05 08:34:35 -05:00
Roman Rizzi
afebaf439f
FIX: Validate type when picking an avatar. ( #11602 )
...
This change improves the "UsersController#pick_avatar" validations to raise an error when "allow_uploaded_avatars" is disabled.
2021-01-05 10:29:10 -03:00
Joffrey JAFFEUX
7cf46b290d
FIX: prevents autocompoete of username to appear on right ( #11623 )
2021-01-04 10:36:54 +01:00
Joffrey JAFFEUX
1405b6859d
DEV: uses popper for autocomplete ( #11201 )
2021-01-04 09:55:47 +01:00
Roman Rizzi
024d91410d
FIX: Correctly set scroll position when viewing a tag's topic list. ( #11612 )
...
Follows up #11496 . The scroll position was not updated when scrolling up.
2020-12-31 15:40:42 -03:00
Mark VanLandingham
836cbfe7ae
UX: Move do not disturb to profile panel ( #11592 )
2020-12-31 08:39:06 -06:00
Joffrey JAFFEUX
e4dcf93238
UX: text overflow user-{primary,secondary}-navigation ( #11604 )
2020-12-30 21:34:27 +01:00
Penar Musaraj
303f229e98
DEV: Use indexes when importing SCSS from a folder ( #11591 )
...
By default, SCSS does not support globbing. This removes our magic and uses index files to import all files in a folder.
2020-12-30 15:29:10 -05:00
Robin Ward
abe8aeb597
FIX: The title
attribute of the diversity scales was incorrect ( #11570 )
...
It needed to be underscored, since it had dashes in it.
2020-12-23 14:12:13 -05:00
Alan Guo Xiang Tan
d9109ed436
FIX: Show all topic statuses on full page search.
2020-12-23 10:30:35 +08:00
Penar Musaraj
3c5d91afae
DEV: Add "before-manage-group-tags" plugin outlet ( #11560 )
2020-12-22 15:35:55 -05:00
Guo Xiang Tan
8336c2235e
FIX: Missing PG topic title headline when pg headlines is enabled.
2020-12-22 09:09:00 +08:00
Rafael dos Santos Silva
c4552e9c10
FIX: Autoplay videos must always be muted ( #11533 )
...
This automatically adds the muted attribute if it's missing in a video
tag.
Co-authored-by: David Taylor <david@taylorhq.com>
2020-12-21 14:55:00 -03:00
Bianca Nenciu
38950840e0
FIX: Show restricted tags in bulk select ( #11531 )
...
Navigating to a category and tag page, selecting topics and attempting
to bulk append a tag showed all but the tags restricted to the category.
2020-12-21 12:26:51 +02:00
Mark VanLandingham
d8e2b497f7
DEV: Move rerender on 'do not disturb' change to mixin ( #11529 )
2020-12-18 10:35:43 -06:00
Mark VanLandingham
649ed24bb4
FEATURE: Do not disturb ( #11484 )
2020-12-18 09:03:51 -06:00
Bianca Nenciu
806f05f851
FIX: Make find_by_slug_path work with default slugs ( #11501 )
...
Default slugs are generated by adding '-category' to category ID.
2020-12-18 16:05:01 +02:00
Roman Rizzi
142e0ae062
Revert "Revert "DEV: Wrap Ember.run.debounce
. ( #11352 )"" ( #11509 )
...
* Revert "Revert "DEV: Wrap `Ember.run.debounce`. (#11352 )" (#11465 )"
This reverts commit aa0d4ea764
.
* Correctly debounce onScroll function
2020-12-18 10:18:52 -03:00
Arpit Jalan
f296ca4b4a
FEATURE: allow plugins to show custom HTML via renderTags ( #11520 )
...
This commit allows discourse-assign plugin to show custom HTML via
renderTags even if topic has no tags.
2020-12-18 09:42:42 +05:30
Penar Musaraj
2b8b252249
UX: Move reply filter button on mobile ( #11524 )
2020-12-18 14:51:13 +11:00
Sam
4558d91bbb
UX: adjust default menu width ( #11526 )
...
The notification panel gets resized and the JS uses maxWidth of 320.
This tends to fight with the CSS causing notifications to "jump" a bit when a new one lands.
2020-12-18 14:50:50 +11:00
Joe
4b1d98e878
DEV: Adds raw plugin outlets to topic list headers ( #11519 )
2020-12-17 23:08:38 +08:00
Penar Musaraj
9870a0b6a1
FIX: missing default notification level on group creation ( #11512 )
2020-12-16 15:52:34 -05:00
Roman Rizzi
4d1bc3a491
FIX: Scroll to the last position when navigating back to the tag topic list. ( #11496 )
...
Scrolling was not working as expected after clicking the browser back button and navigating back to the tag topic list. We need to wrap the scroll inside a debounce function to ensure that the "window.pageYOffset" property is populated before our function runs.
2020-12-16 15:23:12 -03:00
Penar Musaraj
230fe0427e
DEV: More events for filtered replies ( #11511 )
2020-12-16 12:11:01 -05:00
Penar Musaraj
d1058f4e4c
UX: Blend header colors ( #11422 )
2020-12-16 09:38:51 -05:00
Arpit Jalan
1e7d6ebb0f
DEV: no need to iterate through each tag for rendering ( #11508 )
...
This commit allows discourse-assign plugin to show assigned user next to
tags.
2020-12-16 18:40:58 +05:30
Penar Musaraj
89bf64c0bf
DEV: Trigger events when filtering replies ( #11498 )
2020-12-16 16:46:40 +11:00
Kris
d870c80516
UX: Don't wrap menu text under icon ( #11502 )
2020-12-16 16:43:47 +11:00
Kris
9a66f24703
UX: Add title attribute to watched word input ( #11505 )
2020-12-16 16:43:01 +11:00
Kris
f450ab6b5d
UX: Make theme install modal more responsive ( #11503 )
...
* UX: Make theme install modal more responsive
* chrome fix
2020-12-16 16:41:36 +11:00
Kris
407591719c
UX: When input placeholders are too long, truncate with ellipsis ( #11504 )
2020-12-16 16:40:30 +11:00