Commit Graph
12 Commits
Author SHA1 Message Date
dependabot[bot] 3b0653fc07 Build(deps-dev): Bump vitest from 4.0.1 to 4.0.2 (#35584) 2025-10-24 13:24:51 +02:00
Alan Guo Xiang Tan f25dca494c UX: Link to post when clicking on subject in received email logs (#35567)
This commit also updates the rejected email logs tab to show the details
of the rejected email when the error message is clicked instead of the
subject.
2025-10-24 10:19:30 +08:00
Martin Brennan b45676e7c5 FIX: Handle media optimization worker load timeouts and errors (#34943)
This commit handles an issue some customers are having with
the media optimization worker when uploading images.

1. Sometimes the `new Worker()` call hangs indefinitely. To handle
   this, we can check if it installed within 3 seconds, and if not
   we fail and reject the promise.
2. We also add a `try...catch` around the `new Worker()` call to
   catch any CSP issues or exceptions that may occur during worker
   instantiation.
2025-10-24 11:13:00 +10:00
Yan 4d8e8c2cb8 DEV: Add PluginOutlets to Second Factor page and modal (#35465)
This PR adds PluginOutlets to Second Factor page for the User and the
modal where the instructions provided.
2025-10-23 16:57:22 +01:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> f19f6077f0 Build(deps-dev): Bump vitest from 3.2.4 to 4.0.1 (#35558)
Bumps
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
from 3.2.4 to 4.0.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
-
[Commits](https://github.com/vitest-dev/vitest/commits/v4.0.1/packages/vitest)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-23 12:42:18 +02:00
Joffrey JAFFEUX fc437052bb DEV: Add optional clear button to FilterInput component (#35569)
Introduces a new `@onClearInput` argument to the FilterInput component
that enables an optional clear button (X icon) to reset the input value.

API Changes:

FilterInput component now accepts:
- `@onClearInput` (optional) - Callback invoked when clear button is
clicked
- When both `@onClearInput` and `@value.length` are truthy, a clear
button appears on the right side of the input

Behavior:
- Clear button automatically shows/hides based on input value length
- Clicking clear button invokes the provided callback
- Input automatically receives focus after clearing

Usage:
```gjs
<FilterInput
  @value={{this.searchTerm}}
  @onClearInput={{this.handleClear}}
  @filterAction={{this.handleInput}}
/>
```

This new API is used on this commit for clearing the input of chat
search queries:

<img width="345" height="84" alt="Screenshot 2025-10-23 at 10 51 33"
src="https://github.com/user-attachments/assets/817912cb-acbc-4a15-877e-c130d8087863"
/>
<img width="672" height="57" alt="Screenshot 2025-10-23 at 10 51 27"
src="https://github.com/user-attachments/assets/6aa17f26-04fe-49c9-9fca-555e1cc7298c"
/>
2025-10-23 12:39:37 +02:00
David Battersby ba6c2ae7c5 UX: add missing translations for lightbox (#35568)
Follows the convention of showing the shortcut key in translation for
the zoom and close buttons, and also adds a new error translation for
PhotoSwipe.

See: https://photoswipe.com/options/#translating
2025-10-23 13:51:27 +04:00
David Battersby 2ff932535c FIX: lightbox img size within details element (#35570)
When the details element is collapsed we cannot use `innerHTML` as it
returns a blank string, we can still use `textContent` to get the value
we need to parse the large image width and height.
2025-10-23 13:20:27 +04:00
Martin Brennan b95239c8a9 FIX: Always save post drafts no matter content length (#35540)
Followup 0853208d67

Currently, whether a draft saves or not can be transparent
to members, since we don't save a draft if the title/content
of the post doesn't meet a certain length requirement. This
happens silently. We don't consider e.g. quotes in this length
calculation, so this can lead to people losing drafts, and
generally is a confusing overall experience.

In this commit, we no longer care about the length of the topic
title or post body when deciding whether to save a draft, we
will always just save.

If members end up with too many drafts they can always bulk
delete them from their profile
2025-10-23 09:38:15 +10:00
Jarek Radosz 34f37659ae DEV: Remove unused old modal code/css (#35553) 2025-10-22 20:08:24 +02:00
Kris 27d5fdad8d FIX: Update optionalRequire paths after admin directory move (#35551)
Looks like the admin directory move (#35322) caused a couple issues with
optionalRequire paths, this updates the paths to get the tag admin
dropdown and review queue IP lookup working again.
2025-10-22 12:49:54 -04:00
David Taylor d1e1c02fcb DEV: Rename app/assets/javascripts/ -> frontend/
Commit created with `mv app/assets/javascripts frontend && git add .`
2025-10-22 16:24:11 +01:00