Skip to content

A platform for community discussion. Free, open, simple.

DEV: Use builtin ember truth keywords (#44955)

David Taylor23949cfdec87
diff --git a/.skills/discourse-writing-typescript/SKILL.md b/.skills/discourse-writing-typescript/SKILL.md
index 60af4593cdc..3d6e913e945 100644
--- a/.skills/discourse-writing-typescript/SKILL.md
+++ b/.skills/discourse-writing-typescript/SKILL.md
@@ -170,8 +170,7 @@ plugin-setting extension mechanism.
**A plain function IS a valid Glint template helper.** You do not need a class-based
`Helper` to get a precise, argument-dependent return. A generic variadic function with a
-`const` type param resolves correctly both as a direct call and in `{{...}}` invocation (see
-`frontend/discourse/truth-helpers/helpers/or.ts`):
+`const` type param resolves correctly both as a direct call and in `{{...}}` invocation:
```ts
export default function or<const T extends MaybeTruthy[]>(...args: T): FirstTruthy<T>;
@@ -260,9 +259,8 @@ in type ...`, or a helper returning a loose or wrong type). Two fixes:
these stopgaps are greppable and get removed once the underlying component is typed.
- **Untyped helper:** either wrap the value in a typed getter at the call site, or, better,
- type the helper itself (and add a type test). `truth-helpers` is fully typed, so `or`/`and`
- already return the precise value union; a still-untyped helper can follow the same
- plain-function-with-overload pattern. Tag any interim workaround `TODO(typescript-pending)`.
+ type the helper itself (and add a type test) with the plain-function-with-overload pattern
+ above. Tag any interim workaround `TODO(typescript-pending)`.
- **Sibling types:** `HelperLike<Sig>` / `ModifierLike<Sig>` are the same idea for untyped
helpers and modifiers; **`WithBoundArgs<typeof Comp, "argName">`** types a *curried*
diff --git a/docs/developer-guides/package.json b/docs/developer-guides/package.json
index ebe97e88b7a..67b7d9e5859 100644
--- a/docs/developer-guides/package.json
+++ b/docs/developer-guides/package.json
@@ -6,7 +6,7 @@
"lint:fix": "prettier --write '**/*.{md,json,mjs,yml}'"
},
"devDependencies": {
- "@discourse/lint-configs": "^3.8.2",
+ "@discourse/lint-configs": "^3.9.0",
"prettier": "3.8.1"
}
}
diff --git a/frontend/discourse-types/generate-external-types.js b/frontend/discourse-types/generate-external-types.js
index 1f53dcdbf28..0699351dae7 100644
--- a/frontend/discourse-types/generate-external-types.js
+++ b/frontend/discourse-types/generate-external-types.js
@@ -27,7 +27,6 @@ const packageNames = [
"ember-modifier",
"ember-qunit",
"ember-source",
- "ember-truth-helpers",
"pretender",
];
diff --git a/frontend/discourse-types/tsconfig-plugin.json b/frontend/discourse-types/tsconfig-plugin.json
index 9d91b7550fa..60471ce2906 100644
--- a/frontend/discourse-types/tsconfig-plugin.json
+++ b/frontend/discourse-types/tsconfig-plugin.json
@@ -23,7 +23,6 @@
"ember-modifier",
"ember-qunit",
"ember-source",
- "ember-truth-helpers",
"ember__render-modifiers",
"ember__string",
"ember__test-helpers",
diff --git a/frontend/discourse/admin/components/admin-config-area-card.gjs b/frontend/discourse/admin/components/admin-config-area-card.gjs
index 269ce62ebac..97e5e7fcee0 100644
--- a/frontend/discourse/admin/components/admin-config-area-card.gjs
+++ b/frontend/discourse/admin/components/admin-config-area-card.gjs
@@ -2,7 +2,6 @@
import Component from "@glimmer/component";
import { tracked } from "@glimmer/tracking";
import { action } from "@ember/object";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/admin-config-areas/api-keys-new.gjs b/frontend/discourse/admin/components/admin-config-areas/api-keys-new.gjs
index 0a8a54d7576..72828104c91 100644
--- a/frontend/discourse/admin/components/admin-config-areas/api-keys-new.gjs
+++ b/frontend/discourse/admin/components/admin-config-areas/api-keys-new.gjs
@@ -12,7 +12,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import { bind } from "discourse/lib/decorators";
import { clipboardCopy } from "discourse/lib/utilities";
import EmailGroupUserChooser from "discourse/select-kit/components/email-group-user-chooser";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSection from "discourse/ui-kit/d-conditional-loading-section";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/admin/components/admin-config-areas/emojis-import.gjs b/frontend/discourse/admin/components/admin-config-areas/emojis-import.gjs
index 5e7581c6b31..8ca6121c603 100644
--- a/frontend/discourse/admin/components/admin-config-areas/emojis-import.gjs
+++ b/frontend/discourse/admin/components/admin-config-areas/emojis-import.gjs
@@ -8,7 +8,6 @@ import BackButton from "discourse/components/back-button";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import getURL from "discourse/lib/get-url";
-import { eq, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/admin-config-areas/upcoming-change-item.gjs b/frontend/discourse/admin/components/admin-config-areas/upcoming-change-item.gjs
index 48fc8d3c546..349a81112fd 100644
--- a/frontend/discourse/admin/components/admin-config-areas/upcoming-change-item.gjs
+++ b/frontend/discourse/admin/components/admin-config-areas/upcoming-change-item.gjs
@@ -22,7 +22,6 @@ import discourseLater from "discourse/lib/later";
import lightbox from "discourse/lib/lightbox";
import { sanitize } from "discourse/lib/text";
import Group from "discourse/models/group";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DNativeSelect from "discourse/ui-kit/d-native-select";
import dBasePath from "discourse/ui-kit/helpers/d-base-path";
diff --git a/frontend/discourse/admin/components/admin-config-areas/webhooks-form.gjs b/frontend/discourse/admin/components/admin-config-areas/webhooks-form.gjs
index 867f0f70a4a..a6b0ee42646 100644
--- a/frontend/discourse/admin/components/admin-config-areas/webhooks-form.gjs
+++ b/frontend/discourse/admin/components/admin-config-areas/webhooks-form.gjs
@@ -12,7 +12,6 @@ import lazyHash from "discourse/helpers/lazy-hash";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { autoTrackedArray } from "discourse/lib/tracked-tools";
import CategorySelector from "discourse/select-kit/components/category-selector";
-import { eq } from "discourse/truth-helpers";
import DConditionalLoadingSection from "discourse/ui-kit/d-conditional-loading-section";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/admin-flag-item-reorderable.gjs b/frontend/discourse/admin/components/admin-flag-item-reorderable.gjs
index e213e7288fe..d8d4e93e753 100644
--- a/frontend/discourse/admin/components/admin-flag-item-reorderable.gjs
+++ b/frontend/discourse/admin/components/admin-flag-item-reorderable.gjs
@@ -11,7 +11,6 @@ import { SYSTEM_FLAG_IDS } from "discourse/admin/lib/constants";
import DMenu from "discourse/float-kit/components/d-menu";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import DToggleSwitch from "discourse/ui-kit/d-toggle-switch";
diff --git a/frontend/discourse/admin/components/admin-flag-item.gjs b/frontend/discourse/admin/components/admin-flag-item.gjs
index 6cfe34a8303..18bfeca45df 100644
--- a/frontend/discourse/admin/components/admin-flag-item.gjs
+++ b/frontend/discourse/admin/components/admin-flag-item.gjs
@@ -11,7 +11,6 @@ import { SYSTEM_FLAG_IDS } from "discourse/admin/lib/constants";
import DMenu from "discourse/float-kit/components/d-menu";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import DToggleSwitch from "discourse/ui-kit/d-toggle-switch";
diff --git a/frontend/discourse/admin/components/admin-font-chooser.gjs b/frontend/discourse/admin/components/admin-font-chooser.gjs
index 8936fa0406e..2c1948850e1 100644
--- a/frontend/discourse/admin/components/admin-font-chooser.gjs
+++ b/frontend/discourse/admin/components/admin-font-chooser.gjs
@@ -4,7 +4,6 @@ import { concat, fn } from "@ember/helper";
import { action } from "@ember/object";
import { dasherize } from "@ember/string";
import { MAIN_FONTS, MORE_FONTS } from "discourse/admin/lib/constants";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/admin-fonts-form.gjs b/frontend/discourse/admin/components/admin-fonts-form.gjs
index 8b7db48a5c9..43f24e65544 100644
--- a/frontend/discourse/admin/components/admin-fonts-form.gjs
+++ b/frontend/discourse/admin/components/admin-fonts-form.gjs
@@ -13,7 +13,6 @@ import Form from "discourse/components/form";
import UpdateDefaultTextSize from "discourse/components/modal/update-default-text-size";
import { ajax } from "discourse/lib/ajax";
import { bind } from "discourse/lib/decorators";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/admin-form-row.gjs b/frontend/discourse/admin/components/admin-form-row.gjs
index c5d7a91e8bd..9a540429d62 100644
--- a/frontend/discourse/admin/components/admin-form-row.gjs
+++ b/frontend/discourse/admin/components/admin-form-row.gjs
@@ -1,4 +1,3 @@
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/admin-mcp.gjs b/frontend/discourse/admin/components/admin-mcp.gjs
index 2e21827d2eb..5fb3f025029 100644
--- a/frontend/discourse/admin/components/admin-mcp.gjs
+++ b/frontend/discourse/admin/components/admin-mcp.gjs
@@ -23,7 +23,6 @@ import discourseDebounce from "discourse/lib/debounce";
import { INPUT_DELAY } from "discourse/lib/environment";
import { clipboardCopy } from "discourse/lib/utilities";
import GroupChooser from "discourse/select-kit/components/group-chooser";
-import { eq, not, notEq, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DLoadMore from "discourse/ui-kit/d-load-more";
@@ -2026,7 +2025,7 @@ export default class AdminMcp extends Component {
authorization.status
}}</span></td>
<td class="d-table__cell --controls">{{#if
- (notEq authorization.status "revoked")
+ (neq authorization.status "revoked")
}}<DButton
class="btn-small btn-danger"
@action={{fn this.revokeAuthorization authorization}}
diff --git a/frontend/discourse/admin/components/admin-penalty-reason.gjs b/frontend/discourse/admin/components/admin-penalty-reason.gjs
index c10dd2b7168..da7c74834d3 100644
--- a/frontend/discourse/admin/components/admin-penalty-reason.gjs
+++ b/frontend/discourse/admin/components/admin-penalty-reason.gjs
@@ -5,7 +5,6 @@ import { action } from "@ember/object";
import { trustHTML } from "@ember/template";
import withEventValue from "discourse/helpers/with-event-value";
import ComboBox from "discourse/select-kit/components/combo-box";
-import { eq } from "discourse/truth-helpers";
import DTextField from "discourse/ui-kit/d-text-field";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/admin-penalty-similar-users.gjs b/frontend/discourse/admin/components/admin-penalty-similar-users.gjs
index 0669d1c6212..1a3e757af2d 100644
--- a/frontend/discourse/admin/components/admin-penalty-similar-users.gjs
+++ b/frontend/discourse/admin/components/admin-penalty-similar-users.gjs
@@ -6,7 +6,6 @@ import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { trustHTML } from "@ember/template";
import { ajax } from "discourse/lib/ajax";
-import { not } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
import dFormatDuration from "discourse/ui-kit/helpers/d-format-duration";
diff --git a/frontend/discourse/admin/components/admin-permalink-form.gjs b/frontend/discourse/admin/components/admin-permalink-form.gjs
index b0c01ac3efd..1a1cb794817 100644
--- a/frontend/discourse/admin/components/admin-permalink-form.gjs
+++ b/frontend/discourse/admin/components/admin-permalink-form.gjs
@@ -10,7 +10,6 @@ import BackButton from "discourse/components/back-button";
import Form from "discourse/components/form";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { bind } from "discourse/lib/decorators";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
const TYPE_TO_FIELD_MAP = {
diff --git a/frontend/discourse/admin/components/admin-report-body.gjs b/frontend/discourse/admin/components/admin-report-body.gjs
index 11eb77b1d78..54d5e5c5409 100644
--- a/frontend/discourse/admin/components/admin-report-body.gjs
+++ b/frontend/discourse/admin/components/admin-report-body.gjs
@@ -4,7 +4,6 @@ import AdminReport from "discourse/admin/components/admin-report";
import AdminReportRelatedItems from "discourse/admin/components/admin-report-related-items";
import DSegmentedControl from "discourse/components/d-segmented-control";
import DTooltip from "discourse/float-kit/components/d-tooltip";
-import { and } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSection from "discourse/ui-kit/d-conditional-loading-section";
import DDateTimeInputRange from "discourse/ui-kit/d-date-time-input-range";
diff --git a/frontend/discourse/admin/components/admin-search.gjs b/frontend/discourse/admin/components/admin-search.gjs
index 24248550462..7e393af71f2 100644
--- a/frontend/discourse/admin/components/admin-search.gjs
+++ b/frontend/discourse/admin/components/admin-search.gjs
@@ -8,7 +8,6 @@ import { trustHTML } from "@ember/template";
import discourseDebounce from "discourse/lib/debounce";
import { INPUT_DELAY } from "discourse/lib/environment";
import { escapeExpression } from "discourse/lib/utilities";
-import { and, not } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import dAutoFocus from "discourse/ui-kit/modifiers/d-auto-focus";
diff --git a/frontend/discourse/admin/components/admin-section-landing-item.gjs b/frontend/discourse/admin/components/admin-section-landing-item.gjs
index 092a8fc862a..72b18ea40c8 100644
--- a/frontend/discourse/admin/components/admin-section-landing-item.gjs
+++ b/frontend/discourse/admin/components/admin-section-landing-item.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { hash } from "@ember/helper";
import { LinkTo } from "@ember/routing";
-import { and } from "discourse/truth-helpers";
import {
DangerButton,
DefaultButton,
diff --git a/frontend/discourse/admin/components/admin-site-settings-changes-banner.gjs b/frontend/discourse/admin/components/admin-site-settings-changes-banner.gjs
index bf509a490ef..37535189a8a 100644
--- a/frontend/discourse/admin/components/admin-site-settings-changes-banner.gjs
+++ b/frontend/discourse/admin/components/admin-site-settings-changes-banner.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { action } from "@ember/object";
import { service } from "@ember/service";
import ChangesBanner from "discourse/admin/components/changes-banner";
-import { gt } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
export default class AdminSiteSettingsChangesBanner extends Component {
diff --git a/frontend/discourse/admin/components/admin-site-settings-filter-controls.gjs b/frontend/discourse/admin/components/admin-site-settings-filter-controls.gjs
index f5e34a22d95..ca3cfd494d7 100644
--- a/frontend/discourse/admin/components/admin-site-settings-filter-controls.gjs
+++ b/frontend/discourse/admin/components/admin-site-settings-filter-controls.gjs
@@ -6,7 +6,6 @@ import { action } from "@ember/object";
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
import didUpdate from "@ember/render-modifiers/modifiers/did-update";
import { service } from "@ember/service";
-import { and, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/admin-theme-editor.gjs b/frontend/discourse/admin/components/admin-theme-editor.gjs
index 11f225a98de..ae7437b3ade 100644
--- a/frontend/discourse/admin/components/admin-theme-editor.gjs
+++ b/frontend/discourse/admin/components/admin-theme-editor.gjs
@@ -11,7 +11,6 @@ import { trustHTML } from "@ember/template";
import { tagName } from "@ember-decorators/component";
import AceEditor from "discourse/components/ace-editor";
import { isDocumentRTL } from "discourse/lib/text-direction";
-import { gt } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DHorizontalOverflowNav from "discourse/ui-kit/d-horizontal-overflow-nav";
import DToggleSwitch from "discourse/ui-kit/d-toggle-switch";
diff --git a/frontend/discourse/admin/components/admin-user-fields-form.gjs b/frontend/discourse/admin/components/admin-user-fields-form.gjs
index 79fdb8a6ff6..3c29080a0dc 100644
--- a/frontend/discourse/admin/components/admin-user-fields-form.gjs
+++ b/frontend/discourse/admin/components/admin-user-fields-form.gjs
@@ -10,7 +10,6 @@ import Form from "discourse/components/form";
import PluginOutlet from "discourse/components/plugin-outlet";
import lazyHash from "discourse/helpers/lazy-hash";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { eq, or } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
export default class AdminUserFieldsForm extends Component {
diff --git a/frontend/discourse/admin/components/admin-user-upcoming-changes.gjs b/frontend/discourse/admin/components/admin-user-upcoming-changes.gjs
index 55abac573b7..cd6ad861790 100644
--- a/frontend/discourse/admin/components/admin-user-upcoming-changes.gjs
+++ b/frontend/discourse/admin/components/admin-user-upcoming-changes.gjs
@@ -5,7 +5,6 @@ import { UPCOMING_CHANGES_USER_ENABLED_REASONS } from "discourse/lib/constants";
import { bind } from "discourse/lib/decorators";
import getUrl from "discourse/lib/get-url";
import { escapeExpression } from "discourse/lib/utilities";
-import { and, eq } from "discourse/truth-helpers";
import DFilterControls from "discourse/ui-kit/d-filter-controls";
import DModal from "discourse/ui-kit/d-modal";
import dEmoji from "discourse/ui-kit/helpers/d-emoji";
diff --git a/frontend/discourse/admin/components/admin-watched-word.gjs b/frontend/discourse/admin/components/admin-watched-word.gjs
index a4111bd875e..c96bcc45042 100644
--- a/frontend/discourse/admin/components/admin-watched-word.gjs
+++ b/frontend/discourse/admin/components/admin-watched-word.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { action } from "@ember/object";
import { service } from "@ember/service";
-import { eq, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/color-palette-editor.gjs b/frontend/discourse/admin/components/color-palette-editor.gjs
index 9eee4499454..0998aad0df5 100644
--- a/frontend/discourse/admin/components/color-palette-editor.gjs
+++ b/frontend/discourse/admin/components/color-palette-editor.gjs
@@ -6,7 +6,6 @@ import { action } from "@ember/object";
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
import { service } from "@ember/service";
import { isValidHex, normalizeHex } from "discourse/lib/color-transformations";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/admin/components/color-palette-list-item.gjs b/frontend/discourse/admin/components/color-palette-list-item.gjs
index 240b76d0fbe..d0896c45016 100644
--- a/frontend/discourse/admin/components/color-palette-list-item.gjs
+++ b/frontend/discourse/admin/components/color-palette-list-item.gjs
@@ -8,7 +8,6 @@ import DButtonTooltip from "discourse/float-kit/components/d-button-tooltip";
import DMenu from "discourse/float-kit/components/d-menu";
import DTooltip from "discourse/float-kit/components/d-tooltip";
import { bind } from "discourse/lib/decorators";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/admin/components/dashboard-new-feature-item.gjs b/frontend/discourse/admin/components/dashboard-new-feature-item.gjs
index ec0a7f65a8b..c21f7945f56 100644
--- a/frontend/discourse/admin/components/dashboard-new-feature-item.gjs
+++ b/frontend/discourse/admin/components/dashboard-new-feature-item.gjs
@@ -1,6 +1,5 @@
import Component from "@glimmer/component";
import { dasherize } from "@ember/string";
-import { and, not } from "discourse/truth-helpers";
import DCookText from "discourse/ui-kit/d-cook-text";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/dashboard-problems.gjs b/frontend/discourse/admin/components/dashboard-problems.gjs
index de458b0d28f..dbde0f1ab9a 100644
--- a/frontend/discourse/admin/components/dashboard-problems.gjs
+++ b/frontend/discourse/admin/components/dashboard-problems.gjs
@@ -6,7 +6,6 @@ import AdminNotice from "discourse/admin/components/admin-notice";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { removeValueFromArray } from "discourse/lib/array-tools";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSection from "discourse/ui-kit/d-conditional-loading-section";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/admin/components/dashboard/configure-menu.gjs b/frontend/discourse/admin/components/dashboard/configure-menu.gjs
index 6c713a0e108..d23497c9ea0 100644
--- a/frontend/discourse/admin/components/dashboard/configure-menu.gjs
+++ b/frontend/discourse/admin/components/dashboard/configure-menu.gjs
@@ -5,7 +5,6 @@ import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { service } from "@ember/service";
import discourseLater from "discourse/lib/later";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DToggleSwitch from "discourse/ui-kit/d-toggle-switch";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/admin/components/dashboard/date-range-picker.gjs b/frontend/discourse/admin/components/dashboard/date-range-picker.gjs
index 34ac2e44e53..77eebe1f0b6 100644
--- a/frontend/discourse/admin/components/dashboard/date-range-picker.gjs
+++ b/frontend/discourse/admin/components/dashboard/date-range-picker.gjs
@@ -5,7 +5,6 @@ import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { service } from "@ember/service";
import { modifier } from "ember-modifier";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/dashboard/engagement/activity-by-category.gjs b/frontend/discourse/admin/components/dashboard/engagement/activity-by-category.gjs
index 5ef6cc353c2..23d900bba9e 100644
--- a/frontend/discourse/admin/components/dashboard/engagement/activity-by-category.gjs
+++ b/frontend/discourse/admin/components/dashboard/engagement/activity-by-category.gjs
@@ -13,7 +13,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import { number } from "discourse/lib/formatter";
import Category from "discourse/models/category";
import MultipleCategoriesSelector from "discourse/select-kit/components/multiple-categories-selector";
-import { eq } from "discourse/truth-helpers";
import dCategoryBadge from "discourse/ui-kit/helpers/d-category-badge";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import I18n, { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/dashboard/engagement/headline.gjs b/frontend/discourse/admin/components/dashboard/engagement/headline.gjs
index a614169e2df..22ab3ebb1c6 100644
--- a/frontend/discourse/admin/components/dashboard/engagement/headline.gjs
+++ b/frontend/discourse/admin/components/dashboard/engagement/headline.gjs
@@ -8,7 +8,6 @@ import {
} from "discourse/admin/lib/dashboard-format";
import { engagementHeadlineKeys } from "discourse/admin/lib/engagement-headline";
import DTooltip from "discourse/float-kit/components/d-tooltip";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
const PERCENTAGE_KPIS = ["dau_mau"];
diff --git a/frontend/discourse/admin/components/dashboard/reports.gjs b/frontend/discourse/admin/components/dashboard/reports.gjs
index 68da0379ba9..aea0641cb62 100644
--- a/frontend/discourse/admin/components/dashboard/reports.gjs
+++ b/frontend/discourse/admin/components/dashboard/reports.gjs
@@ -20,7 +20,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import { isTesting } from "discourse/lib/environment";
import { isDocumentRTL } from "discourse/lib/text-direction";
import { prefersReducedMotion } from "discourse/lib/utilities";
-import { eq, gt } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DResizeHandles from "discourse/ui-kit/d-resize-handles";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/admin/components/dashboard/site-advice.gjs b/frontend/discourse/admin/components/dashboard/site-advice.gjs
index 30951fb6534..b00b967827b 100644
--- a/frontend/discourse/admin/components/dashboard/site-advice.gjs
+++ b/frontend/discourse/admin/components/dashboard/site-advice.gjs
@@ -6,7 +6,6 @@ import { service } from "@ember/service";
import { trustHTML } from "@ember/template";
import { compare } from "@ember/utils";
import linkifySettingLinks from "discourse/admin/modifiers/linkify-setting-links";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/dashboard/traffic.gjs b/frontend/discourse/admin/components/dashboard/traffic.gjs
index 02fc5d5b054..f119174b4fe 100644
--- a/frontend/discourse/admin/components/dashboard/traffic.gjs
+++ b/frontend/discourse/admin/components/dashboard/traffic.gjs
@@ -8,7 +8,6 @@ import { countryFlag, countryName } from "discourse/admin/lib/format-country";
import DTooltip from "discourse/float-kit/components/d-tooltip";
import { formatMinutesSeconds } from "discourse/lib/formatter";
import getURL from "discourse/lib/get-url";
-import { or } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import I18n, { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/edit-category-localizations.gjs b/frontend/discourse/admin/components/edit-category-localizations.gjs
index 5d09f268e32..d0a558c8b62 100644
--- a/frontend/discourse/admin/components/edit-category-localizations.gjs
+++ b/frontend/discourse/admin/components/edit-category-localizations.gjs
@@ -3,7 +3,6 @@ import { service } from "@ember/service";
import { classNames } from "@ember-decorators/component";
import { buildCategoryPanel } from "discourse/admin/components/edit-category-panel";
import { uniqueItemsFromArray } from "discourse/lib/array-tools";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
@classNames("form-kit__section")
diff --git a/frontend/discourse/admin/components/edit-category-topic-template.gjs b/frontend/discourse/admin/components/edit-category-topic-template.gjs
index e916f876e21..d5752fc7f02 100644
--- a/frontend/discourse/admin/components/edit-category-topic-template.gjs
+++ b/frontend/discourse/admin/components/edit-category-topic-template.gjs
@@ -1,6 +1,5 @@
import { buildCategoryPanel } from "discourse/admin/components/edit-category-panel";
import CategoryTopicTemplateEditor from "discourse/components/category-topic-template-editor";
-import { or } from "discourse/truth-helpers";
export default class EditCategoryTopicTemplate extends buildCategoryPanel(
"topic-template"
diff --git a/frontend/discourse/admin/components/emoji-value-list.gjs b/frontend/discourse/admin/components/emoji-value-list.gjs
index 2c237729c26..a691f0c2797 100644
--- a/frontend/discourse/admin/components/emoji-value-list.gjs
+++ b/frontend/discourse/admin/components/emoji-value-list.gjs
@@ -8,7 +8,6 @@ import EmojiPicker from "discourse/components/emoji-picker";
import EmojiPickerDetached from "discourse/components/emoji-picker/detached";
import { addUniqueValueToArray } from "discourse/lib/array-tools";
import { emojiUrlFor } from "discourse/lib/text";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DReorderableList from "discourse/ui-kit/d-reorderable-list";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/ip-lookup.gjs b/frontend/discourse/admin/components/ip-lookup.gjs
index 5fd781237c0..1017b5ba834 100644
--- a/frontend/discourse/admin/components/ip-lookup.gjs
+++ b/frontend/discourse/admin/components/ip-lookup.gjs
@@ -10,7 +10,6 @@ import DMenu from "discourse/float-kit/components/d-menu";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { clipboardCopy } from "discourse/lib/utilities";
-import { gt } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import dLoadingSpinner from "discourse/ui-kit/helpers/d-loading-spinner";
diff --git a/frontend/discourse/admin/components/manageable-row-list-item.gjs b/frontend/discourse/admin/components/manageable-row-list-item.gjs
index 9f3add174b8..8184813d805 100644
--- a/frontend/discourse/admin/components/manageable-row-list-item.gjs
+++ b/frontend/discourse/admin/components/manageable-row-list-item.gjs
@@ -4,7 +4,6 @@ import { concat, fn } from "@ember/helper";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { service } from "@ember/service";
-import { and, eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DToggleSwitch from "discourse/ui-kit/d-toggle-switch";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/admin/components/modal/compare-groups-reorderable.gjs b/frontend/discourse/admin/components/modal/compare-groups-reorderable.gjs
index 4027124453c..a30aa735f1a 100644
--- a/frontend/discourse/admin/components/modal/compare-groups-reorderable.gjs
+++ b/frontend/discourse/admin/components/modal/compare-groups-reorderable.gjs
@@ -5,7 +5,6 @@ import { action } from "@ember/object";
import { service } from "@ember/service";
import ManageableRowListItemReorderable from "discourse/admin/components/manageable-row-list-item-reorderable";
import ToggleableOrderedList from "discourse/admin/lib/toggleable-ordered-list";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DFilterInput from "discourse/ui-kit/d-filter-input";
import DModal from "discourse/ui-kit/d-modal";
diff --git a/frontend/discourse/admin/components/modal/manage-reports-reorderable.gjs b/frontend/discourse/admin/components/modal/manage-reports-reorderable.gjs
index 507f5160d07..62c6dcc8f99 100644
--- a/frontend/discourse/admin/components/modal/manage-reports-reorderable.gjs
+++ b/frontend/discourse/admin/components/modal/manage-reports-reorderable.gjs
@@ -9,7 +9,6 @@ import lazyHash from "discourse/helpers/lazy-hash";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import discourseDebounce from "discourse/lib/debounce";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DFilterInput from "discourse/ui-kit/d-filter-input";
import DLoadMore from "discourse/ui-kit/d-load-more";
diff --git a/frontend/discourse/admin/components/modal/penalize-user.gjs b/frontend/discourse/admin/components/modal/penalize-user.gjs
index 639a4aa48f2..29a95e26f5a 100644
--- a/frontend/discourse/admin/components/modal/penalize-user.gjs
+++ b/frontend/discourse/admin/components/modal/penalize-user.gjs
@@ -10,7 +10,6 @@ import AdminPenaltyPostAction from "discourse/admin/components/admin-penalty-pos
import AdminPenaltyReason from "discourse/admin/components/admin-penalty-reason";
import AdminPenaltySimilarUsers from "discourse/admin/components/admin-penalty-similar-users";
import { extractError } from "discourse/lib/ajax-error";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DFutureDateInput from "discourse/ui-kit/d-future-date-input";
import DModal from "discourse/ui-kit/d-modal";
diff --git a/frontend/discourse/admin/components/modal/watched-word-testing.gjs b/frontend/discourse/admin/components/modal/watched-word-testing.gjs
index 3e6be1caa4b..d1c14f4760d 100644
--- a/frontend/discourse/admin/components/modal/watched-word-testing.gjs
+++ b/frontend/discourse/admin/components/modal/watched-word-testing.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { cached, tracked } from "@glimmer/tracking";
import { Textarea } from "@ember/component";
-import { or } from "discourse/truth-helpers";
import DModal from "discourse/ui-kit/d-modal";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/problem-check-item.gjs b/frontend/discourse/admin/components/problem-check-item.gjs
index 17ba6138651..f1eea715dc0 100644
--- a/frontend/discourse/admin/components/problem-check-item.gjs
+++ b/frontend/discourse/admin/components/problem-check-item.gjs
@@ -4,7 +4,6 @@ import { action } from "@ember/object";
import { service } from "@ember/service";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { notEq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dFormatDate from "discourse/ui-kit/helpers/d-format-date";
import { i18n } from "discourse-i18n";
@@ -66,7 +65,7 @@ export default class ProblemCheckItem extends Component {
<div class="d-table__mobile-label">{{i18n
"admin.config.problem_checks.target"
}}</div>
- {{#if (notEq @tracker.target "__NULL__")}}
+ {{#if (neq @tracker.target "__NULL__")}}
{{@tracker.target}}
{{/if}}
</td>
diff --git a/frontend/discourse/admin/components/redesigned-admin-dashboard.gjs b/frontend/discourse/admin/components/redesigned-admin-dashboard.gjs
index ae02ee7b57e..27e95da7a1b 100644
--- a/frontend/discourse/admin/components/redesigned-admin-dashboard.gjs
+++ b/frontend/discourse/admin/components/redesigned-admin-dashboard.gjs
@@ -16,7 +16,6 @@ import { lookupAdminDashboardSection } from "discourse/admin/lib/admin-dashboard
import PluginOutlet from "discourse/components/plugin-outlet";
import DMenu from "discourse/float-kit/components/d-menu";
import lazyHash from "discourse/helpers/lazy-hash";
-import { eq } from "discourse/truth-helpers";
import DBreadcrumbsItem from "discourse/ui-kit/d-breadcrumbs-item";
import DPageHeader from "discourse/ui-kit/d-page-header";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/reports/posters-by-member-type-report.gjs b/frontend/discourse/admin/components/reports/posters-by-member-type-report.gjs
index 91b6aa708d5..6397d2d2963 100644
--- a/frontend/discourse/admin/components/reports/posters-by-member-type-report.gjs
+++ b/frontend/discourse/admin/components/reports/posters-by-member-type-report.gjs
@@ -5,7 +5,6 @@ import { on } from "@ember/modifier";
import { action } from "@ember/object";
import didUpdate from "@ember/render-modifiers/modifiers/did-update";
import AdminReport from "discourse/admin/components/admin-report";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/schema-setting/editor.gjs b/frontend/discourse/admin/components/schema-setting/editor.gjs
index 917c28b331f..759bae7d991 100644
--- a/frontend/discourse/admin/components/schema-setting/editor.gjs
+++ b/frontend/discourse/admin/components/schema-setting/editor.gjs
@@ -10,7 +10,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import { cloneJSON } from "discourse/lib/object";
import { autoTrackedArray } from "discourse/lib/tracked-tools";
import Category from "discourse/models/category";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/schema-setting/editor/tree-node.gjs b/frontend/discourse/admin/components/schema-setting/editor/tree-node.gjs
index 2e400979252..45e5115551a 100644
--- a/frontend/discourse/admin/components/schema-setting/editor/tree-node.gjs
+++ b/frontend/discourse/admin/components/schema-setting/editor/tree-node.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { get } from "@ember/helper";
import { on } from "@ember/modifier";
import ChildTree from "discourse/admin/components/schema-setting/editor/child-tree";
-import { gt } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/admin/components/schema-setting/editor/tree.gjs b/frontend/discourse/admin/components/schema-setting/editor/tree.gjs
index 001a42aaf60..4c21fe5dbe4 100644
--- a/frontend/discourse/admin/components/schema-setting/editor/tree.gjs
+++ b/frontend/discourse/admin/components/schema-setting/editor/tree.gjs
@@ -1,7 +1,6 @@
import { fn } from "@ember/helper";
import { on } from "@ember/modifier";
import TreeNode from "discourse/admin/components/schema-setting/editor/tree-node";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/admin/components/schema-setting/number-field.gjs b/frontend/discourse/admin/components/schema-setting/number-field.gjs
index 6af00a19f6f..8ca4a8ca079 100644
--- a/frontend/discourse/admin/components/schema-setting/number-field.gjs
+++ b/frontend/discourse/admin/components/schema-setting/number-field.gjs
@@ -5,7 +5,6 @@ import { Input } from "@ember/component";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
import FieldInputDescription from "discourse/admin/components/schema-setting/field-input-description";
-import { and, not } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
export default class SchemaSettingNumberField extends Component {
diff --git a/frontend/discourse/admin/components/schema-setting/types/categories.gjs b/frontend/discourse/admin/components/schema-setting/types/categories.gjs
index ca886d641d5..451d5c0ccd4 100644
--- a/frontend/discourse/admin/components/schema-setting/types/categories.gjs
+++ b/frontend/discourse/admin/components/schema-setting/types/categories.gjs
@@ -4,7 +4,6 @@ import FieldInputDescription from "discourse/admin/components/schema-setting/fie
import SchemaSettingTypeModels from "discourse/admin/components/schema-setting/types/models";
import Category from "discourse/models/category";
import CategorySelector from "discourse/select-kit/components/category-selector";
-import { and, not } from "discourse/truth-helpers";
export default class SchemaSettingTypeCategories extends SchemaSettingTypeModels {
@tracked
diff --git a/frontend/discourse/admin/components/schema-setting/types/datetime.gjs b/frontend/discourse/admin/components/schema-setting/types/datetime.gjs
index eca76bae349..7bbae978b50 100644
--- a/frontend/discourse/admin/components/schema-setting/types/datetime.gjs
+++ b/frontend/discourse/admin/components/schema-setting/types/datetime.gjs
@@ -4,7 +4,6 @@ import { Input } from "@ember/component";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
import FieldInputDescription from "discourse/admin/components/schema-setting/field-input-description";
-import { and, not } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
export default class SchemaSettingTypeDatetime extends Component {
diff --git a/frontend/discourse/admin/components/schema-setting/types/enum.gjs b/frontend/discourse/admin/components/schema-setting/types/enum.gjs
index 04f441f9ddd..63a2c1b743c 100644
--- a/frontend/discourse/admin/components/schema-setting/types/enum.gjs
+++ b/frontend/discourse/admin/components/schema-setting/types/enum.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { hash } from "@ember/helper";
import FieldInputDescription from "discourse/admin/components/schema-setting/field-input-description";
import ComboBox from "discourse/select-kit/components/combo-box";
-import { not } from "discourse/truth-helpers";
export default class SchemaSettingTypeEnum extends Component {
get content() {
diff --git a/frontend/discourse/admin/components/schema-setting/types/groups.gjs b/frontend/discourse/admin/components/schema-setting/types/groups.gjs
index 8b0cc62bd24..91259b1a905 100644
--- a/frontend/discourse/admin/components/schema-setting/types/groups.gjs
+++ b/frontend/discourse/admin/components/schema-setting/types/groups.gjs
@@ -2,7 +2,6 @@ import { service } from "@ember/service";
import FieldInputDescription from "discourse/admin/components/schema-setting/field-input-description";
import SchemaSettingTypeModels from "discourse/admin/components/schema-setting/types/models";
import GroupChooser from "discourse/select-kit/components/group-chooser";
-import { and, not } from "discourse/truth-helpers";
export default class SchemaSettingTypeGroups extends SchemaSettingTypeModels {
@service site;
diff --git a/frontend/discourse/admin/components/schema-setting/types/icon.gjs b/frontend/discourse/admin/components/schema-setting/types/icon.gjs
index 6c650f4e707..728215c11cd 100644
--- a/frontend/discourse/admin/components/schema-setting/types/icon.gjs
+++ b/frontend/discourse/admin/components/schema-setting/types/icon.gjs
@@ -3,7 +3,6 @@ import Component from "@glimmer/component";
import { tracked } from "@glimmer/tracking";
import { action } from "@ember/object";
import FieldInputDescription from "discourse/admin/components/schema-setting/field-input-description";
-import { and, not } from "discourse/truth-helpers";
import DIconGridPicker from "discourse/ui-kit/d-icon-grid-picker";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/schema-setting/types/string.gjs b/frontend/discourse/admin/components/schema-setting/types/string.gjs
index 56652aae5fb..dac646c5264 100644
--- a/frontend/discourse/admin/components/schema-setting/types/string.gjs
+++ b/frontend/discourse/admin/components/schema-setting/types/string.gjs
@@ -4,7 +4,6 @@ import { Input } from "@ember/component";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
import FieldInputDescription from "discourse/admin/components/schema-setting/field-input-description";
-import { and, not } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/schema-setting/types/tags.gjs b/frontend/discourse/admin/components/schema-setting/types/tags.gjs
index c592800bb20..4f740dc5f23 100644
--- a/frontend/discourse/admin/components/schema-setting/types/tags.gjs
+++ b/frontend/discourse/admin/components/schema-setting/types/tags.gjs
@@ -1,7 +1,6 @@
import FieldInputDescription from "discourse/admin/components/schema-setting/field-input-description";
import SchemaSettingTypeModels from "discourse/admin/components/schema-setting/types/models";
import TagChooser from "discourse/select-kit/components/tag-chooser";
-import { and, not } from "discourse/truth-helpers";
export default class SchemaSettingTypeTags extends SchemaSettingTypeModels {
type = "tags";
diff --git a/frontend/discourse/admin/components/simple-list.gjs b/frontend/discourse/admin/components/simple-list.gjs
index d24790f0d09..96cc3ec2055 100644
--- a/frontend/discourse/admin/components/simple-list.gjs
+++ b/frontend/discourse/admin/components/simple-list.gjs
@@ -7,7 +7,6 @@ import { trackedArray } from "@ember/reactive/collections";
import { service } from "@ember/service";
import withEventValue from "discourse/helpers/with-event-value";
import ComboBox from "discourse/select-kit/components/combo-box";
-import { gt, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DReorderableList from "discourse/ui-kit/d-reorderable-list";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/site-setting.gjs b/frontend/discourse/admin/components/site-setting.gjs
index 335592df012..d9d26f9c4d2 100644
--- a/frontend/discourse/admin/components/site-setting.gjs
+++ b/frontend/discourse/admin/components/site-setting.gjs
@@ -61,7 +61,6 @@ import { deepEqual } from "discourse/lib/object";
import { resolveSettingFieldType } from "discourse/lib/setting-field-registry";
import { sanitize } from "discourse/lib/text";
import { splitString } from "discourse/lib/utilities";
-import { and, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dBasePath from "discourse/ui-kit/helpers/d-base-path";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/admin/components/site-settings/category.gjs b/frontend/discourse/admin/components/site-settings/category.gjs
index ac70093585c..dd234c48339 100644
--- a/frontend/discourse/admin/components/site-settings/category.gjs
+++ b/frontend/discourse/admin/components/site-settings/category.gjs
@@ -1,6 +1,5 @@
import { hash } from "@ember/helper";
import CategoryChooser from "discourse/select-kit/components/category-chooser";
-import { eq } from "discourse/truth-helpers";
const Category = <template>
<CategoryChooser
diff --git a/frontend/discourse/admin/components/site-settings/job-status.gjs b/frontend/discourse/admin/components/site-settings/job-status.gjs
index c20ef7f3e55..c4c6d9fead4 100644
--- a/frontend/discourse/admin/components/site-settings/job-status.gjs
+++ b/frontend/discourse/admin/components/site-settings/job-status.gjs
@@ -1,4 +1,3 @@
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
export default <template>
diff --git a/frontend/discourse/admin/components/site-text-theme-row.gjs b/frontend/discourse/admin/components/site-text-theme-row.gjs
index 1cb08988c67..cf6189eba48 100644
--- a/frontend/discourse/admin/components/site-text-theme-row.gjs
+++ b/frontend/discourse/admin/components/site-text-theme-row.gjs
@@ -1,5 +1,4 @@
import SelectKitRow from "discourse/select-kit/components/select-kit/select-kit-row";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
export default class SiteTextThemeRow extends SelectKitRow {
diff --git a/frontend/discourse/admin/components/site-traffic-explorer-breakdown-card.gjs b/frontend/discourse/admin/components/site-traffic-explorer-breakdown-card.gjs
index 3e02f0242d9..fbecedb91fd 100644
--- a/frontend/discourse/admin/components/site-traffic-explorer-breakdown-card.gjs
+++ b/frontend/discourse/admin/components/site-traffic-explorer-breakdown-card.gjs
@@ -8,7 +8,6 @@ import { service } from "@ember/service";
import SiteTrafficExplorerBreakdownModal from "discourse/admin/components/site-traffic-explorer-breakdown-modal";
import SiteTrafficExplorerBreakdownRow from "discourse/admin/components/site-traffic-explorer-breakdown-row";
import getURL from "discourse/lib/get-url";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/site-traffic-explorer-dimension-label.gjs b/frontend/discourse/admin/components/site-traffic-explorer-dimension-label.gjs
index 3d83e46274e..b502cc7ff77 100644
--- a/frontend/discourse/admin/components/site-traffic-explorer-dimension-label.gjs
+++ b/frontend/discourse/admin/components/site-traffic-explorer-dimension-label.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { action } from "@ember/object";
import { countryFlag, countryName } from "discourse/admin/lib/format-country";
-import { eq } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
const BROWSER_ICONS = {
diff --git a/frontend/discourse/admin/components/site-traffic-explorer-filter-pills.gjs b/frontend/discourse/admin/components/site-traffic-explorer-filter-pills.gjs
index 45cb7d07893..4784fe879db 100644
--- a/frontend/discourse/admin/components/site-traffic-explorer-filter-pills.gjs
+++ b/frontend/discourse/admin/components/site-traffic-explorer-filter-pills.gjs
@@ -4,7 +4,6 @@ import { fn } from "@ember/helper";
import { action } from "@ember/object";
import { schedule } from "@ember/runloop";
import DMenu from "discourse/float-kit/components/d-menu";
-import { gt, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/admin/components/theme-site-settings.gjs b/frontend/discourse/admin/components/theme-site-settings.gjs
index ebec23460fa..37029f4da01 100644
--- a/frontend/discourse/admin/components/theme-site-settings.gjs
+++ b/frontend/discourse/admin/components/theme-site-settings.gjs
@@ -7,7 +7,6 @@ import { service } from "@ember/service";
import DTooltip from "discourse/float-kit/components/d-tooltip";
import { ajax } from "discourse/lib/ajax";
import { currentThemeId, listThemes } from "discourse/lib/theme-selector";
-import { eq } from "discourse/truth-helpers";
import DAsyncContent from "discourse/ui-kit/d-async-content";
import DFilterControls from "discourse/ui-kit/d-filter-controls";
import DPageSubheader from "discourse/ui-kit/d-page-subheader";
@@ -45,7 +44,7 @@ export default class ThemeSiteSettings extends Component {
/** @returns {SelectableTheme | undefined} */
get currentTheme() {
return this.themes.find((theme) => {
- return eq(theme.id, this.currentThemeIdValue);
+ return theme.id === this.currentThemeIdValue;
});
}
diff --git a/frontend/discourse/admin/components/themes-grid-placeholder.gjs b/frontend/discourse/admin/components/themes-grid-placeholder.gjs
index 1c563a0abdb..63ed1ef414b 100644
--- a/frontend/discourse/admin/components/themes-grid-placeholder.gjs
+++ b/frontend/discourse/admin/components/themes-grid-placeholder.gjs
@@ -1,6 +1,5 @@
import Component from "@glimmer/component";
import { trustHTML } from "@ember/template";
-import { eq } from "discourse/truth-helpers";
export default class ThemesGridPlaceholder extends Component {
randomVariant = Math.floor(Math.random() * 4);
diff --git a/frontend/discourse/admin/components/upsert-category/general.gjs b/frontend/discourse/admin/components/upsert-category/general.gjs
index 2916c4fe6a3..a8724038d17 100644
--- a/frontend/discourse/admin/components/upsert-category/general.gjs
+++ b/frontend/discourse/admin/components/upsert-category/general.gjs
@@ -33,7 +33,6 @@ import Composer from "discourse/models/composer";
import PermissionType from "discourse/models/permission-type";
import CategoryChooser from "discourse/select-kit/components/category-chooser";
import GroupChooser from "discourse/select-kit/components/group-chooser";
-import { eq, or } from "discourse/truth-helpers";
import DDecoratedHtml from "discourse/ui-kit/d-decorated-html";
import DIconGridPicker from "discourse/ui-kit/d-icon-grid-picker";
import DMultiSelect from "discourse/ui-kit/d-multi-select";
diff --git a/frontend/discourse/admin/components/upsert-category/security.gjs b/frontend/discourse/admin/components/upsert-category/security.gjs
index fc4e0d2f8be..1d12fbb0641 100644
--- a/frontend/discourse/admin/components/upsert-category/security.gjs
+++ b/frontend/discourse/admin/components/upsert-category/security.gjs
@@ -8,7 +8,6 @@ import lazyHash from "discourse/helpers/lazy-hash";
import { AUTO_GROUPS } from "discourse/lib/constants";
import Category from "discourse/models/category";
import PermissionType from "discourse/models/permission-type";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/admin/components/webhook-events.gjs b/frontend/discourse/admin/components/webhook-events.gjs
index 9964a5b0870..126c5fa060e 100644
--- a/frontend/discourse/admin/components/webhook-events.gjs
+++ b/frontend/discourse/admin/components/webhook-events.gjs
@@ -13,7 +13,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import { bind } from "discourse/lib/decorators";
import { autoTrackedArray } from "discourse/lib/tracked-tools";
import ComboBox from "discourse/select-kit/components/combo-box";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DCountI18n from "discourse/ui-kit/d-count-i18n";
diff --git a/frontend/discourse/admin/templates/admin-customize-themes/show/index.gjs b/frontend/discourse/admin/templates/admin-customize-themes/show/index.gjs
index ba0fb473d22..8aee786e9a3 100644
--- a/frontend/discourse/admin/templates/admin-customize-themes/show/index.gjs
+++ b/frontend/discourse/admin/templates/admin-customize-themes/show/index.gjs
@@ -12,7 +12,6 @@ import lazyHash from "discourse/helpers/lazy-hash";
import getURL from "discourse/lib/get-url";
import ColorPalettePicker from "discourse/select-kit/components/color-palette-picker";
import ComboBox from "discourse/select-kit/components/combo-box";
-import { and, not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DInterpolatedTranslation from "discourse/ui-kit/d-interpolated-translation";
diff --git a/frontend/discourse/admin/templates/admin-email-logs/sent.gjs b/frontend/discourse/admin/templates/admin-email-logs/sent.gjs
index 38db965324e..5e2678c5063 100644
--- a/frontend/discourse/admin/templates/admin-email-logs/sent.gjs
+++ b/frontend/discourse/admin/templates/admin-email-logs/sent.gjs
@@ -3,7 +3,6 @@ import { LinkTo } from "@ember/routing";
import EmailLogsList from "discourse/admin/components/email-logs-list";
import DTooltip from "discourse/float-kit/components/d-tooltip";
import slice from "discourse/helpers/slice";
-import { gt } from "discourse/truth-helpers";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
import dFormatDate from "discourse/ui-kit/helpers/d-format-date";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/admin/templates/admin-emojis.gjs b/frontend/discourse/admin/templates/admin-emojis.gjs
index b035d5ebb08..09612000262 100644
--- a/frontend/discourse/admin/templates/admin-emojis.gjs
+++ b/frontend/discourse/admin/templates/admin-emojis.gjs
@@ -1,4 +1,3 @@
-import { not } from "discourse/truth-helpers";
import DBreadcrumbsItem from "discourse/ui-kit/d-breadcrumbs-item";
import DNavItem from "discourse/ui-kit/d-nav-item";
import DPageHeader from "discourse/ui-kit/d-page-header";
diff --git a/frontend/discourse/admin/templates/admin-site-text/index.gjs b/frontend/discourse/admin/templates/admin-site-text/index.gjs
index cf807b5e0ec..39018ab8bd3 100644
--- a/frontend/discourse/admin/templates/admin-site-text/index.gjs
+++ b/frontend/discourse/admin/templates/admin-site-text/index.gjs
@@ -3,7 +3,6 @@ import { on } from "@ember/modifier";
import SiteTextSummary from "discourse/admin/components/site-text-summary";
import SiteTextThemeSelector from "discourse/admin/components/site-text-theme-selector";
import ComboBox from "discourse/select-kit/components/combo-box";
-import { not } from "discourse/truth-helpers";
import DBreadcrumbsItem from "discourse/ui-kit/d-breadcrumbs-item";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
diff --git a/frontend/discourse/admin/templates/admin-user/index.gjs b/frontend/discourse/admin/templates/admin-user/index.gjs
index 4d09551ffa2..2c9eea4c9be 100644
--- a/frontend/discourse/admin/templates/admin-user/index.gjs
+++ b/frontend/discourse/admin/templates/admin-user/index.gjs
@@ -12,7 +12,6 @@ import getURL from "discourse/lib/get-url";
import ComboBox from "discourse/select-kit/components/combo-box";
import DropdownSelectBox from "discourse/select-kit/components/dropdown-select-box";
import GroupChooser from "discourse/select-kit/components/group-chooser";
-import { and, gt, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
diff --git a/frontend/discourse/admin/templates/admin-users-list/show.gjs b/frontend/discourse/admin/templates/admin-users-list/show.gjs
index cab7e71c8a7..916d23907cb 100644
--- a/frontend/discourse/admin/templates/admin-users-list/show.gjs
+++ b/frontend/discourse/admin/templates/admin-users-list/show.gjs
@@ -9,7 +9,6 @@ import DTooltip from "discourse/float-kit/components/d-tooltip";
import i18nYesNo from "discourse/helpers/i18n-yes-no";
import lazyHash from "discourse/helpers/lazy-hash";
import rawDate from "discourse/helpers/raw-date";
-import { not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
diff --git a/frontend/discourse/admin/templates/edit-category/tabs-horizontal.gjs b/frontend/discourse/admin/templates/edit-category/tabs-horizontal.gjs
index fe228004fa3..3fffcbb4f53 100644
--- a/frontend/discourse/admin/templates/edit-category/tabs-horizontal.gjs
+++ b/frontend/discourse/admin/templates/edit-category/tabs-horizontal.gjs
@@ -5,7 +5,6 @@ import EditCategoryTab from "discourse/admin/components/edit-category-tab";
import BackButton from "discourse/components/back-button";
import BreadCrumbs from "discourse/components/bread-crumbs";
import { registeredEditCategoryTabs } from "discourse/lib/edit-category-tabs";
-import { and } from "discourse/truth-helpers";
import DPageHeader from "discourse/ui-kit/d-page-header";
import DToggleSwitch from "discourse/ui-kit/d-toggle-switch";
diff --git a/frontend/discourse/admin/templates/edit-category/tabs.gjs b/frontend/discourse/admin/templates/edit-category/tabs.gjs
index a19e36cd2e7..5f72e774ace 100644
--- a/frontend/discourse/admin/templates/edit-category/tabs.gjs
+++ b/frontend/discourse/admin/templates/edit-category/tabs.gjs
@@ -15,7 +15,6 @@ import EditCategoryTypeSchemaFields from "discourse/components/edit-category-typ
import Form from "discourse/components/form";
import { bind } from "discourse/lib/decorators";
import { registeredEditCategoryTabs } from "discourse/lib/edit-category-tabs";
-import { eq, or } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
const TAB_COMPONENTS = {
diff --git a/frontend/discourse/app/blocks/builtin/block-head.gts b/frontend/discourse/app/blocks/builtin/block-head.gts
index 992211e0ba3..245efeee354 100644
--- a/frontend/discourse/app/blocks/builtin/block-head.gts
+++ b/frontend/discourse/app/blocks/builtin/block-head.gts
@@ -3,7 +3,6 @@ import { service } from "@ember/service";
import { block } from "discourse/blocks";
import type { ChildBlockResult } from "discourse/lib/blocks/-internals/types";
import type Blocks from "discourse/services/blocks";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
interface HeadBlockSignature {
diff --git a/frontend/discourse/app/components/admin-post-menu.gjs b/frontend/discourse/app/components/admin-post-menu.gjs
index d18b4f91c4f..da182f5f131 100644
--- a/frontend/discourse/app/components/admin-post-menu.gjs
+++ b/frontend/discourse/app/components/admin-post-menu.gjs
@@ -3,7 +3,6 @@ import { fn } from "@ember/helper";
import { action } from "@ember/object";
import { getOwner } from "@ember/owner";
import { service } from "@ember/service";
-import { and, not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/app/components/back-button.gjs b/frontend/discourse/app/components/back-button.gjs
index d3f05d9f063..826dbb24048 100644
--- a/frontend/discourse/app/components/back-button.gjs
+++ b/frontend/discourse/app/components/back-button.gjs
@@ -1,6 +1,5 @@
import { array, hash } from "@ember/helper";
import { LinkTo } from "@ember/routing";
-import { or } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/bookmark-list.gjs b/frontend/discourse/app/components/bookmark-list.gjs
index 306fc64776f..97de3551589 100644
--- a/frontend/discourse/app/components/bookmark-list.gjs
+++ b/frontend/discourse/app/components/bookmark-list.gjs
@@ -22,7 +22,6 @@ import {
shouldOpenInNewTab,
} from "discourse/lib/click-track";
import BulkSelectBookmarksDropdown from "discourse/select-kit/components/bulk-select-bookmarks-dropdown";
-import { and } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DLoadMore from "discourse/ui-kit/d-load-more";
diff --git a/frontend/discourse/app/components/categories-topic-list.gjs b/frontend/discourse/app/components/categories-topic-list.gjs
index 1a7a6ca2d3f..e19b8d4681d 100644
--- a/frontend/discourse/app/components/categories-topic-list.gjs
+++ b/frontend/discourse/app/components/categories-topic-list.gjs
@@ -4,7 +4,6 @@ import { service } from "@ember/service";
import PluginOutlet from "discourse/components/plugin-outlet";
import LatestTopicListItem from "discourse/components/topic-list/latest-topic-list-item";
import getUrl from "discourse/lib/get-url";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
// Exists so plugins can use it
diff --git a/frontend/discourse/app/components/category-card-contents.gjs b/frontend/discourse/app/components/category-card-contents.gjs
index fb95fc8ae49..75489915eca 100644
--- a/frontend/discourse/app/components/category-card-contents.gjs
+++ b/frontend/discourse/app/components/category-card-contents.gjs
@@ -19,7 +19,6 @@ import DiscourseURL from "discourse/lib/url";
import Category from "discourse/models/category";
import Composer from "discourse/models/composer";
import Topic from "discourse/models/topic";
-import { and, eq, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DSkeleton from "discourse/ui-kit/d-skeleton";
import dEmoji from "discourse/ui-kit/helpers/d-emoji";
diff --git a/frontend/discourse/app/components/category-title-link.gjs b/frontend/discourse/app/components/category-title-link.gjs
index 9321de84656..9179738b14d 100644
--- a/frontend/discourse/app/components/category-title-link.gjs
+++ b/frontend/discourse/app/components/category-title-link.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import CategoryLogo from "discourse/components/category-logo";
import CategoryTitleBefore from "discourse/components/category-title-before";
-import { or } from "discourse/truth-helpers";
import { categoryBadgeHTML } from "discourse/ui-kit/helpers/d-category-link";
import dDirSpan from "discourse/ui-kit/helpers/d-dir-span";
import dElement from "discourse/ui-kit/helpers/d-element";
diff --git a/frontend/discourse/app/components/category-unread.gjs b/frontend/discourse/app/components/category-unread.gjs
index eda911e52cf..995953f07bc 100644
--- a/frontend/discourse/app/components/category-unread.gjs
+++ b/frontend/discourse/app/components/category-unread.gjs
@@ -1,4 +1,3 @@
-import { or } from "discourse/truth-helpers";
import dElement from "discourse/ui-kit/helpers/d-element";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/choose-message.gjs b/frontend/discourse/app/components/choose-message.gjs
index 5081ed9abfb..927dc7f2846 100644
--- a/frontend/discourse/app/components/choose-message.gjs
+++ b/frontend/discourse/app/components/choose-message.gjs
@@ -6,7 +6,6 @@ import { action } from "@ember/object";
import { next } from "@ember/runloop";
import { isEmpty } from "@ember/utils";
import { searchForTerm } from "discourse/lib/search";
-import { eq } from "discourse/truth-helpers";
import DAsyncContent from "discourse/ui-kit/d-async-content";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/choose-topic.gjs b/frontend/discourse/app/components/choose-topic.gjs
index c8efd719462..dcfb11ebd4f 100644
--- a/frontend/discourse/app/components/choose-topic.gjs
+++ b/frontend/discourse/app/components/choose-topic.gjs
@@ -7,7 +7,6 @@ import { next } from "@ember/runloop";
import { isEmpty, isPresent } from "@ember/utils";
import TopicStatus from "discourse/components/topic-status";
import { searchForTerm } from "discourse/lib/search";
-import { eq, or } from "discourse/truth-helpers";
import DAsyncContent from "discourse/ui-kit/d-async-content";
import dBoundCategoryLink from "discourse/ui-kit/helpers/d-bound-category-link";
import dReplaceEmoji from "discourse/ui-kit/helpers/d-replace-emoji";
diff --git a/frontend/discourse/app/components/code-login-form.gjs b/frontend/discourse/app/components/code-login-form.gjs
index d66b3136f7c..ee546c987c9 100644
--- a/frontend/discourse/app/components/code-login-form.gjs
+++ b/frontend/discourse/app/components/code-login-form.gjs
@@ -32,7 +32,6 @@ import UserFieldsValidationHelper from "discourse/lib/user-fields-validation-hel
import { emailValid } from "discourse/lib/utilities";
import { getWebauthnCredential } from "discourse/lib/webauthn";
import User, { SECOND_FACTOR_METHODS } from "discourse/models/user";
-import { not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DInputTip from "discourse/ui-kit/d-input-tip";
import DOtp from "discourse/ui-kit/d-otp";
diff --git a/frontend/discourse/app/components/composer-actions.gjs b/frontend/discourse/app/components/composer-actions.gjs
index ec0d3537214..45c926ae9fb 100644
--- a/frontend/discourse/app/components/composer-actions.gjs
+++ b/frontend/discourse/app/components/composer-actions.gjs
@@ -22,7 +22,6 @@ import {
PRIVATE_MESSAGE,
REPLY,
} from "discourse/models/composer";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import DTextField from "discourse/ui-kit/d-text-field";
diff --git a/frontend/discourse/app/components/composer-container.gjs b/frontend/discourse/app/components/composer-container.gjs
index 6380a175632..88242f9d4ff 100644
--- a/frontend/discourse/app/components/composer-container.gjs
+++ b/frontend/discourse/app/components/composer-container.gjs
@@ -33,7 +33,6 @@ import PostLocalization from "discourse/models/post-localization";
import CategoryChooser from "discourse/select-kit/components/category-chooser";
import DropdownSelectBox from "discourse/select-kit/components/dropdown-select-box";
import MiniTagChooser from "discourse/select-kit/components/mini-tag-chooser";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DPopupInputTip from "discourse/ui-kit/d-popup-input-tip";
import DResizeSeparator from "discourse/ui-kit/d-resize-separator";
diff --git a/frontend/discourse/app/components/composer-editor.gjs b/frontend/discourse/app/components/composer-editor.gjs
index 4622a61e885..d2244d6051d 100644
--- a/frontend/discourse/app/components/composer-editor.gjs
+++ b/frontend/discourse/app/components/composer-editor.gjs
@@ -42,7 +42,6 @@ import UppyComposerUpload from "discourse/lib/uppy/composer-upload";
import { formatUsername } from "discourse/lib/utilities";
import Composer from "discourse/models/composer";
import FormTemplateChooser from "discourse/select-kit/components/form-template-chooser";
-import { gt } from "discourse/truth-helpers";
import { applyHtmlDecorators } from "discourse/ui-kit/d-decorated-html";
import DEditor from "discourse/ui-kit/d-editor";
import DPickFilesButton from "discourse/ui-kit/d-pick-files-button";
diff --git a/frontend/discourse/app/components/composer-toggles.gjs b/frontend/discourse/app/components/composer-toggles.gjs
index 604b103d840..b929d021ae9 100644
--- a/frontend/discourse/app/components/composer-toggles.gjs
+++ b/frontend/discourse/app/components/composer-toggles.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { service } from "@ember/service";
import PluginOutlet from "discourse/components/plugin-outlet";
import { applyValueTransformer } from "discourse/lib/transformer";
-import { and } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/app/components/composer/toolbar-buttons.gjs b/frontend/discourse/app/components/composer/toolbar-buttons.gjs
index aefb6cc11c5..30ee36a3699 100644
--- a/frontend/discourse/app/components/composer/toolbar-buttons.gjs
+++ b/frontend/discourse/app/components/composer/toolbar-buttons.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { action } from "@ember/object";
import ToolbarPopupMenuOptions from "discourse/components/toolbar-popup-menu-options";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DShortcut from "discourse/ui-kit/d-shortcut";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/app/components/d-navigation.gjs b/frontend/discourse/app/components/d-navigation.gjs
index 3fe36e44f66..f0ef2d521a2 100644
--- a/frontend/discourse/app/components/d-navigation.gjs
+++ b/frontend/discourse/app/components/d-navigation.gjs
@@ -24,7 +24,6 @@ import {
import NavItem from "discourse/models/nav-item";
import CategoriesAdminDropdown from "discourse/select-kit/components/categories-admin-dropdown";
import TagCategoryAdminDropdown from "discourse/select-kit/components/tag-category-admin-dropdown";
-import { and, gt } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
@tagName("")
diff --git a/frontend/discourse/app/components/d-section.gjs b/frontend/discourse/app/components/d-section.gjs
index 2650d1da5e5..aecec355dc7 100644
--- a/frontend/discourse/app/components/d-section.gjs
+++ b/frontend/discourse/app/components/d-section.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { concat } from "@ember/helper";
import bodyClass from "discourse/helpers/body-class";
import deprecated from "discourse/lib/deprecated";
-import { notEq } from "discourse/truth-helpers";
// Can add a body class from within a component
export default class DSection extends Component {
@@ -26,7 +25,7 @@ export default class DSection extends Component {
{{bodyClass @bodyClass}}
{{/if}}
- {{#if (notEq @tagName "")}}
+ {{#if (neq @tagName "")}}
<section class={{@class}} id={{@id}} ...attributes>{{yield}}</section>
{{else}}
{{yield}}
diff --git a/frontend/discourse/app/components/d-segmented-control.gjs b/frontend/discourse/app/components/d-segmented-control.gjs
index 07235575b00..20faa0f7a5e 100644
--- a/frontend/discourse/app/components/d-segmented-control.gjs
+++ b/frontend/discourse/app/components/d-segmented-control.gjs
@@ -3,7 +3,6 @@ import { fn } from "@ember/helper";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { modifier as modifierFn } from "ember-modifier";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/design-wizard/colors-section.gjs b/frontend/discourse/app/components/design-wizard/colors-section.gjs
index af942730a41..d6183d201b8 100644
--- a/frontend/discourse/app/components/design-wizard/colors-section.gjs
+++ b/frontend/discourse/app/components/design-wizard/colors-section.gjs
@@ -1,7 +1,6 @@
import { fn } from "@ember/helper";
import { on } from "@ember/modifier";
import { swatchStyle } from "discourse/lib/design-wizard-preview";
-import { eq } from "discourse/truth-helpers";
import DToggleSwitch from "discourse/ui-kit/d-toggle-switch";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/design-wizard/controls.gjs b/frontend/discourse/app/components/design-wizard/controls.gjs
index 7d32fea881e..0940efa4133 100644
--- a/frontend/discourse/app/components/design-wizard/controls.gjs
+++ b/frontend/discourse/app/components/design-wizard/controls.gjs
@@ -11,7 +11,6 @@ import SearchSection from "discourse/components/design-wizard/search-section";
import Section from "discourse/components/design-wizard/section";
import ThemeSection from "discourse/components/design-wizard/theme-section";
import WelcomeBannerSection from "discourse/components/design-wizard/welcome-banner-section";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/design-wizard/fonts-section.gjs b/frontend/discourse/app/components/design-wizard/fonts-section.gjs
index c17bbf8207f..a6fcf2acaa1 100644
--- a/frontend/discourse/app/components/design-wizard/fonts-section.gjs
+++ b/frontend/discourse/app/components/design-wizard/fonts-section.gjs
@@ -4,7 +4,6 @@ import { action } from "@ember/object";
import { MAIN_FONTS, MORE_FONTS } from "discourse/admin/lib/constants";
import DMenu from "discourse/float-kit/components/d-menu";
import { fontClass } from "discourse/lib/design-wizard-preview";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/components/design-wizard/homepage-section.gjs b/frontend/discourse/app/components/design-wizard/homepage-section.gjs
index c2224c44f58..b609bb6fbe8 100644
--- a/frontend/discourse/app/components/design-wizard/homepage-section.gjs
+++ b/frontend/discourse/app/components/design-wizard/homepage-section.gjs
@@ -2,7 +2,6 @@ import { array, fn } from "@ember/helper";
import { on } from "@ember/modifier";
import OptionRow from "discourse/components/design-wizard/option-row";
import { HORIZON_THEME_ID } from "discourse/lib/theme-selector";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
const TOPIC_PAGES = ["latest", "new", "hot"];
diff --git a/frontend/discourse/app/components/design-wizard/search-section.gjs b/frontend/discourse/app/components/design-wizard/search-section.gjs
index 05501584b51..de15886cdd6 100644
--- a/frontend/discourse/app/components/design-wizard/search-section.gjs
+++ b/frontend/discourse/app/components/design-wizard/search-section.gjs
@@ -1,6 +1,5 @@
import { fn } from "@ember/helper";
import OptionRow from "discourse/components/design-wizard/option-row";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
const EXPERIENCES = ["search_icon", "search_field"];
diff --git a/frontend/discourse/app/components/design-wizard/theme-section.gjs b/frontend/discourse/app/components/design-wizard/theme-section.gjs
index 25350bd1e44..b8b9488b38e 100644
--- a/frontend/discourse/app/components/design-wizard/theme-section.gjs
+++ b/frontend/discourse/app/components/design-wizard/theme-section.gjs
@@ -4,7 +4,6 @@ import { fn } from "@ember/helper";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { service } from "@ember/service";
-import { and } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/design-wizard/welcome-banner-section.gjs b/frontend/discourse/app/components/design-wizard/welcome-banner-section.gjs
index 6fc345750f0..1167e295957 100644
--- a/frontend/discourse/app/components/design-wizard/welcome-banner-section.gjs
+++ b/frontend/discourse/app/components/design-wizard/welcome-banner-section.gjs
@@ -1,7 +1,6 @@
import { fn } from "@ember/helper";
import { on } from "@ember/modifier";
import OptionRow from "discourse/components/design-wizard/option-row";
-import { eq } from "discourse/truth-helpers";
import DToggleSwitch from "discourse/ui-kit/d-toggle-switch";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/discovery/filter-navigation-menu.gjs b/frontend/discourse/app/components/discovery/filter-navigation-menu.gjs
index 10ae885f9c4..62d03bf4b99 100644
--- a/frontend/discourse/app/components/discovery/filter-navigation-menu.gjs
+++ b/frontend/discourse/app/components/discovery/filter-navigation-menu.gjs
@@ -12,7 +12,6 @@ import { VISIBILITY_OPTIMIZERS } from "discourse/float-kit/lib/constants";
import withEventValue from "discourse/helpers/with-event-value";
import discourseDebounce from "discourse/lib/debounce";
import FilterSuggestions from "discourse/lib/filter-suggestions";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import dCategoryBadge from "discourse/ui-kit/helpers/d-category-badge";
diff --git a/frontend/discourse/app/components/discovery/topics.gjs b/frontend/discourse/app/components/discovery/topics.gjs
index a2a75d8d921..ddb8fb651b6 100644
--- a/frontend/discourse/app/components/discovery/topics.gjs
+++ b/frontend/discourse/app/components/discovery/topics.gjs
@@ -15,7 +15,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import { filterTypeForMode } from "discourse/lib/filter-mode";
import { applyBehaviorTransformer } from "discourse/lib/transformer";
import PeriodChooser from "discourse/select-kit/components/period-chooser";
-import { or } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DCountI18n from "discourse/ui-kit/d-count-i18n";
import DLoadMore from "discourse/ui-kit/d-load-more";
diff --git a/frontend/discourse/app/components/dsa-notice-form.gjs b/frontend/discourse/app/components/dsa-notice-form.gjs
index d84612c04b3..372e0bf1967 100644
--- a/frontend/discourse/app/components/dsa-notice-form.gjs
+++ b/frontend/discourse/app/components/dsa-notice-form.gjs
@@ -10,7 +10,6 @@ import FKErrors from "discourse/form-kit/components/fk/errors";
import { ajax } from "discourse/lib/ajax";
import { extractError, popupAjaxError } from "discourse/lib/ajax-error";
import { emailValid, escapeExpression } from "discourse/lib/utilities";
-import { and, not, or } from "discourse/truth-helpers";
import DOtp from "discourse/ui-kit/d-otp";
import dLoadingSpinner from "discourse/ui-kit/helpers/d-loading-spinner";
import dAutoFocus from "discourse/ui-kit/modifiers/d-auto-focus";
diff --git a/frontend/discourse/app/components/emoji-autocomplete-results.gjs b/frontend/discourse/app/components/emoji-autocomplete-results.gjs
index e7eb27192ee..2337f03df70 100644
--- a/frontend/discourse/app/components/emoji-autocomplete-results.gjs
+++ b/frontend/discourse/app/components/emoji-autocomplete-results.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { fn } from "@ember/helper";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
-import { eq } from "discourse/truth-helpers";
/**
* @typedef {import("discourse/lib/types/d-autocomplete").EmojiAutocompleteResult} EmojiAutocompleteResult
diff --git a/frontend/discourse/app/components/emoji-picker/content.gjs b/frontend/discourse/app/components/emoji-picker/content.gjs
index caff1e8d375..dfb552b6044 100644
--- a/frontend/discourse/app/components/emoji-picker/content.gjs
+++ b/frontend/discourse/app/components/emoji-picker/content.gjs
@@ -24,7 +24,7 @@ import { makeArray } from "discourse/lib/helpers";
import loadEmojiSearchAliases from "discourse/lib/load-emoji-search-aliases";
import { emojiUrlFor } from "discourse/lib/text";
import preventScrollOnFocus from "discourse/modifiers/prevent-scroll-on-focus";
-import { eq, gt, includes, notEq } from "discourse/truth-helpers";
+import { includes } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DFilterInput from "discourse/ui-kit/d-filter-input";
import DOverflowControls from "discourse/ui-kit/d-overflow-controls";
@@ -614,7 +614,7 @@ export default class EmojiPicker extends Component {
}}
class={{dConcatClass
"emoji-picker__section"
- (if (notEq this.filteredEmojis null) "hidden")
+ (if (neq this.filteredEmojis null) "hidden")
}}
data-section={{section}}
role="region"
diff --git a/frontend/discourse/app/components/emoji-picker/diversity-menu.gjs b/frontend/discourse/app/components/emoji-picker/diversity-menu.gjs
index 68de62c30d1..43468a13f8c 100644
--- a/frontend/discourse/app/components/emoji-picker/diversity-menu.gjs
+++ b/frontend/discourse/app/components/emoji-picker/diversity-menu.gjs
@@ -3,7 +3,6 @@ import { concat, fn } from "@ember/helper";
import { action } from "@ember/object";
import { service } from "@ember/service";
import DMenu from "discourse/float-kit/components/d-menu";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import dReplaceEmoji from "discourse/ui-kit/helpers/d-replace-emoji";
diff --git a/frontend/discourse/app/components/footer-nav.gjs b/frontend/discourse/app/components/footer-nav.gjs
index 149c38b3428..6ade373b614 100644
--- a/frontend/discourse/app/components/footer-nav.gjs
+++ b/frontend/discourse/app/components/footer-nav.gjs
@@ -4,7 +4,6 @@ import { service } from "@ember/service";
import htmlClass from "discourse/helpers/html-class";
import { postRNWebviewMessage } from "discourse/lib/utilities";
import { SCROLLED_UP, UNSCROLLED } from "discourse/services/scroll-direction";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/app/components/form-template-field/dropdown.gjs b/frontend/discourse/app/components/form-template-field/dropdown.gjs
index 46803e095ad..52fd950bfa7 100644
--- a/frontend/discourse/app/components/form-template-field/dropdown.gjs
+++ b/frontend/discourse/app/components/form-template-field/dropdown.gjs
@@ -1,6 +1,5 @@
import { on } from "@ember/modifier";
import { trustHTML } from "@ember/template";
-import { eq } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
const Dropdown = <template>
diff --git a/frontend/discourse/app/components/form-template-field/tag-chooser.gjs b/frontend/discourse/app/components/form-template-field/tag-chooser.gjs
index 15f6439cb9e..406415b8134 100644
--- a/frontend/discourse/app/components/form-template-field/tag-chooser.gjs
+++ b/frontend/discourse/app/components/form-template-field/tag-chooser.gjs
@@ -7,7 +7,6 @@ import { next } from "@ember/runloop";
import { service } from "@ember/service";
import { trustHTML } from "@ember/template";
import { uniqueItemsFromArray } from "discourse/lib/array-tools";
-import { not } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/group-flair-inputs.gjs b/frontend/discourse/app/components/group-flair-inputs.gjs
index 757236c1ca9..39a9e368903 100644
--- a/frontend/discourse/app/components/group-flair-inputs.gjs
+++ b/frontend/discourse/app/components/group-flair-inputs.gjs
@@ -5,7 +5,6 @@ import UppyImageUploader from "discourse/components/uppy-image-uploader";
import getURL from "discourse/lib/get-url";
import { convertIconClass } from "discourse/lib/icon-library";
import { ensureSpriteSymbol } from "discourse/lib/svg-sprite-loader";
-import { or } from "discourse/truth-helpers";
import DAvatarFlair from "discourse/ui-kit/d-avatar-flair";
import DIconGridPicker from "discourse/ui-kit/d-icon-grid-picker";
import DRadioButton from "discourse/ui-kit/d-radio-button";
diff --git a/frontend/discourse/app/components/group-list.gjs b/frontend/discourse/app/components/group-list.gjs
index 380a8627743..b3e2cc56e66 100644
--- a/frontend/discourse/app/components/group-list.gjs
+++ b/frontend/discourse/app/components/group-list.gjs
@@ -9,7 +9,6 @@ import bodyClass from "discourse/helpers/body-class";
import hideApplicationFooter from "discourse/helpers/hide-application-footer";
import withEventValue from "discourse/helpers/with-event-value";
import ComboBox from "discourse/select-kit/components/combo-box";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DLoadMore from "discourse/ui-kit/d-load-more";
diff --git a/frontend/discourse/app/components/group-manage-email-settings.gjs b/frontend/discourse/app/components/group-manage-email-settings.gjs
index c3af4fb160d..f42b5059007 100644
--- a/frontend/discourse/app/components/group-manage-email-settings.gjs
+++ b/frontend/discourse/app/components/group-manage-email-settings.gjs
@@ -7,7 +7,6 @@ import { service } from "@ember/service";
import { isEmpty } from "@ember/utils";
import GroupManageSaveButton from "discourse/components/group-manage-save-button";
import GroupSmtpEmailSettings from "discourse/components/group-smtp-email-settings";
-import { not } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
export default class GroupManageEmailSettings extends Component {
diff --git a/frontend/discourse/app/components/group-manage-save-button.gjs b/frontend/discourse/app/components/group-manage-save-button.gjs
index 1fd9329c11b..bcc9517d939 100644
--- a/frontend/discourse/app/components/group-manage-save-button.gjs
+++ b/frontend/discourse/app/components/group-manage-save-button.gjs
@@ -8,7 +8,6 @@ import GroupDefaultNotificationsModal from "discourse/components/modal/group-def
import { popupAjaxError } from "discourse/lib/ajax-error";
import { GROUP_VISIBILITY_LEVELS } from "discourse/lib/constants";
import { homepageNavigationDestination } from "discourse/lib/homepage-router-overrides";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/group-smtp-email-settings.gjs b/frontend/discourse/app/components/group-smtp-email-settings.gjs
index 700413a5475..6dfc2ff8d1b 100644
--- a/frontend/discourse/app/components/group-smtp-email-settings.gjs
+++ b/frontend/discourse/app/components/group-smtp-email-settings.gjs
@@ -10,7 +10,6 @@ import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { GROUP_SMTP_SSL_MODES } from "discourse/lib/constants";
import emailProviderDefaultSettings from "discourse/lib/email-provider-default-settings";
-import { or } from "discourse/truth-helpers";
import dFormatDate from "discourse/ui-kit/helpers/d-format-date";
import { i18n } from "discourse-i18n";
@@ -199,7 +198,7 @@ export default class GroupSmtpEmailSettings extends Component {
<form.Submit
class="btn-primary group-smtp-form__test-smtp-settings"
tabindex="7"
- @disabled={{or this.testingSettings}}
+ @disabled={{this.testingSettings}}
@icon="gear"
@label="groups.manage.email.test_settings"
@title="groups.manage.email.settings_required"
diff --git a/frontend/discourse/app/components/hashtag-autocomplete-results.gjs b/frontend/discourse/app/components/hashtag-autocomplete-results.gjs
index 6e34b87be51..50c09f45688 100644
--- a/frontend/discourse/app/components/hashtag-autocomplete-results.gjs
+++ b/frontend/discourse/app/components/hashtag-autocomplete-results.gjs
@@ -7,7 +7,6 @@ import { on } from "@ember/modifier";
import { action } from "@ember/object";
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
import didUpdate from "@ember/render-modifiers/modifiers/did-update";
-import { eq } from "discourse/truth-helpers";
import dCategoryLink from "discourse/ui-kit/helpers/d-category-link";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import dScrollIntoView from "discourse/ui-kit/modifiers/d-scroll-into-view";
diff --git a/frontend/discourse/app/components/header.gjs b/frontend/discourse/app/components/header.gjs
index 6f8cc154afa..6f8baf169f7 100644
--- a/frontend/discourse/app/components/header.gjs
+++ b/frontend/discourse/app/components/header.gjs
@@ -9,7 +9,6 @@ import DAG from "discourse/lib/dag";
import scrollLock from "discourse/lib/scroll-lock";
import { scrollTop } from "discourse/lib/scroll-top";
import DiscourseURL from "discourse/lib/url";
-import { and, eq, not, or } from "discourse/truth-helpers";
import dCloseOnClickOutside from "discourse/ui-kit/modifiers/d-close-on-click-outside";
import AuthButtons from "./header/auth-buttons.gjs";
import Contents from "./header/contents.gjs";
diff --git a/frontend/discourse/app/components/header/icons.gjs b/frontend/discourse/app/components/header/icons.gjs
index 3c0b96703eb..e3b158139a3 100644
--- a/frontend/discourse/app/components/header/icons.gjs
+++ b/frontend/discourse/app/components/header/icons.gjs
@@ -8,7 +8,6 @@ import { ALL_PAGES_EXCLUDED_ROUTES } from "discourse/components/welcome-banner";
import { languageSwitcherEnabled } from "discourse/lib/content-localization";
import DAG from "discourse/lib/dag";
import getURL from "discourse/lib/get-url";
-import { eq } from "discourse/truth-helpers";
import Dropdown from "./dropdown.gjs";
import UserDropdown from "./user-dropdown.gjs";
diff --git a/frontend/discourse/app/components/header/logo.gjs b/frontend/discourse/app/components/header/logo.gjs
index f526c46aa71..337ca3b0eaf 100644
--- a/frontend/discourse/app/components/header/logo.gjs
+++ b/frontend/discourse/app/components/header/logo.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { service } from "@ember/service";
import getURL from "discourse/lib/get-url";
-import { and, eq, notEq } from "discourse/truth-helpers";
export default class Logo extends Component {
@service interfaceColor;
@@ -17,7 +16,7 @@ export default class Logo extends Component {
}
<template>
- {{#if (and @darkUrl (notEq @url @darkUrl))}}
+ {{#if (and @darkUrl (neq @url @darkUrl))}}
<picture>
<source media={{this.darkMediaQuery}} srcset={{getURL @darkUrl}} />
<img
diff --git a/frontend/discourse/app/components/header/topic/info.gjs b/frontend/discourse/app/components/header/topic/info.gjs
index 601f6d544f8..cb2e3492ea7 100644
--- a/frontend/discourse/app/components/header/topic/info.gjs
+++ b/frontend/discourse/app/components/header/topic/info.gjs
@@ -10,7 +10,6 @@ import { wantsNewWindow } from "discourse/lib/intercept-click";
import renderTags from "discourse/lib/render-tags";
import { scrollTop } from "discourse/lib/scroll-top";
import DiscourseURL from "discourse/lib/url";
-import { and, gt, not, or } from "discourse/truth-helpers";
import dCategoryLink from "discourse/ui-kit/helpers/d-category-link";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/components/header/topic/participant.gjs b/frontend/discourse/app/components/header/topic/participant.gjs
index c452fad4661..b57c0d428e2 100644
--- a/frontend/discourse/app/components/header/topic/participant.gjs
+++ b/frontend/discourse/app/components/header/topic/participant.gjs
@@ -4,7 +4,6 @@ import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { service } from "@ember/service";
import getURL from "discourse/lib/get-url";
-import { eq, or } from "discourse/truth-helpers";
import dBoundAvatarTemplate from "discourse/ui-kit/helpers/d-bound-avatar-template";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/components/image-carousel.gjs b/frontend/discourse/app/components/image-carousel.gjs
index a543f662479..2402c19d7b6 100644
--- a/frontend/discourse/app/components/image-carousel.gjs
+++ b/frontend/discourse/app/components/image-carousel.gjs
@@ -8,7 +8,6 @@ import { throttle } from "@ember/runloop";
import { trustHTML } from "@ember/template";
import { modifier } from "ember-modifier";
import { isTesting } from "discourse/lib/environment";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/modal/avatar-selector.gjs b/frontend/discourse/app/components/modal/avatar-selector.gjs
index 7f9e191d611..a0b58c03fff 100644
--- a/frontend/discourse/app/components/modal/avatar-selector.gjs
+++ b/frontend/discourse/app/components/modal/avatar-selector.gjs
@@ -11,7 +11,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import { isTesting } from "discourse/lib/environment";
import { allowsImages, validateUploadedFile } from "discourse/lib/uploads";
import { findAll as findLoginMethods } from "discourse/models/login-method";
-import { eq, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import DModalCancel from "discourse/ui-kit/d-modal-cancel";
diff --git a/frontend/discourse/app/components/modal/bulk-topic-actions/manage-tags-form.gjs b/frontend/discourse/app/components/modal/bulk-topic-actions/manage-tags-form.gjs
index b1ce17cbf1c..fcaeab77951 100644
--- a/frontend/discourse/app/components/modal/bulk-topic-actions/manage-tags-form.gjs
+++ b/frontend/discourse/app/components/modal/bulk-topic-actions/manage-tags-form.gjs
@@ -4,7 +4,6 @@ import { action } from "@ember/object";
import { trustHTML } from "@ember/template";
import Form from "discourse/components/form";
import { bind } from "discourse/lib/decorators";
-import { not } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/modal/change-reply-to.gjs b/frontend/discourse/app/components/modal/change-reply-to.gjs
index 7cbba876036..7ea6c4dcf2a 100644
--- a/frontend/discourse/app/components/modal/change-reply-to.gjs
+++ b/frontend/discourse/app/components/modal/change-reply-to.gjs
@@ -3,7 +3,6 @@ import { tracked } from "@glimmer/tracking";
import { action } from "@ember/object";
import TopicTimeline from "discourse/components/topic-timeline";
import { extractError } from "discourse/lib/ajax-error";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/modal/create-invite-with-roles.gjs b/frontend/discourse/app/components/modal/create-invite-with-roles.gjs
index 9039ba165c2..ddb82434457 100644
--- a/frontend/discourse/app/components/modal/create-invite-with-roles.gjs
+++ b/frontend/discourse/app/components/modal/create-invite-with-roles.gjs
@@ -24,7 +24,6 @@ import Invite from "discourse/models/invite";
import { FORMAT as DATE_INPUT_FORMAT } from "discourse/select-kit/components/future-date-input-selector";
import GroupChooser from "discourse/select-kit/components/group-chooser";
import TopicChooser from "discourse/select-kit/components/topic-chooser";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DCopyButton from "discourse/ui-kit/d-copy-button";
import DFutureDateInput from "discourse/ui-kit/d-future-date-input";
diff --git a/frontend/discourse/app/components/modal/create-invite.gjs b/frontend/discourse/app/components/modal/create-invite.gjs
index 47cee6350d4..7777932f18f 100644
--- a/frontend/discourse/app/components/modal/create-invite.gjs
+++ b/frontend/discourse/app/components/modal/create-invite.gjs
@@ -16,7 +16,6 @@ import Invite from "discourse/models/invite";
import { FORMAT as DATE_INPUT_FORMAT } from "discourse/select-kit/components/future-date-input-selector";
import GroupChooser from "discourse/select-kit/components/group-chooser";
import TopicChooser from "discourse/select-kit/components/topic-chooser";
-import { and, notEq, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DCopyButton from "discourse/ui-kit/d-copy-button";
import DFutureDateInput from "discourse/ui-kit/d-future-date-input";
@@ -337,7 +336,7 @@ export default class CreateInvite extends Component {
@onLinkInsert={{this.maybeFocusCopyButton}}
@showInviteLink={{and
this.inviteCreated
- (notEq this.flashClass "error")
+ (neq this.flashClass "error")
}}
>
{{#if this.flashText}}
@@ -572,7 +571,7 @@ const InviteModalAlert = <template>
<div
class="alert alert-{{@alertClass}}"
id="modal-alert"
- role={{if (notEq @alertClass "error") "status" "alert"}}
+ role={{if (neq @alertClass "error") "status" "alert"}}
>
<div class="input-group invite-link">
<label for="invite-link">
diff --git a/frontend/discourse/app/components/modal/dsa-classification.gjs b/frontend/discourse/app/components/modal/dsa-classification.gjs
index f8989fee1c8..f091f70ec10 100644
--- a/frontend/discourse/app/components/modal/dsa-classification.gjs
+++ b/frontend/discourse/app/components/modal/dsa-classification.gjs
@@ -3,7 +3,6 @@ import { tracked } from "@glimmer/tracking";
import { action } from "@ember/object";
import { service } from "@ember/service";
import DsaStatementClassification from "discourse/components/dsa-statement-classification";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/modal/flag.gjs b/frontend/discourse/app/components/modal/flag.gjs
index 6e6eacaefc0..96044ee9bbd 100644
--- a/frontend/discourse/app/components/modal/flag.gjs
+++ b/frontend/discourse/app/components/modal/flag.gjs
@@ -13,7 +13,6 @@ import lazyHash from "discourse/helpers/lazy-hash";
import { reload } from "discourse/helpers/page-reloader";
import { MAX_MESSAGE_LENGTH } from "discourse/models/post-action-type";
import User from "discourse/models/user";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/modal/forgot-password.gjs b/frontend/discourse/app/components/modal/forgot-password.gjs
index acba589db64..0fe1d30a690 100644
--- a/frontend/discourse/app/components/modal/forgot-password.gjs
+++ b/frontend/discourse/app/components/modal/forgot-password.gjs
@@ -11,7 +11,6 @@ import { extractError } from "discourse/lib/ajax-error";
import cookie from "discourse/lib/cookie";
import getURL from "discourse/lib/get-url";
import { escapeExpression } from "discourse/lib/utilities";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/modal/gifs.gjs b/frontend/discourse/app/components/modal/gifs.gjs
index cb81d4d0f1d..22a08d55e8b 100644
--- a/frontend/discourse/app/components/modal/gifs.gjs
+++ b/frontend/discourse/app/components/modal/gifs.gjs
@@ -9,7 +9,6 @@ import { addUniqueValuesToArray } from "discourse/lib/array-tools";
import discourseDebounce from "discourse/lib/debounce";
import getURL from "discourse/lib/get-url";
import { autoTrackedArray } from "discourse/lib/tracked-tools";
-import { or } from "discourse/truth-helpers";
import DModal from "discourse/ui-kit/d-modal";
import dLoadingSpinner from "discourse/ui-kit/helpers/d-loading-spinner";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/modal/group-add-members.gjs b/frontend/discourse/app/components/modal/group-add-members.gjs
index 5bdfc2e4493..4f232cf7626 100644
--- a/frontend/discourse/app/components/modal/group-add-members.gjs
+++ b/frontend/discourse/app/components/modal/group-add-members.gjs
@@ -9,7 +9,6 @@ import { extractError } from "discourse/lib/ajax-error";
import { emailValid } from "discourse/lib/utilities";
import EmailGroupUserChooser from "discourse/select-kit/components/email-group-user-chooser";
import UserChooser from "discourse/select-kit/components/user-chooser";
-import { not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/modal/history/revision.gjs b/frontend/discourse/app/components/modal/history/revision.gjs
index 0b163e8cc71..ebec5c4e49f 100644
--- a/frontend/discourse/app/components/modal/history/revision.gjs
+++ b/frontend/discourse/app/components/modal/history/revision.gjs
@@ -5,7 +5,6 @@ import { service } from "@ember/service";
import { trustHTML } from "@ember/template";
import PluginOutlet from "discourse/components/plugin-outlet";
import lazyHash from "discourse/helpers/lazy-hash";
-import { and, eq, not } from "discourse/truth-helpers";
import dAgeWithTooltip from "discourse/ui-kit/helpers/d-age-with-tooltip";
import dBoundAvatarTemplate from "discourse/ui-kit/helpers/d-bound-avatar-template";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/app/components/modal/history/revisions.gjs b/frontend/discourse/app/components/modal/history/revisions.gjs
index c3416129f83..2da7160bd48 100644
--- a/frontend/discourse/app/components/modal/history/revisions.gjs
+++ b/frontend/discourse/app/components/modal/history/revisions.gjs
@@ -7,7 +7,6 @@ import { trustHTML } from "@ember/template";
import LinksRedirect from "discourse/components/links-redirect";
import PluginOutlet from "discourse/components/plugin-outlet";
import lazyHash from "discourse/helpers/lazy-hash";
-import { and, eq, not, or } from "discourse/truth-helpers";
import dBoundAvatarTemplate from "discourse/ui-kit/helpers/d-bound-avatar-template";
import dDiscourseTags from "discourse/ui-kit/helpers/d-discourse-tags";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/components/modal/history/topic-footer.gjs b/frontend/discourse/app/components/modal/history/topic-footer.gjs
index cc2a3b76371..1b99a3b15a2 100644
--- a/frontend/discourse/app/components/modal/history/topic-footer.gjs
+++ b/frontend/discourse/app/components/modal/history/topic-footer.gjs
@@ -1,5 +1,4 @@
import { trustHTML } from "@ember/template";
-import { and } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
diff --git a/frontend/discourse/app/components/modal/keyboard-shortcuts-help.gjs b/frontend/discourse/app/components/modal/keyboard-shortcuts-help.gjs
index 2d5b25ee4c5..f7d585adbaa 100644
--- a/frontend/discourse/app/components/modal/keyboard-shortcuts-help.gjs
+++ b/frontend/discourse/app/components/modal/keyboard-shortcuts-help.gjs
@@ -7,7 +7,6 @@ import { trustHTML } from "@ember/template";
import { formatShortcut } from "discourse/lib/shortcut-format";
import { capabilities } from "discourse/services/capabilities";
import { extraKeyboardShortcutsHelp } from "discourse/services/keyboard-shortcuts";
-import { eq } from "discourse/truth-helpers";
import DFilterInput from "discourse/ui-kit/d-filter-input";
import DInterpolatedTranslation from "discourse/ui-kit/d-interpolated-translation";
import DModal from "discourse/ui-kit/d-modal";
diff --git a/frontend/discourse/app/components/modal/permanently-delete-confirm.gjs b/frontend/discourse/app/components/modal/permanently-delete-confirm.gjs
index c8008269b27..45ffbc6bb02 100644
--- a/frontend/discourse/app/components/modal/permanently-delete-confirm.gjs
+++ b/frontend/discourse/app/components/modal/permanently-delete-confirm.gjs
@@ -5,7 +5,6 @@ import { action } from "@ember/object";
import { trustHTML } from "@ember/template";
import discourseDebounce from "discourse/lib/debounce";
import getURL from "discourse/lib/get-url";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import DModalCancel from "discourse/ui-kit/d-modal-cancel";
diff --git a/frontend/discourse/app/components/modal/post-translations.gjs b/frontend/discourse/app/components/modal/post-translations.gjs
index cf72c58904d..c771692da5b 100644
--- a/frontend/discourse/app/components/modal/post-translations.gjs
+++ b/frontend/discourse/app/components/modal/post-translations.gjs
@@ -10,7 +10,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import Composer from "discourse/models/composer";
import PostLocalization from "discourse/models/post-localization";
import TopicLocalization from "discourse/models/topic-localization";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DModal from "discourse/ui-kit/d-modal";
diff --git a/frontend/discourse/app/components/modal/raw-email.gjs b/frontend/discourse/app/components/modal/raw-email.gjs
index b20977287dd..c8fb33e4bff 100644
--- a/frontend/discourse/app/components/modal/raw-email.gjs
+++ b/frontend/discourse/app/components/modal/raw-email.gjs
@@ -3,7 +3,6 @@ import { tracked } from "@glimmer/tracking";
import { action } from "@ember/object";
import IframedHtml from "discourse/components/iframed-html";
import Post from "discourse/models/post";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/modal/reorder-categories.gjs b/frontend/discourse/app/components/modal/reorder-categories.gjs
index 53e7b818127..22ea7e9518e 100644
--- a/frontend/discourse/app/components/modal/reorder-categories.gjs
+++ b/frontend/discourse/app/components/modal/reorder-categories.gjs
@@ -8,7 +8,6 @@ import { compare } from "@ember/utils";
import withEventValue from "discourse/helpers/with-event-value";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { eq, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import dCategoryBadge from "discourse/ui-kit/helpers/d-category-badge";
diff --git a/frontend/discourse/app/components/modal/sidebar-section-form.gjs b/frontend/discourse/app/components/modal/sidebar-section-form.gjs
index 044821799a4..a327920c08c 100644
--- a/frontend/discourse/app/components/modal/sidebar-section-form.gjs
+++ b/frontend/discourse/app/components/modal/sidebar-section-form.gjs
@@ -22,7 +22,6 @@ import { afterRender, bind } from "discourse/lib/decorators";
import { isSameLocale } from "discourse/lib/locale-normalizer";
import { sanitize } from "discourse/lib/text";
import { autoTrackedArray } from "discourse/lib/tracked-tools";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import DNativeSelect from "discourse/ui-kit/d-native-select";
diff --git a/frontend/discourse/app/components/more-topics.gjs b/frontend/discourse/app/components/more-topics.gjs
index 5df1e62b790..f9b991b20eb 100644
--- a/frontend/discourse/app/components/more-topics.gjs
+++ b/frontend/discourse/app/components/more-topics.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { service } from "@ember/service";
import { modifier } from "ember-modifier";
import BrowseMore from "discourse/components/more-topics/browse-more";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
export let registeredTabs = [];
diff --git a/frontend/discourse/app/components/nested.gjs b/frontend/discourse/app/components/nested.gjs
index 80a61c61532..8da500089b3 100644
--- a/frontend/discourse/app/components/nested.gjs
+++ b/frontend/discourse/app/components/nested.gjs
@@ -14,7 +14,7 @@ import lazyHash from "discourse/helpers/lazy-hash";
import getURL, { withoutPrefix } from "discourse/lib/get-url";
import DiscourseURL from "discourse/lib/url";
import PostStreamViewportTracker from "discourse/modifiers/post-stream-viewport-tracker";
-import { and, gt, includes, not } from "discourse/truth-helpers";
+import { includes } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DLoadMore from "discourse/ui-kit/d-load-more";
diff --git a/frontend/discourse/app/components/nested/op.gjs b/frontend/discourse/app/components/nested/op.gjs
index 3b7fb291add..c2ce82bedf8 100644
--- a/frontend/discourse/app/components/nested/op.gjs
+++ b/frontend/discourse/app/components/nested/op.gjs
@@ -20,7 +20,6 @@ import nestedPostUrl from "discourse/lib/nested-post-url";
import postActionFeedback from "discourse/lib/post-action-feedback";
import { nativeShare } from "discourse/lib/pwa-utils";
import { clipboardCopy } from "discourse/lib/utilities";
-import { and, or } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
export default class NestedOp extends Component {
diff --git a/frontend/discourse/app/components/nested/post.gjs b/frontend/discourse/app/components/nested/post.gjs
index 29fa5f13afa..b41bfce9ea6 100644
--- a/frontend/discourse/app/components/nested/post.gjs
+++ b/frontend/discourse/app/components/nested/post.gjs
@@ -25,7 +25,6 @@ import getURL, { getAbsoluteURL } from "discourse/lib/get-url";
import postActionFeedback from "discourse/lib/post-action-feedback";
import { nativeShare } from "discourse/lib/pwa-utils";
import { clipboardCopy } from "discourse/lib/utilities";
-import { and, not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dBoundAvatarTemplate from "discourse/ui-kit/helpers/d-bound-avatar-template";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/app/components/nested/sort-selector.gjs b/frontend/discourse/app/components/nested/sort-selector.gjs
index 505806b0fa4..a69416a56ed 100644
--- a/frontend/discourse/app/components/nested/sort-selector.gjs
+++ b/frontend/discourse/app/components/nested/sort-selector.gjs
@@ -3,7 +3,6 @@ import { fn } from "@ember/helper";
import { action } from "@ember/object";
import { service } from "@ember/service";
import DMenu from "discourse/float-kit/components/d-menu";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/components/page-loading-slider.gjs b/frontend/discourse/app/components/page-loading-slider.gjs
index 83496f108e8..08b67c29d00 100644
--- a/frontend/discourse/app/components/page-loading-slider.gjs
+++ b/frontend/discourse/app/components/page-loading-slider.gjs
@@ -6,7 +6,6 @@ import { run } from "@ember/runloop";
import { service } from "@ember/service";
import { trustHTML } from "@ember/template";
import { bind } from "discourse/lib/decorators";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
export default class PageLoadingSlider extends Component {
diff --git a/frontend/discourse/app/components/parent-category-row.gjs b/frontend/discourse/app/components/parent-category-row.gjs
index 38609c1fb2c..66b4aad9e96 100644
--- a/frontend/discourse/app/components/parent-category-row.gjs
+++ b/frontend/discourse/app/components/parent-category-row.gjs
@@ -12,7 +12,6 @@ import FeaturedTopic from "discourse/components/topic-list/featured-topic";
import borderColor from "discourse/helpers/border-color";
import categoryColorVariable from "discourse/helpers/category-color-variable";
import lazyHash from "discourse/helpers/lazy-hash";
-import { gt } from "discourse/truth-helpers";
import DDecoratedHtml from "discourse/ui-kit/d-decorated-html";
import dDirSpan from "discourse/ui-kit/helpers/d-dir-span";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/plugin-outlet.gjs b/frontend/discourse/app/components/plugin-outlet.gjs
index a0b0b7b4f91..df1926a5c44 100644
--- a/frontend/discourse/app/components/plugin-outlet.gjs
+++ b/frontend/discourse/app/components/plugin-outlet.gjs
@@ -17,7 +17,6 @@ import {
connectorsExist,
renderedConnectorsFor,
} from "discourse/lib/plugin-connectors";
-import { or } from "discourse/truth-helpers";
const GET_DEPRECATION_MSG =
"Plugin outlet context is no longer an EmberObject - using `get()` is deprecated.";
diff --git a/frontend/discourse/app/components/post-list/item/details.gjs b/frontend/discourse/app/components/post-list/item/details.gjs
index 7ee4ba29a8d..8c5b4855fc6 100644
--- a/frontend/discourse/app/components/post-list/item/details.gjs
+++ b/frontend/discourse/app/components/post-list/item/details.gjs
@@ -6,7 +6,6 @@ import TopicStatus from "discourse/components/topic-status";
import lazyHash from "discourse/helpers/lazy-hash";
import getURL from "discourse/lib/get-url";
import { prioritizeNameInUx } from "discourse/lib/settings";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
import dCategoryLink from "discourse/ui-kit/helpers/d-category-link";
diff --git a/frontend/discourse/app/components/post-list/item/index.gjs b/frontend/discourse/app/components/post-list/item/index.gjs
index 1b4fad3aef8..c789caae6e6 100644
--- a/frontend/discourse/app/components/post-list/item/index.gjs
+++ b/frontend/discourse/app/components/post-list/item/index.gjs
@@ -7,7 +7,6 @@ import { trustHTML } from "@ember/template";
import ExpandPost from "discourse/components/expand-post";
import PostListItemDetails from "discourse/components/post-list/item/details";
import { userPath } from "discourse/lib/url";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDecoratedHtml from "discourse/ui-kit/d-decorated-html";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
diff --git a/frontend/discourse/app/components/post-stream.gjs b/frontend/discourse/app/components/post-stream.gjs
index d50a0ec4e37..ce5890a29b1 100644
--- a/frontend/discourse/app/components/post-stream.gjs
+++ b/frontend/discourse/app/components/post-stream.gjs
@@ -11,7 +11,6 @@ import lazyHash from "discourse/helpers/lazy-hash";
import { bind } from "discourse/lib/decorators";
import { Placeholder } from "discourse/models/post-stream";
import PostStreamViewportTracker from "discourse/modifiers/post-stream-viewport-tracker";
-import { and, not } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import Post from "./post.gjs";
diff --git a/frontend/discourse/app/components/post.gjs b/frontend/discourse/app/components/post.gjs
index 49294d7f7d9..b2b47f39712 100644
--- a/frontend/discourse/app/components/post.gjs
+++ b/frontend/discourse/app/components/post.gjs
@@ -33,7 +33,6 @@ import {
} from "discourse/lib/transformer";
import DiscourseURL from "discourse/lib/url";
import { clipboardCopy } from "discourse/lib/utilities";
-import { and, eq, not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/post/links.gjs b/frontend/discourse/app/components/post/links.gjs
index 587974f208b..4288f287781 100644
--- a/frontend/discourse/app/components/post/links.gjs
+++ b/frontend/discourse/app/components/post/links.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { cached, tracked } from "@glimmer/tracking";
import { action } from "@ember/object";
-import { gt } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import dReplaceEmoji from "discourse/ui-kit/helpers/d-replace-emoji";
diff --git a/frontend/discourse/app/components/post/menu.gjs b/frontend/discourse/app/components/post/menu.gjs
index a22867f7120..8f43a0b1994 100644
--- a/frontend/discourse/app/components/post/menu.gjs
+++ b/frontend/discourse/app/components/post/menu.gjs
@@ -18,7 +18,6 @@ import {
applyMutableValueTransformer,
applyValueTransformer,
} from "discourse/lib/transformer";
-import { and } from "discourse/truth-helpers";
import DSmallUserList, {
smallUserAttrs,
} from "discourse/ui-kit/d-small-user-list";
diff --git a/frontend/discourse/app/components/post/menu/button-wrapper.gjs b/frontend/discourse/app/components/post/menu/button-wrapper.gjs
index 56abbff7d10..b32ef26cdc5 100644
--- a/frontend/discourse/app/components/post/menu/button-wrapper.gjs
+++ b/frontend/discourse/app/components/post/menu/button-wrapper.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
-import { or } from "discourse/truth-helpers";
import { showAlert } from "../../../lib/post-action-feedback.js";
export default class PostMenuButtonWrapper extends Component {
diff --git a/frontend/discourse/app/components/post/menu/buttons/flag.gjs b/frontend/discourse/app/components/post/menu/buttons/flag.gjs
index 4db538a360a..695ee47010a 100644
--- a/frontend/discourse/app/components/post/menu/buttons/flag.gjs
+++ b/frontend/discourse/app/components/post/menu/buttons/flag.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { action } from "@ember/object";
import { applyValueTransformer } from "discourse/lib/transformer";
import DiscourseURL from "discourse/lib/url";
-import { gt } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/app/components/post/menu/buttons/replies.gjs b/frontend/discourse/app/components/post/menu/buttons/replies.gjs
index f8578fc7082..0f37a219878 100644
--- a/frontend/discourse/app/components/post/menu/buttons/replies.gjs
+++ b/frontend/discourse/app/components/post/menu/buttons/replies.gjs
@@ -1,6 +1,5 @@
import Component from "@glimmer/component";
import { service } from "@ember/service";
-import { and, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/post/meta-data/date.gjs b/frontend/discourse/app/components/post/meta-data/date.gjs
index 4cf292e4c17..5b3d8c34f89 100644
--- a/frontend/discourse/app/components/post/meta-data/date.gjs
+++ b/frontend/discourse/app/components/post/meta-data/date.gjs
@@ -4,7 +4,6 @@ import { action } from "@ember/object";
import { service } from "@ember/service";
import ShareTopicModal from "discourse/components/modal/share-topic";
import { relativeAge } from "discourse/lib/formatter";
-import { and } from "discourse/truth-helpers";
import DRelativeDate from "discourse/ui-kit/d-relative-date";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/post/meta-data/poster-name.gjs b/frontend/discourse/app/components/post/meta-data/poster-name.gjs
index e03176f2dea..5e309dd7d9d 100644
--- a/frontend/discourse/app/components/post/meta-data/poster-name.gjs
+++ b/frontend/discourse/app/components/post/meta-data/poster-name.gjs
@@ -12,7 +12,6 @@ import { bind } from "discourse/lib/decorators";
import getURL from "discourse/lib/get-url";
import { applyValueTransformer } from "discourse/lib/transformer";
import { formatUsername } from "discourse/lib/utilities";
-import { and, or } from "discourse/truth-helpers";
import DUserLink from "discourse/ui-kit/d-user-link";
import DUserStatusMessage from "discourse/ui-kit/d-user-status-message";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/app/components/post/meta-data/poster-name/icon.gjs b/frontend/discourse/app/components/post/meta-data/poster-name/icon.gjs
index 872d59413ba..82886093046 100644
--- a/frontend/discourse/app/components/post/meta-data/poster-name/icon.gjs
+++ b/frontend/discourse/app/components/post/meta-data/poster-name/icon.gjs
@@ -1,5 +1,4 @@
import Component from "@glimmer/component";
-import { not } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dEmoji from "discourse/ui-kit/helpers/d-emoji";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/components/post/meta-data/select-post.gjs b/frontend/discourse/app/components/post/meta-data/select-post.gjs
index 4e8e9eb76b1..f4d9038b966 100644
--- a/frontend/discourse/app/components/post/meta-data/select-post.gjs
+++ b/frontend/discourse/app/components/post/meta-data/select-post.gjs
@@ -1,4 +1,3 @@
-import { and, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
const PostMetaDataSelectPost = <template>
diff --git a/frontend/discourse/app/components/post/quoted-content.gjs b/frontend/discourse/app/components/post/quoted-content.gjs
index 851657d6255..938fb32dc7f 100644
--- a/frontend/discourse/app/components/post/quoted-content.gjs
+++ b/frontend/discourse/app/components/post/quoted-content.gjs
@@ -18,7 +18,6 @@ import {
} from "discourse/lib/quote";
import DiscourseURL from "discourse/lib/url";
import { postUrl } from "discourse/lib/utilities";
-import { eq } from "discourse/truth-helpers";
import DAsyncContent from "discourse/ui-kit/d-async-content";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/app/components/review-filters.gjs b/frontend/discourse/app/components/review-filters.gjs
index 97c396ae8fa..0cc60ffd049 100644
--- a/frontend/discourse/app/components/review-filters.gjs
+++ b/frontend/discourse/app/components/review-filters.gjs
@@ -4,7 +4,6 @@ import lazyHash from "discourse/helpers/lazy-hash";
import CategoryChooser from "discourse/select-kit/components/category-chooser";
import ComboBox from "discourse/select-kit/components/combo-box";
import EmailGroupUserChooser from "discourse/select-kit/components/email-group-user-chooser";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDateTimeInputRange from "discourse/ui-kit/d-date-time-input-range";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/reviewable/flag-reason.gjs b/frontend/discourse/app/components/reviewable/flag-reason.gjs
index a2c9b7ab08e..61703708c6e 100644
--- a/frontend/discourse/app/components/reviewable/flag-reason.gjs
+++ b/frontend/discourse/app/components/reviewable/flag-reason.gjs
@@ -1,5 +1,3 @@
-import { gt } from "discourse/truth-helpers";
-
/**
* Displays a reason for a reviewable flag in the review process.
* Renders the flag type, title, and the number of times this flag has been raised.
diff --git a/frontend/discourse/app/components/reviewable/item.gjs b/frontend/discourse/app/components/reviewable/item.gjs
index 9a9308f1f4e..00505340f98 100644
--- a/frontend/discourse/app/components/reviewable/item.gjs
+++ b/frontend/discourse/app/components/reviewable/item.gjs
@@ -41,7 +41,6 @@ import Composer from "discourse/models/composer";
import { PENDING } from "discourse/models/reviewable";
import { CLAIMED, UNCLAIMED } from "discourse/models/reviewable-history";
import Topic from "discourse/models/topic";
-import { and, eq, not, or } from "discourse/truth-helpers";
import DAsyncContent from "discourse/ui-kit/d-async-content";
import DButton from "discourse/ui-kit/d-button";
import DHorizontalOverflowNav from "discourse/ui-kit/d-horizontal-overflow-nav";
diff --git a/frontend/discourse/app/components/reviewable/timeline.gjs b/frontend/discourse/app/components/reviewable/timeline.gjs
index 326fcc1d99a..9ceebcb135c 100644
--- a/frontend/discourse/app/components/reviewable/timeline.gjs
+++ b/frontend/discourse/app/components/reviewable/timeline.gjs
@@ -14,7 +14,6 @@ import {
} from "discourse/lib/reviewable-penalty";
import { sanitize } from "discourse/lib/text";
import { CLAIMED, UNCLAIMED } from "discourse/models/reviewable-history";
-import { and, eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDecoratedHtml from "discourse/ui-kit/d-decorated-html";
import DInterpolatedTranslation from "discourse/ui-kit/d-interpolated-translation";
diff --git a/frontend/discourse/app/components/rich-hashtag-autocomplete-results.gjs b/frontend/discourse/app/components/rich-hashtag-autocomplete-results.gjs
index e08acec79d6..ca2717d8c80 100644
--- a/frontend/discourse/app/components/rich-hashtag-autocomplete-results.gjs
+++ b/frontend/discourse/app/components/rich-hashtag-autocomplete-results.gjs
@@ -8,7 +8,6 @@ import { action } from "@ember/object";
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
import didUpdate from "@ember/render-modifiers/modifiers/did-update";
import { trustHTML } from "@ember/template";
-import { eq } from "discourse/truth-helpers";
import dScrollIntoView from "discourse/ui-kit/modifiers/d-scroll-into-view";
/**
diff --git a/frontend/discourse/app/components/search-menu.gjs b/frontend/discourse/app/components/search-menu.gjs
index d9620124417..64b5ea431c3 100644
--- a/frontend/discourse/app/components/search-menu.gjs
+++ b/frontend/discourse/app/components/search-menu.gjs
@@ -32,7 +32,6 @@ import {
} from "discourse/lib/transformer";
import DiscourseURL from "discourse/lib/url";
import userSearch from "discourse/lib/user-search";
-import { and } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dLoadingSpinner from "discourse/ui-kit/helpers/d-loading-spinner";
diff --git a/frontend/discourse/app/components/search-menu/results.gjs b/frontend/discourse/app/components/search-menu/results.gjs
index 2441572b87c..996ca70b107 100644
--- a/frontend/discourse/app/components/search-menu/results.gjs
+++ b/frontend/discourse/app/components/search-menu/results.gjs
@@ -7,7 +7,6 @@ import MoreLink from "discourse/components/search-menu/results/more-link";
import Types from "discourse/components/search-menu/results/types";
import lazyHash from "discourse/helpers/lazy-hash";
import { applyValueTransformer } from "discourse/lib/transformer";
-import { and, not } from "discourse/truth-helpers";
import DConditionalLoadingSection from "discourse/ui-kit/d-conditional-loading-section";
import { i18n } from "discourse-i18n";
import CategoryViewComponent from "./results/type/category.gjs";
diff --git a/frontend/discourse/app/components/search-menu/results/assistant-item.gjs b/frontend/discourse/app/components/search-menu/results/assistant-item.gjs
index 2248cc24816..5b5594cd6a0 100644
--- a/frontend/discourse/app/components/search-menu/results/assistant-item.gjs
+++ b/frontend/discourse/app/components/search-menu/results/assistant-item.gjs
@@ -7,7 +7,6 @@ import Tag from "discourse/components/search-menu/results/type/tag";
import User from "discourse/components/search-menu/results/type/user";
import { debounce } from "discourse/lib/decorators";
import getURL from "discourse/lib/get-url";
-import { and, or } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/search-menu/results/assistant.gjs b/frontend/discourse/app/components/search-menu/results/assistant.gjs
index e17db53dee7..17d0c1b3be7 100644
--- a/frontend/discourse/app/components/search-menu/results/assistant.gjs
+++ b/frontend/discourse/app/components/search-menu/results/assistant.gjs
@@ -4,7 +4,6 @@ import { service } from "@ember/service";
import PluginOutlet from "discourse/components/plugin-outlet";
import AssistantItem from "discourse/components/search-menu/results/assistant-item";
import lazyHash from "discourse/helpers/lazy-hash";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
const suggestionShortcuts = [
diff --git a/frontend/discourse/app/components/search-menu/results/initial-options.gjs b/frontend/discourse/app/components/search-menu/results/initial-options.gjs
index 4e8dd1eeec3..2d1fde96f2e 100644
--- a/frontend/discourse/app/components/search-menu/results/initial-options.gjs
+++ b/frontend/discourse/app/components/search-menu/results/initial-options.gjs
@@ -7,7 +7,6 @@ import RandomQuickTip from "discourse/components/search-menu/results/random-quic
import RecentSearches from "discourse/components/search-menu/results/recent-searches";
import lazyHash from "discourse/helpers/lazy-hash";
import { applyValueTransformer } from "discourse/lib/transformer";
-import { and, or } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import Assistant from "./assistant.gjs";
diff --git a/frontend/discourse/app/components/search-menu/results/type/group.gjs b/frontend/discourse/app/components/search-menu/results/type/group.gjs
index 6b9b0ada0dc..02da040b38a 100644
--- a/frontend/discourse/app/components/search-menu/results/type/group.gjs
+++ b/frontend/discourse/app/components/search-menu/results/type/group.gjs
@@ -1,4 +1,3 @@
-import { or } from "discourse/truth-helpers";
import DAvatarFlair from "discourse/ui-kit/d-avatar-flair";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/components/search-menu/results/type/tag.gjs b/frontend/discourse/app/components/search-menu/results/type/tag.gjs
index dd0dc27f759..2cbbe79e0d4 100644
--- a/frontend/discourse/app/components/search-menu/results/type/tag.gjs
+++ b/frontend/discourse/app/components/search-menu/results/type/tag.gjs
@@ -1,4 +1,3 @@
-import { or } from "discourse/truth-helpers";
import dDiscourseTag from "discourse/ui-kit/helpers/d-discourse-tag";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/components/search-menu/results/type/user.gjs b/frontend/discourse/app/components/search-menu/results/type/user.gjs
index 0f6757eb1d6..421f6d69826 100644
--- a/frontend/discourse/app/components/search-menu/results/type/user.gjs
+++ b/frontend/discourse/app/components/search-menu/results/type/user.gjs
@@ -1,5 +1,4 @@
import formatUsername from "discourse/helpers/format-username";
-import { and } from "discourse/truth-helpers";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
const User = <template>
diff --git a/frontend/discourse/app/components/search-menu/results/types.gjs b/frontend/discourse/app/components/search-menu/results/types.gjs
index 06dda80d377..74c8cd7cb4b 100644
--- a/frontend/discourse/app/components/search-menu/results/types.gjs
+++ b/frontend/discourse/app/components/search-menu/results/types.gjs
@@ -8,7 +8,6 @@ import lazyHash from "discourse/helpers/lazy-hash";
import { wantsNewWindow } from "discourse/lib/intercept-click";
import { logSearchLinkClick } from "discourse/lib/search";
import DiscourseURL from "discourse/lib/url";
-import { or } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
export default class Types extends Component {
diff --git a/frontend/discourse/app/components/setting-field/radio-group.gjs b/frontend/discourse/app/components/setting-field/radio-group.gjs
index 91fc633f60e..0faa435797a 100644
--- a/frontend/discourse/app/components/setting-field/radio-group.gjs
+++ b/frontend/discourse/app/components/setting-field/radio-group.gjs
@@ -1,5 +1,3 @@
-import { or } from "discourse/truth-helpers";
-
export default <template>
<@field.Control as |radioGroup|>
{{#each (or @definition.valid_values @definition.choices) as |choice|}}
diff --git a/frontend/discourse/app/components/share-source.gjs b/frontend/discourse/app/components/share-source.gjs
index eb622df69fe..e32d962c57b 100644
--- a/frontend/discourse/app/components/share-source.gjs
+++ b/frontend/discourse/app/components/share-source.gjs
@@ -1,5 +1,4 @@
import { fn } from "@ember/helper";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
const ShareSource = <template>
diff --git a/frontend/discourse/app/components/sidebar/anonymous/categories-section.gjs b/frontend/discourse/app/components/sidebar/anonymous/categories-section.gjs
index 59f3d4fe65b..1aca551541c 100644
--- a/frontend/discourse/app/components/sidebar/anonymous/categories-section.gjs
+++ b/frontend/discourse/app/components/sidebar/anonymous/categories-section.gjs
@@ -3,7 +3,6 @@ import { service } from "@ember/service";
import { findActiveLink } from "discourse/lib/sidebar/active-link";
import { applyValueTransformer } from "discourse/lib/transformer";
import Category from "discourse/models/category";
-import { and, eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import AllCategoriesSectionLink from "../common/all-categories-section-link.gjs";
import SidebarCommonCategoriesSection from "../common/categories-section.gjs";
diff --git a/frontend/discourse/app/components/sidebar/anonymous/tags-section.gjs b/frontend/discourse/app/components/sidebar/anonymous/tags-section.gjs
index 78f53bab8e3..a4e602fa8f3 100644
--- a/frontend/discourse/app/components/sidebar/anonymous/tags-section.gjs
+++ b/frontend/discourse/app/components/sidebar/anonymous/tags-section.gjs
@@ -3,7 +3,6 @@ import { cached } from "@glimmer/tracking";
import { service } from "@ember/service";
import { findActiveLink } from "discourse/lib/sidebar/active-link";
import TagSectionLink from "discourse/lib/sidebar/user/tags-section/tag-section-link";
-import { and, eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import AllTagsSectionLink from "../common/all-tags-section-link.gjs";
import Section from "../section.gjs";
diff --git a/frontend/discourse/app/components/sidebar/api-section.gjs b/frontend/discourse/app/components/sidebar/api-section.gjs
index c506b809234..70197656bdb 100644
--- a/frontend/discourse/app/components/sidebar/api-section.gjs
+++ b/frontend/discourse/app/components/sidebar/api-section.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { concat, hash } from "@ember/helper";
import curryComponent from "ember-curry-component";
-import { and, eq, not } from "discourse/truth-helpers";
import MoreSectionLink from "./more-section-link.gjs";
import MoreSectionLinks from "./more-section-links.gjs";
import Section from "./section.gjs";
diff --git a/frontend/discourse/app/components/sidebar/common/custom-section.gjs b/frontend/discourse/app/components/sidebar/common/custom-section.gjs
index b5e9e456ae9..7b36b92837b 100644
--- a/frontend/discourse/app/components/sidebar/common/custom-section.gjs
+++ b/frontend/discourse/app/components/sidebar/common/custom-section.gjs
@@ -7,7 +7,6 @@ import { findActiveLink } from "discourse/lib/sidebar/active-link";
import CommonCommunitySection from "discourse/lib/sidebar/common/community-section/section";
import Section from "discourse/lib/sidebar/section";
import AdminCommunitySection from "discourse/lib/sidebar/user/community-section/admin-section";
-import { and, eq, not, or } from "discourse/truth-helpers";
import dReplaceEmoji from "discourse/ui-kit/helpers/d-replace-emoji";
import dDragAndDropSource from "discourse/ui-kit/modifiers/d-drag-and-drop-source";
import MoreSectionLink from "../more-section-link.gjs";
diff --git a/frontend/discourse/app/components/sidebar/edit-navigation-menu/categories-modal.gjs b/frontend/discourse/app/components/sidebar/edit-navigation-menu/categories-modal.gjs
index e9ca1bfe4df..e8384a33814 100644
--- a/frontend/discourse/app/components/sidebar/edit-navigation-menu/categories-modal.gjs
+++ b/frontend/discourse/app/components/sidebar/edit-navigation-menu/categories-modal.gjs
@@ -13,7 +13,7 @@ import discourseDebounce from "discourse/lib/debounce";
import { INPUT_DELAY } from "discourse/lib/environment";
import { serializedAction, splitWhere } from "discourse/lib/utilities";
import Category from "discourse/models/category";
-import { gt, has } from "discourse/truth-helpers";
+import { has } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DDecoratedHtml from "discourse/ui-kit/d-decorated-html";
import dCategoryBadge from "discourse/ui-kit/helpers/d-category-badge";
diff --git a/frontend/discourse/app/components/sidebar/edit-navigation-menu/tags-modal.gjs b/frontend/discourse/app/components/sidebar/edit-navigation-menu/tags-modal.gjs
index d551ec9f826..204c9f7adae 100644
--- a/frontend/discourse/app/components/sidebar/edit-navigation-menu/tags-modal.gjs
+++ b/frontend/discourse/app/components/sidebar/edit-navigation-menu/tags-modal.gjs
@@ -9,7 +9,7 @@ import { service } from "@ember/service";
import { popupAjaxError } from "discourse/lib/ajax-error";
import discourseDebounce from "discourse/lib/debounce";
import { INPUT_DELAY } from "discourse/lib/environment";
-import { gt, has, or } from "discourse/truth-helpers";
+import { has } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import dLoadingSpinner from "discourse/ui-kit/helpers/d-loading-spinner";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/sidebar/hamburger-dropdown.gjs b/frontend/discourse/app/components/sidebar/hamburger-dropdown.gjs
index d5bd4f8021c..db94cbf5dc3 100644
--- a/frontend/discourse/app/components/sidebar/hamburger-dropdown.gjs
+++ b/frontend/discourse/app/components/sidebar/hamburger-dropdown.gjs
@@ -6,7 +6,6 @@ import { service } from "@ember/service";
import DeferredRender from "discourse/components/deferred-render";
import PluginOutlet from "discourse/components/plugin-outlet";
import lazyHash from "discourse/helpers/lazy-hash";
-import { or } from "discourse/truth-helpers";
import ApiPanels from "./api-panels.gjs";
import Footer from "./footer.gjs";
import Sections from "./sections.gjs";
diff --git a/frontend/discourse/app/components/sidebar/more-section-link.gjs b/frontend/discourse/app/components/sidebar/more-section-link.gjs
index cd521699ea8..23660a55c85 100644
--- a/frontend/discourse/app/components/sidebar/more-section-link.gjs
+++ b/frontend/discourse/app/components/sidebar/more-section-link.gjs
@@ -1,4 +1,3 @@
-import { or } from "discourse/truth-helpers";
import dReplaceEmoji from "discourse/ui-kit/helpers/d-replace-emoji";
import SectionLink from "./section-link.gjs";
diff --git a/frontend/discourse/app/components/sidebar/more-section-links.gjs b/frontend/discourse/app/components/sidebar/more-section-links.gjs
index c90af557efa..2d5f4cd2724 100644
--- a/frontend/discourse/app/components/sidebar/more-section-links.gjs
+++ b/frontend/discourse/app/components/sidebar/more-section-links.gjs
@@ -8,7 +8,6 @@ import { service } from "@ember/service";
import curryComponent from "ember-curry-component";
import DMenu from "discourse/float-kit/components/d-menu";
import { findActiveLink } from "discourse/lib/sidebar/active-link";
-import { and } from "discourse/truth-helpers";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import MoreSectionLink from "./more-section-link.gjs";
import MoreSectionTrigger from "./more-section-trigger.gjs";
diff --git a/frontend/discourse/app/components/sidebar/more-section-trigger.gjs b/frontend/discourse/app/components/sidebar/more-section-trigger.gjs
index 3e7a9fdb579..a9bebe16b98 100644
--- a/frontend/discourse/app/components/sidebar/more-section-trigger.gjs
+++ b/frontend/discourse/app/components/sidebar/more-section-trigger.gjs
@@ -1,4 +1,3 @@
-import { eq, or } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/sidebar/section-form-links-reorderable.gjs b/frontend/discourse/app/components/sidebar/section-form-links-reorderable.gjs
index e9a0dfd3365..7e547108130 100644
--- a/frontend/discourse/app/components/sidebar/section-form-links-reorderable.gjs
+++ b/frontend/discourse/app/components/sidebar/section-form-links-reorderable.gjs
@@ -2,7 +2,7 @@ import Component from "@glimmer/component";
import SectionFormLinkReorderable from "discourse/components/sidebar/section-form-link-reorderable";
import { removeValueFromArray } from "discourse/lib/array-tools";
import { bind } from "discourse/lib/decorators";
-import { eq, has } from "discourse/truth-helpers";
+import { has } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DReorderableList from "discourse/ui-kit/d-reorderable-list";
import DReorderableListGroup from "discourse/ui-kit/d-reorderable-list-group";
diff --git a/frontend/discourse/app/components/sidebar/section-form-links.gjs b/frontend/discourse/app/components/sidebar/section-form-links.gjs
index 08711756113..58584863069 100644
--- a/frontend/discourse/app/components/sidebar/section-form-links.gjs
+++ b/frontend/discourse/app/components/sidebar/section-form-links.gjs
@@ -2,7 +2,7 @@ import Component from "@glimmer/component";
import SectionFormLink from "discourse/components/sidebar/section-form-link";
import { removeValueFromArray } from "discourse/lib/array-tools";
import { bind } from "discourse/lib/decorators";
-import { eq, has } from "discourse/truth-helpers";
+import { has } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/sidebar/section-link-prefix.gjs b/frontend/discourse/app/components/sidebar/section-link-prefix.gjs
index 57764192756..e8313583aa6 100644
--- a/frontend/discourse/app/components/sidebar/section-link-prefix.gjs
+++ b/frontend/discourse/app/components/sidebar/section-link-prefix.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { concat } from "@ember/helper";
import { trustHTML } from "@ember/template";
import { isHex } from "discourse/components/sidebar/section-link";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import dReplaceEmoji from "discourse/ui-kit/helpers/d-replace-emoji";
diff --git a/frontend/discourse/app/components/sidebar/section-link.gjs b/frontend/discourse/app/components/sidebar/section-link.gjs
index 72c3271636c..9a924d40606 100644
--- a/frontend/discourse/app/components/sidebar/section-link.gjs
+++ b/frontend/discourse/app/components/sidebar/section-link.gjs
@@ -10,7 +10,6 @@ import { schedule } from "@ember/runloop";
import { service } from "@ember/service";
import { bind } from "discourse/lib/decorators";
import deprecated from "discourse/lib/deprecated";
-import { eq, or } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import SectionLinkPrefix from "./section-link-prefix.gjs";
diff --git a/frontend/discourse/app/components/sidebar/section.gjs b/frontend/discourse/app/components/sidebar/section.gjs
index fe98d473570..ddf6067bd47 100644
--- a/frontend/discourse/app/components/sidebar/section.gjs
+++ b/frontend/discourse/app/components/sidebar/section.gjs
@@ -20,7 +20,6 @@ import {
WEB_LINK_KINDS,
webLinkPayload,
} from "discourse/lib/sidebar/link-drop";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/app/components/sidebar/user/categories-section.gjs b/frontend/discourse/app/components/sidebar/user/categories-section.gjs
index a0f617ae53b..9824b052593 100644
--- a/frontend/discourse/app/components/sidebar/user/categories-section.gjs
+++ b/frontend/discourse/app/components/sidebar/user/categories-section.gjs
@@ -5,7 +5,6 @@ import { debounce } from "discourse/lib/decorators";
import { findActiveLink } from "discourse/lib/sidebar/active-link";
import { hasDefaultSidebarCategories } from "discourse/lib/sidebar/helpers";
import Category from "discourse/models/category";
-import { and, eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import AllCategoriesSectionLink from "../common/all-categories-section-link.gjs";
import CommonCategoriesSection from "../common/categories-section.gjs";
diff --git a/frontend/discourse/app/components/sidebar/user/tags-section.gjs b/frontend/discourse/app/components/sidebar/user/tags-section.gjs
index a6cddaafeca..84a60c78036 100644
--- a/frontend/discourse/app/components/sidebar/user/tags-section.gjs
+++ b/frontend/discourse/app/components/sidebar/user/tags-section.gjs
@@ -8,7 +8,6 @@ import { findActiveLink } from "discourse/lib/sidebar/active-link";
import { hasDefaultSidebarTags } from "discourse/lib/sidebar/helpers";
import PMTagSectionLink from "discourse/lib/sidebar/user/tags-section/pm-tag-section-link";
import TagSectionLink from "discourse/lib/sidebar/user/tags-section/tag-section-link";
-import { and, eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import AllTagsSectionLink from "../common/all-tags-section-link.gjs";
import Section from "../section.gjs";
diff --git a/frontend/discourse/app/components/tag-settings.gjs b/frontend/discourse/app/components/tag-settings.gjs
index d0113dd17a2..1ce29e37104 100644
--- a/frontend/discourse/app/components/tag-settings.gjs
+++ b/frontend/discourse/app/components/tag-settings.gjs
@@ -13,7 +13,6 @@ import getURL from "discourse/lib/get-url";
import { slugify } from "discourse/lib/utilities";
import MiniTagChooser from "discourse/select-kit/components/mini-tag-chooser";
import TagDropdown from "discourse/select-kit/components/tag-dropdown";
-import { eq } from "discourse/truth-helpers";
import DBreadcrumbsItem from "discourse/ui-kit/d-breadcrumbs-item";
import DHorizontalOverflowNav from "discourse/ui-kit/d-horizontal-overflow-nav";
import DPageHeader from "discourse/ui-kit/d-page-header";
diff --git a/frontend/discourse/app/components/tag-settings/localizations.gjs b/frontend/discourse/app/components/tag-settings/localizations.gjs
index c14077352a4..dadbdd874d5 100644
--- a/frontend/discourse/app/components/tag-settings/localizations.gjs
+++ b/frontend/discourse/app/components/tag-settings/localizations.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { fn, hash } from "@ember/helper";
import { service } from "@ember/service";
import { uniqueItemsFromArray } from "discourse/lib/array-tools";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
export default class TagSettingsLocalizations extends Component {
diff --git a/frontend/discourse/app/components/topic-admin-menu.gjs b/frontend/discourse/app/components/topic-admin-menu.gjs
index d3d31e732a3..ddf3a3f60e1 100644
--- a/frontend/discourse/app/components/topic-admin-menu.gjs
+++ b/frontend/discourse/app/components/topic-admin-menu.gjs
@@ -7,7 +7,6 @@ import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import getURL from "discourse/lib/get-url";
import DiscourseURL from "discourse/lib/url";
-import { and, not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
@@ -319,7 +318,7 @@ export default class TopicAdminMenu extends Component {
</dropdown.item>
{{/if}}
- {{#if (and this.details.can_convert_topic)}}
+ {{#if this.details.can_convert_topic}}
<dropdown.item class="topic-admin-convert">
<DButton
@action={{fn
diff --git a/frontend/discourse/app/components/topic-drafts-dropdown.gjs b/frontend/discourse/app/components/topic-drafts-dropdown.gjs
index a0eb5f91901..b7a8d1b02a9 100644
--- a/frontend/discourse/app/components/topic-drafts-dropdown.gjs
+++ b/frontend/discourse/app/components/topic-drafts-dropdown.gjs
@@ -10,7 +10,6 @@ import {
NEW_PRIVATE_MESSAGE_KEY,
NEW_TOPIC_KEY,
} from "discourse/models/composer";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DComboButton from "discourse/ui-kit/d-combo-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
diff --git a/frontend/discourse/app/components/topic-footer-buttons.gjs b/frontend/discourse/app/components/topic-footer-buttons.gjs
index 873727ec64b..455892e8c9f 100644
--- a/frontend/discourse/app/components/topic-footer-buttons.gjs
+++ b/frontend/discourse/app/components/topic-footer-buttons.gjs
@@ -16,7 +16,6 @@ import { getTopicFooterButtons } from "discourse/lib/register-topic-footer-butto
import { getTopicFooterDropdowns } from "discourse/lib/register-topic-footer-dropdown";
import DropdownSelectBox from "discourse/select-kit/components/dropdown-select-box";
import TopicNotificationsButton from "discourse/select-kit/components/topic-notifications-button";
-import { eq, gt } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/app/components/topic-list/item.gjs b/frontend/discourse/app/components/topic-list/item.gjs
index a591689f0fd..8cf70316da6 100644
--- a/frontend/discourse/app/components/topic-list/item.gjs
+++ b/frontend/discourse/app/components/topic-list/item.gjs
@@ -25,7 +25,6 @@ import {
applyValueTransformer,
} from "discourse/lib/transformer";
import DiscourseURL from "discourse/lib/url";
-import { and, eq } from "discourse/truth-helpers";
import DUserLink from "discourse/ui-kit/d-user-link";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
import dCategoryLink from "discourse/ui-kit/helpers/d-category-link";
diff --git a/frontend/discourse/app/components/topic-list/item/likes-cell.gjs b/frontend/discourse/app/components/topic-list/item/likes-cell.gjs
index 87c6486dd61..c3be2770da3 100644
--- a/frontend/discourse/app/components/topic-list/item/likes-cell.gjs
+++ b/frontend/discourse/app/components/topic-list/item/likes-cell.gjs
@@ -1,4 +1,3 @@
-import { gt } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import dNumber from "discourse/ui-kit/helpers/d-number";
diff --git a/frontend/discourse/app/components/topic-list/item/op-likes-cell.gjs b/frontend/discourse/app/components/topic-list/item/op-likes-cell.gjs
index 56ebda97237..ef0e0f52a7b 100644
--- a/frontend/discourse/app/components/topic-list/item/op-likes-cell.gjs
+++ b/frontend/discourse/app/components/topic-list/item/op-likes-cell.gjs
@@ -1,4 +1,3 @@
-import { gt } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import dNumber from "discourse/ui-kit/helpers/d-number";
diff --git a/frontend/discourse/app/components/topic-list/list.gjs b/frontend/discourse/app/components/topic-list/list.gjs
index 4c4a6b18470..bc15a9555e4 100644
--- a/frontend/discourse/app/components/topic-list/list.gjs
+++ b/frontend/discourse/app/components/topic-list/list.gjs
@@ -10,7 +10,6 @@ import {
applyMutableValueTransformer,
applyValueTransformer,
} from "discourse/lib/transformer";
-import { eq, or } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
import HeaderActivityCell from "./header/activity-cell.gjs";
diff --git a/frontend/discourse/app/components/topic-list/post-count-or-badges.gjs b/frontend/discourse/app/components/topic-list/post-count-or-badges.gjs
index 4b62d1d9080..adf210b6340 100644
--- a/frontend/discourse/app/components/topic-list/post-count-or-badges.gjs
+++ b/frontend/discourse/app/components/topic-list/post-count-or-badges.gjs
@@ -1,7 +1,6 @@
import ItemRepliesCell from "discourse/components/topic-list/item/replies-cell";
import NewRepliesDot from "discourse/components/topic-list/new-replies-dot";
import TopicPostBadges from "discourse/components/topic-post-badges";
-import { and } from "discourse/truth-helpers";
const PostCountOrBadges = <template>
{{#if @topic.is_nested_view}}
diff --git a/frontend/discourse/app/components/topic-map/topic-map-link.gjs b/frontend/discourse/app/components/topic-map/topic-map-link.gjs
index a135f840fa1..363ed92f21d 100644
--- a/frontend/discourse/app/components/topic-map/topic-map-link.gjs
+++ b/frontend/discourse/app/components/topic-map/topic-map-link.gjs
@@ -1,5 +1,4 @@
import Component from "@glimmer/component";
-import { and } from "discourse/truth-helpers";
import dReplaceEmoji from "discourse/ui-kit/helpers/d-replace-emoji";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/topic-map/topic-participant.gjs b/frontend/discourse/app/components/topic-map/topic-participant.gjs
index dd03eda29f4..c3ba65a4369 100644
--- a/frontend/discourse/app/components/topic-map/topic-participant.gjs
+++ b/frontend/discourse/app/components/topic-map/topic-participant.gjs
@@ -4,7 +4,6 @@ import PluginOutlet from "discourse/components/plugin-outlet";
import lazyHash from "discourse/helpers/lazy-hash";
import { avatarImg } from "discourse/lib/avatar-utils";
import { userPath } from "discourse/lib/url";
-import { gt } from "discourse/truth-helpers";
import DUserAvatarFlair from "discourse/ui-kit/d-user-avatar-flair";
import DUserLink from "discourse/ui-kit/d-user-link";
diff --git a/frontend/discourse/app/components/topic-reply-choice-dialog.gjs b/frontend/discourse/app/components/topic-reply-choice-dialog.gjs
index ba87e635c43..e1481c8e913 100644
--- a/frontend/discourse/app/components/topic-reply-choice-dialog.gjs
+++ b/frontend/discourse/app/components/topic-reply-choice-dialog.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { hash } from "@ember/helper";
import { action } from "@ember/object";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { categoryLinkHTML } from "discourse/ui-kit/helpers/d-category-link";
import dDiscourseTags from "discourse/ui-kit/helpers/d-discourse-tags";
diff --git a/frontend/discourse/app/components/topic-status.gjs b/frontend/discourse/app/components/topic-status.gjs
index 4b7e33eeb16..ca59a65aa1f 100644
--- a/frontend/discourse/app/components/topic-status.gjs
+++ b/frontend/discourse/app/components/topic-status.gjs
@@ -4,7 +4,6 @@ import { action } from "@ember/object";
import { service } from "@ember/service";
import PluginOutlet from "discourse/components/plugin-outlet";
import lazyHash from "discourse/helpers/lazy-hash";
-import { and } from "discourse/truth-helpers";
import dElement from "discourse/ui-kit/helpers/d-element";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/topic-timeline/container.gjs b/frontend/discourse/app/components/topic-timeline/container.gjs
index 8e4c938ee2f..b3193b3605f 100644
--- a/frontend/discourse/app/components/topic-timeline/container.gjs
+++ b/frontend/discourse/app/components/topic-timeline/container.gjs
@@ -17,7 +17,6 @@ import { bind, debounce } from "discourse/lib/decorators";
import domUtils from "discourse/lib/dom-utils";
import { headerOffset } from "discourse/lib/offset-calculator";
import TopicNotificationsButton from "discourse/select-kit/components/topic-notifications-button";
-import { and, not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dAgeWithTooltip from "discourse/ui-kit/helpers/d-age-with-tooltip";
import dCategoryLink from "discourse/ui-kit/helpers/d-category-link";
diff --git a/frontend/discourse/app/components/topic-timeline/scroller.gjs b/frontend/discourse/app/components/topic-timeline/scroller.gjs
index e07a5f6846f..1430a03f1ae 100644
--- a/frontend/discourse/app/components/topic-timeline/scroller.gjs
+++ b/frontend/discourse/app/components/topic-timeline/scroller.gjs
@@ -4,7 +4,6 @@ import {
SCROLLER_HEIGHT,
timelineDate,
} from "discourse/components/topic-timeline/container";
-import { and, not } from "discourse/truth-helpers";
import dPointerDrag from "discourse/ui-kit/modifiers/d-pointer-drag";
import { i18n } from "discourse-i18n";
import BackButton from "./back-button.gjs";
diff --git a/frontend/discourse/app/components/user-flag-percentage.gjs b/frontend/discourse/app/components/user-flag-percentage.gjs
index 06c2cdab507..5d8d1c12ed6 100644
--- a/frontend/discourse/app/components/user-flag-percentage.gjs
+++ b/frontend/discourse/app/components/user-flag-percentage.gjs
@@ -1,6 +1,5 @@
import Component from "@glimmer/component";
import { cached } from "@glimmer/tracking";
-import { gte } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/components/user-nav.gjs b/frontend/discourse/app/components/user-nav.gjs
index 0ed9f370eac..f051e6f7751 100644
--- a/frontend/discourse/app/components/user-nav.gjs
+++ b/frontend/discourse/app/components/user-nav.gjs
@@ -1,6 +1,5 @@
import PluginOutlet from "discourse/components/plugin-outlet";
import lazyHash from "discourse/helpers/lazy-hash";
-import { and } from "discourse/truth-helpers";
import DHorizontalOverflowNav from "discourse/ui-kit/d-horizontal-overflow-nav";
import DNavigationItem from "discourse/ui-kit/d-navigation-item";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/components/user-nav/messages-dropdown.gjs b/frontend/discourse/app/components/user-nav/messages-dropdown.gjs
index 10ed228d540..d1cba037ec7 100644
--- a/frontend/discourse/app/components/user-nav/messages-dropdown.gjs
+++ b/frontend/discourse/app/components/user-nav/messages-dropdown.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { action } from "@ember/object";
import { service } from "@ember/service";
import DMenu from "discourse/float-kit/components/d-menu";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/components/welcome-banner.gjs b/frontend/discourse/app/components/welcome-banner.gjs
index 554f6f8bdf3..b76ad28be2a 100644
--- a/frontend/discourse/app/components/welcome-banner.gjs
+++ b/frontend/discourse/app/components/welcome-banner.gjs
@@ -14,7 +14,6 @@ import { prioritizeNameFallback } from "discourse/lib/settings";
import { sanitize } from "discourse/lib/text";
import { applyValueTransformer } from "discourse/lib/transformer";
import { defaultHomepage, escapeExpression } from "discourse/lib/utilities";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import I18n, { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/form-kit/components/fk/char-counter.gjs b/frontend/discourse/app/form-kit/components/fk/char-counter.gjs
index f82644c968c..05ee1413428 100644
--- a/frontend/discourse/app/form-kit/components/fk/char-counter.gjs
+++ b/frontend/discourse/app/form-kit/components/fk/char-counter.gjs
@@ -1,5 +1,4 @@
import Component from "@glimmer/component";
-import { gt, lt } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
export default class FKCharCounter extends Component {
diff --git a/frontend/discourse/app/form-kit/components/fk/container.gjs b/frontend/discourse/app/form-kit/components/fk/container.gjs
index f64873fc404..083f77a3b90 100644
--- a/frontend/discourse/app/form-kit/components/fk/container.gjs
+++ b/frontend/discourse/app/form-kit/components/fk/container.gjs
@@ -1,6 +1,5 @@
import { concat } from "@ember/helper";
import FormText from "discourse/form-kit/components/fk/text";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/form-kit/components/fk/control/checkbox.gjs b/frontend/discourse/app/form-kit/components/fk/control/checkbox.gjs
index 1e43d9165e4..4a44801b606 100644
--- a/frontend/discourse/app/form-kit/components/fk/control/checkbox.gjs
+++ b/frontend/discourse/app/form-kit/components/fk/control/checkbox.gjs
@@ -4,7 +4,6 @@ import FKBaseControl from "discourse/form-kit/components/fk/control/base";
import FKLabel from "discourse/form-kit/components/fk/label";
import FKRequired from "discourse/form-kit/components/fk/required";
import FKTooltip from "discourse/form-kit/components/fk/tooltip";
-import { eq, or } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
export default class FKControlCheckbox extends FKBaseControl {
diff --git a/frontend/discourse/app/form-kit/components/fk/control/color.gjs b/frontend/discourse/app/form-kit/components/fk/control/color.gjs
index 5de4102e7e4..434d1acd96c 100644
--- a/frontend/discourse/app/form-kit/components/fk/control/color.gjs
+++ b/frontend/discourse/app/form-kit/components/fk/control/color.gjs
@@ -11,7 +11,6 @@ import {
resolveColor,
} from "discourse/lib/color-transformations";
import getUrl from "discourse/lib/get-url";
-import { and } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/form-kit/components/fk/control/conditional-content/condition.gjs b/frontend/discourse/app/form-kit/components/fk/control/conditional-content/condition.gjs
index 1685a2fb7b1..ca288fe6b7f 100644
--- a/frontend/discourse/app/form-kit/components/fk/control/conditional-content/condition.gjs
+++ b/frontend/discourse/app/form-kit/components/fk/control/conditional-content/condition.gjs
@@ -2,7 +2,6 @@ import { fn } from "@ember/helper";
import { on } from "@ember/modifier";
import didUpdate from "@ember/render-modifiers/modifiers/did-update";
import FKLabel from "discourse/form-kit/components/fk/label";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dUniqueId from "discourse/ui-kit/helpers/d-unique-id";
diff --git a/frontend/discourse/app/form-kit/components/fk/control/conditional-content/content.gjs b/frontend/discourse/app/form-kit/components/fk/control/conditional-content/content.gjs
index 56ca5b6ceb6..d6f68ff356c 100644
--- a/frontend/discourse/app/form-kit/components/fk/control/conditional-content/content.gjs
+++ b/frontend/discourse/app/form-kit/components/fk/control/conditional-content/content.gjs
@@ -1,11 +1,10 @@
-import { notEq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
const FKControlConditionalContentItem = <template>
<div
class={{dConcatClass
"form-kit__conditional-display-content"
- (if (notEq @name @activeName) "hidden")
+ (if (neq @name @activeName) "hidden")
}}
>
{{yield}}
diff --git a/frontend/discourse/app/form-kit/components/fk/control/password.gjs b/frontend/discourse/app/form-kit/components/fk/control/password.gjs
index abd8357acde..a85f3db4699 100644
--- a/frontend/discourse/app/form-kit/components/fk/control/password.gjs
+++ b/frontend/discourse/app/form-kit/components/fk/control/password.gjs
@@ -3,7 +3,6 @@ import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { modifier as modifierFn } from "ember-modifier";
import FKBaseControl from "discourse/form-kit/components/fk/control/base";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/app/form-kit/components/fk/control/question.gjs b/frontend/discourse/app/form-kit/components/fk/control/question.gjs
index b25c5cbf2f1..07a11495750 100644
--- a/frontend/discourse/app/form-kit/components/fk/control/question.gjs
+++ b/frontend/discourse/app/form-kit/components/fk/control/question.gjs
@@ -2,7 +2,6 @@ import { on } from "@ember/modifier";
import { action } from "@ember/object";
import FKBaseControl from "discourse/form-kit/components/fk/control/base";
import FKLabel from "discourse/form-kit/components/fk/label";
-import { eq } from "discourse/truth-helpers";
import dUniqueId from "discourse/ui-kit/helpers/d-unique-id";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/form-kit/components/fk/control/radio-group/radio.gjs b/frontend/discourse/app/form-kit/components/fk/control/radio-group/radio.gjs
index d5982a63ade..4f0ed6557dc 100644
--- a/frontend/discourse/app/form-kit/components/fk/control/radio-group/radio.gjs
+++ b/frontend/discourse/app/form-kit/components/fk/control/radio-group/radio.gjs
@@ -2,7 +2,6 @@ import { hash } from "@ember/helper";
import { on } from "@ember/modifier";
import FKLabel from "discourse/form-kit/components/fk/label";
import withEventValue from "discourse/helpers/with-event-value";
-import { eq } from "discourse/truth-helpers";
import dUniqueId from "discourse/ui-kit/helpers/d-unique-id";
const radioTitle = <template>
diff --git a/frontend/discourse/app/form-kit/components/fk/field.gjs b/frontend/discourse/app/form-kit/components/fk/field.gjs
index 7f766fd75ba..361ddc96138 100644
--- a/frontend/discourse/app/form-kit/components/fk/field.gjs
+++ b/frontend/discourse/app/form-kit/components/fk/field.gjs
@@ -32,7 +32,6 @@ import FKRow from "discourse/form-kit/components/fk/row";
import FKText from "discourse/form-kit/components/fk/text";
import FKTooltip from "discourse/form-kit/components/fk/tooltip";
import deprecated from "discourse/lib/deprecated";
-import { and, eq, not } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
const RowColWrapper = <template>
diff --git a/frontend/discourse/app/static/dev-tools/plugin-outlet-debug/outlet-info.gjs b/frontend/discourse/app/static/dev-tools/plugin-outlet-debug/outlet-info.gjs
index 7ebd06cf8dd..5878619c688 100644
--- a/frontend/discourse/app/static/dev-tools/plugin-outlet-debug/outlet-info.gjs
+++ b/frontend/discourse/app/static/dev-tools/plugin-outlet-debug/outlet-info.gjs
@@ -5,7 +5,6 @@ import { action } from "@ember/object";
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
import DTooltip from "discourse/float-kit/components/d-tooltip";
import { DEPRECATED_ARGS_KEY } from "discourse/lib/outlet-args";
-import { or } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/static/prosemirror/components/grid-node-view.gjs b/frontend/discourse/app/static/prosemirror/components/grid-node-view.gjs
index 20a1cb1b60f..679d1a3b942 100644
--- a/frontend/discourse/app/static/prosemirror/components/grid-node-view.gjs
+++ b/frontend/discourse/app/static/prosemirror/components/grid-node-view.gjs
@@ -4,7 +4,6 @@ import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { guidFor } from "@ember/object/internals";
import { service } from "@ember/service";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/static/prosemirror/components/image-alt-text-input.gjs b/frontend/discourse/app/static/prosemirror/components/image-alt-text-input.gjs
index 4e48c82fcfb..95e0b9b8619 100644
--- a/frontend/discourse/app/static/prosemirror/components/image-alt-text-input.gjs
+++ b/frontend/discourse/app/static/prosemirror/components/image-alt-text-input.gjs
@@ -4,7 +4,6 @@ import { on } from "@ember/modifier";
import { action } from "@ember/object";
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
import { next } from "@ember/runloop";
-import { or } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/static/prosemirror/components/image-node-view.gjs b/frontend/discourse/app/static/prosemirror/components/image-node-view.gjs
index 7a97e5060c9..50b7e395bb1 100644
--- a/frontend/discourse/app/static/prosemirror/components/image-node-view.gjs
+++ b/frontend/discourse/app/static/prosemirror/components/image-node-view.gjs
@@ -10,7 +10,6 @@ import { NodeSelection } from "prosemirror-state";
import ToolbarButtons from "discourse/components/composer/toolbar-buttons";
import { ToolbarBase } from "discourse/lib/composer/toolbar";
import { isRailsTesting, isTesting } from "discourse/lib/environment";
-import { eq } from "discourse/truth-helpers";
import icon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
import ImageAltTextInput from "./image-alt-text-input.gjs";
diff --git a/frontend/discourse/app/static/prosemirror/components/media-node-view.gjs b/frontend/discourse/app/static/prosemirror/components/media-node-view.gjs
index dec18727e6c..22d482ca431 100644
--- a/frontend/discourse/app/static/prosemirror/components/media-node-view.gjs
+++ b/frontend/discourse/app/static/prosemirror/components/media-node-view.gjs
@@ -1,4 +1,3 @@
-import { eq } from "discourse/truth-helpers";
import ImageNodeView from "./image-node-view.gjs";
import VideoNodeView from "./video-node-view.gjs";
diff --git a/frontend/discourse/app/static/wizard/components/wizard-field.gjs b/frontend/discourse/app/static/wizard/components/wizard-field.gjs
index 8d18121d50e..ae088274e02 100644
--- a/frontend/discourse/app/static/wizard/components/wizard-field.gjs
+++ b/frontend/discourse/app/static/wizard/components/wizard-field.gjs
@@ -4,7 +4,6 @@ import { dasherize } from "@ember/string";
import { trustHTML } from "@ember/template";
import PluginOutlet from "discourse/components/plugin-outlet";
import lazyHash from "discourse/helpers/lazy-hash";
-import { or } from "discourse/truth-helpers";
import fields from "./fields/index.js";
export default class WizardFieldComponent extends Component {
diff --git a/frontend/discourse/app/templates/badges/show.gjs b/frontend/discourse/app/templates/badges/show.gjs
index 42cf7b61db6..8710f41324b 100644
--- a/frontend/discourse/app/templates/badges/show.gjs
+++ b/frontend/discourse/app/templates/badges/show.gjs
@@ -4,7 +4,6 @@ import BadgeTitle from "discourse/components/badge-title";
import PluginOutlet from "discourse/components/plugin-outlet";
import hideApplicationFooter from "discourse/helpers/hide-application-footer";
import lazyHash from "discourse/helpers/lazy-hash";
-import { and } from "discourse/truth-helpers";
import DBadgeCard from "discourse/ui-kit/d-badge-card";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
diff --git a/frontend/discourse/app/templates/discovery/categories.gjs b/frontend/discourse/app/templates/discovery/categories.gjs
index 9aecad2115a..5186b339ae1 100644
--- a/frontend/discourse/app/templates/discovery/categories.gjs
+++ b/frontend/discourse/app/templates/discovery/categories.gjs
@@ -5,7 +5,6 @@ import Navigation from "discourse/components/discovery/navigation";
import PluginOutlet from "discourse/components/plugin-outlet";
import bodyClass from "discourse/helpers/body-class";
import lazyHash from "discourse/helpers/lazy-hash";
-import { and } from "discourse/truth-helpers";
import DCountI18n from "discourse/ui-kit/d-count-i18n";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/app/templates/discovery/list.gjs b/frontend/discourse/app/templates/discovery/list.gjs
index afa355a6720..821dfbf90b7 100644
--- a/frontend/discourse/app/templates/discovery/list.gjs
+++ b/frontend/discourse/app/templates/discovery/list.gjs
@@ -3,7 +3,6 @@ import Layout from "discourse/components/discovery/layout";
import Navigation from "discourse/components/discovery/navigation";
import Topics from "discourse/components/discovery/topics";
import TagInfo from "discourse/components/tag-info";
-import { and } from "discourse/truth-helpers";
export default <template>
<Layout
diff --git a/frontend/discourse/app/templates/exception.gjs b/frontend/discourse/app/templates/exception.gjs
index 2741f13b493..c4d94500403 100644
--- a/frontend/discourse/app/templates/exception.gjs
+++ b/frontend/discourse/app/templates/exception.gjs
@@ -1,7 +1,6 @@
import { trustHTML } from "@ember/template";
import PluginOutlet from "discourse/components/plugin-outlet";
import lazyHash from "discourse/helpers/lazy-hash";
-import { and } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/templates/full-page-search.gjs b/frontend/discourse/app/templates/full-page-search.gjs
index 99798717599..410d621e1aa 100644
--- a/frontend/discourse/app/templates/full-page-search.gjs
+++ b/frontend/discourse/app/templates/full-page-search.gjs
@@ -13,7 +13,6 @@ import bodyClass from "discourse/helpers/body-class";
import hideApplicationFooter from "discourse/helpers/hide-application-footer";
import lazyHash from "discourse/helpers/lazy-hash";
import ComboBox from "discourse/select-kit/components/combo-box";
-import { eq, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DHorizontalOverflowNav from "discourse/ui-kit/d-horizontal-overflow-nav";
diff --git a/frontend/discourse/app/templates/group.gjs b/frontend/discourse/app/templates/group.gjs
index 7935010fc71..1e75bb44f88 100644
--- a/frontend/discourse/app/templates/group.gjs
+++ b/frontend/discourse/app/templates/group.gjs
@@ -6,7 +6,6 @@ import PluginOutlet from "discourse/components/plugin-outlet";
import DTooltip from "discourse/float-kit/components/d-tooltip";
import lazyHash from "discourse/helpers/lazy-hash";
import routeAction from "discourse/helpers/route-action";
-import { and, or } from "discourse/truth-helpers";
import DAvatarFlair from "discourse/ui-kit/d-avatar-flair";
import DButton from "discourse/ui-kit/d-button";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/templates/group/index.gjs b/frontend/discourse/app/templates/group/index.gjs
index e8fed20c299..c8b06e24570 100644
--- a/frontend/discourse/app/templates/group/index.gjs
+++ b/frontend/discourse/app/templates/group/index.gjs
@@ -7,7 +7,6 @@ import PluginOutlet from "discourse/components/plugin-outlet";
import hideApplicationFooter from "discourse/helpers/hide-application-footer";
import lazyHash from "discourse/helpers/lazy-hash";
import routeAction from "discourse/helpers/route-action";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DLoadMore from "discourse/ui-kit/d-load-more";
diff --git a/frontend/discourse/app/templates/group/requests.gjs b/frontend/discourse/app/templates/group/requests.gjs
index 01ca9cd5130..2a984250794 100644
--- a/frontend/discourse/app/templates/group/requests.gjs
+++ b/frontend/discourse/app/templates/group/requests.gjs
@@ -1,6 +1,5 @@
import { fn } from "@ember/helper";
import hideApplicationFooter from "discourse/helpers/hide-application-footer";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DLoadMore from "discourse/ui-kit/d-load-more";
diff --git a/frontend/discourse/app/templates/invites/show.gjs b/frontend/discourse/app/templates/invites/show.gjs
index a541fb78479..b4e8e78e5ea 100644
--- a/frontend/discourse/app/templates/invites/show.gjs
+++ b/frontend/discourse/app/templates/invites/show.gjs
@@ -14,7 +14,6 @@ import hideApplicationSidebar from "discourse/helpers/hide-application-sidebar";
import lazyHash from "discourse/helpers/lazy-hash";
import routeAction from "discourse/helpers/route-action";
import valueEntered from "discourse/helpers/value-entered";
-import { and, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DInputTip from "discourse/ui-kit/d-input-tip";
import DPasswordField from "discourse/ui-kit/d-password-field";
diff --git a/frontend/discourse/app/templates/login.gjs b/frontend/discourse/app/templates/login.gjs
index 61584199979..591decfd101 100644
--- a/frontend/discourse/app/templates/login.gjs
+++ b/frontend/discourse/app/templates/login.gjs
@@ -9,7 +9,6 @@ import bodyClass from "discourse/helpers/body-class";
import hideApplicationHeaderButtons from "discourse/helpers/hide-application-header-buttons";
import hideApplicationSidebar from "discourse/helpers/hide-application-sidebar";
import lazyHash from "discourse/helpers/lazy-hash";
-import { and, not } from "discourse/truth-helpers";
import DFlashMessage from "discourse/ui-kit/d-flash-message";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/templates/preferences/account.gjs b/frontend/discourse/app/templates/preferences/account.gjs
index 30362f5f99c..f32b9aa1ca8 100644
--- a/frontend/discourse/app/templates/preferences/account.gjs
+++ b/frontend/discourse/app/templates/preferences/account.gjs
@@ -9,7 +9,6 @@ import lazyHash from "discourse/helpers/lazy-hash";
import routeAction from "discourse/helpers/route-action";
import ComboBox from "discourse/select-kit/components/combo-box";
import FlairChooser from "discourse/select-kit/components/flair-chooser";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DSaveControls from "discourse/ui-kit/d-save-controls";
import DTextField from "discourse/ui-kit/d-text-field";
diff --git a/frontend/discourse/app/templates/preferences/calendar-subscriptions.gjs b/frontend/discourse/app/templates/preferences/calendar-subscriptions.gjs
index f13e0435dc4..351c02de0af 100644
--- a/frontend/discourse/app/templates/preferences/calendar-subscriptions.gjs
+++ b/frontend/discourse/app/templates/preferences/calendar-subscriptions.gjs
@@ -7,7 +7,6 @@ import PluginOutlet from "discourse/components/plugin-outlet";
import lazyHash from "discourse/helpers/lazy-hash";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/templates/preferences/second-factor.gjs b/frontend/discourse/app/templates/preferences/second-factor.gjs
index fafdfa00856..e5bfb5ed682 100644
--- a/frontend/discourse/app/templates/preferences/second-factor.gjs
+++ b/frontend/discourse/app/templates/preferences/second-factor.gjs
@@ -5,7 +5,6 @@ import SecurityKeyDropdown from "discourse/components/security-key-dropdown";
import TokenBasedAuthDropdown from "discourse/components/token-based-auth-dropdown";
import TwoFactorBackupDropdown from "discourse/components/two-factor-backup-dropdown";
import bodyClass from "discourse/helpers/body-class";
-import { and } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/templates/preferences/security.gjs b/frontend/discourse/app/templates/preferences/security.gjs
index f89a18f09cd..1bf25b4f428 100644
--- a/frontend/discourse/app/templates/preferences/security.gjs
+++ b/frontend/discourse/app/templates/preferences/security.gjs
@@ -7,7 +7,6 @@ import UserApiKeys from "discourse/components/user-preferences/user-api-keys";
import UserMcpAuthorizations from "discourse/components/user-preferences/user-mcp-authorizations";
import UserPasskeys from "discourse/components/user-preferences/user-passkeys";
import lazyHash from "discourse/helpers/lazy-hash";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dFormatDate from "discourse/ui-kit/helpers/d-format-date";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/templates/review/index.gjs b/frontend/discourse/app/templates/review/index.gjs
index 362eb2db372..125f6c7027a 100644
--- a/frontend/discourse/app/templates/review/index.gjs
+++ b/frontend/discourse/app/templates/review/index.gjs
@@ -1,7 +1,6 @@
import { LinkTo } from "@ember/routing";
import { trustHTML } from "@ember/template";
import ReviewIndex from "discourse/components/reviewable/index";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DHorizontalOverflowNav from "discourse/ui-kit/d-horizontal-overflow-nav";
import DNavItem from "discourse/ui-kit/d-nav-item";
diff --git a/frontend/discourse/app/templates/second-factor-auth.gjs b/frontend/discourse/app/templates/second-factor-auth.gjs
index 3c325d2c35d..38a519de153 100644
--- a/frontend/discourse/app/templates/second-factor-auth.gjs
+++ b/frontend/discourse/app/templates/second-factor-auth.gjs
@@ -1,7 +1,6 @@
import { fn } from "@ember/helper";
import { on } from "@ember/modifier";
import hideApplicationSidebar from "discourse/helpers/hide-application-sidebar";
-import { gt, not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DSecondFactorInput from "discourse/ui-kit/d-second-factor-input";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/templates/signup.gjs b/frontend/discourse/app/templates/signup.gjs
index 5c68b49ea84..e4bf7bd9721 100644
--- a/frontend/discourse/app/templates/signup.gjs
+++ b/frontend/discourse/app/templates/signup.gjs
@@ -17,7 +17,6 @@ import hideApplicationSidebar from "discourse/helpers/hide-application-sidebar";
import lazyHash from "discourse/helpers/lazy-hash";
import routeAction from "discourse/helpers/route-action";
import valueEntered from "discourse/helpers/value-entered";
-import { and, not } from "discourse/truth-helpers";
import DFlashMessage from "discourse/ui-kit/d-flash-message";
import DInputTip from "discourse/ui-kit/d-input-tip";
import DPasswordField from "discourse/ui-kit/d-password-field";
diff --git a/frontend/discourse/app/templates/tags/index.gjs b/frontend/discourse/app/templates/tags/index.gjs
index 85573f1591f..d33b210281c 100644
--- a/frontend/discourse/app/templates/tags/index.gjs
+++ b/frontend/discourse/app/templates/tags/index.gjs
@@ -5,7 +5,6 @@ import PluginOutlet from "discourse/components/plugin-outlet";
import TagList from "discourse/components/tag-list";
import lazyHash from "discourse/helpers/lazy-hash";
import withEventValue from "discourse/helpers/with-event-value";
-import { not, or } from "discourse/truth-helpers";
import DAsyncContent from "discourse/ui-kit/d-async-content";
import DButton from "discourse/ui-kit/d-button";
import DExpandingTextArea from "discourse/ui-kit/d-expanding-text-area";
diff --git a/frontend/discourse/app/templates/topic.gjs b/frontend/discourse/app/templates/topic.gjs
index 2a8dc490be2..aaa3860a64d 100644
--- a/frontend/discourse/app/templates/topic.gjs
+++ b/frontend/discourse/app/templates/topic.gjs
@@ -40,7 +40,6 @@ import hideApplicationFooter from "discourse/helpers/hide-application-footer";
import hideScrollableContent from "discourse/helpers/hide-scrollable-content";
import lazyHash from "discourse/helpers/lazy-hash";
import routeAction from "discourse/helpers/route-action";
-import { and, eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DCookText from "discourse/ui-kit/d-cook-text";
diff --git a/frontend/discourse/app/templates/user-activity.gjs b/frontend/discourse/app/templates/user-activity.gjs
index a2d931b3200..686a9eea978 100644
--- a/frontend/discourse/app/templates/user-activity.gjs
+++ b/frontend/discourse/app/templates/user-activity.gjs
@@ -1,7 +1,6 @@
import PluginOutlet from "discourse/components/plugin-outlet";
import bodyClass from "discourse/helpers/body-class";
import lazyHash from "discourse/helpers/lazy-hash";
-import { gt } from "discourse/truth-helpers";
import DHorizontalOverflowNav from "discourse/ui-kit/d-horizontal-overflow-nav";
import DNavigationItem from "discourse/ui-kit/d-navigation-item";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/templates/user-topics-list.gjs b/frontend/discourse/app/templates/user-topics-list.gjs
index f49a4563dca..29454b14ce2 100644
--- a/frontend/discourse/app/templates/user-topics-list.gjs
+++ b/frontend/discourse/app/templates/user-topics-list.gjs
@@ -3,7 +3,6 @@ import BasicTopicList from "discourse/components/basic-topic-list";
import TopicDismissButtons from "discourse/components/topic-dismiss-buttons";
import hideApplicationFooter from "discourse/helpers/hide-application-footer";
import routeAction from "discourse/helpers/route-action";
-import { or } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DCountI18n from "discourse/ui-kit/d-count-i18n";
import DEmptyState from "discourse/ui-kit/d-empty-state";
diff --git a/frontend/discourse/app/templates/user.gjs b/frontend/discourse/app/templates/user.gjs
index e5e99f8ef86..366f5fe9576 100644
--- a/frontend/discourse/app/templates/user.gjs
+++ b/frontend/discourse/app/templates/user.gjs
@@ -10,7 +10,6 @@ import lazyHash from "discourse/helpers/lazy-hash";
import routeAction from "discourse/helpers/route-action";
import userStatus from "discourse/helpers/user-status";
import UserNotificationsDropdown from "discourse/select-kit/components/user-notifications-dropdown";
-import { and, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DHtmlWithLinks from "discourse/ui-kit/d-html-with-links";
import DUserStatusMessage from "discourse/ui-kit/d-user-status-message";
diff --git a/frontend/discourse/app/ui-kit/d-access-control-field.gjs b/frontend/discourse/app/ui-kit/d-access-control-field.gjs
index a3bc3ad412d..8b65cb91e6f 100644
--- a/frontend/discourse/app/ui-kit/d-access-control-field.gjs
+++ b/frontend/discourse/app/ui-kit/d-access-control-field.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { action } from "@ember/object";
import { service } from "@ember/service";
import { ajax } from "discourse/lib/ajax";
-import { or } from "discourse/truth-helpers";
import DAccessControl from "discourse/ui-kit/d-access-control";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/ui-kit/d-access-control-permission-menu.gjs b/frontend/discourse/app/ui-kit/d-access-control-permission-menu.gjs
index 7575784e657..d548a3dff9a 100644
--- a/frontend/discourse/app/ui-kit/d-access-control-permission-menu.gjs
+++ b/frontend/discourse/app/ui-kit/d-access-control-permission-menu.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { fn } from "@ember/helper";
import { action } from "@ember/object";
import DMenu from "discourse/float-kit/components/d-menu";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/app/ui-kit/d-access-control.gjs b/frontend/discourse/app/ui-kit/d-access-control.gjs
index 3912c900737..92d2828015b 100644
--- a/frontend/discourse/app/ui-kit/d-access-control.gjs
+++ b/frontend/discourse/app/ui-kit/d-access-control.gjs
@@ -7,7 +7,6 @@ import { isEmpty } from "@ember/utils";
import DTooltip from "discourse/float-kit/components/d-tooltip";
import { AUTO_GROUPS } from "discourse/lib/constants";
import { prioritizeNameFallback } from "discourse/lib/settings";
-import { eq, or } from "discourse/truth-helpers";
import DAccessControlPermissionMenu from "discourse/ui-kit/d-access-control-permission-menu";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/app/ui-kit/d-async-content.gts b/frontend/discourse/app/ui-kit/d-async-content.gts
index 06b899ac364..c314d57a743 100644
--- a/frontend/discourse/app/ui-kit/d-async-content.gts
+++ b/frontend/discourse/app/ui-kit/d-async-content.gts
@@ -10,7 +10,6 @@ import { extractErrorInfo, popupAjaxError } from "discourse/lib/ajax-error";
import discourseDebounce from "discourse/lib/debounce";
import { bind } from "discourse/lib/decorators";
import { INPUT_DELAY } from "discourse/lib/environment";
-import { eq } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DFlashMessage from "discourse/ui-kit/d-flash-message";
diff --git a/frontend/discourse/app/ui-kit/d-badge-card.gjs b/frontend/discourse/app/ui-kit/d-badge-card.gjs
index a728facd540..4ad02dcd758 100644
--- a/frontend/discourse/app/ui-kit/d-badge-card.gjs
+++ b/frontend/discourse/app/ui-kit/d-badge-card.gjs
@@ -4,7 +4,6 @@ import { isEmpty } from "@ember/utils";
import PluginOutlet from "discourse/components/plugin-outlet";
import lazyHash from "discourse/helpers/lazy-hash";
import { emojiUnescape, sanitize } from "discourse/lib/text";
-import { and, eq, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import dIconOrImage from "discourse/ui-kit/helpers/d-icon-or-image";
diff --git a/frontend/discourse/app/ui-kit/d-breadcrumbs-container.gjs b/frontend/discourse/app/ui-kit/d-breadcrumbs-container.gjs
index 2ccf7cc6551..930dee8c1d1 100644
--- a/frontend/discourse/app/ui-kit/d-breadcrumbs-container.gjs
+++ b/frontend/discourse/app/ui-kit/d-breadcrumbs-container.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { service } from "@ember/service";
import { modifier } from "ember-modifier";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
export default class DBreadcrumbsContainer extends Component {
diff --git a/frontend/discourse/app/ui-kit/d-button.gts b/frontend/discourse/app/ui-kit/d-button.gts
index dffa01da3bb..ce2836cdd3c 100644
--- a/frontend/discourse/app/ui-kit/d-button.gts
+++ b/frontend/discourse/app/ui-kit/d-button.gts
@@ -7,7 +7,6 @@ import { service } from "@ember/service";
import { trustHTML } from "@ember/template";
import { isEmpty } from "@ember/utils";
import type { CapabilitiesService } from "discourse/services/capabilities";
-import { or } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dElement from "discourse/ui-kit/helpers/d-element";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/ui-kit/d-char-counter.gjs b/frontend/discourse/app/ui-kit/d-char-counter.gjs
index 0d5e4602086..b345688c348 100644
--- a/frontend/discourse/app/ui-kit/d-char-counter.gjs
+++ b/frontend/discourse/app/ui-kit/d-char-counter.gjs
@@ -1,4 +1,3 @@
-import { gt } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/ui-kit/d-combo-button.gts b/frontend/discourse/app/ui-kit/d-combo-button.gts
index 47d03e5e66a..7346b3539d2 100644
--- a/frontend/discourse/app/ui-kit/d-combo-button.gts
+++ b/frontend/discourse/app/ui-kit/d-combo-button.gts
@@ -5,7 +5,6 @@ import { getOwner } from "@ember/owner";
import type { WithBoundArgs } from "@glint/template";
import curryComponent from "ember-curry-component";
import DMenu, { DMenuSignature } from "discourse/float-kit/components/d-menu";
-import { or } from "discourse/truth-helpers";
import DButton, { DButtonSignature } from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/app/ui-kit/d-conditional-loading-section.gjs b/frontend/discourse/app/ui-kit/d-conditional-loading-section.gjs
index c7f8a576db2..80fe2b4ffad 100644
--- a/frontend/discourse/app/ui-kit/d-conditional-loading-section.gjs
+++ b/frontend/discourse/app/ui-kit/d-conditional-loading-section.gjs
@@ -1,4 +1,3 @@
-import { or } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/ui-kit/d-conditional-loading-spinner.gts b/frontend/discourse/app/ui-kit/d-conditional-loading-spinner.gts
index 522e2cafa83..7a0c5980197 100644
--- a/frontend/discourse/app/ui-kit/d-conditional-loading-spinner.gts
+++ b/frontend/discourse/app/ui-kit/d-conditional-loading-spinner.gts
@@ -1,7 +1,6 @@
import type { TemplateOnlyComponent } from "@ember/component/template-only";
import PluginOutlet from "discourse/components/plugin-outlet";
import lazyHash from "discourse/helpers/lazy-hash";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
interface DConditionalLoadingSpinnerSignature {
diff --git a/frontend/discourse/app/ui-kit/d-editor.gjs b/frontend/discourse/app/ui-kit/d-editor.gjs
index 8672e903f47..f060b22db0b 100644
--- a/frontend/discourse/app/ui-kit/d-editor.gjs
+++ b/frontend/discourse/app/ui-kit/d-editor.gjs
@@ -40,7 +40,6 @@ import {
renderUserStatusHtml,
} from "discourse/lib/user-status-on-autocomplete";
import { PLATFORM_KEY_MODIFIER } from "discourse/services/keyboard-shortcuts";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalInElement from "discourse/ui-kit/d-conditional-in-element";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
diff --git a/frontend/discourse/app/ui-kit/d-empty-state.gjs b/frontend/discourse/app/ui-kit/d-empty-state.gjs
index 8799f43a7af..d4fa6030115 100644
--- a/frontend/discourse/app/ui-kit/d-empty-state.gjs
+++ b/frontend/discourse/app/ui-kit/d-empty-state.gjs
@@ -1,5 +1,4 @@
import { concat } from "@ember/helper";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/ui-kit/d-filter-controls.gjs b/frontend/discourse/app/ui-kit/d-filter-controls.gjs
index 67c9ec5ce68..9ed88e1eecc 100644
--- a/frontend/discourse/app/ui-kit/d-filter-controls.gjs
+++ b/frontend/discourse/app/ui-kit/d-filter-controls.gjs
@@ -14,7 +14,6 @@ import DiscourseURL, {
applyQueryParams,
searchParamsFromPath,
} from "discourse/lib/url";
-import { and, eq, not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DFilterInput from "discourse/ui-kit/d-filter-input";
import DNativeSelect from "discourse/ui-kit/d-native-select";
diff --git a/frontend/discourse/app/ui-kit/d-filter-input.gts b/frontend/discourse/app/ui-kit/d-filter-input.gts
index 1b522bb85d4..67a32628597 100644
--- a/frontend/discourse/app/ui-kit/d-filter-input.gts
+++ b/frontend/discourse/app/ui-kit/d-filter-input.gts
@@ -4,7 +4,6 @@ import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { modifier } from "ember-modifier";
import noop from "discourse/helpers/noop";
-import { and } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/app/ui-kit/d-icon-grid-picker/content.gjs b/frontend/discourse/app/ui-kit/d-icon-grid-picker/content.gjs
index 40688f04c5f..05cf8b18617 100644
--- a/frontend/discourse/app/ui-kit/d-icon-grid-picker/content.gjs
+++ b/frontend/discourse/app/ui-kit/d-icon-grid-picker/content.gjs
@@ -14,7 +14,6 @@ import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { SVG_NAMESPACE } from "discourse/lib/icon-library";
import { addExtraSpriteSymbols } from "discourse/lib/svg-sprite-loader";
-import { eq } from "discourse/truth-helpers";
import DAsyncContent from "discourse/ui-kit/d-async-content";
import DFilterInput from "discourse/ui-kit/d-filter-input";
import DLoadMore from "discourse/ui-kit/d-load-more";
diff --git a/frontend/discourse/app/ui-kit/d-modal.gts b/frontend/discourse/app/ui-kit/d-modal.gts
index bb0e062e665..b224ad42409 100644
--- a/frontend/discourse/app/ui-kit/d-modal.gts
+++ b/frontend/discourse/app/ui-kit/d-modal.gts
@@ -21,7 +21,6 @@ import type Site from "discourse/models/site";
import type AppEventsService from "discourse/services/app-events";
import type { CapabilitiesService } from "discourse/services/capabilities";
import type ModalService from "discourse/services/modal";
-import { and, not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalInElement from "discourse/ui-kit/d-conditional-in-element";
import DFlashMessage, {
diff --git a/frontend/discourse/app/ui-kit/d-multi-select.gjs b/frontend/discourse/app/ui-kit/d-multi-select.gjs
index 9b2783a55f9..7f830cd2a6c 100644
--- a/frontend/discourse/app/ui-kit/d-multi-select.gjs
+++ b/frontend/discourse/app/ui-kit/d-multi-select.gjs
@@ -11,7 +11,6 @@ import DMenu from "discourse/float-kit/components/d-menu";
import discourseDebounce from "discourse/lib/debounce";
import { INPUT_DELAY } from "discourse/lib/environment";
import { makeArray } from "discourse/lib/helpers";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import DTextField from "discourse/ui-kit/d-text-field";
diff --git a/frontend/discourse/app/ui-kit/d-page-header.gjs b/frontend/discourse/app/ui-kit/d-page-header.gjs
index 73dd222fd34..d5fc8923301 100644
--- a/frontend/discourse/app/ui-kit/d-page-header.gjs
+++ b/frontend/discourse/app/ui-kit/d-page-header.gjs
@@ -5,7 +5,6 @@ import { service } from "@ember/service";
import { trustHTML } from "@ember/template";
import DMenu from "discourse/float-kit/components/d-menu";
import { bind } from "discourse/lib/decorators";
-import { or } from "discourse/truth-helpers";
import DBreadcrumbsContainer from "discourse/ui-kit/d-breadcrumbs-container";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import DHorizontalOverflowNav from "discourse/ui-kit/d-horizontal-overflow-nav";
diff --git a/frontend/discourse/app/ui-kit/d-pick-files-button.gjs b/frontend/discourse/app/ui-kit/d-pick-files-button.gjs
index 85015ed99d7..61cce3185eb 100644
--- a/frontend/discourse/app/ui-kit/d-pick-files-button.gjs
+++ b/frontend/discourse/app/ui-kit/d-pick-files-button.gjs
@@ -11,7 +11,6 @@ import {
authorizedExtensions,
authorizesAllExtensions,
} from "discourse/lib/uploads";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/frontend/discourse/app/ui-kit/d-relative-time-picker.gjs b/frontend/discourse/app/ui-kit/d-relative-time-picker.gjs
index 51d38adb107..4f4766dff80 100644
--- a/frontend/discourse/app/ui-kit/d-relative-time-picker.gjs
+++ b/frontend/discourse/app/ui-kit/d-relative-time-picker.gjs
@@ -6,7 +6,6 @@ import didInsert from "@ember/render-modifiers/modifiers/did-insert";
import didUpdate from "@ember/render-modifiers/modifiers/did-update";
import { isBlank } from "@ember/utils";
import ComboBox from "discourse/select-kit/components/combo-box";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
const HOUR = 60;
diff --git a/frontend/discourse/app/ui-kit/d-reorderable-list.gts b/frontend/discourse/app/ui-kit/d-reorderable-list.gts
index 23d11ddc847..c0aecd13e71 100644
--- a/frontend/discourse/app/ui-kit/d-reorderable-list.gts
+++ b/frontend/discourse/app/ui-kit/d-reorderable-list.gts
@@ -15,7 +15,6 @@ import { service } from "@ember/service";
import { modifier } from "ember-modifier";
import type MenuService from "discourse/float-kit/services/menu";
import type A11yService from "discourse/services/a11y";
-import { and, eq, not } from "discourse/truth-helpers";
import ItemScope from "discourse/ui-kit/-internals/cursor/item-scope";
import { step } from "discourse/ui-kit/-internals/cursor/navigation";
import {
diff --git a/frontend/discourse/app/ui-kit/d-reorderable-list/-internals/parts/remove.gts b/frontend/discourse/app/ui-kit/d-reorderable-list/-internals/parts/remove.gts
index d60e24c252b..0230c6d4b38 100644
--- a/frontend/discourse/app/ui-kit/d-reorderable-list/-internals/parts/remove.gts
+++ b/frontend/discourse/app/ui-kit/d-reorderable-list/-internals/parts/remove.gts
@@ -1,6 +1,5 @@
import type { TOC } from "@ember/component/template-only";
import { fn } from "@ember/helper";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import type { Row } from "discourse/ui-kit/d-reorderable-list/types";
diff --git a/frontend/discourse/app/ui-kit/d-shortcut.gts b/frontend/discourse/app/ui-kit/d-shortcut.gts
index c3d46abe9db..0c3c89a1b7a 100644
--- a/frontend/discourse/app/ui-kit/d-shortcut.gts
+++ b/frontend/discourse/app/ui-kit/d-shortcut.gts
@@ -10,7 +10,6 @@ import {
type ShortcutKey,
} from "discourse/lib/shortcut-format";
import { capabilities } from "discourse/services/capabilities";
-import { notEq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
interface KbdSignature {
@@ -43,7 +42,7 @@ const Kbd: TOC<KbdSignature> = <template>
(if key.glyph "d-shortcut__key--glyph")
}}
>
- {{#if (notEq key.name key.label)}}
+ {{#if (neq key.name key.label)}}
<span aria-hidden="true">{{key.label}}</span>
<span class="sr-only">{{key.name}}</span>
{{else}}
diff --git a/frontend/discourse/app/ui-kit/d-skeleton.gts b/frontend/discourse/app/ui-kit/d-skeleton.gts
index 587a233413f..804e595a634 100644
--- a/frontend/discourse/app/ui-kit/d-skeleton.gts
+++ b/frontend/discourse/app/ui-kit/d-skeleton.gts
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { concat } from "@ember/helper";
import { type TrustedHTML, trustHTML } from "@ember/template";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
const DEFAULT_COUNT = 1;
diff --git a/frontend/discourse/app/ui-kit/d-tabs/-internals/parts/tablist.gts b/frontend/discourse/app/ui-kit/d-tabs/-internals/parts/tablist.gts
index eae7ffac0f0..303fa96c871 100644
--- a/frontend/discourse/app/ui-kit/d-tabs/-internals/parts/tablist.gts
+++ b/frontend/discourse/app/ui-kit/d-tabs/-internals/parts/tablist.gts
@@ -1,5 +1,4 @@
import Component from "@glimmer/component";
-import { and } from "discourse/truth-helpers";
import DOverflowControls from "discourse/ui-kit/d-overflow-controls";
import type { DTabsTablistSignature } from "discourse/ui-kit/d-tabs/types";
import dRovingFocus from "discourse/ui-kit/modifiers/d-roving-focus";
@@ -27,9 +26,6 @@ export default class Tablist extends Component<DTabsTablistSignature> {
as |strip|
>
{{! Splattributes come first so the role below stays authoritative. }}
- {{! The role is dynamic, so the linter only sees a bare div and would
- strip the orientation it cannot match to the tablist role. }}
- {{! eslint-disable-next-line ember/template-no-unsupported-role-attributes }}
<div
class="d-tabs__tablist"
...attributes
diff --git a/frontend/discourse/app/ui-kit/d-user-info.gjs b/frontend/discourse/app/ui-kit/d-user-info.gjs
index 3d736013d07..9bc1ae58785 100644
--- a/frontend/discourse/app/ui-kit/d-user-info.gjs
+++ b/frontend/discourse/app/ui-kit/d-user-info.gjs
@@ -7,7 +7,6 @@ import formatUsername from "discourse/helpers/format-username";
import lazyHash from "discourse/helpers/lazy-hash";
import { prioritizeNameInUx } from "discourse/lib/settings";
import { userPath } from "discourse/lib/url";
-import { and } from "discourse/truth-helpers";
import DUserAvatarFlair from "discourse/ui-kit/d-user-avatar-flair";
import DUserStatusMessage from "discourse/ui-kit/d-user-status-message";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
@@ -81,7 +80,6 @@ export default class DUserInfo extends Component {
>
<span class="username-wrapper">
{{#if this.includeLink}}
- {{! eslint-disable-next-line ember/template-no-unsupported-role-attributes }}
<a
aria-level={{@headingLevel}}
data-user-card={{@user.username}}
diff --git a/frontend/discourse/app/ui-kit/d-virtual-list.gts b/frontend/discourse/app/ui-kit/d-virtual-list.gts
index dd80bed47c3..a65eaf78a4c 100644
--- a/frontend/discourse/app/ui-kit/d-virtual-list.gts
+++ b/frontend/discourse/app/ui-kit/d-virtual-list.gts
@@ -676,10 +676,8 @@ export default class DVirtualList<T> extends Component<
{{#if @ownedRow}}
{{yield row.item row}}
{{else}}
- {{! The role is dynamic, so the linter only sees a bare div and
- assumes the generic role. Both position attributes are gated at
- runtime on the roles that define them, and omitted otherwise. }}
- {{! eslint-disable-next-line ember/template-no-unsupported-role-attributes }}
+ {{! Both position attributes are gated at runtime on the roles
+ that define them, and omitted otherwise. }}
<div
aria-posinset={{row.posinset}}
aria-setsize={{row.setSize}}
diff --git a/frontend/discourse/dialog-holder/components/dialog-holder.gjs b/frontend/discourse/dialog-holder/components/dialog-holder.gjs
index 0e11e84ec4c..2e3326ec1c9 100644
--- a/frontend/discourse/dialog-holder/components/dialog-holder.gjs
+++ b/frontend/discourse/dialog-holder/components/dialog-holder.gjs
@@ -5,7 +5,6 @@ import { service } from "@ember/service";
import { trustHTML } from "@ember/template";
import A11yDialog from "a11y-dialog";
import { modifier } from "ember-modifier";
-import { notEq, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
export default class DialogHolder extends Component {
@@ -71,7 +70,7 @@ export default class DialogHolder extends Component {
</div>
{{/if}}
- {{#if (notEq this.dialog.type "notice")}}
+ {{#if (neq this.dialog.type "notice")}}
<div class="dialog-footer">
{{#each this.dialog.buttons as |button|}}
<DButton
diff --git a/frontend/discourse/float-kit/components/d-default-toast.gts b/frontend/discourse/float-kit/components/d-default-toast.gts
index 909d90908a3..fc8d36916b5 100644
--- a/frontend/discourse/float-kit/components/d-default-toast.gts
+++ b/frontend/discourse/float-kit/components/d-default-toast.gts
@@ -3,7 +3,6 @@ import { concat, fn, hash } from "@ember/helper";
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
import { trustHTML } from "@ember/template";
import type { ToastComponentArgs } from "discourse/float-kit/lib/constants";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/float-kit/components/d-headless-tooltip.gts b/frontend/discourse/float-kit/components/d-headless-tooltip.gts
index 19288d6b2c0..7143a6823be 100644
--- a/frontend/discourse/float-kit/components/d-headless-tooltip.gts
+++ b/frontend/discourse/float-kit/components/d-headless-tooltip.gts
@@ -1,7 +1,6 @@
import type { TemplateOnlyComponent } from "@ember/component/template-only";
import DInlineFloat from "discourse/float-kit/components/d-inline-float";
import type DTooltipInstance from "discourse/float-kit/lib/d-tooltip-instance";
-import { and } from "discourse/truth-helpers";
interface DHeadlessTooltipSignature {
Args: {
diff --git a/frontend/discourse/float-kit/components/d-toast.gts b/frontend/discourse/float-kit/components/d-toast.gts
index 9e1ec99d471..3b42de04785 100644
--- a/frontend/discourse/float-kit/components/d-toast.gts
+++ b/frontend/discourse/float-kit/components/d-toast.gts
@@ -5,7 +5,6 @@ import type DToastInstance from "discourse/float-kit/lib/d-toast-instance";
import autoCloseToast from "discourse/float-kit/modifiers/auto-close-toast";
import deprecated from "discourse/lib/deprecated";
import { getMaxAnimationTimeMs } from "discourse/lib/swipe-events";
-import { and } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dSwipe, { type SwipeState } from "discourse/ui-kit/modifiers/d-swipe";
diff --git a/frontend/discourse/float-kit/components/d-tooltip.gts b/frontend/discourse/float-kit/components/d-tooltip.gts
index 371e500cd93..9824686ab0e 100644
--- a/frontend/discourse/float-kit/components/d-tooltip.gts
+++ b/frontend/discourse/float-kit/components/d-tooltip.gts
@@ -12,7 +12,6 @@ import {
} from "discourse/float-kit/lib/constants";
import DTooltipInstance from "discourse/float-kit/lib/d-tooltip-instance";
import type TooltipService from "discourse/float-kit/services/tooltip";
-import { and } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/package.json b/frontend/discourse/package.json
index 1a66c683f84..320a8f05813 100644
--- a/frontend/discourse/package.json
+++ b/frontend/discourse/package.json
@@ -160,7 +160,6 @@
"ember-modifier": "^4.3.0",
"ember-qunit": "^9.2.0",
"ember-template-imports": "^4.4.0",
- "ember-truth-helpers": "^5.0.0",
"expect-type": "^1.4.0",
"jquery": "^4.0.0",
"js-yaml": "^5.4.3",
diff --git a/frontend/discourse/select-kit/components/email-group-user-chooser-row.gjs b/frontend/discourse/select-kit/components/email-group-user-chooser-row.gjs
index 1e06923b2cb..8a5d28e2aef 100644
--- a/frontend/discourse/select-kit/components/email-group-user-chooser-row.gjs
+++ b/frontend/discourse/select-kit/components/email-group-user-chooser-row.gjs
@@ -2,7 +2,6 @@ import { classNames } from "@ember-decorators/component";
import decorateUsernameSelector from "discourse/helpers/decorate-username-selector";
import formatUsername from "discourse/helpers/format-username";
import SelectKitRowComponent from "discourse/select-kit/components/select-kit/select-kit-row";
-import { and, eq } from "discourse/truth-helpers";
import DUserStatusMessage from "discourse/ui-kit/d-user-status-message";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/frontend/discourse/select-kit/components/multi-select.gjs b/frontend/discourse/select-kit/components/multi-select.gjs
index 5ee6e47c24f..fa5dfa30538 100644
--- a/frontend/discourse/select-kit/components/multi-select.gjs
+++ b/frontend/discourse/select-kit/components/multi-select.gjs
@@ -12,7 +12,6 @@ import SelectKitComponent, {
} from "discourse/select-kit/components/select-kit";
import SelectKitBody from "discourse/select-kit/components/select-kit/select-kit-body";
import { isNumeric } from "discourse/select-kit/lib/input-utils";
-import { and, not } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import MultiSelectFilter from "./multi-select/multi-select-filter.gjs";
import MultiSelectHeader from "./multi-select/multi-select-header.gjs";
diff --git a/frontend/discourse/select-kit/components/multi-select/multi-select-header.gjs b/frontend/discourse/select-kit/components/multi-select/multi-select-header.gjs
index 61598faec5c..d644a41a919 100644
--- a/frontend/discourse/select-kit/components/multi-select/multi-select-header.gjs
+++ b/frontend/discourse/select-kit/components/multi-select/multi-select-header.gjs
@@ -9,7 +9,6 @@ import {
import FormatSelectedContent from "discourse/select-kit/components/multi-select/format-selected-content";
import { resolveComponent } from "discourse/select-kit/components/select-kit";
import SelectKitHeaderComponent from "discourse/select-kit/components/select-kit/select-kit-header";
-import { and, or } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
@tagName("summary")
diff --git a/frontend/discourse/select-kit/components/selected-name.gjs b/frontend/discourse/select-kit/components/selected-name.gjs
index 51ad9e957ab..55f654cffec 100644
--- a/frontend/discourse/select-kit/components/selected-name.gjs
+++ b/frontend/discourse/select-kit/components/selected-name.gjs
@@ -7,7 +7,6 @@ import { guidFor } from "@ember/object/internals";
import { tagName } from "@ember-decorators/component";
import { makeArray } from "discourse/lib/helpers";
import selectKitPropUtils from "discourse/select-kit/lib/select-kit-prop-utils";
-import { and } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/frontend/discourse/select-kit/components/single-select.gjs b/frontend/discourse/select-kit/components/single-select.gjs
index 78d4153e2d1..8072a08a33d 100644
--- a/frontend/discourse/select-kit/components/single-select.gjs
+++ b/frontend/discourse/select-kit/components/single-select.gjs
@@ -10,7 +10,6 @@ import SelectKitComponent, {
} from "discourse/select-kit/components/select-kit";
import SelectKitBody from "discourse/select-kit/components/select-kit/select-kit-body";
import { isNumeric } from "discourse/select-kit/lib/input-utils";
-import { and, not } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import SingleSelectHeader from "./select-kit/single-select-header.gjs";
diff --git a/frontend/discourse/tests/acceptance/edit-category-plugin-api-test.gjs b/frontend/discourse/tests/acceptance/edit-category-plugin-api-test.gjs
index f17557754b0..ceec6637930 100644
--- a/frontend/discourse/tests/acceptance/edit-category-plugin-api-test.gjs
+++ b/frontend/discourse/tests/acceptance/edit-category-plugin-api-test.gjs
@@ -9,8 +9,6 @@ const DummyTabComponent = <template>
{{/if}}
</template>;
-import { eq } from "discourse/truth-helpers";
-
acceptance("Edit Category - Plugin Tab API", function (needs) {
needs.user();
diff --git a/frontend/discourse/tests/integration/components/float-kit/d-menu-test.gjs b/frontend/discourse/tests/integration/components/float-kit/d-menu-test.gjs
index 3aa580e160c..846a26f4065 100644
--- a/frontend/discourse/tests/integration/components/float-kit/d-menu-test.gjs
+++ b/frontend/discourse/tests/integration/components/float-kit/d-menu-test.gjs
@@ -24,7 +24,6 @@ import DMenuInstance from "discourse/float-kit/lib/d-menu-instance";
import { getLockState } from "discourse/lib/body-scroll-lock";
import { forceMobile } from "discourse/lib/mobile";
import { setupRenderingTest } from "discourse/tests/helpers/component-test";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import dElement from "discourse/ui-kit/helpers/d-element";
diff --git a/frontend/discourse/tests/integration/ui-kit/d-horizontal-overflow-nav-test.gjs b/frontend/discourse/tests/integration/ui-kit/d-horizontal-overflow-nav-test.gjs
index 455aa81f54d..ee96e04399a 100644
--- a/frontend/discourse/tests/integration/ui-kit/d-horizontal-overflow-nav-test.gjs
+++ b/frontend/discourse/tests/integration/ui-kit/d-horizontal-overflow-nav-test.gjs
@@ -11,7 +11,6 @@ import sinon from "sinon";
import { resetSiteDirForTesting } from "discourse/lib/text-direction";
import { setupRenderingTest } from "discourse/tests/helpers/component-test";
import { stubPointerCapture } from "discourse/tests/helpers/ui-kit/pointer-gesture-helper";
-import { eq } from "discourse/truth-helpers";
import DHorizontalOverflowNav from "discourse/ui-kit/d-horizontal-overflow-nav";
const ITEMS = Array.from({ length: 10 }, (_, index) => `Item ${index + 1}`);
diff --git a/frontend/discourse/truth-helpers/helpers/and.ts b/frontend/discourse/truth-helpers/helpers/and.ts
index 1210ce0ade2..730bbd408b5 100644
--- a/frontend/discourse/truth-helpers/helpers/and.ts
+++ b/frontend/discourse/truth-helpers/helpers/and.ts
@@ -1 +1 @@
-export { default } from "ember-truth-helpers/helpers/and";
+export { and as default } from "@ember/helper";
diff --git a/frontend/discourse/truth-helpers/helpers/eq.ts b/frontend/discourse/truth-helpers/helpers/eq.ts
index a00dc3fbdc4..1d5b13013ba 100644
--- a/frontend/discourse/truth-helpers/helpers/eq.ts
+++ b/frontend/discourse/truth-helpers/helpers/eq.ts
@@ -1 +1 @@
-export { default } from "ember-truth-helpers/helpers/eq";
+export { eq as default } from "@ember/helper";
diff --git a/frontend/discourse/truth-helpers/helpers/gt.ts b/frontend/discourse/truth-helpers/helpers/gt.ts
index 38c958a52c6..2154a2a49eb 100644
--- a/frontend/discourse/truth-helpers/helpers/gt.ts
+++ b/frontend/discourse/truth-helpers/helpers/gt.ts
@@ -1 +1 @@
-export { default } from "ember-truth-helpers/helpers/gt";
+export { gt as default } from "@ember/helper";
diff --git a/frontend/discourse/truth-helpers/helpers/gte.ts b/frontend/discourse/truth-helpers/helpers/gte.ts
index 32c79cab0ee..723e7c53e74 100644
--- a/frontend/discourse/truth-helpers/helpers/gte.ts
+++ b/frontend/discourse/truth-helpers/helpers/gte.ts
@@ -1 +1 @@
-export { default } from "ember-truth-helpers/helpers/gte";
+export { gte as default } from "@ember/helper";
diff --git a/frontend/discourse/truth-helpers/helpers/is-array.ts b/frontend/discourse/truth-helpers/helpers/is-array.ts
deleted file mode 100644
index 43de297e91b..00000000000
--- a/frontend/discourse/truth-helpers/helpers/is-array.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from "ember-truth-helpers/helpers/is-array";
diff --git a/frontend/discourse/truth-helpers/helpers/is-empty.ts b/frontend/discourse/truth-helpers/helpers/is-empty.ts
deleted file mode 100644
index 9ce404cf949..00000000000
--- a/frontend/discourse/truth-helpers/helpers/is-empty.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from "ember-truth-helpers/helpers/is-empty";
diff --git a/frontend/discourse/truth-helpers/helpers/is-equal.ts b/frontend/discourse/truth-helpers/helpers/is-equal.ts
deleted file mode 100644
index 0ee856f9be2..00000000000
--- a/frontend/discourse/truth-helpers/helpers/is-equal.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from "ember-truth-helpers/helpers/is-equal";
diff --git a/frontend/discourse/truth-helpers/helpers/lt.ts b/frontend/discourse/truth-helpers/helpers/lt.ts
index f542559896b..e8ae24e056e 100644
--- a/frontend/discourse/truth-helpers/helpers/lt.ts
+++ b/frontend/discourse/truth-helpers/helpers/lt.ts
@@ -1 +1 @@
-export { default } from "ember-truth-helpers/helpers/lt";
+export { lt as default } from "@ember/helper";
diff --git a/frontend/discourse/truth-helpers/helpers/lte.ts b/frontend/discourse/truth-helpers/helpers/lte.ts
index 8a421b2ad11..98fb922b331 100644
--- a/frontend/discourse/truth-helpers/helpers/lte.ts
+++ b/frontend/discourse/truth-helpers/helpers/lte.ts
@@ -1 +1 @@
-export { default } from "ember-truth-helpers/helpers/lte";
+export { lte as default } from "@ember/helper";
diff --git a/frontend/discourse/truth-helpers/helpers/not-eq.ts b/frontend/discourse/truth-helpers/helpers/not-eq.ts
index 082ffab1728..50ac80fb517 100644
--- a/frontend/discourse/truth-helpers/helpers/not-eq.ts
+++ b/frontend/discourse/truth-helpers/helpers/not-eq.ts
@@ -1 +1 @@
-export { default } from "ember-truth-helpers/helpers/not-eq";
+export { neq as default } from "@ember/helper";
diff --git a/frontend/discourse/truth-helpers/helpers/not.ts b/frontend/discourse/truth-helpers/helpers/not.ts
index 1af59320805..232f52e01c4 100644
--- a/frontend/discourse/truth-helpers/helpers/not.ts
+++ b/frontend/discourse/truth-helpers/helpers/not.ts
@@ -1 +1 @@
-export { default } from "ember-truth-helpers/helpers/not";
+export { not as default } from "@ember/helper";
diff --git a/frontend/discourse/truth-helpers/helpers/or.ts b/frontend/discourse/truth-helpers/helpers/or.ts
index c6210c8c03a..ee27c4d6887 100644
--- a/frontend/discourse/truth-helpers/helpers/or.ts
+++ b/frontend/discourse/truth-helpers/helpers/or.ts
@@ -1 +1 @@
-export { default } from "ember-truth-helpers/helpers/or";
+export { or as default } from "@ember/helper";
diff --git a/frontend/discourse/truth-helpers/helpers/xor.ts b/frontend/discourse/truth-helpers/helpers/xor.ts
deleted file mode 100644
index 96057d370c2..00000000000
--- a/frontend/discourse/truth-helpers/helpers/xor.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from "ember-truth-helpers/helpers/xor";
diff --git a/frontend/discourse/truth-helpers/index.ts b/frontend/discourse/truth-helpers/index.ts
index ccb099148d6..938cde3591c 100644
--- a/frontend/discourse/truth-helpers/index.ts
+++ b/frontend/discourse/truth-helpers/index.ts
@@ -4,12 +4,8 @@ export { default as gt } from "./helpers/gt.ts";
export { default as gte } from "./helpers/gte.ts";
export { default as has } from "./helpers/has.ts";
export { default as includes } from "./helpers/includes.ts";
-export { default as isArray } from "./helpers/is-array.ts";
-export { default as isEmpty } from "./helpers/is-empty.ts";
-export { default as isEqual } from "./helpers/is-equal.ts";
export { default as lt } from "./helpers/lt.ts";
export { default as lte } from "./helpers/lte.ts";
export { default as not } from "./helpers/not.ts";
export { default as notEq } from "./helpers/not-eq.ts";
export { default as or } from "./helpers/or.ts";
-export { default as xor } from "./helpers/xor.ts";
diff --git a/frontend/discourse/truth-helpers/utils/truth-convert.ts b/frontend/discourse/truth-helpers/utils/truth-convert.ts
deleted file mode 100644
index 8b33dbc7414..00000000000
--- a/frontend/discourse/truth-helpers/utils/truth-convert.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-export { default } from "ember-truth-helpers/utils/truth-convert";
-export type {
- Falsy,
- MaybeTruthy,
- TruthConvert,
-} from "ember-truth-helpers/utils/truth-convert";
diff --git a/frontend/discourse/type-tests/truth-helpers/boolean-helpers-test.ts b/frontend/discourse/type-tests/truth-helpers/boolean-helpers-test.ts
index 96b8ac98c0d..f899fd36863 100644
--- a/frontend/discourse/type-tests/truth-helpers/boolean-helpers-test.ts
+++ b/frontend/discourse/type-tests/truth-helpers/boolean-helpers-test.ts
@@ -1,26 +1,6 @@
import { expectTypeOf } from "expect-type";
-import {
- eq,
- gt,
- has,
- includes,
- isArray,
- isEmpty,
- isEqual,
- not,
- notEq,
- xor,
-} from "discourse/truth-helpers";
+import { has, includes } from "discourse/truth-helpers";
-// The comparison/membership helpers always return a plain `boolean`.
-expectTypeOf(not("x")).toEqualTypeOf<boolean>();
-expectTypeOf(eq(1, 2)).toEqualTypeOf<boolean>();
-expectTypeOf(notEq(1, 2)).toEqualTypeOf<boolean>();
-expectTypeOf(gt(2, 1)).toEqualTypeOf<boolean>();
-expectTypeOf(gt(2, 1, { forceNumber: true })).toEqualTypeOf<boolean>();
+// The membership helpers always return a plain `boolean`.
expectTypeOf(has(new Set([1]), 1)).toEqualTypeOf<boolean>();
expectTypeOf(includes([1, 2], 1)).toEqualTypeOf<boolean>();
-expectTypeOf(xor(true, false)).toEqualTypeOf<boolean>();
-expectTypeOf(isArray([1, 2])).toEqualTypeOf<boolean>();
-expectTypeOf(isEmpty("x")).toEqualTypeOf<boolean>();
-expectTypeOf(isEqual(1, 2)).toEqualTypeOf<boolean>();
diff --git a/frontend/discourse/type-tests/truth-helpers/glint-test.gts b/frontend/discourse/type-tests/truth-helpers/glint-test.gts
index 68dbf85e86e..a1011a7992d 100644
--- a/frontend/discourse/type-tests/truth-helpers/glint-test.gts
+++ b/frontend/discourse/type-tests/truth-helpers/glint-test.gts
@@ -1,5 +1,4 @@
import type { TOC } from "@ember/component/template-only";
-import { and, gt, or } from "discourse/truth-helpers";
interface ExpectStringSignature {
Args: { value: string };
@@ -21,10 +20,9 @@ interface HostSignature {
Args: { maybeString?: string; fooBar: "foo" | "bar" };
}
-// Asserts the helpers keep their precise return types when invoked as template
-// helpers ({{or}}/{{and}} are class-based helpers, so they can only be exercised
-// this way). Feeding each result into a narrowly-typed arg is the assertion; a
-// wrong return type fails pnpm lint:types.
+// Asserts the built-in `or`/`and`/`gt` keywords keep their precise return types.
+// Feeding each result into a narrowly-typed arg is the assertion; a wrong return
+// type fails pnpm lint:types.
const Glint: TOC<HostSignature> = <template>
{{! or of a maybe-string and a literal fallback resolves to a string }}
<ExpectString @value={{or @maybeString "fallback"}} />
diff --git a/frontend/discourse/type-tests/truth-helpers/truth-convert-test.ts b/frontend/discourse/type-tests/truth-helpers/truth-convert-test.ts
deleted file mode 100644
index f8b22bbfde3..00000000000
--- a/frontend/discourse/type-tests/truth-helpers/truth-convert-test.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { expectTypeOf } from "expect-type";
-import truthConvert, {
- type TruthConvert,
-} from "discourse/truth-helpers/utils/truth-convert";
-
-// The type-level truthiness mapping used by `and`/`or`.
-expectTypeOf<TruthConvert<0>>().toEqualTypeOf<false>();
-expectTypeOf<TruthConvert<1>>().toEqualTypeOf<true>();
-expectTypeOf<TruthConvert<"">>().toEqualTypeOf<false>();
-expectTypeOf<TruthConvert<"x">>().toEqualTypeOf<true>();
-expectTypeOf<TruthConvert<never[]>>().toEqualTypeOf<false>();
-expectTypeOf<TruthConvert<{ isTruthy: true }>>().toEqualTypeOf<true>();
-expectTypeOf<TruthConvert<{ isTruthy: false }>>().toEqualTypeOf<false>();
-// A wide `string` can't be resolved at compile time.
-expectTypeOf<TruthConvert<string>>().toEqualTypeOf<boolean>();
-
-// The runtime function narrows literal inputs the same way as the type above.
-expectTypeOf(truthConvert(0)).toEqualTypeOf<false>();
-expectTypeOf(truthConvert(1)).toEqualTypeOf<true>();
-expectTypeOf(truthConvert("")).toEqualTypeOf<false>();
-expectTypeOf(truthConvert("x")).toEqualTypeOf<true>();
diff --git a/package.json b/package.json
index 1d3ec4677ed..244de2c6534 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"author": "Discourse",
"license": "GPL-2.0-only",
"devDependencies": {
- "@discourse/lint-configs": "^3.8.2",
+ "@discourse/lint-configs": "^3.9.0",
"@discourse/moment-timezone-names-translations": "^1.0.0",
"@fortawesome/fontawesome-free": "7.3.1",
"@glint/ember-tsc": "^1.11.6",
diff --git a/plugins/automation/admin/assets/javascripts/admin/components/automation-list.gjs b/plugins/automation/admin/assets/javascripts/admin/components/automation-list.gjs
index a7156748892..c293f8c6dce 100644
--- a/plugins/automation/admin/assets/javascripts/admin/components/automation-list.gjs
+++ b/plugins/automation/admin/assets/javascripts/admin/components/automation-list.gjs
@@ -9,7 +9,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import { removeValueFromArray } from "discourse/lib/array-tools";
import getURL from "discourse/lib/get-url";
import { escapeExpression } from "discourse/lib/utilities";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DPageSubheader from "discourse/ui-kit/d-page-subheader";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
diff --git a/plugins/automation/admin/assets/javascripts/discourse/templates/admin-plugins/show/automation/edit.gjs b/plugins/automation/admin/assets/javascripts/discourse/templates/admin-plugins/show/automation/edit.gjs
index b03ac499d06..8c924408989 100644
--- a/plugins/automation/admin/assets/javascripts/discourse/templates/admin-plugins/show/automation/edit.gjs
+++ b/plugins/automation/admin/assets/javascripts/discourse/templates/admin-plugins/show/automation/edit.gjs
@@ -3,7 +3,6 @@ import AdminConfigAreaCard from "discourse/admin/components/admin-config-area-ca
import BackButton from "discourse/components/back-button";
import withEventValue from "discourse/helpers/with-event-value";
import ComboBox from "discourse/select-kit/components/combo-box";
-import { and, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DTextField from "discourse/ui-kit/d-text-field";
import { i18n } from "discourse-i18n";
diff --git a/plugins/boards/assets/javascripts/discourse/components/boards-board-viewer.gjs b/plugins/boards/assets/javascripts/discourse/components/boards-board-viewer.gjs
index 9a2ab53f09b..234b814ba66 100644
--- a/plugins/boards/assets/javascripts/discourse/components/boards-board-viewer.gjs
+++ b/plugins/boards/assets/javascripts/discourse/components/boards-board-viewer.gjs
@@ -22,7 +22,6 @@ import discourseLater from "discourse/lib/later";
import DiscourseURL from "discourse/lib/url";
import { prefersReducedMotion } from "discourse/lib/utilities";
import Category from "discourse/models/category";
-import { or } from "discourse/truth-helpers";
import DAsyncContent from "discourse/ui-kit/d-async-content";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
diff --git a/plugins/boards/assets/javascripts/discourse/components/boards-card.gjs b/plugins/boards/assets/javascripts/discourse/components/boards-card.gjs
index 01004b1c407..9dc450bf890 100644
--- a/plugins/boards/assets/javascripts/discourse/components/boards-card.gjs
+++ b/plugins/boards/assets/javascripts/discourse/components/boards-card.gjs
@@ -13,7 +13,6 @@ import renderTags from "discourse/lib/render-tags";
import { emojiUnescape } from "discourse/lib/text";
import DiscourseURL from "discourse/lib/url";
import { escapeExpression } from "discourse/lib/utilities";
-import { not, or } from "discourse/truth-helpers";
import DAsyncContent from "discourse/ui-kit/d-async-content";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
diff --git a/plugins/boards/assets/javascripts/discourse/components/boards-column.gjs b/plugins/boards/assets/javascripts/discourse/components/boards-column.gjs
index 9f32aaa9823..cfde61d23b0 100644
--- a/plugins/boards/assets/javascripts/discourse/components/boards-column.gjs
+++ b/plugins/boards/assets/javascripts/discourse/components/boards-column.gjs
@@ -5,7 +5,6 @@ import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { service } from "@ember/service";
import DMenu from "discourse/float-kit/components/d-menu";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/boards/assets/javascripts/discourse/components/boards-page.gjs b/plugins/boards/assets/javascripts/discourse/components/boards-page.gjs
index 9f95d7b78bb..4ed670e5056 100644
--- a/plugins/boards/assets/javascripts/discourse/components/boards-page.gjs
+++ b/plugins/boards/assets/javascripts/discourse/components/boards-page.gjs
@@ -4,7 +4,6 @@ import { action } from "@ember/object";
import { LinkTo } from "@ember/routing";
import { service } from "@ember/service";
import { ajax } from "discourse/lib/ajax";
-import { eq, or } from "discourse/truth-helpers";
import DAsyncContent from "discourse/ui-kit/d-async-content";
import DButton from "discourse/ui-kit/d-button";
import DFilterControls from "discourse/ui-kit/d-filter-controls";
diff --git a/plugins/boards/assets/javascripts/discourse/components/modal/boards-board-settings.gjs b/plugins/boards/assets/javascripts/discourse/components/modal/boards-board-settings.gjs
index c61c79b6d87..70cb6e6ad68 100644
--- a/plugins/boards/assets/javascripts/discourse/components/modal/boards-board-settings.gjs
+++ b/plugins/boards/assets/javascripts/discourse/components/modal/boards-board-settings.gjs
@@ -11,7 +11,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import discourseDebounce from "discourse/lib/debounce";
import { slugify } from "discourse/lib/utilities";
import CategorySelector from "discourse/select-kit/components/category-selector";
-import { eq, or } from "discourse/truth-helpers";
import DAsyncContent from "discourse/ui-kit/d-async-content";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
diff --git a/plugins/boards/assets/javascripts/discourse/components/modal/boards-card-detail.gjs b/plugins/boards/assets/javascripts/discourse/components/modal/boards-card-detail.gjs
index b348d4c61e0..e6deed80c86 100644
--- a/plugins/boards/assets/javascripts/discourse/components/modal/boards-card-detail.gjs
+++ b/plugins/boards/assets/javascripts/discourse/components/modal/boards-card-detail.gjs
@@ -7,7 +7,6 @@ import Form from "discourse/components/form";
import { ajax } from "discourse/lib/ajax";
import { USER_OPTION_COMPOSITION_MODES } from "discourse/lib/constants";
import EmailGroupUserChooser from "discourse/select-kit/components/email-group-user-chooser";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import { i18n } from "discourse-i18n";
diff --git a/plugins/boards/assets/javascripts/discourse/components/modal/boards-column-settings.gjs b/plugins/boards/assets/javascripts/discourse/components/modal/boards-column-settings.gjs
index f9eed0dafc7..f46d73efd0c 100644
--- a/plugins/boards/assets/javascripts/discourse/components/modal/boards-column-settings.gjs
+++ b/plugins/boards/assets/javascripts/discourse/components/modal/boards-column-settings.gjs
@@ -9,7 +9,6 @@ import CategoryChooser from "discourse/select-kit/components/category-chooser";
import ComboBox from "discourse/select-kit/components/combo-box";
import EmailGroupUserChooser from "discourse/select-kit/components/email-group-user-chooser";
import MiniTagChooser from "discourse/select-kit/components/mini-tag-chooser";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import { i18n } from "discourse-i18n";
diff --git a/plugins/boards/assets/javascripts/discourse/components/modal/boards-constraint-fix.gjs b/plugins/boards/assets/javascripts/discourse/components/modal/boards-constraint-fix.gjs
index 0b0d792aa16..47e46bcddbc 100644
--- a/plugins/boards/assets/javascripts/discourse/components/modal/boards-constraint-fix.gjs
+++ b/plugins/boards/assets/javascripts/discourse/components/modal/boards-constraint-fix.gjs
@@ -2,7 +2,7 @@ import Component from "@glimmer/component";
import { tracked } from "@glimmer/tracking";
import { fn } from "@ember/helper";
import { action } from "@ember/object";
-import { eq, includes, not } from "discourse/truth-helpers";
+import { includes } from "discourse/truth-helpers";
import DAsyncContent from "discourse/ui-kit/d-async-content";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
diff --git a/plugins/boards/assets/javascripts/discourse/components/modal/boards-topic-card-detail.gjs b/plugins/boards/assets/javascripts/discourse/components/modal/boards-topic-card-detail.gjs
index 810b7fb9896..b2dbeaa12c7 100644
--- a/plugins/boards/assets/javascripts/discourse/components/modal/boards-topic-card-detail.gjs
+++ b/plugins/boards/assets/javascripts/discourse/components/modal/boards-topic-card-detail.gjs
@@ -9,7 +9,6 @@ import renderTags from "discourse/lib/render-tags";
import { emojiUnescape } from "discourse/lib/text";
import { escapeExpression } from "discourse/lib/utilities";
import Topic from "discourse/models/topic";
-import { or } from "discourse/truth-helpers";
import DAsyncContent from "discourse/ui-kit/d-async-content";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
diff --git a/plugins/chat/admin/assets/javascripts/admin/components/chat-incoming-webhook-edit-form.gjs b/plugins/chat/admin/assets/javascripts/admin/components/chat-incoming-webhook-edit-form.gjs
index 1225359831f..10847091a20 100644
--- a/plugins/chat/admin/assets/javascripts/admin/components/chat-incoming-webhook-edit-form.gjs
+++ b/plugins/chat/admin/assets/javascripts/admin/components/chat-incoming-webhook-edit-form.gjs
@@ -6,7 +6,6 @@ import EmojiPicker from "discourse/components/emoji-picker";
import Form from "discourse/components/form";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dReplaceEmoji from "discourse/ui-kit/helpers/d-replace-emoji";
import { i18n } from "discourse-i18n";
diff --git a/plugins/chat/admin/assets/javascripts/discourse/templates/admin-plugins/show/discourse-chat-incoming-webhooks/edit.gjs b/plugins/chat/admin/assets/javascripts/discourse/templates/admin-plugins/show/discourse-chat-incoming-webhooks/edit.gjs
index c9ba2d9d792..fc76024ea87 100644
--- a/plugins/chat/admin/assets/javascripts/discourse/templates/admin-plugins/show/discourse-chat-incoming-webhooks/edit.gjs
+++ b/plugins/chat/admin/assets/javascripts/discourse/templates/admin-plugins/show/discourse-chat-incoming-webhooks/edit.gjs
@@ -1,5 +1,4 @@
import BackButton from "discourse/components/back-button";
-import { not } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import ChatIncomingWebhookEditForm from "discourse/plugins/chat/admin/components/chat-incoming-webhook-edit-form";
diff --git a/plugins/chat/assets/javascripts/discourse/components/browse-channels.gjs b/plugins/chat/assets/javascripts/discourse/components/browse-channels.gjs
index 83ff834f60f..73eb290bcd9 100644
--- a/plugins/chat/assets/javascripts/discourse/components/browse-channels.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/browse-channels.gjs
@@ -6,7 +6,6 @@ import { LinkTo } from "@ember/routing";
import { service } from "@ember/service";
import discourseDebounce from "discourse/lib/debounce";
import { INPUT_DELAY } from "discourse/lib/environment";
-import { eq } from "discourse/truth-helpers";
import DEmptyState from "discourse/ui-kit/d-empty-state";
import DFilterControls from "discourse/ui-kit/d-filter-controls";
import { i18n } from "discourse-i18n";
diff --git a/plugins/chat/assets/javascripts/discourse/components/channels-list-direct.gjs b/plugins/chat/assets/javascripts/discourse/components/channels-list-direct.gjs
index a81d8c5db69..1d4869c157c 100644
--- a/plugins/chat/assets/javascripts/discourse/components/channels-list-direct.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/channels-list-direct.gjs
@@ -5,7 +5,6 @@ import { action } from "@ember/object";
import { service } from "@ember/service";
import PluginOutlet from "discourse/components/plugin-outlet";
import lazyHash from "discourse/helpers/lazy-hash";
-import { and, not, or } from "discourse/truth-helpers";
import DEmptyState from "discourse/ui-kit/d-empty-state";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/chat/assets/javascripts/discourse/components/channels-list-public.gjs b/plugins/chat/assets/javascripts/discourse/components/channels-list-public.gjs
index 9f3059f9010..6f11b2b2273 100644
--- a/plugins/chat/assets/javascripts/discourse/components/channels-list-public.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/channels-list-public.gjs
@@ -6,7 +6,6 @@ import { LinkTo } from "@ember/routing";
import { service } from "@ember/service";
import PluginOutlet from "discourse/components/plugin-outlet";
import lazyHash from "discourse/helpers/lazy-hash";
-import { and } from "discourse/truth-helpers";
import DEmptyState from "discourse/ui-kit/d-empty-state";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/chat/assets/javascripts/discourse/components/channels-list-starred.gjs b/plugins/chat/assets/javascripts/discourse/components/channels-list-starred.gjs
index eb9cd5b11fc..b6e8668849c 100644
--- a/plugins/chat/assets/javascripts/discourse/components/channels-list-starred.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/channels-list-starred.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { hash } from "@ember/helper";
import { service } from "@ember/service";
-import { or } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import ChatChannelListFilterToggle from "./chat-channel-list-filter-toggle.gjs";
import ChatChannelListOptionsButton from "./chat-channel-list-options-button.gjs";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-channel-card.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-channel-card.gjs
index 5b7eb2cb7a0..a5513fce292 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-channel-card.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-channel-card.gjs
@@ -3,7 +3,6 @@ import { LinkTo } from "@ember/routing";
import { trustHTML } from "@ember/template";
import PluginOutlet from "discourse/components/plugin-outlet";
import lazyHash from "discourse/helpers/lazy-hash";
-import { gt } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dEmoji from "discourse/ui-kit/helpers/d-emoji";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-channel-filter.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-channel-filter.gjs
index 074d62c6f22..34fc6940732 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-channel-filter.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-channel-filter.gjs
@@ -10,7 +10,6 @@ import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import discourseDebounce from "discourse/lib/debounce";
import { INPUT_DELAY } from "discourse/lib/environment";
-import { gt } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DFilterInput from "discourse/ui-kit/d-filter-input";
import dAutoFocus from "discourse/ui-kit/modifiers/d-auto-focus";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-channel-list-filter-menu.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-channel-list-filter-menu.gjs
index 866b54f2329..f974ba4aa67 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-channel-list-filter-menu.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-channel-list-filter-menu.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { action } from "@ember/object";
import { service } from "@ember/service";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import { i18n } from "discourse-i18n";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-channel-row.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-channel-row.gjs
index 4457f3def50..83ed7df7eb3 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-channel-row.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-channel-row.gjs
@@ -12,7 +12,6 @@ import { modifier as modifierFn } from "ember-modifier";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { bind } from "discourse/lib/decorators";
import discourseLater from "discourse/lib/later";
-import { and, eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import dReplaceEmoji from "discourse/ui-kit/helpers/d-replace-emoji";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-channel.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-channel.gjs
index c5bec3c8bef..f86e68d14ed 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-channel.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-channel.gjs
@@ -11,7 +11,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import discourseDebounce from "discourse/lib/debounce";
import { bind } from "discourse/lib/decorators";
import DiscourseURL from "discourse/lib/url";
-import { and, not } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
import ChatChannelStatus from "discourse/plugins/chat/discourse/components/chat-channel-status";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-composer.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-composer.gjs
index 2b58e0f2962..cd0433f9e7d 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-composer.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-composer.gjs
@@ -40,7 +40,6 @@ import virtualElementFromTextRange from "discourse/lib/virtual-element-from-text
import { waitForClosedKeyboard } from "discourse/lib/wait-for-keyboard";
import forceScrollingElementPosition from "discourse/modifiers/force-scrolling-element-position";
import preventScrollOnFocus from "discourse/modifiers/prevent-scroll-on-focus";
-import { not, or } from "discourse/truth-helpers";
import DTextarea from "discourse/ui-kit/d-textarea";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dAutocomplete, { SKIP } from "discourse/ui-kit/modifiers/d-autocomplete";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-footer.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-footer.gjs
index 80b77565708..90d80d45d21 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-footer.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-footer.gjs
@@ -1,6 +1,5 @@
import Component from "@glimmer/component";
import { service } from "@ember/service";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-desktop.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-desktop.gjs
index 6a2e95aac6d..ac7e486402a 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-desktop.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-desktop.gjs
@@ -8,7 +8,6 @@ import { service } from "@ember/service";
import { modifier } from "ember-modifier";
import BookmarkIcon from "discourse/components/bookmark-icon";
import DropdownSelectBox from "discourse/select-kit/components/dropdown-select-box";
-import { and } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-mobile.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-mobile.gjs
index 7755604ac27..c571d99fd4b 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-mobile.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-mobile.gjs
@@ -8,7 +8,6 @@ import didInsert from "@ember/render-modifiers/modifiers/did-insert";
import { service } from "@ember/service";
import BookmarkIcon from "discourse/components/bookmark-icon";
import EmojiPickerDetached from "discourse/components/emoji-picker/detached";
-import { and, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-message-collapser.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-message-collapser.gjs
index b39f796c830..2d7c40ebed3 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-message-collapser.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-message-collapser.gjs
@@ -6,7 +6,6 @@ import { modifier } from "ember-modifier";
import domFromString from "discourse/lib/dom-from-string";
import applyLightbox from "discourse/lib/lightbox";
import { escapeExpression } from "discourse/lib/utilities";
-import { and } from "discourse/truth-helpers";
import DDecoratedHtml from "discourse/ui-kit/d-decorated-html";
import { i18n } from "discourse-i18n";
import ChatUpload from "discourse/plugins/chat/discourse/components/chat-upload";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-message-reaction.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-message-reaction.gjs
index 67cadfc491b..b61a97bfa36 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-message-reaction.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-message-reaction.gjs
@@ -10,7 +10,6 @@ import { modifier } from "ember-modifier";
import { bind } from "discourse/lib/decorators";
import discourseLater from "discourse/lib/later";
import { emojiUnescape, emojiUrlFor } from "discourse/lib/text";
-import { and, eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
import ChatMessageReactionsUsers from "discourse/plugins/chat/discourse/components/chat-message-reactions-users";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-message-reactions-users.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-message-reactions-users.gjs
index 84c4e4bda46..d6911f8f766 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-message-reactions-users.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-message-reactions-users.gjs
@@ -7,7 +7,6 @@ import didUpdate from "@ember/render-modifiers/modifiers/did-update";
import { service } from "@ember/service";
import { modifier } from "ember-modifier";
import UsersPopup from "discourse/components/user/users-popup";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dEmoji from "discourse/ui-kit/helpers/d-emoji";
import { i18n } from "discourse-i18n";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-message.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-message.gjs
index 4afb6fe2865..8df2cdc8bf9 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-message.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-message.gjs
@@ -19,7 +19,6 @@ import discourseLater from "discourse/lib/later";
import { applyValueTransformer } from "discourse/lib/transformer";
import { updateUserStatusOnMention } from "discourse/lib/update-user-status-on-mention";
import isZoomed from "discourse/lib/zoom-check";
-import { eq, lt, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-search.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-search.gjs
index a8453c30359..123a0563b90 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-search.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-search.gjs
@@ -13,7 +13,6 @@ import discourseDebounce from "discourse/lib/debounce";
import { bind } from "discourse/lib/decorators";
import { INPUT_DELAY } from "discourse/lib/environment";
import DiscourseURL from "discourse/lib/url";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-thread-list.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-thread-list.gjs
index 07b785e8e88..7d0cff7bd5a 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-thread-list.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-thread-list.gjs
@@ -4,7 +4,6 @@ import { service } from "@ember/service";
import { modifier as modifierFn } from "ember-modifier";
import { bind } from "discourse/lib/decorators";
import isElementInViewport from "discourse/lib/is-element-in-viewport";
-import { eq } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import { i18n } from "discourse-i18n";
import ChatThreadListItem from "discourse/plugins/chat/discourse/components/chat/thread-list/item";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-to-topic-selector.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-to-topic-selector.gjs
index 8d94a705101..c39a09fdaaa 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-to-topic-selector.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-to-topic-selector.gjs
@@ -7,7 +7,6 @@ import { tagName } from "@ember-decorators/component";
import ChooseTopic from "discourse/components/choose-topic";
import CategoryChooser from "discourse/select-kit/components/category-chooser";
import TagChooser from "discourse/select-kit/components/tag-chooser";
-import { and } from "discourse/truth-helpers";
import DRadioButton from "discourse/ui-kit/d-radio-button";
import DTextField from "discourse/ui-kit/d-text-field";
import { i18n } from "discourse-i18n";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-upload.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-upload.gjs
index 00c461c7a2b..c8563cfc910 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-upload.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-upload.gjs
@@ -6,7 +6,6 @@ import { service } from "@ember/service";
import { trustHTML } from "@ember/template";
import { getURLWithCDN } from "discourse/lib/get-url";
import { isAudio, isImage, isVideo } from "discourse/lib/uploads";
-import { eq } from "discourse/truth-helpers";
export default class ChatUpload extends Component {
@service siteSettings;
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/header/icon.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/header/icon.gjs
index b60334f4bdc..855b5f40277 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/header/icon.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/header/icon.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { action } from "@ember/object";
import { service } from "@ember/service";
import getURL from "discourse/lib/get-url";
-import { and } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/add-members.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/add-members.gjs
index 581462cc758..ca2092e6694 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/add-members.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/add-members.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { action } from "@ember/object";
import { service } from "@ember/service";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { gte } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { i18n } from "discourse-i18n";
import MembersCount from "./members-count.gjs";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/channel.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/channel.gjs
index 5787c59e0c5..97bd0f55cf2 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/channel.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/channel.gjs
@@ -1,5 +1,4 @@
import Component from "@glimmer/component";
-import { not } from "discourse/truth-helpers";
import ChannelTitle from "discourse/plugins/chat/discourse/components/channel-title";
export default class Channel extends Component {
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/list.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/list.gjs
index 2df95254762..2ad78bd23b1 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/list.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/list.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { fn } from "@ember/helper";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
import Channel from "./channel.gjs";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/member.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/member.gjs
index 0bc8308272e..aa50c492aa1 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/member.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/member.gjs
@@ -1,5 +1,4 @@
import { fn } from "@ember/helper";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/members-count.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/members-count.gjs
index c1985d65b2b..70cc27925a0 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/members-count.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/members-count.gjs
@@ -1,5 +1,4 @@
import Component from "@glimmer/component";
-import { gte } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/members.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/members.gjs
index 1a06d466d2d..aeccf10a4db 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/members.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/members.gjs
@@ -3,7 +3,6 @@ import { Input } from "@ember/component";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
-import { eq } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
import { getNext, getPrevious } from "./lib/iterate-list.js";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/new-group.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/new-group.gjs
index de784e99bca..06598e3d8ef 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/new-group.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/new-group.gjs
@@ -4,7 +4,6 @@ import { Input } from "@ember/component";
import { action } from "@ember/object";
import { service } from "@ember/service";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { gte } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { i18n } from "discourse-i18n";
import MembersCount from "./members-count.gjs";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/user.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/user.gjs
index 939486bc911..566b75f22e6 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/user.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/message-creator/user.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { service } from "@ember/service";
import { modifier } from "ember-modifier";
import userStatus from "discourse/helpers/user-status";
-import { not } from "discourse/truth-helpers";
import DUserStatusMessage from "discourse/ui-kit/d-user-status-message";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/message/error.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/message/error.gjs
index 5dc13c78b2b..bba44a90393 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/message/error.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/message/error.gjs
@@ -1,5 +1,4 @@
import { fn, get } from "@ember/helper";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { i18n } from "discourse-i18n";
import {
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/message/info.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/message/info.gjs
index 443435195c5..8f65fd488ca 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/message/info.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/message/info.gjs
@@ -7,7 +7,6 @@ import { service } from "@ember/service";
import BookmarkIcon from "discourse/components/bookmark-icon";
import { bind } from "discourse/lib/decorators";
import { prioritizeNameInUx } from "discourse/lib/settings";
-import { and, eq, not } from "discourse/truth-helpers";
import DUserStatusMessage from "discourse/ui-kit/d-user-status-message";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/message/left-gutter.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/message/left-gutter.gjs
index a2a7c00e6bf..a57ecd546f0 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/message/left-gutter.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/message/left-gutter.gjs
@@ -3,7 +3,6 @@ import { hash } from "@ember/helper";
import { LinkTo } from "@ember/routing";
import { service } from "@ember/service";
import BookmarkIcon from "discourse/components/bookmark-icon";
-import { eq } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import formatChatDate from "../../../helpers/format-chat-date.js";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/modal/create-channel.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/modal/create-channel.gjs
index e731694d7cf..5687ef822e0 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/modal/create-channel.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/modal/create-channel.gjs
@@ -12,7 +12,6 @@ import discourseDebounce from "discourse/lib/debounce";
import { escapeExpression } from "discourse/lib/utilities";
import Category from "discourse/models/category";
import CategoryChooser from "discourse/select-kit/components/category-chooser";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/modal/edit-channel-name.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/modal/edit-channel-name.gjs
index 33d2b4f4768..379d1d35c3d 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/modal/edit-channel-name.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/modal/edit-channel-name.gjs
@@ -10,7 +10,6 @@ import DTooltip from "discourse/float-kit/components/d-tooltip";
import { ajax } from "discourse/lib/ajax";
import { extractError } from "discourse/lib/ajax-error";
import discourseDebounce from "discourse/lib/debounce";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import DModalCancel from "discourse/ui-kit/d-modal-cancel";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/routes/channel-info-nav.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/routes/channel-info-nav.gjs
index 323f5c063ef..61edf3e023a 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/routes/channel-info-nav.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/routes/channel-info-nav.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { LinkTo } from "@ember/routing";
import { service } from "@ember/service";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
export default class ChatRoutesChannelInfoNav extends Component {
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/scroll-to-bottom-arrow.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/scroll-to-bottom-arrow.gjs
index 40c44d03468..d277a65bb32 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/scroll-to-bottom-arrow.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/scroll-to-bottom-arrow.gjs
@@ -1,6 +1,5 @@
import Component from "@glimmer/component";
import { service } from "@ember/service";
-import { and } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/selection-manager.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/selection-manager.gjs
index 71e0e4b701b..e0da9c74dbc 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/selection-manager.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/selection-manager.gjs
@@ -6,7 +6,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import { bind } from "discourse/lib/decorators";
import { isTesting } from "discourse/lib/environment";
import { clipboardCopyAsync } from "discourse/lib/utilities";
-import { not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { i18n } from "discourse-i18n";
import DeleteMessagesConfirm from "discourse/plugins/chat/discourse/components/chat/modal/delete-messages-confirm";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/thread-list/item.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/thread-list/item.gjs
index 5f48138744d..b7c51a139e5 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/thread-list/item.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/thread-list/item.gjs
@@ -3,7 +3,6 @@ import { fn } from "@ember/helper";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { service } from "@ember/service";
-import { gt } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dFormatDate from "discourse/ui-kit/helpers/d-format-date";
import dReplaceEmoji from "discourse/ui-kit/helpers/d-replace-emoji";
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/thread/header.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/thread/header.gjs
index 1909a2d7b60..70462b571fd 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/thread/header.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/thread/header.gjs
@@ -4,7 +4,6 @@ import { service } from "@ember/service";
import PluginOutlet from "discourse/components/plugin-outlet";
import lazyHash from "discourse/helpers/lazy-hash";
import noop from "discourse/helpers/noop";
-import { and, or } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import dReplaceEmoji from "discourse/ui-kit/helpers/d-replace-emoji";
import { i18n } from "discourse-i18n";
diff --git a/plugins/chat/assets/javascripts/discourse/components/styleguide/chat-message.gjs b/plugins/chat/assets/javascripts/discourse/components/styleguide/chat-message.gjs
index 5fc48b2acf6..a9f0296655b 100644
--- a/plugins/chat/assets/javascripts/discourse/components/styleguide/chat-message.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/styleguide/chat-message.gjs
@@ -3,7 +3,6 @@ import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { getOwner } from "@ember/owner";
import { service } from "@ember/service";
-import { not } from "discourse/truth-helpers";
import DToggleSwitch from "discourse/ui-kit/d-toggle-switch";
import ChatMessage from "discourse/plugins/chat/discourse/components/chat-message";
import ChatMessagesManager from "discourse/plugins/chat/discourse/lib/chat-messages-manager";
diff --git a/plugins/chat/assets/javascripts/discourse/components/upsert-category/chat.gjs b/plugins/chat/assets/javascripts/discourse/components/upsert-category/chat.gjs
index f5f855ba915..44158cc5507 100644
--- a/plugins/chat/assets/javascripts/discourse/components/upsert-category/chat.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/upsert-category/chat.gjs
@@ -9,7 +9,6 @@ import { trustHTML } from "@ember/template";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import getURL from "discourse/lib/get-url";
-import { or } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DEmptyState from "discourse/ui-kit/d-empty-state";
import DToggleSwitch from "discourse/ui-kit/d-toggle-switch";
diff --git a/plugins/chat/assets/javascripts/discourse/connectors/user-preferences-emails-pref-email-settings/preferences-chat-emails.gjs b/plugins/chat/assets/javascripts/discourse/connectors/user-preferences-emails-pref-email-settings/preferences-chat-emails.gjs
index 64bbb6c99e9..48c5bd981fd 100644
--- a/plugins/chat/assets/javascripts/discourse/connectors/user-preferences-emails-pref-email-settings/preferences-chat-emails.gjs
+++ b/plugins/chat/assets/javascripts/discourse/connectors/user-preferences-emails-pref-email-settings/preferences-chat-emails.gjs
@@ -1,6 +1,5 @@
import { fn } from "@ember/helper";
import ComboBox from "discourse/select-kit/components/combo-box";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
const EMAIL_FREQUENCY_OPTIONS = [
diff --git a/plugins/chat/assets/javascripts/discourse/connectors/user-profile-controls/chat-button.gjs b/plugins/chat/assets/javascripts/discourse/connectors/user-profile-controls/chat-button.gjs
index 58a0fb19b69..b3519b7a9f1 100644
--- a/plugins/chat/assets/javascripts/discourse/connectors/user-profile-controls/chat-button.gjs
+++ b/plugins/chat/assets/javascripts/discourse/connectors/user-profile-controls/chat-button.gjs
@@ -1,4 +1,3 @@
-import { and, not } from "discourse/truth-helpers";
import ChatDirectMessageButton from "../../components/chat/direct-message-button.gjs";
const ChatButton = <template>
diff --git a/plugins/chat/assets/javascripts/discourse/templates/preferences/chat.gjs b/plugins/chat/assets/javascripts/discourse/templates/preferences/chat.gjs
index f7541de4fa1..00f405be43f 100644
--- a/plugins/chat/assets/javascripts/discourse/templates/preferences/chat.gjs
+++ b/plugins/chat/assets/javascripts/discourse/templates/preferences/chat.gjs
@@ -7,7 +7,6 @@ import EmojiPicker from "discourse/components/emoji-picker";
import Form from "discourse/components/form";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { isTesting } from "discourse/lib/environment";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import {
CHAT_ATTRS,
diff --git a/plugins/discourse-adplugin/admin/assets/javascripts/discourse/templates/admin-plugins/show/house-ads/index.gjs b/plugins/discourse-adplugin/admin/assets/javascripts/discourse/templates/admin-plugins/show/house-ads/index.gjs
index d7a7f9feefa..298d5f8126a 100644
--- a/plugins/discourse-adplugin/admin/assets/javascripts/discourse/templates/admin-plugins/show/house-ads/index.gjs
+++ b/plugins/discourse-adplugin/admin/assets/javascripts/discourse/templates/admin-plugins/show/house-ads/index.gjs
@@ -1,7 +1,6 @@
import { fn } from "@ember/helper";
import { on } from "@ember/modifier";
import AdminConfigAreaEmptyList from "discourse/admin/components/admin-config-area-empty-list";
-import { eq } from "discourse/truth-helpers";
import DHorizontalOverflowNav from "discourse/ui-kit/d-horizontal-overflow-nav";
import DPageSubheader from "discourse/ui-kit/d-page-subheader";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-ai/admin/assets/javascripts/admin/components/dashboard/ask-ai.gjs b/plugins/discourse-ai/admin/assets/javascripts/admin/components/dashboard/ask-ai.gjs
index d27e94f874d..fa15b3d8152 100644
--- a/plugins/discourse-ai/admin/assets/javascripts/admin/components/dashboard/ask-ai.gjs
+++ b/plugins/discourse-ai/admin/assets/javascripts/admin/components/dashboard/ask-ai.gjs
@@ -4,7 +4,6 @@ import DashboardSection from "discourse/admin/components/dashboard/section";
import Report from "discourse/admin/models/report";
import DTooltip from "discourse/float-kit/components/d-tooltip";
import getURL from "discourse/lib/get-url";
-import { or } from "discourse/truth-helpers";
import I18n, { i18n } from "discourse-i18n";
import AskAiReports from "./ask-ai-reports.gjs";
diff --git a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/admin-report-sentiment-analysis.gjs b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/admin-report-sentiment-analysis.gjs
index a3fe9a4132e..b5a16fed645 100644
--- a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/admin-report-sentiment-analysis.gjs
+++ b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/admin-report-sentiment-analysis.gjs
@@ -18,7 +18,6 @@ import discourseLater from "discourse/lib/later";
import { clipboardCopy } from "discourse/lib/utilities";
import Category from "discourse/models/category";
import Post from "discourse/models/post";
-import { and } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DHorizontalOverflowNav from "discourse/ui-kit/d-horizontal-overflow-nav";
import dCategoryBadge from "discourse/ui-kit/helpers/d-category-badge";
diff --git a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-agent-editor.gjs b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-agent-editor.gjs
index 85afcd991e2..10c3057130e 100644
--- a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-agent-editor.gjs
+++ b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-agent-editor.gjs
@@ -20,7 +20,6 @@ import { AUTO_GROUPS } from "discourse/lib/constants";
import getURL from "discourse/lib/get-url";
import Group from "discourse/models/group";
import GroupChooser from "discourse/select-kit/components/group-chooser";
-import { and, eq, gt, not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dBoundAvatarTemplate from "discourse/ui-kit/helpers/d-bound-avatar-template";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-agent-list-editor.gjs b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-agent-list-editor.gjs
index 6d11638dd59..2242bacb543 100644
--- a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-agent-list-editor.gjs
+++ b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-agent-list-editor.gjs
@@ -9,7 +9,6 @@ import DMenu from "discourse/float-kit/components/d-menu";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { removeValueFromArray } from "discourse/lib/array-tools";
-import { gt } from "discourse/truth-helpers";
import DBreadcrumbsItem from "discourse/ui-kit/d-breadcrumbs-item";
import DButton from "discourse/ui-kit/d-button";
import DComboButton from "discourse/ui-kit/d-combo-button";
diff --git a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-decision-model-editor-form.gjs b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-decision-model-editor-form.gjs
index a0d94a6cde6..f4738f7e123 100644
--- a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-decision-model-editor-form.gjs
+++ b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-decision-model-editor-form.gjs
@@ -10,7 +10,6 @@ import {
addUniqueValueToArray,
removeValueFromArray,
} from "discourse/lib/array-tools";
-import { eq, gte, or } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import AiSecretSelector from "discourse/plugins/discourse-ai/discourse/components/ai-secret-selector";
diff --git a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-embedding-editor.gjs b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-embedding-editor.gjs
index 98841f01019..5bbf0482895 100644
--- a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-embedding-editor.gjs
+++ b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-embedding-editor.gjs
@@ -14,7 +14,6 @@ import {
addUniqueValueToArray,
removeValueFromArray,
} from "discourse/lib/array-tools";
-import { eq, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-llm-editor-form.gjs b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-llm-editor-form.gjs
index 3da4b29721a..f1481a8d1dc 100644
--- a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-llm-editor-form.gjs
+++ b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-llm-editor-form.gjs
@@ -13,7 +13,6 @@ import {
removeValueFromArray,
} from "discourse/lib/array-tools";
import { groupPath } from "discourse/lib/url";
-import { eq, gt, not } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import dBoundAvatarTemplate from "discourse/ui-kit/helpers/d-bound-avatar-template";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-logs.gjs b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-logs.gjs
index 370f4a98de5..a4a2e04bddf 100644
--- a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-logs.gjs
+++ b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-logs.gjs
@@ -17,7 +17,6 @@ import KeyValueStore from "discourse/lib/key-value-store";
import { TextareaAutocompleteHandler } from "discourse/lib/textarea-text-manipulation";
import DiscourseURL from "discourse/lib/url";
import userSearch, { validateSearchResult } from "discourse/lib/user-search";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DCountI18n from "discourse/ui-kit/d-count-i18n";
diff --git a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-models-list.gjs b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-models-list.gjs
index 2282f4cd618..6f39212fdfe 100644
--- a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-models-list.gjs
+++ b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-models-list.gjs
@@ -5,7 +5,6 @@ import { action } from "@ember/object";
import { service } from "@ember/service";
import AdminConfigAreaEmptyList from "discourse/admin/components/admin-config-area-empty-list";
import DTooltip from "discourse/float-kit/components/d-tooltip";
-import { eq } from "discourse/truth-helpers";
import DBreadcrumbsItem from "discourse/ui-kit/d-breadcrumbs-item";
import DButton from "discourse/ui-kit/d-button";
import DFilterInput from "discourse/ui-kit/d-filter-input";
diff --git a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-secrets-list-editor.gjs b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-secrets-list-editor.gjs
index 30bed4e2938..d4fa8c0aba6 100644
--- a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-secrets-list-editor.gjs
+++ b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-secrets-list-editor.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { LinkTo } from "@ember/routing";
import { service } from "@ember/service";
import AdminConfigAreaEmptyList from "discourse/admin/components/admin-config-area-empty-list";
-import { eq } from "discourse/truth-helpers";
import DBreadcrumbsItem from "discourse/ui-kit/d-breadcrumbs-item";
import DButton from "discourse/ui-kit/d-button";
import DPageSubheader from "discourse/ui-kit/d-page-subheader";
diff --git a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-tool-list-editor.gjs b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-tool-list-editor.gjs
index d66f58cda2e..a0fa80842e4 100644
--- a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-tool-list-editor.gjs
+++ b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-tool-list-editor.gjs
@@ -10,7 +10,6 @@ import DMenu from "discourse/float-kit/components/d-menu";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { removeValueFromArray } from "discourse/lib/array-tools";
-import { eq } from "discourse/truth-helpers";
import DBreadcrumbsItem from "discourse/ui-kit/d-breadcrumbs-item";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
diff --git a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-translations.gjs b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-translations.gjs
index b4292728b04..41dd0becabe 100644
--- a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-translations.gjs
+++ b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-translations.gjs
@@ -16,7 +16,6 @@ import Category from "discourse/models/category";
import CategorySelector from "discourse/select-kit/components/category-selector";
import ComboBox from "discourse/select-kit/components/combo-box";
import MultiSelect from "discourse/select-kit/components/multi-select";
-import { eq, not } from "discourse/truth-helpers";
import DAsyncContent from "discourse/ui-kit/d-async-content";
import DButton from "discourse/ui-kit/d-button";
import DPageSubheader from "discourse/ui-kit/d-page-subheader";
diff --git a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-usage.gjs b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-usage.gjs
index 666cec28656..cf9282b91d2 100644
--- a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-usage.gjs
+++ b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-usage.gjs
@@ -14,7 +14,6 @@ import { ajax } from "discourse/lib/ajax";
import { bind } from "discourse/lib/decorators";
import { number } from "discourse/lib/formatter";
import ComboBox from "discourse/select-kit/components/combo-box";
-import { eq, gt } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DDateTimeInputRange from "discourse/ui-kit/d-date-time-input-range";
diff --git a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/modal/ai-log-detail-modal.gjs b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/modal/ai-log-detail-modal.gjs
index e914d80e3bb..e3b57fb339c 100644
--- a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/modal/ai-log-detail-modal.gjs
+++ b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/modal/ai-log-detail-modal.gjs
@@ -5,7 +5,6 @@ import { action } from "@ember/object";
import { next } from "@ember/runloop";
import { ajax } from "discourse/lib/ajax";
import getURL from "discourse/lib/get-url";
-import { eq, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DCopyButton from "discourse/ui-kit/d-copy-button";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-agent-example.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-agent-example.gjs
index 92a43e625d0..1e35d0d7dfc 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-agent-example.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-agent-example.gjs
@@ -3,7 +3,6 @@ import { tracked } from "@glimmer/tracking";
import { concat } from "@ember/helper";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
-import { eq } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-agent-tool-options.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-agent-tool-options.gjs
index b9a200ab8f8..11325b76a75 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-agent-tool-options.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-agent-tool-options.gjs
@@ -1,6 +1,5 @@
import Component from "@glimmer/component";
import { action, get } from "@ember/object";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import AiLlmSelector from "./ai-llm-selector.gjs";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-features-list.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-features-list.gjs
index 0fe2d2d57fe..5b62899f075 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-features-list.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-features-list.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { concat } from "@ember/helper";
import { action } from "@ember/object";
import { service } from "@ember/service";
-import { and, eq, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { i18n } from "discourse-i18n";
import AiFeatureCard from "./ai-feature-card.gjs";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-gist-toggle.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-gist-toggle.gjs
index 9674f21fd9a..cf1eb5ec320 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-gist-toggle.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-gist-toggle.gjs
@@ -3,7 +3,6 @@ import { fn } from "@ember/helper";
import { action } from "@ember/object";
import { service } from "@ember/service";
import DMenu from "discourse/float-kit/components/d-menu";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-helper-custom-prompt.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-helper-custom-prompt.gjs
index 2b77831faa5..d3036d8d87c 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-helper-custom-prompt.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-helper-custom-prompt.gjs
@@ -3,7 +3,6 @@ import { fn } from "@ember/helper";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
import withEventValue from "discourse/helpers/with-event-value";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-helper-options-list.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-helper-options-list.gjs
index d359b0cac34..5f1610b31d8 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-helper-options-list.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-helper-options-list.gjs
@@ -1,5 +1,4 @@
import { fn } from "@ember/helper";
-import { and, eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DShortcut from "discourse/ui-kit/d-shortcut";
import AiHelperCustomPrompt from "../components/ai-helper-custom-prompt.gjs";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-mcp-server-editor-form.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-mcp-server-editor-form.gjs
index cfeba41d85b..4bf77a84560 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-mcp-server-editor-form.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-mcp-server-editor-form.gjs
@@ -7,7 +7,6 @@ import { service } from "@ember/service";
import Form from "discourse/components/form";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { removeValueFromArray } from "discourse/lib/array-tools";
-import { and, eq, not } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import AiSecretSelector from "./ai-secret-selector.gjs";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-post-helper-menu.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-post-helper-menu.gjs
index 6f57bab1713..3fde4354a04 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-post-helper-menu.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-post-helper-menu.gjs
@@ -11,7 +11,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import { bind } from "discourse/lib/decorators";
import { sanitize } from "discourse/lib/text";
import { clipboardCopy } from "discourse/lib/utilities";
-import { and, eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DCookText from "discourse/ui-kit/d-cook-text";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search-discoveries.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search-discoveries.gjs
index 3ace79cba24..a7f5ff81eaf 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search-discoveries.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search-discoveries.gjs
@@ -13,7 +13,6 @@ import getURL from "discourse/lib/get-url";
import { wantsNewWindow } from "discourse/lib/intercept-click";
import { applyValueTransformer } from "discourse/lib/transformer";
import DiscourseURL from "discourse/lib/url";
-import { and, not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DCookText from "discourse/ui-kit/d-cook-text";
import DToggleSwitch from "discourse/ui-kit/d-toggle-switch";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search/ai-search-answer.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search/ai-search-answer.gjs
index 095b9246afd..076a5bc656d 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search/ai-search-answer.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search/ai-search-answer.gjs
@@ -5,7 +5,6 @@ import { action } from "@ember/object";
import { service } from "@ember/service";
import { popupAjaxError } from "discourse/lib/ajax-error";
import DiscourseURL from "discourse/lib/url";
-import { and, not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DCookText from "discourse/ui-kit/d-cook-text";
import DInterpolatedTranslation from "discourse/ui-kit/d-interpolated-translation";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search/ai-search-references-panel.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search/ai-search-references-panel.gjs
index a3ef62aff7a..25f99121f23 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search/ai-search-references-panel.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search/ai-search-references-panel.gjs
@@ -1,6 +1,5 @@
import Component from "@glimmer/component";
import { service } from "@ember/service";
-import { gt } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
import AiSearchTopicRow from "./ai-search-topic-row.gjs";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search/ai-search-tabs.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search/ai-search-tabs.gjs
index 3c3e27a7b5e..94e9c812435 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search/ai-search-tabs.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search/ai-search-tabs.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { concat, fn } from "@ember/helper";
import { on } from "@ember/modifier";
import { service } from "@ember/service";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search/ai-search-topic-row.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search/ai-search-topic-row.gjs
index 0187b897a1d..34715fd714b 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search/ai-search-topic-row.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-search/ai-search-topic-row.gjs
@@ -1,4 +1,3 @@
-import { eq } from "discourse/truth-helpers";
import dCategoryLink from "discourse/ui-kit/helpers/d-category-link";
import dFormatDate from "discourse/ui-kit/helpers/d-format-date";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-secret-editor-form.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-secret-editor-form.gjs
index 5f4a63bceef..a8c9df2a84d 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-secret-editor-form.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-secret-editor-form.gjs
@@ -11,7 +11,6 @@ import {
addUniqueValueToArray,
removeValueFromArray,
} from "discourse/lib/array-tools";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
export default class AiSecretEditorForm extends Component {
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-sentiment-horizontal-bar.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-sentiment-horizontal-bar.gjs
index 68249015ceb..dfab47e400a 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-sentiment-horizontal-bar.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-sentiment-horizontal-bar.gjs
@@ -1,7 +1,6 @@
import { concat } from "@ember/helper";
import { trustHTML } from "@ember/template";
import DTooltip from "discourse/float-kit/components/d-tooltip";
-import { gt } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
const AiSentimentHorizontalBar = <template>
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-split-topic-suggester.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-split-topic-suggester.gjs
index 91b0fc26329..b9e7fc67e76 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-split-topic-suggester.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-split-topic-suggester.gjs
@@ -8,7 +8,6 @@ import DMenu from "discourse/float-kit/components/d-menu";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { uniqueItemsFromArray } from "discourse/lib/array-tools";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dCategoryBadge from "discourse/ui-kit/helpers/d-category-badge";
import { tagSuggestionParams } from "../lib/ai-helper-suggestions.js";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-tool-editor-form.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-tool-editor-form.gjs
index 680a1775c0c..5e3a3c92c30 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/ai-tool-editor-form.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/ai-tool-editor-form.gjs
@@ -7,7 +7,6 @@ import Form from "discourse/components/form";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { removeValueFromArray } from "discourse/lib/array-tools";
import getURL from "discourse/lib/get-url";
-import { and, eq, gt } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import { toPlainObject } from "../lib/utilities.js";
import AiSecretSelector from "./ai-secret-selector.gjs";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/modal/ai-agent-response-format-editor.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/modal/ai-agent-response-format-editor.gjs
index f1d4dc02262..30e015d32ce 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/modal/ai-agent-response-format-editor.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/modal/ai-agent-response-format-editor.gjs
@@ -4,7 +4,6 @@ import { fn, hash } from "@ember/helper";
import { action } from "@ember/object";
import ModalJsonSchemaEditor from "discourse/components/modal/json-schema-editor";
import { prettyJSON } from "discourse/lib/formatter";
-import { gt } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
export default class AiAgentResponseFormatEditor extends Component {
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/modal/ai-summary-modal.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/modal/ai-summary-modal.gjs
index 2361194d987..a23f192febb 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/modal/ai-summary-modal.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/modal/ai-summary-modal.gjs
@@ -11,7 +11,6 @@ import htmlClass from "discourse/helpers/html-class";
import { ajax } from "discourse/lib/ajax";
import { bind } from "discourse/lib/decorators";
import { smartShortDate } from "discourse/lib/formatter";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DCookText from "discourse/ui-kit/d-cook-text";
import DModal from "discourse/ui-kit/d-modal";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/modal/diff-modal.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/modal/diff-modal.gjs
index 05c2cd54566..3b42aa795c8 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/modal/diff-modal.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/modal/diff-modal.gjs
@@ -9,7 +9,6 @@ import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { bind } from "discourse/lib/decorators";
import { escapeExpression } from "discourse/lib/utilities";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DCookText from "discourse/ui-kit/d-cook-text";
import DModal from "discourse/ui-kit/d-modal";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/shared-artifacts-list.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/shared-artifacts-list.gjs
index 7ee3c0c9b7d..e6f315db489 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/shared-artifacts-list.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/shared-artifacts-list.gjs
@@ -8,7 +8,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import { shortDate } from "discourse/lib/formatter";
import { getAbsoluteURL } from "discourse/lib/get-url";
import { clipboardCopy } from "discourse/lib/utilities";
-import { eq, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DLoadMore from "discourse/ui-kit/d-load-more";
import dLoadingSpinner from "discourse/ui-kit/helpers/d-loading-spinner";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/components/shared-conversations-list.gjs b/plugins/discourse-ai/assets/javascripts/discourse/components/shared-conversations-list.gjs
index ff26942d11b..a67254ee883 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/components/shared-conversations-list.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/components/shared-conversations-list.gjs
@@ -8,7 +8,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import { shortDate } from "discourse/lib/formatter";
import { getAbsoluteURL } from "discourse/lib/get-url";
import { clipboardCopy } from "discourse/lib/utilities";
-import { eq, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DLoadMore from "discourse/ui-kit/d-load-more";
import dLoadingSpinner from "discourse/ui-kit/helpers/d-loading-spinner";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/connectors/search-menu-results-top/ai-discobot-discoveries.gjs b/plugins/discourse-ai/assets/javascripts/discourse/connectors/search-menu-results-top/ai-discobot-discoveries.gjs
index 2c950aabb5e..11ac118e191 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/connectors/search-menu-results-top/ai-discobot-discoveries.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/connectors/search-menu-results-top/ai-discobot-discoveries.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { cancel, next } from "@ember/runloop";
import { service } from "@ember/service";
import { modifier } from "ember-modifier";
-import { eq } from "discourse/truth-helpers";
import DSkeleton from "discourse/ui-kit/d-skeleton";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-ai/assets/javascripts/discourse/connectors/topic-map-participants-after/ai-conversation-invite.gjs b/plugins/discourse-ai/assets/javascripts/discourse/connectors/topic-map-participants-after/ai-conversation-invite.gjs
index e8b98e2eb75..52b426a8c43 100644
--- a/plugins/discourse-ai/assets/javascripts/discourse/connectors/topic-map-participants-after/ai-conversation-invite.gjs
+++ b/plugins/discourse-ai/assets/javascripts/discourse/connectors/topic-map-participants-after/ai-conversation-invite.gjs
@@ -3,7 +3,6 @@ import { action } from "@ember/object";
import { service } from "@ember/service";
import Participant from "discourse/components/header/topic/participant";
import AddPmParticipants from "discourse/components/modal/add-pm-participants";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
export default class AiConversationInvite extends Component {
diff --git a/plugins/discourse-assign/assets/javascripts/discourse/components/assignment.gjs b/plugins/discourse-assign/assets/javascripts/discourse/components/assignment.gjs
index 85ce5374682..126c3fbd474 100644
--- a/plugins/discourse-assign/assets/javascripts/discourse/components/assignment.gjs
+++ b/plugins/discourse-assign/assets/javascripts/discourse/components/assignment.gjs
@@ -5,7 +5,6 @@ import { action } from "@ember/object";
import { service } from "@ember/service";
import ComboBox from "discourse/select-kit/components/combo-box";
import EmailGroupUserChooser from "discourse/select-kit/components/email-group-user-chooser";
-import { not } from "discourse/truth-helpers";
import DTextarea from "discourse/ui-kit/d-textarea";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-captcha/admin/assets/javascripts/discourse/components/captcha-configuration-test.gjs b/plugins/discourse-captcha/admin/assets/javascripts/discourse/components/captcha-configuration-test.gjs
index 5496f4d4008..9ddc234518b 100644
--- a/plugins/discourse-captcha/admin/assets/javascripts/discourse/components/captcha-configuration-test.gjs
+++ b/plugins/discourse-captcha/admin/assets/javascripts/discourse/components/captcha-configuration-test.gjs
@@ -5,7 +5,6 @@ import { action } from "@ember/object";
import { service } from "@ember/service";
import { ajax } from "discourse/lib/ajax";
import { extractError } from "discourse/lib/ajax-error";
-import { eq, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DPageSubheader from "discourse/ui-kit/d-page-subheader";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-captcha/assets/javascripts/discourse/connectors/code-login-after-code/captcha-fields-connector.gjs b/plugins/discourse-captcha/assets/javascripts/discourse/connectors/code-login-after-code/captcha-fields-connector.gjs
index 247a79747fd..3c9f4016b71 100644
--- a/plugins/discourse-captcha/assets/javascripts/discourse/connectors/code-login-after-code/captcha-fields-connector.gjs
+++ b/plugins/discourse-captcha/assets/javascripts/discourse/connectors/code-login-after-code/captcha-fields-connector.gjs
@@ -1,6 +1,5 @@
import Component from "@glimmer/component";
import { service } from "@ember/service";
-import { eq } from "discourse/truth-helpers";
import HCaptcha from "../../components/h-captcha.gjs";
import ReCaptcha from "../../components/re-captcha.gjs";
import ReCaptchaV3 from "../../components/re-captcha-v3.gjs";
diff --git a/plugins/discourse-captcha/assets/javascripts/discourse/connectors/create-account-after-user-fields/captcha-fields-connector.gjs b/plugins/discourse-captcha/assets/javascripts/discourse/connectors/create-account-after-user-fields/captcha-fields-connector.gjs
index 822b9bff65f..d35d27d01ae 100644
--- a/plugins/discourse-captcha/assets/javascripts/discourse/connectors/create-account-after-user-fields/captcha-fields-connector.gjs
+++ b/plugins/discourse-captcha/assets/javascripts/discourse/connectors/create-account-after-user-fields/captcha-fields-connector.gjs
@@ -1,6 +1,5 @@
import Component from "@glimmer/component";
import { service } from "@ember/service";
-import { eq } from "discourse/truth-helpers";
import HCaptcha from "../../components/h-captcha.gjs";
import ReCaptcha from "../../components/re-captcha.gjs";
import ReCaptchaV3 from "../../components/re-captcha-v3.gjs";
diff --git a/plugins/discourse-chat-integration/admin/assets/javascripts/discourse/components/modal/test-integration.gjs b/plugins/discourse-chat-integration/admin/assets/javascripts/discourse/components/modal/test-integration.gjs
index 3e44b572009..b64a4b3bf07 100644
--- a/plugins/discourse-chat-integration/admin/assets/javascripts/discourse/components/modal/test-integration.gjs
+++ b/plugins/discourse-chat-integration/admin/assets/javascripts/discourse/components/modal/test-integration.gjs
@@ -6,7 +6,6 @@ import ChooseTopic from "discourse/components/choose-topic";
import Form from "discourse/components/form";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { not } from "discourse/truth-helpers";
import DModal from "discourse/ui-kit/d-modal";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-data-explorer/admin/assets/javascripts/admin/templates/admin-plugins/show/explorer/edit.gjs b/plugins/discourse-data-explorer/admin/assets/javascripts/admin/templates/admin-plugins/show/explorer/edit.gjs
index 4ee02b2f40b..c7bc08052fa 100644
--- a/plugins/discourse-data-explorer/admin/assets/javascripts/admin/templates/admin-plugins/show/explorer/edit.gjs
+++ b/plugins/discourse-data-explorer/admin/assets/javascripts/admin/templates/admin-plugins/show/explorer/edit.gjs
@@ -6,7 +6,6 @@ import AceEditor from "discourse/components/ace-editor";
import BackButton from "discourse/components/back-button";
import DSegmentedControl from "discourse/components/d-segmented-control";
import GroupChooser from "discourse/select-kit/components/group-chooser";
-import { and, eq, notEq, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DResizeSeparator from "discourse/ui-kit/d-resize-separator";
@@ -315,7 +314,7 @@ export default class QueriesEdit extends Component {
</div>
{{/if}}
- {{#if (notEq @controller.view "sql")}}
+ {{#if (neq @controller.view "sql")}}
<QueryResultsWrapper
@cachedAt={{@controller.cachedAt}}
@content={{@controller.results}}
diff --git a/plugins/discourse-data-explorer/admin/assets/javascripts/admin/templates/admin-plugins/show/explorer/index.gjs b/plugins/discourse-data-explorer/admin/assets/javascripts/admin/templates/admin-plugins/show/explorer/index.gjs
index a42d29536af..4049c406605 100644
--- a/plugins/discourse-data-explorer/admin/assets/javascripts/admin/templates/admin-plugins/show/explorer/index.gjs
+++ b/plugins/discourse-data-explorer/admin/assets/javascripts/admin/templates/admin-plugins/show/explorer/index.gjs
@@ -1,7 +1,6 @@
import { fn } from "@ember/helper";
import { on } from "@ember/modifier";
import { LinkTo } from "@ember/routing";
-import { not } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DFilterControls from "discourse/ui-kit/d-filter-controls";
import DLoadMore from "discourse/ui-kit/d-load-more";
diff --git a/plugins/discourse-data-explorer/admin/assets/javascripts/admin/templates/admin-plugins/show/explorer/new.gjs b/plugins/discourse-data-explorer/admin/assets/javascripts/admin/templates/admin-plugins/show/explorer/new.gjs
index 7ec14d9c102..4499b49e47d 100644
--- a/plugins/discourse-data-explorer/admin/assets/javascripts/admin/templates/admin-plugins/show/explorer/new.gjs
+++ b/plugins/discourse-data-explorer/admin/assets/javascripts/admin/templates/admin-plugins/show/explorer/new.gjs
@@ -4,7 +4,6 @@ import BackButton from "discourse/components/back-button";
import DSegmentedControl from "discourse/components/d-segmented-control";
import Form from "discourse/components/form";
import GroupChooser from "discourse/select-kit/components/group-chooser";
-import { eq } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-data-explorer/assets/javascripts/discourse/components/query-ai-prompt.gjs b/plugins/discourse-data-explorer/assets/javascripts/discourse/components/query-ai-prompt.gjs
index bbfb8de366f..e5f4f3d06d1 100644
--- a/plugins/discourse-data-explorer/assets/javascripts/discourse/components/query-ai-prompt.gjs
+++ b/plugins/discourse-data-explorer/assets/javascripts/discourse/components/query-ai-prompt.gjs
@@ -1,5 +1,4 @@
import { on } from "@ember/modifier";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DTextarea from "discourse/ui-kit/d-textarea";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/plugins/discourse-data-explorer/assets/javascripts/discourse/components/query-run-split-button.gjs b/plugins/discourse-data-explorer/assets/javascripts/discourse/components/query-run-split-button.gjs
index 217b15cd7bc..39f2fcddf71 100644
--- a/plugins/discourse-data-explorer/assets/javascripts/discourse/components/query-run-split-button.gjs
+++ b/plugins/discourse-data-explorer/assets/javascripts/discourse/components/query-run-split-button.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { fn } from "@ember/helper";
import { action } from "@ember/object";
import DMenu from "discourse/float-kit/components/d-menu";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-events/assets/javascripts/discourse/components/csv-uploader.gjs b/plugins/discourse-events/assets/javascripts/discourse/components/csv-uploader.gjs
index 699ffd9ede3..09575ca7033 100644
--- a/plugins/discourse-events/assets/javascripts/discourse/components/csv-uploader.gjs
+++ b/plugins/discourse-events/assets/javascripts/discourse/components/csv-uploader.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
import { service } from "@ember/service";
import UppyUpload from "discourse/lib/uppy/uppy-upload";
-import { or } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-events/assets/javascripts/discourse/components/discourse-post-event/chat-channel.gjs b/plugins/discourse-events/assets/javascripts/discourse/components/discourse-post-event/chat-channel.gjs
index d725caa3883..84d9664b0e9 100644
--- a/plugins/discourse-events/assets/javascripts/discourse/components/discourse-post-event/chat-channel.gjs
+++ b/plugins/discourse-events/assets/javascripts/discourse/components/discourse-post-event/chat-channel.gjs
@@ -1,5 +1,4 @@
import { LinkTo } from "@ember/routing";
-import { and } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import ChannelTitle from "discourse/plugins/chat/discourse/components/channel-title" with {
discourseImport: "optional",
diff --git a/plugins/discourse-events/assets/javascripts/discourse/components/discourse-post-event/description.gjs b/plugins/discourse-events/assets/javascripts/discourse/components/discourse-post-event/description.gjs
index eb7204e19a4..f9398b6b7a7 100644
--- a/plugins/discourse-events/assets/javascripts/discourse/components/discourse-post-event/description.gjs
+++ b/plugins/discourse-events/assets/javascripts/discourse/components/discourse-post-event/description.gjs
@@ -3,7 +3,6 @@ import { tracked } from "@glimmer/tracking";
import { on } from "@ember/modifier";
import { trustHTML } from "@ember/template";
import { modifier } from "ember-modifier";
-import { or } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
import openLinksInNewTab from "discourse/plugins/discourse-events/discourse/modifiers/open-links-in-new-tab";
diff --git a/plugins/discourse-events/assets/javascripts/discourse/components/discourse-post-event/invitee.gjs b/plugins/discourse-events/assets/javascripts/discourse/components/discourse-post-event/invitee.gjs
index 1db2a6766af..b9cd4d8a6d0 100644
--- a/plugins/discourse-events/assets/javascripts/discourse/components/discourse-post-event/invitee.gjs
+++ b/plugins/discourse-events/assets/javascripts/discourse/components/discourse-post-event/invitee.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { concat } from "@ember/helper";
import { service } from "@ember/service";
-import { eq } from "discourse/truth-helpers";
import DAvatarFlair from "discourse/ui-kit/d-avatar-flair";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/plugins/discourse-events/assets/javascripts/discourse/components/group-timezones/index.gjs b/plugins/discourse-events/assets/javascripts/discourse/components/group-timezones/index.gjs
index 7ac80413e6e..b345758f99d 100644
--- a/plugins/discourse-events/assets/javascripts/discourse/components/group-timezones/index.gjs
+++ b/plugins/discourse-events/assets/javascripts/discourse/components/group-timezones/index.gjs
@@ -5,7 +5,6 @@ import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { service } from "@ember/service";
import { compare } from "@ember/utils";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import roundTime from "../../lib/round-time.js";
import NewDay from "./new-day.gjs";
diff --git a/plugins/discourse-events/assets/javascripts/discourse/components/group-timezones/time-traveller.gjs b/plugins/discourse-events/assets/javascripts/discourse/components/group-timezones/time-traveller.gjs
index 79151d3ae3b..c118d45253b 100644
--- a/plugins/discourse-events/assets/javascripts/discourse/components/group-timezones/time-traveller.gjs
+++ b/plugins/discourse-events/assets/javascripts/discourse/components/group-timezones/time-traveller.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import roundTime from "../../lib/round-time.js";
diff --git a/plugins/discourse-events/assets/javascripts/discourse/components/livestream/embeddable-chat-channel.gjs b/plugins/discourse-events/assets/javascripts/discourse/components/livestream/embeddable-chat-channel.gjs
index c5b94ca4719..9d6834b1be7 100644
--- a/plugins/discourse-events/assets/javascripts/discourse/components/livestream/embeddable-chat-channel.gjs
+++ b/plugins/discourse-events/assets/javascripts/discourse/components/livestream/embeddable-chat-channel.gjs
@@ -5,7 +5,6 @@ import { action } from "@ember/object";
import { service } from "@ember/service";
import { modifier } from "ember-modifier";
import { bind } from "discourse/lib/decorators";
-import { and } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import ChatChannel from "discourse/plugins/chat/discourse/components/chat-channel" with {
diff --git a/plugins/discourse-events/assets/javascripts/discourse/components/modal/post-event-builder.gjs b/plugins/discourse-events/assets/javascripts/discourse/components/modal/post-event-builder.gjs
index 9824565e6e3..1574172092d 100644
--- a/plugins/discourse-events/assets/javascripts/discourse/components/modal/post-event-builder.gjs
+++ b/plugins/discourse-events/assets/javascripts/discourse/components/modal/post-event-builder.gjs
@@ -13,7 +13,6 @@ import { adjustedRangeEnd } from "discourse/lib/time-utils";
import Group from "discourse/models/group";
import TimezoneInput from "discourse/select-kit/components/timezone-input";
import UserChooser from "discourse/select-kit/components/user-chooser";
-import { eq, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSection from "discourse/ui-kit/d-conditional-loading-section";
import DDateInput from "discourse/ui-kit/d-date-input";
diff --git a/plugins/discourse-events/assets/javascripts/discourse/components/modal/post-event-invitees/index.gjs b/plugins/discourse-events/assets/javascripts/discourse/components/modal/post-event-invitees/index.gjs
index df5563babcd..51b9be0142b 100644
--- a/plugins/discourse-events/assets/javascripts/discourse/components/modal/post-event-invitees/index.gjs
+++ b/plugins/discourse-events/assets/javascripts/discourse/components/modal/post-event-invitees/index.gjs
@@ -5,7 +5,6 @@ import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { service } from "@ember/service";
import { debounce } from "discourse/lib/decorators";
-import { eq, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DModal from "discourse/ui-kit/d-modal";
diff --git a/plugins/discourse-events/assets/javascripts/discourse/components/toggle-invitees.gjs b/plugins/discourse-events/assets/javascripts/discourse/components/toggle-invitees.gjs
index 126e1a55f57..64cdac4506a 100644
--- a/plugins/discourse-events/assets/javascripts/discourse/components/toggle-invitees.gjs
+++ b/plugins/discourse-events/assets/javascripts/discourse/components/toggle-invitees.gjs
@@ -1,6 +1,5 @@
import { fn } from "@ember/helper";
import { on } from "@ember/modifier";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-events/assets/javascripts/discourse/components/upcoming-events-list.gjs b/plugins/discourse-events/assets/javascripts/discourse/components/upcoming-events-list.gjs
index 6241b11d89b..c112efd3b01 100644
--- a/plugins/discourse-events/assets/javascripts/discourse/components/upcoming-events-list.gjs
+++ b/plugins/discourse-events/assets/javascripts/discourse/components/upcoming-events-list.gjs
@@ -6,7 +6,6 @@ import { service } from "@ember/service";
import PluginOutlet from "discourse/components/plugin-outlet";
import { ajax } from "discourse/lib/ajax";
import { applyValueTransformer } from "discourse/lib/transformer";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/discourse-gamification/assets/javascripts/discourse/components/gamification-leaderboard-row.gjs b/plugins/discourse-gamification/assets/javascripts/discourse/components/gamification-leaderboard-row.gjs
index 44e9a5a0b11..9193fc03d74 100644
--- a/plugins/discourse-gamification/assets/javascripts/discourse/components/gamification-leaderboard-row.gjs
+++ b/plugins/discourse-gamification/assets/javascripts/discourse/components/gamification-leaderboard-row.gjs
@@ -1,6 +1,5 @@
import Component from "@glimmer/component";
import { service } from "@ember/service";
-import { or } from "discourse/truth-helpers";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
import dNumber from "discourse/ui-kit/helpers/d-number";
import fullnumber from "../helpers/fullnumber.js";
diff --git a/plugins/discourse-gamification/assets/javascripts/discourse/components/gamification-leaderboard.gjs b/plugins/discourse-gamification/assets/javascripts/discourse/components/gamification-leaderboard.gjs
index 3d7b40323da..eab96eec1cc 100644
--- a/plugins/discourse-gamification/assets/javascripts/discourse/components/gamification-leaderboard.gjs
+++ b/plugins/discourse-gamification/assets/javascripts/discourse/components/gamification-leaderboard.gjs
@@ -8,7 +8,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import getURL from "discourse/lib/get-url";
import { resettableTracked } from "discourse/lib/tracked-tools";
import PeriodChooser from "discourse/select-kit/components/period-chooser";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DLoadMore from "discourse/ui-kit/d-load-more";
diff --git a/plugins/discourse-gamification/assets/javascripts/discourse/components/minimal-gamification-leaderboard-row.gjs b/plugins/discourse-gamification/assets/javascripts/discourse/components/minimal-gamification-leaderboard-row.gjs
index 16492c396f1..d7ccfc5c67a 100644
--- a/plugins/discourse-gamification/assets/javascripts/discourse/components/minimal-gamification-leaderboard-row.gjs
+++ b/plugins/discourse-gamification/assets/javascripts/discourse/components/minimal-gamification-leaderboard-row.gjs
@@ -1,6 +1,5 @@
import Component from "@glimmer/component";
import { service } from "@ember/service";
-import { or } from "discourse/truth-helpers";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/discourse-gamification/assets/javascripts/discourse/components/modal/recalculate-scores-form.gjs b/plugins/discourse-gamification/assets/javascripts/discourse/components/modal/recalculate-scores-form.gjs
index a154b20b60f..a239d2eaa4d 100644
--- a/plugins/discourse-gamification/assets/javascripts/discourse/components/modal/recalculate-scores-form.gjs
+++ b/plugins/discourse-gamification/assets/javascripts/discourse/components/modal/recalculate-scores-form.gjs
@@ -7,7 +7,6 @@ import Form from "discourse/components/form";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { bind } from "discourse/lib/decorators";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/discourse-policy/assets/javascripts/discourse/components/post-policy.gjs b/plugins/discourse-policy/assets/javascripts/discourse/components/post-policy.gjs
index d3609e1b5a0..e4f80c7ade9 100644
--- a/plugins/discourse-policy/assets/javascripts/discourse/components/post-policy.gjs
+++ b/plugins/discourse-policy/assets/javascripts/discourse/components/post-policy.gjs
@@ -7,7 +7,6 @@ import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { removeValueFromArray } from "discourse/lib/array-tools";
import { bind } from "discourse/lib/decorators";
-import { and, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dBoundAvatarTemplate from "discourse/ui-kit/helpers/d-bound-avatar-template";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/discourse-policy/assets/javascripts/discourse/connectors/user-preferences-emails-pref-email-settings/preferences-policy-emails.gjs b/plugins/discourse-policy/assets/javascripts/discourse/connectors/user-preferences-emails-pref-email-settings/preferences-policy-emails.gjs
index 77c256eb387..52b676de8fc 100644
--- a/plugins/discourse-policy/assets/javascripts/discourse/connectors/user-preferences-emails-pref-email-settings/preferences-policy-emails.gjs
+++ b/plugins/discourse-policy/assets/javascripts/discourse/connectors/user-preferences-emails-pref-email-settings/preferences-policy-emails.gjs
@@ -1,6 +1,5 @@
import { fn } from "@ember/helper";
import ComboBox from "discourse/select-kit/components/combo-box";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
const EMAIL_FREQUENCY_OPTIONS = [
diff --git a/plugins/discourse-post-voting/assets/javascripts/discourse/components/post-voting-who-voted-list.gjs b/plugins/discourse-post-voting/assets/javascripts/discourse/components/post-voting-who-voted-list.gjs
index c177255a92b..2df90acecc6 100644
--- a/plugins/discourse-post-voting/assets/javascripts/discourse/components/post-voting-who-voted-list.gjs
+++ b/plugins/discourse-post-voting/assets/javascripts/discourse/components/post-voting-who-voted-list.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { tracked } from "@glimmer/tracking";
import { action, get } from "@ember/object";
import { bind } from "discourse/lib/decorators";
-import { eq } from "discourse/truth-helpers";
import DAsyncContent from "discourse/ui-kit/d-async-content";
import DSmallUserList, {
smallUserAttrs,
diff --git a/plugins/discourse-post-voting/assets/javascripts/discourse/connectors/topic-above-posts/add-post-voting-topic-page-class.gjs b/plugins/discourse-post-voting/assets/javascripts/discourse/connectors/topic-above-posts/add-post-voting-topic-page-class.gjs
index ebee8089edc..5b39168d84a 100644
--- a/plugins/discourse-post-voting/assets/javascripts/discourse/connectors/topic-above-posts/add-post-voting-topic-page-class.gjs
+++ b/plugins/discourse-post-voting/assets/javascripts/discourse/connectors/topic-above-posts/add-post-voting-topic-page-class.gjs
@@ -1,5 +1,4 @@
import bodyClass from "discourse/helpers/body-class";
-import { eq } from "discourse/truth-helpers";
import { ORDER_BY_ACTIVITY_FILTER } from "../../components/post-voting-answer-header.gjs";
const AddPostVotingTopicPageClass = <template>
diff --git a/plugins/discourse-presence/assets/javascripts/discourse/components/composer-presence-display.gjs b/plugins/discourse-presence/assets/javascripts/discourse/components/composer-presence-display.gjs
index 7811872a9bd..e134c90c3fa 100644
--- a/plugins/discourse-presence/assets/javascripts/discourse/components/composer-presence-display.gjs
+++ b/plugins/discourse-presence/assets/javascripts/discourse/components/composer-presence-display.gjs
@@ -3,7 +3,6 @@ import { cached, tracked } from "@glimmer/tracking";
import { service } from "@ember/service";
import helperFn from "discourse/helpers/helper-fn";
import Composer from "discourse/models/composer";
-import { gt } from "discourse/truth-helpers";
import DUserLink from "discourse/ui-kit/d-user-link";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-presence/assets/javascripts/discourse/components/topic-presence-display.gjs b/plugins/discourse-presence/assets/javascripts/discourse/components/topic-presence-display.gjs
index 9dd090c694e..5f4c5255176 100644
--- a/plugins/discourse-presence/assets/javascripts/discourse/components/topic-presence-display.gjs
+++ b/plugins/discourse-presence/assets/javascripts/discourse/components/topic-presence-display.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { cached, tracked } from "@glimmer/tracking";
import { service } from "@ember/service";
import helperFn from "discourse/helpers/helper-fn";
-import { gt } from "discourse/truth-helpers";
import DUserLink from "discourse/ui-kit/d-user-link";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-reactions/assets/javascripts/discourse/components/discourse-reactions-actions.gjs b/plugins/discourse-reactions/assets/javascripts/discourse/components/discourse-reactions-actions.gjs
index ba356cec8e0..fb258b24bc0 100644
--- a/plugins/discourse-reactions/assets/javascripts/discourse/components/discourse-reactions-actions.gjs
+++ b/plugins/discourse-reactions/assets/javascripts/discourse/components/discourse-reactions-actions.gjs
@@ -19,7 +19,6 @@ import lazyHash from "discourse/helpers/lazy-hash";
import { deferAnonymousAction } from "discourse/lib/anonymous-action";
import { isRailsTesting, isTesting } from "discourse/lib/environment";
import { emojiUrlFor } from "discourse/lib/text";
-import { eq, not } from "discourse/truth-helpers";
import dCloseOnClickOutside from "discourse/ui-kit/modifiers/d-close-on-click-outside";
import { i18n } from "discourse-i18n";
import CustomReaction from "../models/discourse-reactions-custom-reaction.js";
diff --git a/plugins/discourse-reactions/assets/javascripts/discourse/components/discourse-reactions-users-menu.gjs b/plugins/discourse-reactions/assets/javascripts/discourse/components/discourse-reactions-users-menu.gjs
index e07bf51428b..210fdf46605 100644
--- a/plugins/discourse-reactions/assets/javascripts/discourse/components/discourse-reactions-users-menu.gjs
+++ b/plugins/discourse-reactions/assets/javascripts/discourse/components/discourse-reactions-users-menu.gjs
@@ -5,7 +5,6 @@ import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { service } from "@ember/service";
import UsersPopup from "discourse/components/user/users-popup";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-rewind/assets/javascripts/discourse/components/reports/most-viewed-categories.gjs b/plugins/discourse-rewind/assets/javascripts/discourse/components/reports/most-viewed-categories.gjs
index 3606b62e728..f753ca349f6 100644
--- a/plugins/discourse-rewind/assets/javascripts/discourse/components/reports/most-viewed-categories.gjs
+++ b/plugins/discourse-rewind/assets/javascripts/discourse/components/reports/most-viewed-categories.gjs
@@ -4,7 +4,6 @@ import { concat, fn } from "@ember/helper";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
import getURL from "discourse/lib/get-url";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18nForOwner } from "discourse/plugins/discourse-rewind/discourse/lib/rewind-i18n";
diff --git a/plugins/discourse-rewind/assets/javascripts/discourse/components/reports/most-viewed-tags.gjs b/plugins/discourse-rewind/assets/javascripts/discourse/components/reports/most-viewed-tags.gjs
index 0615cf31751..f48a99c70ba 100644
--- a/plugins/discourse-rewind/assets/javascripts/discourse/components/reports/most-viewed-tags.gjs
+++ b/plugins/discourse-rewind/assets/javascripts/discourse/components/reports/most-viewed-tags.gjs
@@ -4,7 +4,6 @@ import { concat, fn } from "@ember/helper";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
import getURL from "discourse/lib/get-url";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18nForOwner } from "discourse/plugins/discourse-rewind/discourse/lib/rewind-i18n";
diff --git a/plugins/discourse-rss-polling/admin/assets/javascripts/discourse/components/rss-polling-feed-form.gjs b/plugins/discourse-rss-polling/admin/assets/javascripts/discourse/components/rss-polling-feed-form.gjs
index d6bd3825f25..427fac1a96c 100644
--- a/plugins/discourse-rss-polling/admin/assets/javascripts/discourse/components/rss-polling-feed-form.gjs
+++ b/plugins/discourse-rss-polling/admin/assets/javascripts/discourse/components/rss-polling-feed-form.gjs
@@ -13,7 +13,6 @@ import { isHttpUrl } from "discourse/lib/url";
import CategoryChooser from "discourse/select-kit/components/category-chooser";
import TagChooser from "discourse/select-kit/components/tag-chooser";
import UserChooser from "discourse/select-kit/components/user-chooser";
-import { not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DToggleSwitch from "discourse/ui-kit/d-toggle-switch";
import dDiscourseTag from "discourse/ui-kit/helpers/d-discourse-tag";
diff --git a/plugins/discourse-rss-polling/admin/assets/javascripts/discourse/components/rss-polling-feed-history.gjs b/plugins/discourse-rss-polling/admin/assets/javascripts/discourse/components/rss-polling-feed-history.gjs
index 9a5bfb918d0..2ca928054af 100644
--- a/plugins/discourse-rss-polling/admin/assets/javascripts/discourse/components/rss-polling-feed-history.gjs
+++ b/plugins/discourse-rss-polling/admin/assets/javascripts/discourse/components/rss-polling-feed-history.gjs
@@ -4,7 +4,6 @@ import { fn } from "@ember/helper";
import { action } from "@ember/object";
import { service } from "@ember/service";
import AdminConfigAreaCard from "discourse/admin/components/admin-config-area-card";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import dFormatDate from "discourse/ui-kit/helpers/d-format-date";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-solved/admin/assets/javascripts/admin/components/dashboard/support.gjs b/plugins/discourse-solved/admin/assets/javascripts/admin/components/dashboard/support.gjs
index fe8a5080cd2..d0ea135b960 100644
--- a/plugins/discourse-solved/admin/assets/javascripts/admin/components/dashboard/support.gjs
+++ b/plugins/discourse-solved/admin/assets/javascripts/admin/components/dashboard/support.gjs
@@ -12,7 +12,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import { durationTiny } from "discourse/lib/formatter";
import Category from "discourse/models/category";
import MultipleCategoriesSelector from "discourse/select-kit/components/multiple-categories-selector";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import { supportHeadlineKeys } from "discourse/plugins/discourse-solved/admin/lib/support-headline";
import SupportResponseTime from "./support/response-time.gjs";
diff --git a/plugins/discourse-solved/assets/javascripts/discourse/components/solved-unaccept-answer-button.gjs b/plugins/discourse-solved/assets/javascripts/discourse/components/solved-unaccept-answer-button.gjs
index a25c4b617f0..8eacaf5ba50 100644
--- a/plugins/discourse-solved/assets/javascripts/discourse/components/solved-unaccept-answer-button.gjs
+++ b/plugins/discourse-solved/assets/javascripts/discourse/components/solved-unaccept-answer-button.gjs
@@ -5,7 +5,6 @@ import { service } from "@ember/service";
import DTooltip from "discourse/float-kit/components/d-tooltip";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { and } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DInterpolatedTranslation from "discourse/ui-kit/d-interpolated-translation";
import DUserLink from "discourse/ui-kit/d-user-link";
diff --git a/plugins/discourse-solved/assets/javascripts/discourse/connectors/after-topic-status/solved-status.gjs b/plugins/discourse-solved/assets/javascripts/discourse/connectors/after-topic-status/solved-status.gjs
index 4e9bced07ca..aeb69b4f2ad 100644
--- a/plugins/discourse-solved/assets/javascripts/discourse/connectors/after-topic-status/solved-status.gjs
+++ b/plugins/discourse-solved/assets/javascripts/discourse/connectors/after-topic-status/solved-status.gjs
@@ -1,4 +1,3 @@
-import { and, eq, or } from "discourse/truth-helpers";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-solved/assets/javascripts/discourse/connectors/user-summary-stat/solved-count.gjs b/plugins/discourse-solved/assets/javascripts/discourse/connectors/user-summary-stat/solved-count.gjs
index 803894eb66b..14f1ecc7183 100644
--- a/plugins/discourse-solved/assets/javascripts/discourse/connectors/user-summary-stat/solved-count.gjs
+++ b/plugins/discourse-solved/assets/javascripts/discourse/connectors/user-summary-stat/solved-count.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { LinkTo } from "@ember/routing";
import { service } from "@ember/service";
-import { and } from "discourse/truth-helpers";
import DUserStat from "discourse/ui-kit/d-user-stat";
export default class SolvedCount extends Component {
diff --git a/plugins/discourse-subscriptions/admin/assets/javascripts/discourse/components/subscriptions-admin-plugin-actions.gjs b/plugins/discourse-subscriptions/admin/assets/javascripts/discourse/components/subscriptions-admin-plugin-actions.gjs
index 33adc4fe0ef..666a7be2a2c 100644
--- a/plugins/discourse-subscriptions/admin/assets/javascripts/discourse/components/subscriptions-admin-plugin-actions.gjs
+++ b/plugins/discourse-subscriptions/admin/assets/javascripts/discourse/components/subscriptions-admin-plugin-actions.gjs
@@ -5,7 +5,6 @@ import { service } from "@ember/service";
import { trustHTML } from "@ember/template";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { not } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
export default class SubscriptionsAdminPluginActions extends Component {
diff --git a/plugins/discourse-topic-voting/assets/javascripts/discourse/components/vote-button.gjs b/plugins/discourse-topic-voting/assets/javascripts/discourse/components/vote-button.gjs
index c1b5ac4de11..a52907d335a 100644
--- a/plugins/discourse-topic-voting/assets/javascripts/discourse/components/vote-button.gjs
+++ b/plugins/discourse-topic-voting/assets/javascripts/discourse/components/vote-button.gjs
@@ -8,7 +8,6 @@ import { deferAnonymousAction } from "discourse/lib/anonymous-action";
import getURL from "discourse/lib/get-url";
import { NotificationLevels } from "discourse/lib/notification-levels";
import { applyBehaviorTransformer } from "discourse/lib/transformer";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/discourse-topic-voting/assets/javascripts/discourse/components/vote-count.gjs b/plugins/discourse-topic-voting/assets/javascripts/discourse/components/vote-count.gjs
index a35b7127a3d..cd279262830 100644
--- a/plugins/discourse-topic-voting/assets/javascripts/discourse/components/vote-count.gjs
+++ b/plugins/discourse-topic-voting/assets/javascripts/discourse/components/vote-count.gjs
@@ -6,7 +6,6 @@ import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { bind } from "discourse/lib/decorators";
import getURL from "discourse/lib/get-url";
-import { eq } from "discourse/truth-helpers";
import dBoundAvatarTemplate from "discourse/ui-kit/helpers/d-bound-avatar-template";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-topic-voting/assets/javascripts/discourse/connectors/topic-title/topic-title-voting.gjs b/plugins/discourse-topic-voting/assets/javascripts/discourse/connectors/topic-title/topic-title-voting.gjs
index 6cbca5836e1..ae28d012f50 100644
--- a/plugins/discourse-topic-voting/assets/javascripts/discourse/connectors/topic-title/topic-title-voting.gjs
+++ b/plugins/discourse-topic-voting/assets/javascripts/discourse/connectors/topic-title/topic-title-voting.gjs
@@ -1,4 +1,3 @@
-import { and, or } from "discourse/truth-helpers";
import VoteBox from "../../components/vote-box.gjs";
export default <template>
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/admin-table.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/admin-table.gjs
index 3354270a12e..2e0464e4aba 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/admin-table.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/admin-table.gjs
@@ -4,7 +4,6 @@ import { fn, hash } from "@ember/helper";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { modifier } from "ember-modifier";
-import { eq } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DLoadMore from "discourse/ui-kit/d-load-more";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/canvas/controls.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/canvas/controls.gjs
index 1d8d64c0119..60c9d6a3a69 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/canvas/controls.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/canvas/controls.gjs
@@ -1,5 +1,4 @@
import DTooltip from "discourse/float-kit/components/d-tooltip";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DShortcut from "discourse/ui-kit/d-shortcut";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/canvas/sticky-note.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/canvas/sticky-note.gjs
index 2eab4978648..a5148fc8ef0 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/canvas/sticky-note.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/canvas/sticky-note.gjs
@@ -6,7 +6,6 @@ import { action } from "@ember/object";
import { trustHTML } from "@ember/template";
import { modifier } from "ember-modifier";
import DTooltip from "discourse/float-kit/components/d-tooltip";
-import { eq } from "discourse/truth-helpers";
import DCookText from "discourse/ui-kit/d-cook-text";
import DResizeHandles from "discourse/ui-kit/d-resize-handles";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/canvas/workflow-node.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/canvas/workflow-node.gjs
index 766eb1f7dc5..a86e727aba4 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/canvas/workflow-node.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/canvas/workflow-node.gjs
@@ -7,7 +7,6 @@ import { service } from "@ember/service";
import { trustHTML } from "@ember/template";
import { modifier } from "ember-modifier";
import DTooltip from "discourse/float-kit/components/d-tooltip";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/configurators/field.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/configurators/field.gjs
index 9e373871251..2a188c48f9a 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/configurators/field.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/configurators/field.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { trustHTML } from "@ember/template";
import { applyValueTransformer } from "discourse/lib/transformer";
-import { eq } from "discourse/truth-helpers";
import FIELD_CONTROL_REGISTRY from "../../../lib/workflows/field-control-registry.js";
import { fieldValidator } from "../../../lib/workflows/field-validators.js";
import {
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/configurators/icon-control.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/configurators/icon-control.gjs
index 175909b29b0..a9542166810 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/configurators/icon-control.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/configurators/icon-control.gjs
@@ -1,4 +1,3 @@
-import { not } from "discourse/truth-helpers";
import ExpressionWrapper from "./expression-wrapper.gjs";
export default <template>
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/configurators/property-engine.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/configurators/property-engine.gjs
index 7b4a1631841..093d91c2255 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/configurators/property-engine.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/configurators/property-engine.gjs
@@ -1,7 +1,6 @@
import Component from "@glimmer/component";
import { fn } from "@ember/helper";
import { action } from "@ember/object";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import CONTROL_REGISTRY from "../../../lib/workflows/control-registry.js";
import {
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/configurators/url-preview.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/configurators/url-preview.gjs
index 47ea6eeeae7..cef1427d01c 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/configurators/url-preview.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/configurators/url-preview.gjs
@@ -8,7 +8,6 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import { isTesting } from "discourse/lib/environment";
import { getAbsoluteURL } from "discourse/lib/get-url";
import { clipboardCopy } from "discourse/lib/utilities";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/context/output.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/context/output.gjs
index 35544f08883..3f3860626a7 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/context/output.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/context/output.gjs
@@ -4,7 +4,6 @@ import { fn } from "@ember/helper";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/context/schema-field.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/context/schema-field.gjs
index 3d04dbf353c..289996e7b72 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/context/schema-field.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/context/schema-field.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { tracked } from "@glimmer/tracking";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
-import { and, not } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { WORKFLOW_VARIABLE_MIME } from "../../../lib/workflows/expression-context.js";
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/credential/modal.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/credential/modal.gjs
index 26b1371b859..410d5be2efb 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/credential/modal.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/credential/modal.gjs
@@ -5,7 +5,6 @@ import { action } from "@ember/object";
import { service } from "@ember/service";
import Form from "discourse/components/form";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { eq } from "discourse/truth-helpers";
import DModal from "discourse/ui-kit/d-modal";
import { i18n } from "discourse-i18n";
import {
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/data-table/cell-editor.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/data-table/cell-editor.gjs
index 27189df553f..17e37b240bd 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/data-table/cell-editor.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/data-table/cell-editor.gjs
@@ -3,7 +3,6 @@ import { tracked } from "@glimmer/tracking";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
import { modifier } from "ember-modifier";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
const autofocus = modifier((element) => element.focus());
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/data-table/viewer.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/data-table/viewer.gjs
index ff17766479b..9ea38605683 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/data-table/viewer.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/data-table/viewer.gjs
@@ -8,7 +8,6 @@ import { modifier } from "ember-modifier";
import DMenu from "discourse/float-kit/components/d-menu";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { eq, gt, lt } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/index.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/index.gjs
index 6385e3b1046..ea7bacf0fec 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/index.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/index.gjs
@@ -15,7 +15,6 @@ import DiscourseURL, {
applyQueryParams,
searchParamsFromPath,
} from "discourse/lib/url";
-import { eq, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import DFilterInput from "discourse/ui-kit/d-filter-input";
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/node/configurator.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/node/configurator.gjs
index f0877e502f6..279deb86f25 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/node/configurator.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/node/configurator.gjs
@@ -8,7 +8,6 @@ import { service } from "@ember/service";
import { modifier } from "ember-modifier";
import Form from "discourse/components/form";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { eq, not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DModal from "discourse/ui-kit/d-modal";
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/templates.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/templates.gjs
index a07d031ddcb..49c95935952 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/templates.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/templates.gjs
@@ -6,7 +6,6 @@ import { LinkTo } from "@ember/routing";
import { service } from "@ember/service";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { eq, not, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DFilterControls from "discourse/ui-kit/d-filter-controls";
import DInterpolatedTranslation from "discourse/ui-kit/d-interpolated-translation";
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/variable-edit-form.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/variable-edit-form.gjs
index cb103c53478..95f4855c123 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/variable-edit-form.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/variable-edit-form.gjs
@@ -8,7 +8,6 @@ import SimpleList from "discourse/admin/components/simple-list";
import Form from "discourse/components/form";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { eq } from "discourse/truth-helpers";
import { i18n } from "discourse-i18n";
import {
WORKFLOW_VARIABLE_TYPE_VALUES,
diff --git a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/variable/reference-property-picker.gjs b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/variable/reference-property-picker.gjs
index 5d2aa770fe3..dbb2d713e1e 100644
--- a/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/variable/reference-property-picker.gjs
+++ b/plugins/discourse-workflows/admin/assets/javascripts/admin/components/workflows/variable/reference-property-picker.gjs
@@ -4,7 +4,6 @@ import { fn } from "@ember/helper";
import { on } from "@ember/modifier";
import { action } from "@ember/object";
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/plugins/discourse-workflows/assets/javascripts/discourse/components/workflows-form.gjs b/plugins/discourse-workflows/assets/javascripts/discourse/components/workflows-form.gjs
index a306c1c9eb9..ac2504f537e 100644
--- a/plugins/discourse-workflows/assets/javascripts/discourse/components/workflows-form.gjs
+++ b/plugins/discourse-workflows/assets/javascripts/discourse/components/workflows-form.gjs
@@ -8,7 +8,6 @@ import { trustHTML } from "@ember/template";
import Form from "discourse/components/form";
import SettingDefinitionField from "discourse/components/setting-definition-field";
import { ajax } from "discourse/lib/ajax";
-import { eq } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import DDecoratedHtml from "discourse/ui-kit/d-decorated-html";
import { i18n } from "discourse-i18n";
diff --git a/plugins/live/assets/javascripts/discourse/components/live-participant-sidebar-context-menu.gjs b/plugins/live/assets/javascripts/discourse/components/live-participant-sidebar-context-menu.gjs
index 44d60538075..8c34640af9f 100644
--- a/plugins/live/assets/javascripts/discourse/components/live-participant-sidebar-context-menu.gjs
+++ b/plugins/live/assets/javascripts/discourse/components/live-participant-sidebar-context-menu.gjs
@@ -6,7 +6,6 @@ import { service } from "@ember/service";
import FlagModal from "discourse/components/modal/flag";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
-import { not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import { i18n } from "discourse-i18n";
diff --git a/plugins/live/assets/javascripts/discourse/components/live/chat-panel.gjs b/plugins/live/assets/javascripts/discourse/components/live/chat-panel.gjs
index e151d026f8c..90cb2740c73 100644
--- a/plugins/live/assets/javascripts/discourse/components/live/chat-panel.gjs
+++ b/plugins/live/assets/javascripts/discourse/components/live/chat-panel.gjs
@@ -9,7 +9,6 @@ import EmojiPicker from "discourse/components/emoji-picker";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { optionalRequire } from "discourse/lib/utilities";
-import { and } from "discourse/truth-helpers";
import DConditionalLoadingSpinner from "discourse/ui-kit/d-conditional-loading-spinner";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/plugins/live/assets/javascripts/discourse/components/live/room-page.gjs b/plugins/live/assets/javascripts/discourse/components/live/room-page.gjs
index 6907449dde0..1abd384e8ad 100644
--- a/plugins/live/assets/javascripts/discourse/components/live/room-page.gjs
+++ b/plugins/live/assets/javascripts/discourse/components/live/room-page.gjs
@@ -12,7 +12,6 @@ import { trustHTML } from "@ember/template";
import DMenu from "discourse/float-kit/components/d-menu";
import { homepageNavigationDestination } from "discourse/lib/homepage-router-overrides";
import discourseLater from "discourse/lib/later";
-import { or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDropdownMenu from "discourse/ui-kit/d-dropdown-menu";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
diff --git a/plugins/live/assets/javascripts/discourse/components/live/video-tile.gjs b/plugins/live/assets/javascripts/discourse/components/live/video-tile.gjs
index ffb4df60172..b5f123a1af7 100644
--- a/plugins/live/assets/javascripts/discourse/components/live/video-tile.gjs
+++ b/plugins/live/assets/javascripts/discourse/components/live/video-tile.gjs
@@ -10,7 +10,6 @@ import { trustHTML } from "@ember/template";
import { avatarUrl } from "discourse/lib/avatar-utils";
import { prioritizeNameInUx } from "discourse/lib/settings";
import virtualElementFromPoint from "discourse/lib/virtual-element-from-point";
-import { eq } from "discourse/truth-helpers";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import dIcon from "discourse/ui-kit/helpers/d-icon";
import { i18n } from "discourse-i18n";
diff --git a/plugins/live/assets/javascripts/discourse/components/modal/live-room-info.gjs b/plugins/live/assets/javascripts/discourse/components/modal/live-room-info.gjs
index a7da33e289e..87bd8f44006 100644
--- a/plugins/live/assets/javascripts/discourse/components/modal/live-room-info.gjs
+++ b/plugins/live/assets/javascripts/discourse/components/modal/live-room-info.gjs
@@ -8,7 +8,6 @@ import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import ComboBox from "discourse/select-kit/components/combo-box";
import UserChooser from "discourse/select-kit/components/user-chooser";
-import { eq, notEq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DModal from "discourse/ui-kit/d-modal";
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
@@ -299,7 +298,7 @@ export default class LiveRoomInfoModal extends Component {
{{/if}}
</div>
- {{#if (notEq membership.user_id this.room.creator_id)}}
+ {{#if (neq membership.user_id this.room.creator_id)}}
<div class="live-room-info-modal__member-actions">
<ComboBox
class="live-room-info-modal__role-select"
diff --git a/plugins/live/assets/javascripts/discourse/components/modal/live-video-settings.gjs b/plugins/live/assets/javascripts/discourse/components/modal/live-video-settings.gjs
index 9bf560bd371..ca127b4e715 100644
--- a/plugins/live/assets/javascripts/discourse/components/modal/live-video-settings.gjs
+++ b/plugins/live/assets/javascripts/discourse/components/modal/live-video-settings.gjs
@@ -7,7 +7,6 @@ import didInsert from "@ember/render-modifiers/modifiers/did-insert";
import didUpdate from "@ember/render-modifiers/modifiers/did-update";
import { service } from "@ember/service";
import ComboBox from "discourse/select-kit/components/combo-box";
-import { and, not, or } from "discourse/truth-helpers";
import DModal from "discourse/ui-kit/d-modal";
import DToggleSwitch from "discourse/ui-kit/d-toggle-switch";
import { i18n } from "discourse-i18n";
diff --git a/plugins/poll/assets/javascripts/discourse/components/modal/poll-breakdown.gjs b/plugins/poll/assets/javascripts/discourse/components/modal/poll-breakdown.gjs
index bb9ebf503e7..da810a4cab0 100644
--- a/plugins/poll/assets/javascripts/discourse/components/modal/poll-breakdown.gjs
+++ b/plugins/poll/assets/javascripts/discourse/components/modal/poll-breakdown.gjs
@@ -9,7 +9,6 @@ import { trustHTML } from "@ember/template";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import ComboBox from "discourse/select-kit/components/combo-box";
-import { eq } from "discourse/truth-helpers";
import DModal from "discourse/ui-kit/d-modal";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { i18n } from "discourse-i18n";
diff --git a/plugins/poll/assets/javascripts/discourse/components/modal/poll-ui-builder.gjs b/plugins/poll/assets/javascripts/discourse/components/modal/poll-ui-builder.gjs
index 9f50bbeaf42..b48d8c43604 100644
--- a/plugins/poll/assets/javascripts/discourse/components/modal/poll-ui-builder.gjs
+++ b/plugins/poll/assets/javascripts/discourse/components/modal/poll-ui-builder.gjs
@@ -15,7 +15,6 @@ import { buildBBCodeAttrs } from "discourse/lib/text";
import { autoTrackedArray } from "discourse/lib/tracked-tools";
import ComboBox from "discourse/select-kit/components/combo-box";
import GroupChooser from "discourse/select-kit/components/group-chooser";
-import { and, not } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DDateTimeInput from "discourse/ui-kit/d-date-time-input";
import DInputTip from "discourse/ui-kit/d-input-tip";
diff --git a/plugins/poll/assets/javascripts/discourse/components/poll-results-tabs.gjs b/plugins/poll/assets/javascripts/discourse/components/poll-results-tabs.gjs
index 17dc358d355..b3449f5ad6a 100644
--- a/plugins/poll/assets/javascripts/discourse/components/poll-results-tabs.gjs
+++ b/plugins/poll/assets/javascripts/discourse/components/poll-results-tabs.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { tracked } from "@glimmer/tracking";
import { fn } from "@ember/helper";
import { action } from "@ember/object";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import { i18n } from "discourse-i18n";
import PollResultsRankedChoice from "./poll-results-ranked-choice.gjs";
diff --git a/plugins/poll/assets/javascripts/discourse/components/poll-voters-ranked-choice.gjs b/plugins/poll/assets/javascripts/discourse/components/poll-voters-ranked-choice.gjs
index c1069755038..17c65be3741 100644
--- a/plugins/poll/assets/javascripts/discourse/components/poll-voters-ranked-choice.gjs
+++ b/plugins/poll/assets/javascripts/discourse/components/poll-voters-ranked-choice.gjs
@@ -1,5 +1,4 @@
import Component from "@glimmer/component";
-import { eq } from "discourse/truth-helpers";
import dBoundAvatarTemplate from "discourse/ui-kit/helpers/d-bound-avatar-template";
import dIcon from "discourse/ui-kit/helpers/d-icon";
diff --git a/plugins/styleguide/assets/javascripts/discourse/components/examples/molecules/overflowing-nav.gjs b/plugins/styleguide/assets/javascripts/discourse/components/examples/molecules/overflowing-nav.gjs
index d28d65e73fd..9decd7dc815 100644
--- a/plugins/styleguide/assets/javascripts/discourse/components/examples/molecules/overflowing-nav.gjs
+++ b/plugins/styleguide/assets/javascripts/discourse/components/examples/molecules/overflowing-nav.gjs
@@ -1,4 +1,3 @@
-import { eq } from "discourse/truth-helpers";
import DHorizontalOverflowNav from "discourse/ui-kit/d-horizontal-overflow-nav";
const SECTIONS = [
diff --git a/plugins/styleguide/assets/javascripts/discourse/components/examples/molecules/virtual-list.gjs b/plugins/styleguide/assets/javascripts/discourse/components/examples/molecules/virtual-list.gjs
index 032e5747f39..9087570023d 100644
--- a/plugins/styleguide/assets/javascripts/discourse/components/examples/molecules/virtual-list.gjs
+++ b/plugins/styleguide/assets/javascripts/discourse/components/examples/molecules/virtual-list.gjs
@@ -4,7 +4,6 @@
import Component from "@glimmer/component";
import { cached, tracked } from "@glimmer/tracking";
import { action } from "@ember/object";
-import { eq } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DVirtualList from "discourse/ui-kit/d-virtual-list";
diff --git a/plugins/styleguide/assets/javascripts/discourse/components/styleguide-example.gjs b/plugins/styleguide/assets/javascripts/discourse/components/styleguide-example.gjs
index f577e0c1743..2f01c72b420 100644
--- a/plugins/styleguide/assets/javascripts/discourse/components/styleguide-example.gjs
+++ b/plugins/styleguide/assets/javascripts/discourse/components/styleguide-example.gjs
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
import { tracked } from "@glimmer/tracking";
import { warn } from "@ember/debug";
import { action } from "@ember/object";
-import { eq, or } from "discourse/truth-helpers";
import DButton from "discourse/ui-kit/d-button";
import DHighlightedCode from "discourse/ui-kit/d-highlighted-code";
import { i18n } from "discourse-i18n";
diff --git a/plugins/styleguide/assets/javascripts/discourse/components/styleguide-subnav.gjs b/plugins/styleguide/assets/javascripts/discourse/components/styleguide-subnav.gjs
index caee88cb0d8..b10a180341d 100644
--- a/plugins/styleguide/assets/javascripts/discourse/components/styleguide-subnav.gjs
+++ b/plugins/styleguide/assets/javascripts/discourse/components/styleguide-subnav.gjs
@@ -1,6 +1,5 @@
import { array, hash } from "@ember/helper";
import { LinkTo } from "@ember/routing";
-import { eq } from "discourse/truth-helpers";
import DHorizontalOverflowNav from "discourse/ui-kit/d-horizontal-overflow-nav";
/**
diff --git a/plugins/styleguide/assets/javascripts/discourse/components/styleguide/component.gjs b/plugins/styleguide/assets/javascripts/discourse/components/styleguide/component.gjs
index ed05fde302c..fa3ea848f14 100644
--- a/plugins/styleguide/assets/javascripts/discourse/components/styleguide/component.gjs
+++ b/plugins/styleguide/assets/javascripts/discourse/components/styleguide/component.gjs
@@ -1,5 +1,3 @@
-import { or } from "discourse/truth-helpers";
-
const Component = <template>
<div class="styleguide__component">
{{#if @tag}}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 84a940e3537..a1d7470a2ab 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -183,8 +183,8 @@ importers:
.:
devDependencies:
'@discourse/lint-configs':
- specifier: ^3.8.2
+ specifier: ^3.9.0
'@discourse/moment-timezone-names-translations':
specifier: ^1.0.0
version: 1.0.0
@@ -246,8 +246,8 @@ importers:
docs/developer-guides:
devDependencies:
'@discourse/lint-configs':
- specifier: ^3.8.2
+ specifier: ^3.9.0
prettier:
specifier: 3.8.1
version: 3.8.1
@@ -747,9 +747,6 @@ importers:
ember-template-imports:
specifier: ^4.4.0
version: 4.4.0([email protected])
- ember-truth-helpers:
- specifier: ^5.0.0
- version: 5.0.0([email protected])
expect-type:
specifier: ^1.4.0
version: 1.4.0
@@ -1991,8 +1988,8 @@ packages:
'@discourse/[email protected]':
resolution: {integrity: sha512-Veu75DEDC7uKsCCsD94UIjFwvHE73+AATBQbBWb83QyJV34wmyxl2Ji+fiiM234mlNn4cpo3DUl0QFrXgRTcfA==}
- '@discourse/[email protected]':
- resolution: {integrity: sha512-qjhx6T+wK5XTzDbbQaL9Nt0IXo90TfaqHvSdiUZMrlDqTLh56+w65EJuXNRdFKQvpXy1wkzLrQp89zLDQ8BtSQ==}
+ '@discourse/[email protected]':
+ resolution: {integrity: sha512-SC93pPZwXAofUOMR7A/IauuqXkvh5mrJsgwld7aO2tnGkaXkIzMBz/XSQWIZNVEEnGMLwKpMnHKZe8lxE/MP8w==}
peerDependencies:
eslint: 10.6.0
prettier: 3.8.1
@@ -4462,8 +4459,8 @@ packages:
'@glint/template':
optional: true
- resolution: {integrity: sha512-jU1HtVHqlbzqRDMwS4lxggjIY7u/wr+lij4bEvyC1CpNd5YqHK7anK3ubmVZLiB19VrFO6tH2/iYUQ+drpSYuA==}
+ resolution: {integrity: sha512-RiXh/fY63xZhujHScZgIQCOntoc8E2Jb8n6h0oefLWkphsK3xiGy863V+7N32kZKz61T8Gl3pAJvZI2DhJ7+Ng==}
engines: {node: '>=16.0.0'}
peerDependencies:
'@babel/eslint-parser': ^7.28.6 || ^8.0.0
@@ -4474,12 +4471,12 @@ packages:
'@typescript-eslint/parser':
optional: true
- resolution: {integrity: sha512-aZyheQGUXyHu8GARPd1YyjbDMGkvqBYKzPj6RVp8qqMqA1L1MbkWKsljWE3K1CwiJcHwTPgm/O3oxS0TY1AX9Q==}
-
resolution: {integrity: sha512-FvH2jGEkcIMPDPgQLHFVSTyF5p7HscVIiJ36v6ce1C9q/6KXCcE0EB2idaGcDWlhB42I3PmLg+vLbUp2GIznBQ==}
+ resolution: {integrity: sha512-CExL0d6FbbffZaQkD0+zA5PaIgle3fbpzapuLVQ+QZfI2KLalnhuof0e85Zvfy/fh8+q9liw7dqUhQX4gibMBA==}
+
resolution: {integrity: sha512-nLoBWQwa6icrFUvlCr+Hik9RnwrnbXYRNVcFF1l2FczyZOWkODwDxwwoArwSuCBWAnBqh53WMzoAUlkqqNqa4Q==}
engines: {node: '>= 18'}
@@ -4520,9 +4517,6 @@ packages:
resolution: {integrity: sha512-HNOHabTEMbRluci1uScvh3ljMDo9E46dHHNcJAIf5yjOhIQ/zN4Y0DVDWrRfcbihlHvt4v/iF69G+8tffC1YkA==}
engines: {node: 16.* || >= 18}
- resolution: {integrity: sha512-PnQd6D6hvlNC3k6gBu0SC2cvfXX6wH6W0nToomIIoxqyrD5cllk0zBh/j/1H0KsczVCWeuF9PWj5xJgL4jQAGg==}
-
resolution: {integrity: sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==}
@@ -4662,8 +4656,8 @@ packages:
'@babel/eslint-parser':
optional: true
- resolution: {integrity: sha512-KyPKk3SfYQ5ci9U/bvVIA0NFB1UFn6rZAHNNb62AOgcMUNIR1/+0zqzyhrLHPyodo8BmE+kKDj7subsp71NkqA==}
+ resolution: {integrity: sha512-aiyOfrDwKH0qfKsWqttcMG4/b2q2R669UlSZIbwfoXU/ULeOzCanYx6qrROI0NMUtXYzrm75IaMOsW+oNtQq+w==}
engines: {node: '>= 20.19'}
peerDependencies:
'@typescript-eslint/parser': '*'
@@ -9381,17 +9375,17 @@ snapshots:
dependencies:
wasm-feature-detect: 1.8.0
dependencies:
'@babel/core': 8.0.1
'@babel/plugin-proposal-decorators': 8.0.2(@babel/[email protected])
eslint-plugin-simple-import-sort: 13.0.0([email protected]([email protected])([email protected]))
@@ -12462,12 +12456,12 @@ snapshots:
- '@babel/core'
- supports-color
dependencies:
'@glimmer/syntax': 0.95.0
'@typescript-eslint/tsconfig-utils': 8.63.0([email protected])
content-tag: 4.2.1
- ember-estree: 0.6.11
+ ember-estree: 0.9.0
eslint-scope: 9.1.2
html-tags: 5.1.0
mathml-tag-names: 4.0.0
@@ -12478,14 +12472,14 @@ snapshots:
transitivePeerDependencies:
- typescript
dependencies:
'@glimmer/env': 0.1.7
'@glimmer/syntax': 0.95.0
content-tag: 4.2.1
oxc-parser: 0.130.0
dependencies:
'@glimmer/env': 0.1.7
'@glimmer/syntax': 0.95.0
@@ -12581,12 +12575,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@embroider/addon-shim': 1.10.3([email protected])
- transitivePeerDependencies:
- - supports-color
-
@@ -12803,14 +12791,14 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@ember-data/rfc395-data': 0.0.4
aria-query: 5.3.2
axobject-query: 4.1.0
css-tree: 3.2.1
editorconfig: 3.0.2
ember-rfc176-data: 0.3.18
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index cd64abf6c5e..bf66c5fa85b 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -16,6 +16,9 @@ minimumReleaseAge: 10080
minimumReleaseAgeExclude:
- "@discourse/*"
- discourse
packages:
- "docs/developer-guides"
- "frontend/deprecation-silencer"
diff --git a/themes/horizon/javascripts/discourse/components/sidebar-new-topic-button.gjs b/themes/horizon/javascripts/discourse/components/sidebar-new-topic-button.gjs
index 5b0affc287e..c2711c1feb9 100644
--- a/themes/horizon/javascripts/discourse/components/sidebar-new-topic-button.gjs
+++ b/themes/horizon/javascripts/discourse/components/sidebar-new-topic-button.gjs
@@ -9,7 +9,6 @@ import { service } from "@ember/service";
import CreateTopicButton from "discourse/components/create-topic-button";
import bodyClass from "discourse/helpers/body-class";
import { applyValueTransformer } from "discourse/lib/transformer";
-import { gt } from "discourse/truth-helpers";
export default class SidebarNewTopicButton extends Component {
@service composer;