Commit Graph

35355 Commits

Author SHA1 Message Date
264b9db188 UX: improve admin search focus states (#32751)
Before:

![image](https://github.com/user-attachments/assets/7fee4e81-433a-4783-9055-a6ecdd7f4e10)


After: 

![image](https://github.com/user-attachments/assets/2924e54c-438c-409d-85ae-3257ee608bd7)
2025-05-15 13:18:31 -04:00
8918537b55 FIX: adds missing search-input-wrapper (#32749)
This node has been incorrectly removed in
215a129b68

Before:

![Screenshot 2025-05-15 at 18 30
59](https://github.com/user-attachments/assets/f7a7a544-59da-49ed-8c87-4f821984f140)

After:

![Screenshot 2025-05-15 at 18 30
27](https://github.com/user-attachments/assets/de77a888-8f48-410b-a26a-7abe2e08f9e6)
2025-05-15 18:51:05 +02:00
ce2729e676 DEV: trigger single event when multiple posts are destroyed at once (#32731)
a complement to the :post_destroyed event - customer needed an action to
happen just once when the wrench icon was used to delete one or more
posts ...
2025-05-15 09:57:07 -04:00
305ebedfa1 Allow passing a redirect path to a param on the /login route (#32711)
Detects the `redirect` queryParam on the /login route. If the user is
already logged in, navigates to that page. Otherwise, sets the
"destination_url" cookie so that the user will be redirected after
logging in.

If the param doesn't start with a single slash, ignore it and follow
previous behavior (navigate to "/" or log in then navigate there)

Respects subfolder configs.
2025-05-15 08:48:06 -05:00
2e4076f586 DEV: standardise toasts duration (#32741)
Toasts can now have two durations:
- `short` -> 3000ms
- `long` -> 5000ms

For backwards compatibility integer values still work but will display a deprecation message in the browser console.
2025-05-15 14:59:37 +02:00
215a129b68 Revert UX: header search mobile support (#32748)
This reverts the complete work on "Improvements to mobile search" while
respecting all the related changes that were made after the next two
PRs:

- https://github.com/discourse/discourse/pull/32306
- https://github.com/discourse/discourse/pull/31711
2025-05-15 14:27:40 +02:00
5a8ab0b007 Build(deps): Bump prosemirror-view from 1.39.2 to 1.39.3 in the prosemirror group (#32738)
Bumps the prosemirror group with 1 update:
[prosemirror-view](https://github.com/prosemirror/prosemirror-view).


Updates `prosemirror-view` from 1.39.2 to 1.39.3
-
[Changelog](https://github.com/ProseMirror/prosemirror-view/blob/master/CHANGELOG.md)
-
[Commits](https://github.com/prosemirror/prosemirror-view/compare/1.39.2...1.39.3)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-15 14:16:33 +02:00
11b740be89 DEV: Resolve content-tag initSync deprecation (#32746) 2025-05-15 13:04:52 +01:00
358fc9631c DEV: Raise error if lib/viewport is imported (#32745) 2025-05-15 12:46:12 +01:00
eed9e1674b Build(deps): Bump @faker-js/faker from 9.7.0 to 9.8.0 (#32739)
Bumps [@faker-js/faker](https://github.com/faker-js/faker) from 9.7.0 to
9.8.0.
- [Release notes](https://github.com/faker-js/faker/releases)
- [Changelog](https://github.com/faker-js/faker/blob/next/CHANGELOG.md)
- [Commits](https://github.com/faker-js/faker/compare/v9.7.0...v9.8.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-15 13:40:02 +02:00
51ebe7064c FEATURE: Show localized posts and topics based on user's locale (#32618)
Related:
- https://github.com/discourse/discourse-translator/pull/205
- https://github.com/discourse/discourse-translator/pull/274
- https://github.com/discourse/discourse-translator/pull/294

With this PR, we will start showing localized posts (if available) based
on the user's locale.

This work had been done in discourse-translator, but is now moving to
core.
2025-05-15 19:11:06 +08:00
7558e2c7cd DEV: revert admin users list change (#32723)
This change was unfortunately introduced in
b6aad28ccf (diff-5c7ecbec34de2166b60c5381df93a4e8438a2dbb6dcb8af0203cff4462fbc64b)
to prevent a failing spec due to the lack of last message bus id.

This commit reverts the change associated to it which was causing the
JSON response to be an object instead of an array.
2025-05-15 09:48:01 +02:00
231b3943d3 UX: simplify admin search, make more accessible (#32733)
This simplifies the admin search and adds some basic accessibility

Simplification: 
* Removes the filters for now, both in the modal and full-screen 
* Removes the link to full-screen from the modal
* Simpler input placeholder text
* Positioned to sit higher on the page, similar to a command palette 

Accessibility: 
* Results (or lack of) announced for screenreaders after query 

Bonus: 
* Makes the modal input sticky on scroll 
* Combined some styles shared between this and the chat menu (modifier +
k) under a `--quick-palette` class



Before:

![image](https://github.com/user-attachments/assets/0af2d741-e870-4ad2-b305-57dc4afc3946)


After:


![image](https://github.com/user-attachments/assets/a8492aed-03c7-4d73-a3d3-ae89834b82bc)

---------

Co-authored-by: Krzysztof Kotlarek <kotlarek.krzysztof@gmail.com>
2025-05-15 16:31:03 +10:00
02a805c3ad DEV: Revert unintended changes to GroupsController #add_members and its corresponding route (#32732)
Reverted unintended changes to group routes made
[here](https://github.com/discourse/discourse/pull/32442/files#diff-959bc9abc46a55332bb64d5155a79323afa75a50ec1a2137ddd22d926f62c6c5)
2025-05-14 16:31:19 -05:00
a9c648dff4 FIX: this was hiding the top of the composer on iOS (#32734) 2025-05-14 22:46:00 +02:00
ded2938700 UX: Focus on sign up form in social auth flow (#32728)
If user returns to the signup form with data from their social login,
then we shouldn't show the right side column, because it is confusing to
have buttons there that restart the social login flow. This PR makes it
so we only show the signup form.

Internal ticket: /t/154184

---------

Co-authored-by: Régis Hanol <regis@hanol.fr>
2025-05-14 13:28:43 -04:00
267736e5bc DEV: Show login-required splash in root route (take 2) (#32629) 2025-05-14 11:25:43 -04:00
2066e8619f REFACTOR: merge mobile reviewables css into common (#32714)
This moves the mobile styles into common under the relevant breakpoint.
No major visual changes should result.
2025-05-14 09:36:35 -04:00
33fbf19d05 FIX: ensure we can lookup identical ip addresses (#32725)
This has been broken in
b6aad28ccf

We correctly access the users object and added a test to prevent future
regressions.
2025-05-14 11:48:01 +02:00
c8d49a4d0a UX: split admin logo and fonts to separate pages (#32700)
Before we had logo and fonts page merged together. Decided to split
them.
2025-05-14 14:02:34 +08:00
a445e8cce5 DEV: Port the about page extra groups functionality into core (#32659)
We want to merge the theme component that allows admins to display extra groups on the about page. The settings for this are now under About your site.

All the code is lift-and-shift, with some minor adjustments, e.g. theme components can't use the group_list setting type, but it has been converted to that here.

Also the system tests for the admin controls are new.

This whole thing is gated behind a hidden site setting to avoid double rendering while we deprecate the theme component.
2025-05-14 09:44:25 +08:00
736f247511 Build(deps): Bump terser from 5.39.0 to 5.39.1 (#32716)
Bumps [terser](https://github.com/terser/terser) from 5.39.0 to 5.39.1.
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.39.0...v5.39.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-14 07:48:54 +08:00
94932de163 Build(deps-dev): Bump ember-qunit from 9.0.2 to 9.0.3 (#32718)
Bumps [ember-qunit](https://github.com/emberjs/ember-qunit) from 9.0.2
to 9.0.3.
- [Release notes](https://github.com/emberjs/ember-qunit/releases)
-
[Changelog](https://github.com/emberjs/ember-qunit/blob/main/.release-plan.json)
- [Commits](https://github.com/emberjs/ember-qunit/commits)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-14 07:15:18 +08:00
fdf3d8ea5d FIX: wrong class in schema setting editor stylesheet file (#32715)
relates to https://github.com/discourse/discourse/pull/32707 and
https://github.com/discourse/discourse/pull/32706

I've retested manually and all should be fine now.
2025-05-13 19:00:28 -03:00
105f5eca8c UX: Modal to inherit border radius (#32709) 2025-05-13 15:27:51 -05:00
2a738620c4 UX: minor style adjustments for experimental translation feature (#32708)
Before:

![image](https://github.com/user-attachments/assets/ff51c2b8-fff9-4c19-a8c8-6edb8a72a2fb)


After: 

![image](https://github.com/user-attachments/assets/c3b9a858-3499-4e35-bb48-a8da3ba5db3c)
2025-05-13 16:10:37 -04:00
51c687e6db UX: add missing import to admin_base.scss (#32707)
While re-reviewing what I did in
https://github.com/discourse/discourse/pull/32706, I noticed that the
import for customize_show_schema in `admin_base.scss` file was missing.
Probably removed by mistake in the rebase.
2025-05-13 16:41:13 -03:00
5072615290 FEATURE: Add the group show endpoint to search groups by id instead of only the slug name (#32442)
**Description**
As part of a customer request, we have added the option to search groups
by ID when doing API calls. However, in doing so we have decided to
correct the confusion around the group's routes. Previously the route
would look like `g/:id` while taking the `name` of the group as the
param. For example, when getting a group the route would be like this:

```
GET /g/admins
```

This would make the code in the controller seem as if it was handling
the group IDs instead of names. With these changes, this should be
addressed.
2025-05-13 14:22:06 -05:00
4d99c839b6 FEATURE: porting type object to site settings (#32706) 2025-05-13 14:30:24 -03:00
c688554cdd Build(deps-dev): Bump ember-async-data from 2.0.0 to 2.0.1 (#32699)
Bumps
[ember-async-data](https://github.com/tracked-tools/ember-async-data)
from 2.0.0 to 2.0.1.
- [Release
notes](https://github.com/tracked-tools/ember-async-data/releases)
-
[Changelog](https://github.com/tracked-tools/ember-async-data/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tracked-tools/ember-async-data/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-13 15:25:30 +02:00
7e3b2c4738 Build(deps-dev): Bump testem from 3.15.2 to 3.16.0 (#32697)
Bumps [testem](https://github.com/testem/testem) from 3.15.2 to 3.16.0.
- [Release notes](https://github.com/testem/testem/releases)
- [Commits](https://github.com/testem/testem/compare/v3.15.2...v3.16.0)

---------

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-13 15:22:58 +02:00
7315a2fc70 UX: add fixed scrollbar gutter to avoid jump with modals (#32702) 2025-05-13 11:43:55 +02:00
70a0cc4d7a DEV: better error message when "becoming" an inactive user (#32689)
In development mode, when 'DISCOURSE_DEV_ALLOW_ANON_TO_IMPERSONATE' is
enabled, and going to /session/:username/become, we will now show an
error message when trying to impersonate an inactive user.

This was not obvious why trying to impersonate a user wasn't working
locally because I would hit the URL and be redirected back to the index
without any error and without being logged in.
2025-05-13 11:10:12 +02:00
2f41cdd2f7 FIX: header search mobile z-index issue (#32683)
Follow up fix for #32401 


![CleanShot 2025-05-12 at 13 51
02@2x](https://github.com/user-attachments/assets/08cef352-8dbe-4a6f-936b-5ac72dcd9e06)![CleanShot
2025-05-12 at 13 50
17@2x](https://github.com/user-attachments/assets/f3c51588-6afb-464f-9553-f3def8fc0a5d)
2025-05-13 10:11:15 +02:00
c2ae2e244c DEV: Fix cooked content rendering issues in the Glimmer Post Stream (#32670) 2025-05-12 16:23:08 -03:00
0658773056 DEV: use DButton for user header avatar menu (#32687)
We were using a vanilla `button` tag here, but can use `DButton` now,
this helps us be more consistent with classes... we had a minor issue
where class differences changed the active state between buttons here...


Before (hamburger and avatar forced active):

![image](https://github.com/user-attachments/assets/64511b29-40c0-4bdb-8564-410fb7b0f961)


After (hamburger and avatar forced active): 

![image](https://github.com/user-attachments/assets/d2412583-7f2e-4e1e-ae36-4369d6bf9e6b)


I also noticed we have a useless title attribute on the image here, the
title should be on the button and the image doesn't need one.

I've also cleaned up the titles:

* hamburger menu was previously just `menu` but we refer to this as
`Navigation menu` generally, and that provides a lot more context

* the notification menu was "Username's account" but more accurately
it's "Notifications and account" (and I don't think we need the username
present)
2025-05-12 15:12:11 -04:00
c16bc66e1a DEV: Enable iOS media optimization by default (#32686)
Tests following
fa03d7719f
and
f3c41af772
are successful, let's enable this for iOS now by default.
2025-05-12 14:21:43 -04:00
6551bd8155 DEV: clean up review queue button classes (#32685)
These reject/approve buttons were getting `btn-default` classes rather
than `btn-danger` or `btn-success`, which meant the styles for the
colors had to be applied separately to `.approve-post` and
`.reject-post`. This also meant the styles needed an additional override
in themes.

Moving to our common button classes helps centralize the styles and
avoids a manual override being needed in themes.

Button appearance is the same before/after 


![image](https://github.com/user-attachments/assets/941514f6-90c4-477c-b2e2-a02b2f296acc)
2025-05-12 13:20:22 -04:00
d213cd1b00 DEV: Refactor content-tag usage in theme-transpiler, and upgrade (#32684)
This strategy allows us to synchronously init the wasm, without needing
a patch on the npm package

---------

Co-authored-by: Jarek Radosz <jarek@cvx.dev>
2025-05-12 17:54:48 +01:00
de32f00b30 DEV: add value transformer for hamburger click outside exceptions (#32673)
This allows themes to add exceptions for menus that may be triggered
from the hamburger menu... like this

```js
api.registerValueTransformer(
  "hamburger-dropdown-click-outside-exceptions",
  ({ value }) => {
    return [...value, ".topic-drafts-menu-content"];
  }
);
```
2025-05-12 10:12:30 -04:00
46093eddf3 DEV: Bump linting dependencies and fix violations (#32682)
template-lint ignores added to workaround bug. Fix is pending release in https://github.com/ember-template-lint/ember-template-lint/pull/3248
2025-05-12 14:14:07 +01:00
5883085af3 DEV: Replace all @breakpoint with @viewport.* (#32649) 2025-05-12 12:52:45 +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
1fd843ced6 DEV: Deprecate boundDate and formatAge helpers (#32672) 2025-05-10 20:08:08 +02: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
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
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