9ae70ad7cf
UX: Scale down the theme title edit size ( #33021 )
2025-05-30 16:07:01 -05:00
1af8ef60ed
UX: Merge onebox experiment into core ( #33015 )
2025-05-30 16:01:09 -05:00
a55ce02cb9
PERF: Remove <details>
polyfill ( #33020 )
...
When we first introduced the `discourse-details` plugin, the `<details>`
element was not supported in all browsers, so this `display: none`-based
polyfill had to be used.
Nowadays, there is no need for this. And in fact, the `details[open] >
summary:first-of-type ~ *` selector is showing as our most expensive CSS
selector during repaints.
Removing this `display: none` also means that browser find-in-page will
now be able to correctly find content inside `<details>` in discourse.

2025-05-30 21:47:09 +01:00
00c4d8b0ba
DEV: Make --space-#
variables available everywhere ( #33017 )
2025-05-30 13:25:45 -05:00
6857abc8ba
Build(deps-dev): Bump @discourse/lint-configs from 2.20.0 to 2.21.0 ( #32983 )
...
Bumps
[@discourse/lint-configs](https://github.com/discourse/lint-configs )
from 2.20.0 to 2.21.0.
- [Commits](https://github.com/discourse/lint-configs/commits )
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Discourse CI <ci@ci.invalid >
Co-authored-by: David Taylor <david@taylorhq.com >
2025-05-30 19:46:26 +02:00
27c7fcd767
DEV: move setting-component mixin logic into site-setting component ( #32958 )
...
This PR moves the SettingComponent logic into SiteSetting component. The
mixin itself will be removed in a separate PR.
2025-05-30 21:43:23 +08:00
38fbb83500
UX: Fix active menu item bottom border ( #33013 )
2025-05-30 08:39:52 -05:00
b05a079328
UX: Move to regular border radius variable ( #33011 )
2025-05-30 08:39:27 -05:00
291953c4f0
DEV: Remove unused method ( #33008 )
...
Method is not being used anywhere
2025-05-30 15:41:48 +08:00
8eb317b0f9
FIX: improvements for admin search ( #33006 )
...
Some adjustments to improve admin search results:
- trim filter phrase and remove multiple spaces
- score for partial label match: "the" should find "Theme and
Components"
- partial keyword score: "custom field" should find "custom fields"
- for keyword and fallback searches, ensure the keyword has at least 3
character to not be flooded by "the", "a", "and" etc.
<img width="728" alt="Screenshot 2025-05-30 at 1 52 38 pm"
src="https://github.com/user-attachments/assets/4d97800d-6ec1-4a54-8ea5-78ceb75b93b8 "
/>
<img width="730" alt="Screenshot 2025-05-30 at 1 52 46 pm"
src="https://github.com/user-attachments/assets/ca7baa4e-f19e-4512-ab35-63e594a571cc "
/>
<img width="733" alt="Screenshot 2025-05-30 at 1 52 54 pm"
src="https://github.com/user-attachments/assets/7f5ea85b-11ca-4f59-a564-72364d2a65be "
/>
<img width="721" alt="Screenshot 2025-05-30 at 1 56 18 pm"
src="https://github.com/user-attachments/assets/eb42a293-f14b-4bfa-ad6b-9f63b5fe3303 "
/>
2025-05-30 14:52:52 +08:00
0187853aad
DEV: Remove stale s3:correct_acl
and s3:correct_cachecontrol
tasks ( #33005 )
...
Both rake tasks do not account for secure uploads so they should be
considered broken. Since there is no longer a need for these rake tasks,
we are removing them instead of spending time to fix them.
2025-05-30 14:39:37 +08:00
ecc64e3925
DEV: Remove UploadFixer
and uploads:fix_all_extensions
rake task ( #33004 )
...
The code being removed here was added 7 years ago and is stale at this
point. We don't even know if it is safe to run since no tests have been
written for it. Therefore, it is safer for us to remove it than to spend
time reviewing it.
2025-05-30 14:11:55 +08:00
da0b303568
Build(deps): Bump postcss from 8.5.3 to 8.5.4 ( #32997 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.5.3 to 8.5.4.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.5.3...8.5.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-30 11:35:59 +08:00
036fa91a3e
Build(deps-dev): Bump fabrication from 2.31.0 to 3.0.0 ( #32999 )
...
Bumps [fabrication](https://gitlab.com/fabrication-gem/fabrication ) from
2.31.0 to 3.0.0.
-
[Changelog](https://gitlab.com/fabrication-gem/fabrication/blob/master/Changelog.markdown )
-
[Commits](https://gitlab.com/fabrication-gem/fabrication/compare/2.31.0...3.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-30 11:35:38 +08:00
1c3567a351
Build(deps): Bump google-protobuf from 4.31.0 to 4.31.1 ( #33000 )
...
Bumps [google-protobuf](https://github.com/protocolbuffers/protobuf )
from 4.31.0 to 4.31.1.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
-
[Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl )
-
[Commits](https://github.com/protocolbuffers/protobuf/compare/v4.31.0...v4.31.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-30 09:47:55 +08:00
9e4a08d08f
UX: Polishing borders, border-radius, input, and spacing ( #32995 )
2025-05-29 16:43:57 -05:00
58a01d1e03
DEV: Check if IntermediateDB schema is valid ( #32975 )
2025-05-29 22:08:50 +02:00
233c54b7fc
DEV: Small API changes for interacting with PG during migrations ( #32976 )
2025-05-29 22:08:32 +02:00
22595a8c94
UX: fix mobile positioning for content editable (rich editor) ( #32993 )
...
Uses the same hack that the markdown editor (`textarea`) uses to avoid
iOS shifting the mobile composer, when using the rich editor/ a content
editable.
2025-05-29 17:05:16 -03:00
921835dfbe
DEV: Exclude synonyms from tag chooser choices in Form Templates and order them alphabetically ( #32974 )
2025-05-29 10:15:20 -05:00
be3b557882
DEV: Correct typo in script-tag-discourse-plugin
deprecation ( #32990 )
2025-05-29 15:35:55 +01:00
66c857d639
Build(deps-dev): Bump rubocop from 1.75.7 to 1.75.8 ( #32985 )
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.75.7 to
1.75.8.
- [Release notes](https://github.com/rubocop/rubocop/releases )
-
[Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
-
[Commits](https://github.com/rubocop/rubocop/compare/v1.75.7...v1.75.8 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-29 16:18:21 +02:00
fd2d8d0860
DEV: Warn admins for decorate-plugin-outlet
deprecation ( #32989 )
2025-05-29 14:36:01 +01:00
2261d3711b
FEATURE: allow customizing default timezone for email. ( #32964 )
...
1. Changes default email format to llll (eg: Tue, May 8, 2018 2:00 AM)
from 2018-05-08T00:00:00Z UTC which is not nice on the eyes
2. Adds `discourse_local_dates_email_timezone` which allows configuring
default timezone in emails
3. Improved help text on site settings (format / timezone)
---------
Co-authored-by: Gary Pendergast <gary@pento.net >
2025-05-29 14:17:37 +10:00
0142d352a8
UX: Add hover state to theme cards ( #32980 )
...
Added a subtle hover border to theme cards for better visual feedback.
Cursor stays default since the card itself isn’t clickable.
### Before
Nada
<img width="591" alt="image"
src="https://github.com/user-attachments/assets/d1df6b46-0557-4dfa-af68-166b2b721595 "
/>
### After
Applies `--tertiary-medium` on hover
<img width="585" alt="image"
src="https://github.com/user-attachments/assets/1e08f638-738f-40bc-948e-17912b634c0f "
/>
2025-05-28 21:53:25 -06:00
ce6e8a9809
FEATURE: Show language switcher for anons ( #32965 )
...
Related:
- https://github.com/discourse/discourse-translator/pull/308
- https://github.com/discourse/discourse/pull/32920 (setting introduced)
Moving the switcher to core, as the setting is now in core.
2025-05-29 11:37:20 +08:00
09a457f2ab
FIX: Topic timeline in mobile is not usable due to full height ( #32986 )
...
Bug introduced in 5cb19734e0
2025-05-29 10:23:51 +08:00
cafea26dc0
UX: add gap to sidebar items ( #32981 )
2025-05-28 14:52:02 -05:00
a868c8225f
FIX: removes shift which is not necessary anymore ( #32979 )
2025-05-28 20:07:05 +02:00
ee4cb3915e
FIX: Composite primary key output ( #32972 )
...
Ensure last column definition before a composite primary key definition
has a comma.
2025-05-28 17:45:48 +00:00
67b89fcebd
UX: Decrease spacing between content sections in theme-card UI ( #32977 )
2025-05-28 11:54:12 -05:00
e147d2afe6
DEV: Added the ability to use users' names in group mention notifications and mentions shown in emails ( #32848 )
...
**Description**
This is part of a series of changes to allow customers to dsiplay users'
names instead of the users' username.
When a user belongs to a group that has been mentioned by another user.
It shows the name of the user that mentioned the group.
**Before**

**After**

When a email is sent to the user when mentioned in a post
**Before**

**After**

2025-05-28 10:07:06 -05:00
89d5cca2af
UX: fix padding ( #32973 )
2025-05-28 08:44:36 -05:00
79ab714bd9
UX: Improve color descriptions ( #32930 )
...
This updates and adds short, human-friendly descriptions for commonly
used color variables in the color palette UI. Mostly cleaned up the
wording to make things easier to scan, so admins can quickly tell what
each color is used for.
Internal: /t/154624
---------
Co-authored-by: Jarek Radosz <jradosz@gmail.com >
2025-05-28 07:35:42 -06:00
55d59c523a
DEV: Make curry-component available for themes/plugins ( #32967 )
2025-05-28 11:02:10 +01:00
3812db5d23
Build(deps): Bump the babel group with 2 updates ( #32947 )
...
Bumps the babel group with 2 updates:
[@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core )
and
[@babel/standalone](https://github.com/babel/babel/tree/HEAD/packages/babel-standalone ).
Updates `@babel/core` from 7.27.1 to 7.27.3
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
-
[Commits](https://github.com/babel/babel/commits/v7.27.3/packages/babel-core )
Updates `@babel/standalone` from 7.27.2 to 7.27.3
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
-
[Commits](https://github.com/babel/babel/commits/v7.27.3/packages/babel-standalone )
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Discourse CI <ci@ci.invalid >
2025-05-28 11:57:41 +02:00
ff04406a27
Build(deps): Bump terser from 5.39.2 to 5.40.0 ( #32948 )
...
Bumps [terser](https://github.com/terser/terser ) from 5.39.2 to 5.40.0.
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/compare/v5.39.2...v5.40.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-28 11:46:07 +02:00
2faa467b29
DEV: Add tests for about page extra group ordering ( #32959 )
...
Adding tests for about page extra groups ordering.
2025-05-28 17:36:12 +08:00
f4d4f371e6
UX: fix border-radius on image upload inputs ( #32935 )
...
Noticed problems on themes that use border-radius (like Horizon), where
these get the button radius applied, which is too large since, despite
**functioning** like a button, they are essentially inputs and lean more
toward the input styling. Also removed `btn-default` as this element
couldn't be further from a default button if it tried.
| Before | After |
|--------|--------|
| 
| 
|
---------
Co-authored-by: Ella <ella.estigoy@gmail.com >
2025-05-28 08:58:21 +02:00
435088f62c
DEV: Add locale column to categories ( #32962 )
...
Previously we had omitted determining the locale of categories, as
unlike posts, categories are usually single words and are usually only
translated once.
Since there is no locale, a category called "Staff" would also have an
English translation. With LLMs that perform poorly, we see that
translating "Staff" to English may result in something entirely
different (like "Personnelle" or "Personal").
Thus adding locale support to categories can mitigate this issue due to
the uncertainty.
2025-05-28 13:49:26 +08:00
f99c17d52b
Bump version to v3.5.0.beta6-dev
2025-05-28 12:34:15 +08:00
0db6f59383
Bump version to v3.5.0.beta5
v3.5.0.beta5
2025-05-28 12:34:14 +08:00
ec6239b594
Build(deps): Bump @csstools/postcss-light-dark-function from 2.0.8 to 2.0.9 ( #32949 )
...
Bumps
[@csstools/postcss-light-dark-function](https://github.com/csstools/postcss-plugins/tree/HEAD/plugins/postcss-light-dark-function )
from 2.0.8 to 2.0.9.
-
[Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-light-dark-function/CHANGELOG.md )
-
[Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugins/postcss-light-dark-function )
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Discourse CI <ci@ci.invalid >
2025-05-28 08:58:09 +08:00
8b15a8874c
Build(deps-dev): Bump rspec-expectations from 3.13.4 to 3.13.5 ( #32952 )
...
[//]: # (dependabot-start)
⚠️ **Dependabot is rebasing this PR** ⚠️
Rebasing might not happen immediately, so don't worry if this takes some
time.
Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.
---
[//]: # (dependabot-end)
Bumps [rspec-expectations](https://github.com/rspec/rspec ) from 3.13.4
to 3.13.5.
-
[Changelog](https://github.com/rspec/rspec/blob/rspec-mocks-v3.13.5/rspec-expectations/Changelog.md )
-
[Commits](https://github.com/rspec/rspec/compare/rspec-expectations-v3.13.4...rspec-mocks-v3.13.5 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-28 08:56:18 +08:00
64734610cb
Build(deps-dev): Bump rspec-mocks from 3.13.4 to 3.13.5 ( #32953 )
...
Bumps [rspec-mocks](https://github.com/rspec/rspec ) from 3.13.4 to
3.13.5.
-
[Changelog](https://github.com/rspec/rspec/blob/rspec-mocks-v3.13.5/rspec-mocks/Changelog.md )
-
[Commits](https://github.com/rspec/rspec/compare/rspec-mocks-v3.13.4...rspec-mocks-v3.13.5 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-28 08:56:06 +08:00
a2dbf9392b
Build(deps-dev): Bump rspec from 3.13.0 to 3.13.1 ( #32955 )
...
Bumps [rspec](https://github.com/rspec/rspec ) from 3.13.0 to 3.13.1.
-
[Commits](https://github.com/rspec/rspec/compare/rspec-metagem-v3.13.0...rspec-v3.13.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-28 08:55:53 +08:00
8f2283a5eb
Build(deps-dev): Bump esbuild from 0.25.4 to 0.25.5 ( #32950 )
...
Bumps [esbuild](https://github.com/evanw/esbuild ) from 0.25.4 to 0.25.5.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.4...v0.25.5 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-28 08:55:45 +08:00
eb43f9425a
Build(deps-dev): Bump mime-types-data from 3.2025.0520 to 3.2025.0527 ( #32951 )
...
Bumps [mime-types-data](https://github.com/mime-types/mime-types-data )
from 3.2025.0520 to 3.2025.0527.
-
[Changelog](https://github.com/mime-types/mime-types-data/blob/main/CHANGELOG.md )
-
[Commits](https://github.com/mime-types/mime-types-data/compare/v3.2025.0520...v3.2025.0527 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-28 08:54:47 +08:00
4f142c9632
Build(deps-dev): Bump rspec-support from 3.13.3 to 3.13.4 ( #32954 )
...
[//]: # (dependabot-start)
⚠️ **Dependabot is rebasing this PR** ⚠️
Rebasing might not happen immediately, so don't worry if this takes some
time.
Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.
---
[//]: # (dependabot-end)
Bumps [rspec-support](https://github.com/rspec/rspec ) from 3.13.3 to
3.13.4.
-
[Changelog](https://github.com/rspec/rspec/blob/rspec-support-v3.13.4/rspec-support/Changelog.md )
-
[Commits](https://github.com/rspec/rspec/compare/rspec-support-v3.13.3...rspec-support-v3.13.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-28 08:53:17 +08:00
69543bc4be
Build(deps-dev): Bump rspec-core from 3.13.3 to 3.13.4 ( #32956 )
...
Bumps [rspec-core](https://github.com/rspec/rspec ) from 3.13.3 to
3.13.4.
-
[Changelog](https://github.com/rspec/rspec/blob/rspec-core-v3.13.4/rspec-core/Changelog.md )
-
[Commits](https://github.com/rspec/rspec/compare/rspec-core-v3.13.3...rspec-core-v3.13.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-28 08:52:46 +08:00