Commit Graph

59296 Commits

Author SHA1 Message Date
5883085af3 DEV: Replace all @breakpoint with @viewport.* (#32649) 2025-05-12 12:52:45 +01:00
4e41dc87ce Build(deps): Bump psych from 5.2.4 to 5.2.5 (#32679)
Bumps [psych](https://github.com/ruby/psych) from 5.2.4 to 5.2.5.
- [Release notes](https://github.com/ruby/psych/releases)
- [Commits](https://github.com/ruby/psych/compare/v5.2.4...v5.2.5)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-12 11:08:50 +01:00
d915dd72f2 Build(deps-dev): Bump parallel_tests from 5.1.0 to 5.2.0 (#32678)
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from
5.1.0 to 5.2.0.
-
[Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
-
[Commits](https://github.com/grosser/parallel_tests/compare/v5.1.0...v5.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-12 11:08:20 +01:00
d8bef9450a Build(deps-dev): Bump @ember/test-helpers from 5.2.1 to 5.2.2 (#32680)
Bumps
[@ember/test-helpers](https://github.com/emberjs/ember-test-helpers)
from 5.2.1 to 5.2.2.
- [Release
notes](https://github.com/emberjs/ember-test-helpers/releases)
-
[Changelog](https://github.com/emberjs/ember-test-helpers/blob/master/CHANGELOG.md)
- [Commits](https://github.com/emberjs/ember-test-helpers/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>
2025-05-12 11:07:58 +01:00
43872ac210 UX: search CSS refactor + fixes (#32401)
* change spacing to use consistent values
* change font weight and colours for search results
* updated copy for mobile to reflect the removal of the search icon
(using native keyboard CTA now)
* results are full-width, in line with other dropdowns; noticable in
hover effects
* trying to make sure all search results items are of equal height, were
possible
* fixing missing `in-this-topic` context button

**Ignore the silly emoji in the screenshots on mobile – different
problem, alrdy fixed on main**

## Desktop
### Search Header
| Before | After |
|--------|--------|
| ![CleanShot 2025-04-23 at 12 11
19@2x](https://github.com/user-attachments/assets/324cf155-9832-4580-8d62-d49436813477)
| ![CleanShot 2025-04-23 at 12 22
23@2x](https://github.com/user-attachments/assets/db9860a4-7e37-418f-85e9-9d68d5a5ab72)
|
| ![CleanShot 2025-04-23 at 12 12
02@2x](https://github.com/user-attachments/assets/0445a36b-1076-4c25-921d-0c2871266b47)|
![CleanShot 2025-04-23 at 11 20
42@2x](https://github.com/user-attachments/assets/93ab484e-2362-4520-9dba-53f2acd7e257)
|
| ![CleanShot 2025-04-23 at 12 12
12@2x](https://github.com/user-attachments/assets/f457b837-0d3c-491f-890d-e9578697dda1)
| ![CleanShot 2025-04-23 at 11 20
52@2x](https://github.com/user-attachments/assets/eec6df3b-0e74-4011-96dd-f531190c28c2)
|
| ![CleanShot 2025-04-23 at 12 14
13@2x](https://github.com/user-attachments/assets/89e3f391-a300-49cb-8f20-0dca10ffc3ad)
| ![CleanShot 2025-04-23 at 11 43
38@2x](https://github.com/user-attachments/assets/9f88c896-868c-4494-924c-bcb5ee26f30a)
|
| ![CleanShot 2025-04-23 at 12 12
34@2x](https://github.com/user-attachments/assets/8dea31e2-b15c-4884-97f3-ff54280d7076)
| ![CleanShot 2025-04-23 at 11 21
17@2x](https://github.com/user-attachments/assets/fe8b2f8a-65d1-43af-9a98-f177b41c3630)
|

### Search Welcome Banner
| Before | After |
|--------|--------|
| ![CleanShot 2025-04-23 at 12 16
17@2x](https://github.com/user-attachments/assets/43a0c727-8a84-4f75-a89c-b2444cbac903)
| ![CleanShot 2025-04-23 at 11 22
29@2x](https://github.com/user-attachments/assets/f3f3e059-deb8-4181-b1ac-a8c4604b50c5)
|
| ![CleanShot 2025-04-23 at 12 16
28@2x](https://github.com/user-attachments/assets/53ef9554-790e-4fbb-9141-4a7b65909cce)
| ![CleanShot 2025-04-23 at 11 22
55@2x](https://github.com/user-attachments/assets/343ed01b-8f4f-41da-af92-93316f2df960)
|
| ![CleanShot 2025-04-23 at 12 16
42@2x](https://github.com/user-attachments/assets/1fdb4fc8-6f04-4161-85b0-dee9e4d444af)
| ![CleanShot 2025-04-23 at 11 23
06@2x](https://github.com/user-attachments/assets/4bc27eb8-29d9-43f6-8ac9-5de66d70cee8)|
| ![CleanShot 2025-04-23 at 12 17
07@2x](https://github.com/user-attachments/assets/85cc8948-3bbf-4aad-abc2-e2ff0966df55)
| ![CleanShot 2025-04-23 at 11 43
02@2x](https://github.com/user-attachments/assets/f566ddf5-25b1-4bcd-91eb-a2ec320e7797)|
| ![CleanShot 2025-04-23 at 12 17
17](https://github.com/user-attachments/assets/43098fed-edef-460b-b7b9-165331ea3c98)
| ![CleanShot 2025-04-23 at 11 43
16@2x](https://github.com/user-attachments/assets/0c6c9f76-0084-4e49-8135-d07b91672182)
|

### Search in Topic
| Before | After |
|--------|--------|
| ![CleanShot 2025-04-23 at 12 19
49@2x](https://github.com/user-attachments/assets/3914cf25-2071-465f-8ed1-bfcb736fc7be)
| ![CleanShot 2025-04-23 at 12 24
32@2x](https://github.com/user-attachments/assets/f0e0a19a-8ca1-4881-8c1c-0c117bd27cc6)
|
| ![CleanShot 2025-04-23 at 12 20
28@2x](https://github.com/user-attachments/assets/c56967f7-624a-4949-a024-b9a45fd31426)
| ![CleanShot 2025-04-23 at 11 53
28@2x](https://github.com/user-attachments/assets/3346972a-4bb8-4362-8480-69fe6f55f49a)
|
| ![CleanShot 2025-04-23 at 12 20
47@2x](https://github.com/user-attachments/assets/b725df3c-4c3d-43d5-b717-0840bc4e07d4)
| ![CleanShot 2025-04-23 at 11 53
45@2x](https://github.com/user-attachments/assets/18c0004b-f09a-4e0a-8e40-e95be6471abc)
|
| ![CleanShot 2025-04-23 at 12 21
42@2x](https://github.com/user-attachments/assets/7ea4e1bd-7325-4440-aac5-ae8d6a572593)
| ![CleanShot 2025-04-23 at 11 44
49@2x](https://github.com/user-attachments/assets/85b6ed6e-8bd4-4a94-8df7-6fe2778f8bc8)
|
| ![CleanShot 2025-04-23 at 12 18
12@2x](https://github.com/user-attachments/assets/2a1c97ef-2062-49b7-9d43-e7b998284939)
| ![CleanShot 2025-04-23 at 11 45
39@2x](https://github.com/user-attachments/assets/3f32555a-1846-4ef7-97e4-9028d547617e)
|
| ![CleanShot 2025-04-23 at 12 20
59@2x](https://github.com/user-attachments/assets/42688cc9-276d-475a-97df-90e76832b3a3)
| ![CleanShot 2025-04-23 at 11 50
35@2x](https://github.com/user-attachments/assets/53d964db-6035-44d5-becf-3a27d2764902)|

## Mobile
| Before | After |
|--------|--------|
| ![CleanShot 2025-04-23 at 12 04
10@2x](https://github.com/user-attachments/assets/3ce86a35-8506-4bea-b9d1-0a28ad18d4b4)
| ![CleanShot 2025-04-23 at 12 01
50@2x](https://github.com/user-attachments/assets/af760c91-9b8c-4445-bcee-e840782dd5ad)
|
| ![CleanShot 2025-04-24 at 18 53
56@2x](https://github.com/user-attachments/assets/9ef215bc-0914-4a54-8e7b-91595fca5aef)
| ![CleanShot 2025-04-24 at 18 50
55@2x](https://github.com/user-attachments/assets/9bcfc456-04df-43e2-b3ac-78f843a42cc3)
|
| ![CleanShot 2025-04-24 at 18 53
46@2x](https://github.com/user-attachments/assets/4f969a98-8990-44bd-8964-809d4e1c1c37)
| ![CleanShot 2025-04-24 at 18 51
55@2x](https://github.com/user-attachments/assets/67dc3b4c-ecc6-468d-874d-0c8face3ca29)
|
| ![CleanShot 2025-04-24 at 18 53
37@2x](https://github.com/user-attachments/assets/0c7eccd4-d4d0-4174-b153-28b87bc48424)
| ![CleanShot 2025-04-24 at 18 52
08@2x](https://github.com/user-attachments/assets/24e51250-4abc-4445-baa6-ea806417943f)
|
| ![CleanShot 2025-04-24 at 18 53
26@2x](https://github.com/user-attachments/assets/81e02807-4a38-440d-9740-f27dd0cf138f)
| ![CleanShot 2025-04-24 at 18 52
18@2x](https://github.com/user-attachments/assets/1a5be4ec-8322-4fbe-a20c-ec14a6472ba7)
|
| ![CleanShot 2025-04-24 at 19 57
43@2x](https://github.com/user-attachments/assets/296a00ca-926c-4b21-96f1-5d45853cc0d1)
| ![CleanShot 2025-04-24 at 19 57
09@2x](https://github.com/user-attachments/assets/cf0745c9-4753-4d70-ad97-4fb4e582fdaa)
|

---------

Co-authored-by: Yuriy Kurant <yuriy@discourse.org>
2025-05-12 11:28:12 +02:00
d932383cf8 FIX: correct reload edit theme page (#32658)
When edit theme page is reloaded or visited directly, we should display
new layout.
2025-05-12 13:47:13 +08:00
ec24a7c3fd DEV: flaky spec (#32677) 2025-05-11 19:29:57 +02:00
1fd843ced6 DEV: Deprecate boundDate and formatAge helpers (#32672) 2025-05-10 20:08:08 +02:00
da111d87bd DEV: adds unregister_locale (#32676)
Running this spec locally I was getting an error:

```
  1) translate accelerator plugins loads plural rules from plugins
     Failure/Error: DiscoursePluginRegistry.unregister_locale("foo")

     NoMethodError:
       undefined method `unregister_locale' for class DiscoursePluginRegistry
     # ./spec/lib/freedom_patches/translate_accelerator_spec.rb:113:in `block (3 levels) in <main>'

Finished in 0.17998 seconds (files took 1.88 seconds to load)
1 example, 1 failure

Failed examples:

rspec ./spec/lib/freedom_patches/translate_accelerator_spec.rb:117 # translate accelerator plugins loads plural rules from plugins
```

On top of this, this spec was flakey, Im not sure this is going to fix
flakyness, but this seems like a good first step.
2025-05-10 19:50:00 +02:00
7f2233b1d3 DEV: ensures type_in_search appends (#32674)
If the field had the value: "tags:" we would end up with "tag1tags:"
2025-05-10 13:03:52 +02:00
d2717d0416 DEV: introduces PLAYWRIGHT_NO_VIEWPORT (#32675)
The way playwright renders headed browser is different than selenium,
and depending on the size of your screen you could not be able to see
part of the app. To avoid this issue you can now use
`PLAYWRIGHT_NO_VIEWPORT=1` which will default to a smaller viewport.

Note that to ensure we don't fail randomly on CI, the viewport on CI
will always be 1400x1400, so if you develop with
`PLAYWRIGHT_NO_VIEWPORT=1` you might experience failures on CI.
2025-05-10 13:03:21 +02:00
eff31e0d42 DEV: Speed up "having working core features" shared example by ~30% (#32666)
Doing a full page load in system test is expensive and takes about 1
second on average. Since this shared example is being run across 70
official
plugins, the additional time to execute these full page loads adds up.

Therefore, we are trading off some readability here for CI runtime.

Before:

```
Randomized with seed 7202
..................

Finished in 21.26 seconds (files took 1.72 seconds to load)
18 examples, 0 failures
```

After:

```
Randomized with seed 7202
........

Finished in 14.28 seconds (files took 1.74 seconds to load)
8 examples, 0 failures
```
2025-05-10 06:56:12 +08:00
fa03d7719f DEV: Further optimize large image uploads on iOS (#32671)
Switches to using `URL.createObjectURL` for better support of very large
images (30Mb+). Using blob URLs is more memory-efficient and on testing,
handles a 90Mb file just fine (previously, it would fail and skip
optimization).
2025-05-09 15:26:41 -04:00
52b79012e9 DEV: revert long press changes (#32668)
These changes have been made for playwright as it was hard to test a
long press even on playwright given `click` won't trigger `touchstart`
even with `isMobile:true` and `hasTouch:true`. You have to use `tap`,
but you don't have the `delay` option on tap, so you can't make it a
long tap.

Sadly this code is apparently not working correctly on Android 15. This
commit will revert the modifier to what it was before and is relying on
native JS to trigger the fake long press in specs, which seems to work
nicely.

This commit also attempts to centralize the actions on messages in page
objects to avoid code duplication.
2025-05-09 18:58:42 +02:00
fe29bb7189 Build(deps-dev): Bump puppeteer-core from 24.8.1 to 24.8.2 (#32655)
Bumps [puppeteer-core](https://github.com/puppeteer/puppeteer) from
24.8.1 to 24.8.2.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
-
[Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
-
[Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v24.8.1...puppeteer-core-v24.8.2)

---------

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-09 17:34:41 +02:00
58009fb0e7 DEV: Fix small issues in the Glimmer Post Stream (#32656)
- When using the Glimmer Post Stream, ensure the status wrapper is only
rendered for mentions of users with a status set.
This prevents an empty wrapper from adding a small blank space at the
end of the mention.

- Ensures the post's user field in initialized with the
`avatar_template` in the PostStream to prevent missing avatar on small
actions

- Fix an issue where the path would be incorrectly linked on small
actions

- Fix an issue where the relative timestamp would be incorrectly
displayed in wiki posts
2025-05-09 12:17:28 -03:00
f3c41af772 DEV: Refactor image compression for iOS (#32652) 2025-05-09 09:51:30 -04:00
90c19ee54d DEV: remove email updater debugging (#32664) 2025-05-09 15:11:11 +04:00
38ee9a0a79 DEV: scroll to reply button before click (#32663)
This will help with reliability of specs.
2025-05-09 11:46:15 +02:00
b28df068fc FIX: ensure old email set correctly when updating email (#32309)
Previously when changing back to the same email (ie. change to new
email, then change back again) we can easily end up showing the
incorrect old email if changing back to the same email more than once.
Then passing the incorrect old email causes an error as it can't be found.

This happens because we only searched for a combination of `user_id` and
`new_email` which can load an older change from the database. By using
the current email address when finding / initializing the
`EmailChangeRequest` we can prevent this issue as we will be creating a
new entry rather than loading an outdated one.
2025-05-09 12:50:01 +04:00
abee294616 DEV: Expose show_additional_about_groups to client (#32660)
We just added this site setting to be used for switchover as we merge a theme component into core. However, as it wasn't marked client: true, the theme component cannot read it. 🤦
2025-05-09 13:36:57 +08:00
b97d1c63f0 DEV: Add a flag to facilitate merging about groups into core (#32657)
We are merging the add-groups-to-about theme component into core. As per protocol, we'll use a hidden site setting to facilitate the switchover.
2025-05-09 10:00:50 +08:00
af71b09246 DEV: bring back admin search page priority test (#32644)
In this PR, test was removed

https://github.com/discourse/discourse/pull/32639

To be sure result are consistent, we need to define a data set which
will confirm that the page is getting bonus points.
2025-05-09 09:10:08 +08:00
713fa8874a FIX: Purge ExtraLocalesController cache correctly for multisite (#32654)
When Translation Overrides are changed, a message is sent on the
`/i18n-flush` channel to ensure all running unicorns flush their caches.
This message is not received in a database-specific context, so running
`ExtraLocalesController.clear_cache!` was only affecting the default
site in a multisite cluster. This commit updates it to flush caches for
all sites.
2025-05-08 23:52:45 +01:00
1afdb5df7b UX: always close hamburger menu when navigating to admin (#32651)
When we create a custom homepage using the `custom_homepage` modifier we
can hide the sidebar using `{{hideApplicationSidebar}}` in the template
— this forces the hamburger dropdown to appear in the header.

This creates an issue when navigating from the custom homepage to the
admin area, because when the route transitions the hamburger menu isn't
closed... and at this point, it cannot be closed at all. The
`clickOutside` listener from the open menu is calling
`toggleNavigation`, which is now the sidebar... so instead of closing
the hamburger menu, it toggles the sidebar and prevents other elements
from being clicked (because the `clickOuside` listener is only removed
when the hamburger menu is destroyed).


![image](https://github.com/user-attachments/assets/b6893513-6f0e-4f5b-8d47-6b63916c0a29)

This change ensures that when the admin sidebar is forced, the hamburger
menu will be hidden.
2025-05-08 16:08:11 -04:00
6154fa6b45 FEATURE: Add translations to posts (#32564)
## 🔍 Overview
This update adds the ability for users to manually add translations to
specific posts. It adds a 🌐 icon on the post menu where you can click to
add translations for posts.

It also introduces a new site setting:
`content_localization_debug_allowed_groups` which is convenient when
debugging localized posts. It adds a globe icon in the post meta data
area along with a number of how many languages the post is translated
in. Hovering over the icon will show a tooltip with access to editing
and deleting the translated posts.

## 📸 Screenshots
<img width="1234" alt="Screenshot 2025-05-07 at 13 26 09"
src="https://github.com/user-attachments/assets/9d65374d-ee3e-4e8b-b171-b98db6f90f23"
/>
<img width="300" alt="Screenshot 2025-05-07 at 13 26 41"
src="https://github.com/user-attachments/assets/6ee9c5e6-16ed-4dab-97ec-9401804a4ac8"
/>
2025-05-08 10:40:36 -07:00
49802d667f DEV: Remove post length check to allow loading to end (#32648)
As reported:
https://meta.discourse.org/t/endless-spinning-on-user-activity-of-user-without-activity/365313

If a user has no posts, their post list will show a loading spinner
indefinitely


![image](https://github.com/user-attachments/assets/23af7c84-444e-4f6b-bfbb-dcc84162b1f6)

This is because if there are no posts we never set `canLoadMore` or
`loading` to `false`

If we always check for new posts we avoid the issue. 


![image](https://github.com/user-attachments/assets/8bfb0267-7b3c-44cc-8f77-8d442598c50d)
2025-05-08 13:34:39 -04:00
e564ab5f63 PERF: Improve performance of the new themes listing page (#32641)
The new themes listing page at `/admin/config/customize/themes`
currently has poor performance compared to the components page
(`/admin/config/customize/components`) due to various N+1 issues,
loading all themes and components from the server when only themes are
needed, and serializing data/attributes that aren't needed for rendering
the themes grid.

This commit improves the performance by eliminating all N+1 that are
currently present, excluding components from the page payload, and
reducing the amount of data transmitted for each theme when loading the
page.
2025-05-08 19:18:07 +03:00
a71a0dcaaa UX: don't always fill username for forgot password (#32646)
Reported here:
https://meta.discourse.org/t/autofill-with-username-in-forgot-password-modal/365310

When `hide_email_address_taken` is enabled, we don't want to populate
the username in the forgot email input, because we require an email
address. This will remove username content that doesn't look like an
email when that site setting is enabled.

Before (username populated when email required): 

![image](https://github.com/user-attachments/assets/7a6eb638-9b5e-4767-b111-e32cec94d8a7)

After (username not populated, email is):

![image](https://github.com/user-attachments/assets/2d5eff84-92f8-4f76-bc98-b66bc6381fd3)


![image](https://github.com/user-attachments/assets/ecd071a0-804e-45ef-b0a2-ae331f87f029)
2025-05-08 10:16:33 -04:00
cf2f1ac5ee FIX: Link to browser support section of website (#32647) 2025-05-08 14:52:24 +01:00
0947a14284 DEV: correctly returns contract error (#32645)
If a user was using invalid values for the contract we would return
"Unexpected error", which is incorrect given we know the exact error.
The user will now get the following exception: "Page size must be less
than or equal to 50"
2025-05-08 14:30:02 +02:00
ad5e02a85f DEV: Use media query for capabilities.touch (#32620)
This will allow us to have perfect consistency with CSS-based touch
detection
2025-05-08 13:23:02 +01:00
b2d0ec0e15 Build(deps-dev): Bump chrome-launcher from 1.1.2 to 1.2.0 (#32636)
Bumps [chrome-launcher](https://github.com/GoogleChrome/chrome-launcher)
from 1.1.2 to 1.2.0.
- [Release
notes](https://github.com/GoogleChrome/chrome-launcher/releases)
-
[Changelog](https://github.com/GoogleChrome/chrome-launcher/blob/main/changelog.md)
-
[Commits](https://github.com/GoogleChrome/chrome-launcher/compare/v1.1.2...v1.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-08 11:24:41 +02:00
74d5279a14 Build(deps-dev): Bump mime-types from 3.6.2 to 3.7.0 (#32634)
Bumps [mime-types](https://github.com/mime-types/ruby-mime-types) from
3.6.2 to 3.7.0.
-
[Changelog](https://github.com/mime-types/ruby-mime-types/blob/main/CHANGELOG.md)
-
[Commits](https://github.com/mime-types/ruby-mime-types/compare/v3.6.2...v3.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-08 11:23:58 +02:00
4d9bc4fef4 DEV: More helper methods for topic localization (#32643)
This adds more methods on `Topic` so it can be used in a later PR that
will localize topics.
2025-05-08 16:12:28 +08:00
abb265f7dd Build(deps-dev): Bump bullet from 8.0.5 to 8.0.6 (#32633)
Bumps [bullet](https://github.com/flyerhzm/bullet) from 8.0.5 to 8.0.6.
- [Changelog](https://github.com/flyerhzm/bullet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/flyerhzm/bullet/compare/8.0.5...8.0.6)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-08 14:32:01 +08:00
413fea8051 DEV: Add new key for anon cache for localization (#32640)
As we move content localization to core, we will need to register a new
key to handle cases when anon users hit the cache to avoid cache
poisoning.

Related:
- https://github.com/discourse/discourse-translator/pull/273
-
d7ae611981/lib/discourse_translator/inline_translation.rb (L94-L98)
2025-05-08 14:30:03 +08:00
acd195071f DEV: flaky AdminSearchDataSource test (#32639)
Delete broken test
2025-05-08 12:34:41 +08:00
a1ed6f36f0 FIX: redirect to new themes page after deletion (#32638)
When a theme is deleted, we should redirect to new themes page.
2025-05-08 12:29:04 +08:00
e5e775de8b Scripts:Xenforo: Modify importer to use reactions table (#31859)
This PR addresses a problem with the Xenforo importer.

Xenforo has moved from "likes" table and now calls the same table
"reactions" table. Similarly the columns has been also renamed.

With this PR, the importer is upgraded to use the latest naming.

Signed-off-by: Abhiram Shibu <abhiramshibu1998@gmail.com>
2025-05-08 12:55:32 +10:00
33d92537ca FIX: prioritize pages over other categories in admin search (#32614)
Add 20 points for matched pages to move them higher.

Before:
![Screenshot 2025-05-07 at 3 53
41 pm](https://github.com/user-attachments/assets/cb54516a-d81b-45f0-ada3-7b33e43352a9)

After:
![Screenshot 2025-05-07 at 3 53
53 pm](https://github.com/user-attachments/assets/93a9a83b-761f-490c-853e-926762940353)
2025-05-08 07:48:04 +10:00
718a3cec08 DEV: Add common css to theme qunit (#32630) 2025-05-07 23:37:28 +02:00
4490a52976 DEV: Recover from missing ember-cli assets in development (#32625) 2025-05-07 14:42:32 -04:00
832eefd20f UX: Do not reserve space for the tip message on the signup page (#32627)
Before
<img width="300" alt="image"
src="https://github.com/user-attachments/assets/df30cae9-6734-4427-be7b-72fa24eb7d80"
/>

After
<img width="300" alt="image"
src="https://github.com/user-attachments/assets/7ca5e8dc-15d6-42a5-9caf-f50ae10cbc1a"
/>
2025-05-07 13:38:39 -04:00
e16634ac6d UX: improve image uploader setting control layout (#32626)
This improves the new image uploader controls layout — this matches the
layout the uploader uses in other contexts (user profile, logo config
area)


Before:

![image](https://github.com/user-attachments/assets/a669e4ef-0bd8-4fc4-af5a-c1f31e65fbfb)


After: 

![image](https://github.com/user-attachments/assets/105184ea-a4b6-47a5-999c-40347f2b71f6)
2025-05-07 13:19:54 -04:00
44a1848ed9 DEV: remove deps (#32628)
Users won't be able to use video locally but we think it's not necessary
for now. This could also cause permissions errors on CI as deps require
sudo to be installed.
2025-05-07 19:09:42 +02:00
153ee0eb9f UX: Include custom text field description in signup form (#32624)
Reported in
https://meta.discourse.org/t/signup-instructions-arent-showing-for-text-custom-user-fields/359935?u=rishabh
2025-05-07 13:05:48 -04:00
a1cc27bc01 DEV: Add PostFlag value modifiers (#32622) 2025-05-07 11:59:09 -05:00
d98a0105ad DEV: Raise errors in playwright install (#32623) 2025-05-07 18:31:18 +02:00
930eeb1890 DEV: add create-topic-label value transformer (#32621)
On mobile we remove the create topic button label:


![image](https://github.com/user-attachments/assets/18dfb2e1-c7fc-4253-b24e-ba95d8533855)

and we don't have a great way to add it back
(https://meta.discourse.org/t/new-topic-button-hidden-text/364902)

this will allow the translation to be set for both mobile and desktop
like this:

```js
import { apiInitializer } from "discourse/lib/api";

export default apiInitializer((api) => {
  api.registerValueTransformer("create-topic-label", ({ value, context }) => {
    return context.defaultKey;
  });
});
```


![image](https://github.com/user-attachments/assets/7e1200f0-e8fc-4966-9693-310b3fad3682)


and also grants the flexibility to have a custom labels for mobile and
desktop
2025-05-07 12:01:44 -04:00