A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
feat(operator-pass): let people hide #operators (#3818)
Hampusaf2f236b131e
diff --git a/fluxer_admin/openapi-admin.json b/fluxer_admin/openapi-admin.jsonindex 0be54df73..d8d2ec77b 100644--- a/fluxer_admin/openapi-admin.json+++ b/fluxer_admin/openapi-admin.json@@ -25271,6 +25271,11 @@"name": "OPERATOR_PASS_BADGE_COUNT_HIDDEN","value": "4096","description": "User has hidden how many Operator Passes they hold"+ },+ {+ "name": "OPERATORS_CHANNEL_HIDDEN",+ "value": "8192",+ "description": "User turned off the Fluxer Labs roles that open #operators"}]},diff --git a/fluxer_admin/src/admin_flags.rs b/fluxer_admin/src/admin_flags.rsindex 3105d85e4..d2d4e7c62 100644--- a/fluxer_admin/src/admin_flags.rs+++ b/fluxer_admin/src/admin_flags.rs@@ -144,6 +144,7 @@ const RESTRICTION_USER_FLAGS: u64 = user_flag_bits::DISABLED| user_flag_bits::SPAMMER| user_flag_bits::REPORT_BANNED;const PURCHASE_DISABLED: i32 = 1 << 6;+const OPERATORS_CHANNEL_HIDDEN: i32 = 1 << 13;pub fn user_flag_is_editable(flag: u64, current_flags: u64, suspended: bool) -> bool {let self_disabled = flag == user_flag_bits::DISABLED && current_flags & flag != 0 && !suspended;@@ -151,7 +152,7 @@ pub fn user_flag_is_editable(flag: u64, current_flags: u64, suspended: bool) ->}pub fn premium_flag_is_editable(flag: i32) -> bool {- flag & PURCHASE_DISABLED == 0+ flag & (PURCHASE_DISABLED | OPERATORS_CHANNEL_HIDDEN) == 0}pub const PREMIUM_FLAGS: &[I32Flag] = &[@@ -191,6 +192,10 @@ pub const PREMIUM_FLAGS: &[I32Flag] = &[name: "OPERATOR_PASS_BADGE_COUNT_HIDDEN",value: 1 << 12,},+ I32Flag {+ name: "OPERATORS_CHANNEL_HIDDEN",+ value: OPERATORS_CHANNEL_HIDDEN,+ },];const DELETION_REASONS: &[(i32, &str)] = &[diff --git a/fluxer_api/src/api/instance/InstanceController.ts b/fluxer_api/src/api/instance/InstanceController.tsindex be9bd5f49..0ce6d1324 100644--- a/fluxer_api/src/api/instance/InstanceController.ts+++ b/fluxer_api/src/api/instance/InstanceController.ts@@ -19,6 +19,7 @@ import {RateLimitMiddleware} from '@app/api/middleware/RateLimitMiddleware';import {OpenAPI} from '@app/api/middleware/ResponseTypeMiddleware';import {getVoiceTopology} from '@app/api/middleware/ServiceRegistry';import {getCustomBadgeCatalog} from '@app/api/middleware/ServiceSingletons';+import {listHiddenLabsRoleIds} from '@app/api/operator_pass/OperatorPassLabsRole';import {RateLimitConfigs} from '@app/api/RateLimitConfig';import {isBillingActive, isPremiumTieringActive, isStripeServiceable} from '@app/api/stripe/BillingConfigCache';import type {HonoEnv} from '@app/api/types/HonoEnv';@@ -349,6 +350,7 @@ export function InstanceController(app: Hono<HonoEnv>) {custom_badges_version: getCustomBadgeCatalog().clientVersion(badgeHead.version),built_in_guild_badge_images: mapBuiltInGuildBadgeImagesForDiscovery(builtInBadgeImages),hidden_built_in_guild_badges: mapHiddenBuiltInGuildBadgesForDiscovery(hiddenBuiltInBadges),+ hidden_role_ids: listHiddenLabsRoleIds(),voice_origins: listVoiceOrigins(),};discoveryValidators = nextDiscoveryValidators(response, discoveryValidators);diff --git a/fluxer_api/src/api/openapi/openapi.json b/fluxer_api/src/api/openapi/openapi.jsonindex 1d88e795d..fa6a7d5c8 100644--- a/fluxer_api/src/api/openapi/openapi.json+++ b/fluxer_api/src/api/openapi/openapi.json@@ -13794,6 +13794,63 @@}}},+ "/operator-pass/labs-operators": {+ "put": {+ "operationId": "update_operator_pass_labs_operators",+ "summary": "Show or hide #operators",+ "tags": ["Operator Pass"],+ "responses": {+ "200": {+ "description": "Success",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/OperatorPassPassesResponse"}}}+ },+ "400": {+ "description": "Bad Request - The request was malformed or contained invalid data",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "401": {+ "description": "Unauthorized - Authentication is required or the token is invalid",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "403": {+ "description": "Forbidden - You do not have permission to perform this action",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "429": {+ "description": "Too Many Requests - You are being rate limited",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ThrottledError"}}},+ "headers": {+ "Retry-After": {+ "description": "Number of seconds to wait before retrying (only on 429)",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Limit": {+ "description": "The number of requests that can be made in the current window",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Remaining": {+ "description": "The number of remaining requests that can be made",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Reset": {+ "description": "Unix timestamp when the rate limit resets",+ "schema": {"type": "integer"}+ }+ }+ },+ "500": {+ "description": "Internal Server Error - An unexpected error occurred",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ }+ },+ "description": "Turns the Fluxer Labs roles that open #operators on or off for the current account. These are the Operator role, the Visionary role and the access role. Turning it off removes them at once, and no later role update adds them back. Turning it on gives back the roles the account is entitled to at once. It does not change passes, badges, the Operators wall, Fluxer Labs membership or other roles.",+ "security": [{"sessionToken": []}],+ "requestBody": {+ "required": true,+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/OperatorPassLabsOperatorsRequest"}}}+ }+ }+ },"/operator-pass/labs/join": {"post": {"operationId": "join_operator_pass_labs",@@ -13843,7 +13900,7 @@"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}},- "description": "Adds the current account to Fluxer Labs with the Operator role, the same way a delivered pass does, and returns the IDs of the community and #operators. Needs at least one pass. An account that is already in Fluxer Labs gets the Operator role if it is missing. An account that left Fluxer Labs or was removed from it is never added again and gets status left, so it can join with the invite. A banned account gets status banned.",+ "description": "Adds the current account to Fluxer Labs with the Operator role, the same way a delivered pass does, and returns the IDs of the community and #operators. Needs at least one pass. An account that is already in Fluxer Labs gets the Operator role if it is missing, unless it turned off #operators. An account that left Fluxer Labs or was removed from it is never added again and gets status left, so it can join with the invite. A banned account gets status banned.","security": [{"sessionToken": []}]}},@@ -33731,6 +33788,16 @@"required": ["status", "guild_id", "operators_channel_id"],"additionalProperties": false},+ "OperatorPassLabsOperatorsRequest": {+ "type": "object",+ "properties": {+ "show_operators": {+ "type": "boolean",+ "description": "Whether the account gets the Fluxer Labs roles that open #operators"+ }+ },+ "required": ["show_operators"]+ },"OperatorPassLabsGreetingRequest": {"type": "object","properties": {@@ -38632,6 +38699,12 @@"$ref": "#/components/schemas/InstanceBuiltInGuildBadgeImagesSchema"},"hidden_built_in_guild_badges": {"$ref": "#/components/schemas/InstanceHiddenBuiltInGuildBadgesSchema"},+ "hidden_role_ids": {+ "description": "IDs of roles that clients leave out wherever a member's roles are shown to other people. The roles still count for permissions and stay in role settings",+ "maxItems": 16,+ "type": "array",+ "items": {"$ref": "#/components/schemas/SnowflakeStringType"}+ },"voice_origins": {"description": "Origins of every voice server endpoint, such as wss://voice.example.com, for content security policies. Voice servers that share a domain are listed once as a wildcard, such as wss://*.example.com","maxItems": 1000,@@ -38656,6 +38729,7 @@],"additionalProperties": false},+ "SnowflakeStringType": {"type": "string", "pattern": "^(0|[1-9][0-9]*)$", "format": "snowflake"},"InstanceHiddenBuiltInGuildBadgesSchema": {"maxItems": 3,"type": "array",@@ -39321,7 +39395,6 @@"pattern": "^-?[0-9]{1,19}$","description": "Display position of the badge. Badges are shown in ascending order of this value"},- "SnowflakeStringType": {"type": "string", "pattern": "^(0|[1-9][0-9]*)$", "format": "snowflake"},"BotFlags": {"type": "integer","minimum": 0,@@ -43600,6 +43673,10 @@"type": "boolean","description": "Whether the system user welcomes the account by name in #operators in Fluxer Labs when a pass is delivered. On unless the account turned it off"},+ "show_operators": {+ "type": "boolean",+ "description": "Whether the account gets the Fluxer Labs roles that open #operators. On unless the account turned it off. When off, no role update adds them back"+ },"greeted": {"type": "boolean","description": "Whether the account was already welcomed in #operators. Nobody is welcomed twice"@@ -43618,7 +43695,7 @@"description": "ID of the #operators channel in Fluxer Labs, null when it is not set up"}},- "required": ["greeting", "greeted", "left", "member", "guild_id", "operators_channel_id"],+ "required": ["greeting", "show_operators", "greeted", "left", "member", "guild_id", "operators_channel_id"],"additionalProperties": false},"OperatorPassVisionaryResponse": {diff --git a/fluxer_api/src/api/operator_pass/OperatorPassController.ts b/fluxer_api/src/api/operator_pass/OperatorPassController.tsindex 7f0653efc..35d218922 100644--- a/fluxer_api/src/api/operator_pass/OperatorPassController.ts+++ b/fluxer_api/src/api/operator_pass/OperatorPassController.ts@@ -48,6 +48,7 @@ import {OperatorPassCheckoutResponse,OperatorPassLabsGreetingRequest,OperatorPassLabsJoinResponse,+ OperatorPassLabsOperatorsRequest,OperatorPassLatestReleaseResponse,OperatorPassListingResponse,OperatorPassListingUpdateRequest,@@ -472,6 +473,29 @@ export function OperatorPassController(app: HonoApp) {return ctx.json(await holding.queries.describePasses(user));},);+ app.put(+ '/operator-pass/labs-operators',+ HostedOnlyRoute,+ RateLimitMiddleware(OperatorPassRateLimitConfigs.OPERATOR_PASS_LISTING),+ LoginRequired,+ DefaultUserOnly,+ OpenAPI({+ operationId: 'update_operator_pass_labs_operators',+ summary: 'Show or hide #operators',+ description:+ 'Turns the Fluxer Labs roles that open #operators on or off for the current account. These are the Operator role, the Visionary role and the access role. Turning it off removes them at once, and no later role update adds them back. Turning it on gives back the roles the account is entitled to at once. It does not change passes, badges, the Operators wall, Fluxer Labs membership or other roles.',+ responseSchema: OperatorPassPassesResponse,+ statusCode: 200,+ security: ['bearerToken', 'sessionToken'],+ tags: TAG,+ }),+ Validator('json', OperatorPassLabsOperatorsRequest),+ async (ctx) => {+ const holding = requireFulfilmentService(ctx).holdingService;+ const user = await holding.updateLabsOperatorsChannel(ctx.get('user'), ctx.req.valid('json').show_operators);+ return ctx.json(await holding.queries.describePasses(user));+ },+ );app.post('/operator-pass/labs/join',HostedOnlyRoute,@@ -482,7 +506,7 @@ export function OperatorPassController(app: HonoApp) {operationId: 'join_operator_pass_labs',summary: 'Join Fluxer Labs with the Operator Pass',description:- 'Adds the current account to Fluxer Labs with the Operator role, the same way a delivered pass does, and returns the IDs of the community and #operators. Needs at least one pass. An account that is already in Fluxer Labs gets the Operator role if it is missing. An account that left Fluxer Labs or was removed from it is never added again and gets status left, so it can join with the invite. A banned account gets status banned.',+ 'Adds the current account to Fluxer Labs with the Operator role, the same way a delivered pass does, and returns the IDs of the community and #operators. Needs at least one pass. An account that is already in Fluxer Labs gets the Operator role if it is missing, unless it turned off #operators. An account that left Fluxer Labs or was removed from it is never added again and gets status left, so it can join with the invite. A banned account gets status banned.',responseSchema: OperatorPassLabsJoinResponse,statusCode: 200,security: ['bearerToken', 'sessionToken'],diff --git a/fluxer_api/src/api/operator_pass/OperatorPassHoldingQueryService.ts b/fluxer_api/src/api/operator_pass/OperatorPassHoldingQueryService.tsindex e23814187..fbf5863f8 100644--- a/fluxer_api/src/api/operator_pass/OperatorPassHoldingQueryService.ts+++ b/fluxer_api/src/api/operator_pass/OperatorPassHoldingQueryService.ts@@ -13,7 +13,11 @@ import {loadOperatorPassEntitlementState,resolveOperatorPassHolder,} from '@app/api/operator_pass/OperatorPassEntitlementService';-import {getLabsGuildId, getLabsOperatorsChannelId} from '@app/api/operator_pass/OperatorPassLabsRole';+import {+ getLabsGuildId,+ getLabsOperatorsChannelId,+ hidesOperatorsChannel,+} from '@app/api/operator_pass/OperatorPassLabsRole';import {getOperatorPassCertificateUrl,getOperatorPassWithdrawalDeadline,@@ -183,6 +187,7 @@ export class OperatorPassHoldingQueryService {.map((offer) => mapOperatorPassOffer(offer, users)),labs: {greeting: labs?.greeting !== false,+ show_operators: !hidesOperatorsChannel(user),greeted: labs?.greeted_at != null,left: labs?.left_at != null,member: labsMember,diff --git a/fluxer_api/src/api/operator_pass/OperatorPassHoldingService.ts b/fluxer_api/src/api/operator_pass/OperatorPassHoldingService.tsindex b4c79d454..69fd04ce1 100644--- a/fluxer_api/src/api/operator_pass/OperatorPassHoldingService.ts+++ b/fluxer_api/src/api/operator_pass/OperatorPassHoldingService.ts@@ -47,7 +47,7 @@ import type {OperatorPassWallChoice} from '@app/api/operator_pass/OperatorPassWaimport {invalidateOperatorPassPublicWall} from '@app/api/operator_pass/OperatorPassWallPublicationService';import type {OperatorPassWallService} from '@app/api/operator_pass/OperatorPassWallService';import type {UserRepository} from '@app/api/user/repositories/UserRepository';-import {RelationshipTypes, UserFlags} from '@fluxer/constants/src/UserConstants';+import {PremiumFlags, RelationshipTypes, UserFlags} from '@fluxer/constants/src/UserConstants';import {OperatorPassLastPassConfirmationRequiredError} from '@fluxer/errors/src/domains/operator_pass/OperatorPassLastPassConfirmationRequiredError';import {OperatorPassOfferUnavailableError} from '@fluxer/errors/src/domains/operator_pass/OperatorPassOfferUnavailableError';import {OperatorPassPassNotTransferableError} from '@fluxer/errors/src/domains/operator_pass/OperatorPassPassNotTransferableError';@@ -270,6 +270,23 @@ export class OperatorPassHoldingService {await this.dispatchPassesUpdate([user.id]);}+ async updateLabsOperatorsChannel(user: User, show: boolean): Promise<User> {+ const current = (await this.deps.userRepository.findUnique(user.id)) ?? user;+ const premiumFlags = show+ ? current.premiumFlags & ~PremiumFlags.OPERATORS_CHANNEL_HIDDEN+ : current.premiumFlags | PremiumFlags.OPERATORS_CHANNEL_HIDDEN;+ const updated =+ premiumFlags === current.premiumFlags+ ? current+ : await this.deps.userRepository.patchUpsert(current.id, {premium_flags: premiumFlags}, current.toRow());+ await this.deps.roleService.resyncLabsRoles(updated);+ if (show) {+ await this.deps.roleService.queueGreetingIfDue(updated);+ }+ await this.dispatchPassesUpdate([updated.id]);+ return updated;+ }+async joinLabs(user: User): Promise<LabsJoinStatus> {const status = await this.deps.roleService.joinFromCheckout(user);if (status === 'joined') {diff --git a/fluxer_api/src/api/operator_pass/OperatorPassLabsGreeting.test.ts b/fluxer_api/src/api/operator_pass/OperatorPassLabsGreeting.test.tsindex f1a5836ce..35a2b2c31 100644--- a/fluxer_api/src/api/operator_pass/OperatorPassLabsGreeting.test.ts+++ b/fluxer_api/src/api/operator_pass/OperatorPassLabsGreeting.test.ts@@ -19,8 +19,10 @@ import {getCacheService,getChannelRepository,getGuildRepository,+ getOperatorPassWallService,getUserRepository,} from '@app/api/middleware/ServiceSingletons';+import {OperatorPassHoldingService} from '@app/api/operator_pass/OperatorPassHoldingService';import {type OperatorPassLabsGreetingDeps,runOperatorPassLabsGreeting,@@ -36,8 +38,9 @@ import {RecordingWorkerService} from '@app/api/test/RecordingWorkerService';import {HTTP_STATUS} from '@app/api/test/TestConstants';import {createBuilder} from '@app/api/test/TestRequestBuilder';import {UserNotificationSettings} from '@fluxer/constants/src/UserConstants';+import {TestEmailService} from '@pkgs/email/src/TestEmailService';import type {WorkerJobPayload} from '@pkgs/worker/src/contracts/WorkerTypes';-import {afterAll, afterEach, beforeAll, expect, test} from 'vitest';+import {afterAll, afterEach, beforeAll, expect, test, vi} from 'vitest';const DELIVERED_AT = new Date('2026-11-01T16:05:00.000Z');@@ -298,3 +301,38 @@ test('a run welcomes everyone queued in that window, fifty people per message',);expect(await repository.listLabsGreetings()).toHaveLength(0);});++test('turning #operators off keeps the Operator role away through every sync, and turning it on gives it back', async () => {+ const {owner, labs, operatorRole, repository, roles} = await setUpLabs();+ const operator = await createOperator(repository);+ const holding = new OperatorPassHoldingService({+ repository,+ userRepository: getUserRepository(),+ roleService: roles,+ gatewayService: {dispatchPresence: vi.fn()} as unknown as ConstructorParameters<+ typeof OperatorPassHoldingService+ >[0]['gatewayService'],+ emailService: new TestEmailService(),+ wallService: getOperatorPassWallService(),+ findPurchase: (purchaseId) => repository.findPurchase(purchaseId),+ });+ const roleIds = async () => (await getMember(harness, owner.token, labs.id, operator.account.userId)).roles;+ await deliver(roles, operator.userId, null);+ expect(await roleIds()).toContain(operatorRole.id);++ const hidden = await holding.updateLabsOperatorsChannel(+ await getUserRepository().findUniqueAssert(operator.userId),+ false,+ );+ expect(await roleIds()).not.toContain(operatorRole.id);+ expect((await holding.queries.describePasses(hidden)).labs.show_operators).toBe(false);++ await roles.syncLabsRolesForMembers(getUserRepository(), 100);+ await deliver(roles, operator.userId, null);+ expect(await roles.joinFromCheckout(await getUserRepository().findUniqueAssert(operator.userId))).toBe('joined');+ expect(await roleIds()).not.toContain(operatorRole.id);++ const shown = await holding.updateLabsOperatorsChannel(hidden, true);+ expect(await roleIds()).toContain(operatorRole.id);+ expect((await holding.queries.describePasses(shown)).labs.show_operators).toBe(true);+});diff --git a/fluxer_api/src/api/operator_pass/OperatorPassLabsGreeting.ts b/fluxer_api/src/api/operator_pass/OperatorPassLabsGreeting.tsindex 4dc4bf609..a6fdce56a 100644--- a/fluxer_api/src/api/operator_pass/OperatorPassLabsGreeting.ts+++ b/fluxer_api/src/api/operator_pass/OperatorPassLabsGreeting.ts@@ -13,7 +13,11 @@ import {isOperatorPassEntitled,loadOperatorPassEntitlementState,} from '@app/api/operator_pass/OperatorPassEntitlementService';-import {getLabsOperatorsChannelId, isBlockedFromLabsAutoJoin} from '@app/api/operator_pass/OperatorPassLabsRole';+import {+ getLabsOperatorsChannelId,+ hidesOperatorsChannel,+ isBlockedFromLabsAutoJoin,+} from '@app/api/operator_pass/OperatorPassLabsRole';import {type OperatorPassLockLease, withOperatorPassLock} from '@app/api/operator_pass/OperatorPassLocks';import type {OperatorPassRepository} from '@app/api/operator_pass/OperatorPassRepository';import type {UserRepository} from '@app/api/user/repositories/UserRepository';@@ -146,7 +150,7 @@ class LabsGreetingRun {return false;}const user = await this.deps.userRepository.findUnique(userId);- if (!user || isBlockedFromLabsAutoJoin(user, new Date())) {+ if (!user || hidesOperatorsChannel(user) || isBlockedFromLabsAutoJoin(user, new Date())) {return false;}if (!this.channel.guildId || !(await this.deps.guildRepository.getMember(this.channel.guildId, userId))) {diff --git a/fluxer_api/src/api/operator_pass/OperatorPassLabsRole.test.ts b/fluxer_api/src/api/operator_pass/OperatorPassLabsRole.test.tsindex 58da96143..c19f930fa 100644--- a/fluxer_api/src/api/operator_pass/OperatorPassLabsRole.test.ts+++ b/fluxer_api/src/api/operator_pass/OperatorPassLabsRole.test.ts@@ -65,3 +65,13 @@ test('without an access role, Operators and Visionaries keep their roles whetheraccess: false,});});++test('turning off #operators takes away every role that opens it, for Operators and Visionaries alike', () => {+ const none = {operator: false, visionary: false, access: false};+ const hidden = PremiumFlags.OPERATORS_CHANNEL_HIDDEN;+ expect(labsRolesFor(account(null, [], hidden), true)).toEqual(none);+ expect(labsRolesFor(account(UserPremiumTypes.LIFETIME, [], hidden), false)).toEqual(none);+ expect(labsRolesFor(account(UserPremiumTypes.LIFETIME, [], hidden), true)).toEqual(none);+ Config.operatorPass.labsAccessRoleId = null;+ expect(labsRolesFor(account(UserPremiumTypes.LIFETIME, [], hidden), true)).toEqual(none);+});diff --git a/fluxer_api/src/api/operator_pass/OperatorPassLabsRole.ts b/fluxer_api/src/api/operator_pass/OperatorPassLabsRole.tsindex 9d542f523..a0d04c17b 100644--- a/fluxer_api/src/api/operator_pass/OperatorPassLabsRole.ts+++ b/fluxer_api/src/api/operator_pass/OperatorPassLabsRole.ts@@ -204,13 +204,25 @@ function getLabsAccessRoleId(): RoleID | null {return getLabsOperatorRole() && labsAccessRoleId != null ? createRoleID(labsAccessRoleId) : null;}+export function listHiddenLabsRoleIds(): Array<string> {+ const accessRoleId = getLabsAccessRoleId();+ return accessRoleId === null ? [] : [accessRoleId.toString()];+}+interface LabsRoleWants {operator: boolean;visionary: boolean;access: boolean;}+export function hidesOperatorsChannel(user: Pick<User, 'premiumFlags'> | null): boolean {+ return user !== null && (user.premiumFlags & PremiumFlags.OPERATORS_CHANNEL_HIDDEN) !== 0;+}+export function labsRolesFor(user: Omit<VisionaryAccount, 'id'> | null, entitled: boolean): LabsRoleWants {+ if (hidesOperatorsChannel(user)) {+ return {operator: false, visionary: false, access: false};+ }const lifetime = user?.premiumType === UserPremiumTypes.LIFETIME;const split = getLabsAccessRoleId() !== null;return {@@ -344,7 +356,12 @@ export class OperatorPassLabsRoleService {}const member = await this.guildRepository.getMember(labs.guildId, user.id);const accessRoleId = getLabsAccessRoleId();- if (member && (member.roleIds.has(labs.roleId) || (accessRoleId && member.roleIds.has(accessRoleId)))) {+ if (+ member &&+ (hidesOperatorsChannel(user) ||+ member.roleIds.has(labs.roleId) ||+ (accessRoleId && member.roleIds.has(accessRoleId)))+ ) {continue;}if (!isOperatorPassEntitled(await loadOperatorPassEntitlementState(labsRepository, user.id))) {@@ -359,7 +376,12 @@ export class OperatorPassLabsRoleService {async queueGreetingIfDue(user: LabsAccount, now: Date = new Date()): Promise<boolean> {const labs = getLabsOperatorRole();- if (!labs || getLabsOperatorsChannelId() === null || isBlockedFromLabsAutoJoin(user, now)) {+ if (+ !labs ||+ getLabsOperatorsChannelId() === null ||+ hidesOperatorsChannel(user) ||+ isBlockedFromLabsAutoJoin(user, now)+ ) {return false;}const record = await labsRepository.findLabsMember(user.id);diff --git a/fluxer_api/src/api/worker/utils/HarvestDataMappers.ts b/fluxer_api/src/api/worker/utils/HarvestDataMappers.tsindex 155322e45..cf0e93a80 100644--- a/fluxer_api/src/api/worker/utils/HarvestDataMappers.ts+++ b/fluxer_api/src/api/worker/utils/HarvestDataMappers.ts@@ -37,6 +37,7 @@ import type {WebAuthnCredential} from '@app/api/models/WebAuthnCredential';import {mapStorePurchaseToResponse} from '@app/api/store_billing/StoreBillingMappers';import {resolveSessionClientInfo} from '@app/api/utils/SessionClientIdentity';import {getAnimatedAssetExtension} from '@app/api/worker/utils/AssetArchiveHelpers';+import {PremiumFlags} from '@fluxer/constants/src/UserConstants';import {decodeSyncedPreferencesLenient,syncedPreferencesToJson,@@ -296,6 +297,7 @@ export function buildUserDataJson(params: UserDataJsonParams) {premium_since: user.premiumSince?.toISOString() ?? null,premium_until: user.premiumUntil?.toISOString() ?? null,premium_lifetime_sequence: user.premiumLifetimeSequence,+ operator_pass_show_operators: (user.premiumFlags & PremiumFlags.OPERATORS_CHANNEL_HIDDEN) === 0,stripe_customer_id: user.stripeCustomerId,stripe_subscription_id: user.stripeSubscriptionId,terms_agreed_at: user.termsAgreedAt?.toISOString() ?? null,diff --git a/fluxer_app/src/features/app/constants/Endpoints.ts b/fluxer_app/src/features/app/constants/Endpoints.tsindex 511b423d1..410f20173 100644--- a/fluxer_app/src/features/app/constants/Endpoints.ts+++ b/fluxer_app/src/features/app/constants/Endpoints.ts@@ -171,6 +171,7 @@ export const Endpoints = {`/operator-pass/purchases/${encodeURIComponent(purchaseId)}/withdraw`,OPERATOR_PASS_PASSES: '/operator-pass/passes',OPERATOR_PASS_LABS_GREETING: '/operator-pass/labs-greeting',+ OPERATOR_PASS_LABS_OPERATORS: '/operator-pass/labs-operators',OPERATOR_PASS_LABS_JOIN: '/operator-pass/labs/join',OPERATOR_PASS_VISIONARY_TURN_ON: '/operator-pass/visionary/turn-on',OPERATOR_PASS_PASS_OFFERS: (passId: string) => `/operator-pass/passes/${encodeURIComponent(passId)}/offers`,diff --git a/fluxer_app/src/features/app/state/InstanceSnapshotStore.ts b/fluxer_app/src/features/app/state/InstanceSnapshotStore.tsindex 80a28f7e3..7b636ebb6 100644--- a/fluxer_app/src/features/app/state/InstanceSnapshotStore.ts+++ b/fluxer_app/src/features/app/state/InstanceSnapshotStore.ts@@ -125,6 +125,7 @@ export function runtimeSnapshotFromDiscovery(document: InstanceDiscoveryDocumentcustomBadgesVersion: discovery.customBadgesVersion,builtInGuildBadgeImages: discovery.builtInGuildBadgeImages,hiddenBuiltInGuildBadges: discovery.hiddenBuiltInGuildBadges,+ hiddenRoleIds: discovery.hiddenRoleIds,});}diff --git a/fluxer_app/src/features/app/state/RuntimeConfig.ts b/fluxer_app/src/features/app/state/RuntimeConfig.tsindex 3aaa1d041..ea18cb226 100644--- a/fluxer_app/src/features/app/state/RuntimeConfig.ts+++ b/fluxer_app/src/features/app/state/RuntimeConfig.ts@@ -691,6 +691,7 @@ class RuntimeConfig {customBadgesVersion: resolution.snapshot.customBadgesVersion,builtInGuildBadgeImages: resolution.snapshot.builtInGuildBadgeImages,hiddenBuiltInGuildBadges: resolution.snapshot.hiddenBuiltInGuildBadges,+ hiddenRoleIds: resolution.snapshot.hiddenRoleIds,limits: resolution.snapshot.limits,});this.activeRuntime = {...runtime, snapshot: usable};@@ -944,6 +945,10 @@ class RuntimeConfig {return this.activeRuntime?.snapshot.hiddenBuiltInGuildBadges ?? [];}+ get hiddenRoleIds(): ReadonlyArray<string> {+ return this.activeRuntime?.snapshot.hiddenRoleIds ?? [];+ }+get gifEnabled(): boolean {return this.services.gif_enabled;}diff --git a/fluxer_app/src/features/app/state/RuntimeConfigSnapshot.ts b/fluxer_app/src/features/app/state/RuntimeConfigSnapshot.tsindex 127e96f37..66ad52693 100644--- a/fluxer_app/src/features/app/state/RuntimeConfigSnapshot.ts+++ b/fluxer_app/src/features/app/state/RuntimeConfigSnapshot.ts@@ -84,6 +84,7 @@ export interface RuntimeConfigSnapshot extends RuntimeConfigIdentity {readonly customBadgesVersion: string | null;readonly builtInGuildBadgeImages: InstanceBuiltInGuildBadgeImages;readonly hiddenBuiltInGuildBadges: InstanceHiddenBuiltInGuildBadges;+ readonly hiddenRoleIds: ReadonlyArray<string>;}export class InvalidRuntimeConfigSnapshotError extends Error {@@ -618,6 +619,16 @@ function readHiddenBuiltInGuildBadges(value: unknown): InstanceHiddenBuiltInGuilreturn BUILT_IN_GUILD_BADGE_KINDS.filter((kind) => value.includes(kind));}+function readHiddenRoleIds(value: unknown): ReadonlyArray<string> {+ if (value === undefined) {+ return [];+ }+ if (!Array.isArray(value) || !value.every((id) => typeof id === 'string')) {+ invalid('hiddenRoleIds', 'must be an array of strings');+ }+ return value;+}+export function requireRuntimeConfigSnapshot(value: unknown): RuntimeConfigSnapshot {const source = readRecord(value, 'root');return {@@ -655,5 +666,6 @@ export function requireRuntimeConfigSnapshot(value: unknown): RuntimeConfigSnaps: readNonEmptyString(source, 'customBadgesVersion', 'customBadgesVersion'),builtInGuildBadgeImages: readBuiltInGuildBadgeImages(source.builtInGuildBadgeImages),hiddenBuiltInGuildBadges: readHiddenBuiltInGuildBadges(source.hiddenBuiltInGuildBadges),+ hiddenRoleIds: readHiddenRoleIds(source.hiddenRoleIds),};}diff --git a/fluxer_app/src/features/channel/components/guild_members_page/MemberTableRow.tsx b/fluxer_app/src/features/channel/components/guild_members_page/MemberTableRow.tsxindex 0b9f385fc..349d62f7c 100644--- a/fluxer_app/src/features/channel/components/guild_members_page/MemberTableRow.tsx+++ b/fluxer_app/src/features/channel/components/guild_members_page/MemberTableRow.tsx@@ -1,5 +1,6 @@// SPDX-License-Identifier: AGPL-3.0-or-later+import RuntimeConfig from '@app/features/app/state/RuntimeConfig';import styles from '@app/features/channel/components/GuildMembersPage.module.css';import {VANITY_URL_DESCRIPTOR} from '@app/features/channel/components/guild_members_page/GuildMembersPageDescriptors';import {formatRecentOrFallback} from '@app/features/channel/components/guild_members_page/GuildMembersPageFormatting';@@ -21,6 +22,7 @@ import Users from '@app/features/user/state/Users';import * as AvatarUtils from '@app/features/user/utils/AvatarUtils';import * as NicknameUtils from '@app/features/user/utils/NicknameUtils';import {JoinSourceTypes} from '@fluxer/constants/src/GuildConstants';+import {filterDisplayRoles} from '@fluxer/constants/src/RoleDisplayUtils';import {msg} from '@lingui/core/macro';import {Trans, useLingui} from '@lingui/react/macro';import {CrownIcon, DotsThreeVerticalIcon} from '@phosphor-icons/react';@@ -96,10 +98,10 @@ export const MemberTableRow: React.FC<MemberTableRowProps> = observer(const roles = Guilds.getGuildRoles(guildId);const memberRoles = useMemo(() => {const roleIds = member ? Array.from(member.roles) : data.roleIds;- return roleIds- .map((id) => roles.find((r) => r.id === id))- .filter((r): r is GuildRole => r != null)- .sort((a, b) => b.position - a.position);+ return filterDisplayRoles(+ roleIds.map((id) => roles.find((r) => r.id === id)).filter((r): r is GuildRole => r != null),+ RuntimeConfig.hiddenRoleIds,+ ).sort((a, b) => b.position - a.position);}, [member, data.roleIds, roles]);const topRole = memberRoles[0];const extraRolesCount = memberRoles.length - 1;diff --git a/fluxer_app/src/features/i18n/locales/ar/messages.po b/fluxer_app/src/features/i18n/locales/ar/messages.poindex 572933e44..f938b8926 100644--- a/fluxer_app/src/features/i18n/locales/ar/messages.po+++ b/fluxer_app/src/features/i18n/locales/ar/messages.po@@ -33072,6 +33072,11 @@ msgstr "إظهار {badgeLabel} في ملفك الشخصي"msgid "Show {title}"msgstr "عرض {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "إظهار #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "قد يؤدي إيقاف بعض النطاقات إلى عدم عمل اmsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "إيقاف تشغيل هذا يخفي الكاميرا عنك فقط. سيظل بإمكان الآخرين في المكالمة رؤية بث الكاميرا الخاص بك."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "إيقاف هذا الخيار يزيل الأدوار التي تفتح قناة #operators في {labsName}، ولن نعيدها حتى تشغّله مرة أخرى."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/bg/messages.po b/fluxer_app/src/features/i18n/locales/bg/messages.poindex b353a8d34..09599feed 100644--- a/fluxer_app/src/features/i18n/locales/bg/messages.po+++ b/fluxer_app/src/features/i18n/locales/bg/messages.po@@ -33072,6 +33072,11 @@ msgstr "Показване на {badgeLabel} в профила ти"msgid "Show {title}"msgstr "Покажи: {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Показване на #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Изключването на обхвати може да попречmsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Изключването на тази опция скрива камерата само от твоя изглед. Другите в разговора продължават да виждат видеото от камерата ти."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Ако изключиш това, ролите, които ти дават достъп до #operators в {labsName}, се премахват и няма да ги върнем, докато не го включиш отново."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/cs/messages.po b/fluxer_app/src/features/i18n/locales/cs/messages.poindex 34131d7e9..4a8f673ec 100644--- a/fluxer_app/src/features/i18n/locales/cs/messages.po+++ b/fluxer_app/src/features/i18n/locales/cs/messages.po@@ -33072,6 +33072,11 @@ msgstr "Zobrazit {badgeLabel} na vašem profilu"msgid "Show {title}"msgstr "Zobrazit: {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Zobrazit #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Vypnutí oprávnění může zabránit správnému fungování aplikace.msgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Vypnutím skryjete kameru pouze ze svého zobrazení. Ostatní účastníci hovoru váš obraz z kamery stále uvidí."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Vypnutím odeberete role, které vám otevírají #operators v {labsName}, a nevrátíme je, dokud to znovu nezapnete."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/da/messages.po b/fluxer_app/src/features/i18n/locales/da/messages.poindex dc4b081ce..7653bd7fd 100644--- a/fluxer_app/src/features/i18n/locales/da/messages.po+++ b/fluxer_app/src/features/i18n/locales/da/messages.po@@ -33072,6 +33072,11 @@ msgstr "Vis {badgeLabel} på din profil"msgid "Show {title}"msgstr "Vis {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Vis #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Hvis du fjerner adgangsområder, fungerer appen muligvis ikke korrekt."msgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Hvis du slår dette fra, skjules dit kamera kun for dig selv. Andre i opkaldet kan stadig se dit kamerafeed."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Hvis du slår dette fra, fjernes de roller, der åbner #operators i {labsName}, og vi giver dem ikke tilbage, før du slår det til igen."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/de/messages.po b/fluxer_app/src/features/i18n/locales/de/messages.poindex f5e330681..66cf07143 100644--- a/fluxer_app/src/features/i18n/locales/de/messages.po+++ b/fluxer_app/src/features/i18n/locales/de/messages.po@@ -33072,6 +33072,11 @@ msgstr "{badgeLabel} auf deinem Profil anzeigen"msgid "Show {title}"msgstr "{title} anzeigen"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "#operators anzeigen"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Das Deaktivieren von Berechtigungen kann dazu führen, dass die App nichmsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Wenn du diese Option deaktivierst, wird dein Kamerabild nur für dich ausgeblendet. Andere im Anruf können es weiterhin sehen."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Wenn du das ausschaltest, werden die Rollen entfernt, die #operators in {labsName} öffnen, und wir fügen sie erst wieder hinzu, wenn du es wieder einschaltest."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/el/messages.po b/fluxer_app/src/features/i18n/locales/el/messages.poindex 0bccb8841..9ceaa75db 100644--- a/fluxer_app/src/features/i18n/locales/el/messages.po+++ b/fluxer_app/src/features/i18n/locales/el/messages.po@@ -33072,6 +33072,11 @@ msgstr "Εμφάνιση του {badgeLabel} στο προφίλ σας"msgid "Show {title}"msgstr "Εμφάνιση: {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Εμφάνιση #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Αν απενεργοποιήσετε πεδία εφαρμογής, ηmsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Αν το απενεργοποιήσετε, η κάμερά σας θα κρυφτεί μόνο από τη δική σας προβολή. Οι άλλοι στην κλήση θα εξακολουθούν να βλέπουν την εικόνα της κάμεράς σας."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Αν το απενεργοποιήσεις, αφαιρούνται οι ρόλοι που ανοίγουν το #operators στο {labsName} και δεν θα τους προσθέσουμε ξανά μέχρι να το ενεργοποιήσεις πάλι."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/en-GB/messages.po b/fluxer_app/src/features/i18n/locales/en-GB/messages.poindex 4388f8b5f..7fa3d9999 100644--- a/fluxer_app/src/features/i18n/locales/en-GB/messages.po+++ b/fluxer_app/src/features/i18n/locales/en-GB/messages.po@@ -33072,6 +33072,11 @@ msgstr "Show {badgeLabel} on your profile"msgid "Show {title}"msgstr "Show {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Show #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Turning off scopes may prevent the app from working correctly."msgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/en-US/messages.po b/fluxer_app/src/features/i18n/locales/en-US/messages.poindex 6368937b8..d98415574 100644--- a/fluxer_app/src/features/i18n/locales/en-US/messages.po+++ b/fluxer_app/src/features/i18n/locales/en-US/messages.po@@ -33072,6 +33072,11 @@ msgstr "Show {badgeLabel} on your profile"msgid "Show {title}"msgstr "Show {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Show #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Turning off scopes may prevent the app from working correctly."msgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/es-419/messages.po b/fluxer_app/src/features/i18n/locales/es-419/messages.poindex 2f1a7b980..6bad85fde 100644--- a/fluxer_app/src/features/i18n/locales/es-419/messages.po+++ b/fluxer_app/src/features/i18n/locales/es-419/messages.po@@ -33072,6 +33072,11 @@ msgstr "Mostrar {badgeLabel} en tu perfil"msgid "Show {title}"msgstr "Mostrar {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Mostrar #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Desactivar ámbitos podría impedir que la aplicación funcione correctamsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Si desactivas esto, solo se ocultará tu cámara de tu propia vista. Las demás personas en la llamada seguirán viendo tu cámara."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Si desactivas esto, se quitan los roles que abren #operators en {labsName} y no los volveremos a agregar hasta que lo actives de nuevo."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/es-ES/messages.po b/fluxer_app/src/features/i18n/locales/es-ES/messages.poindex 0f6bc370b..6ebb05899 100644--- a/fluxer_app/src/features/i18n/locales/es-ES/messages.po+++ b/fluxer_app/src/features/i18n/locales/es-ES/messages.po@@ -33072,6 +33072,11 @@ msgstr "Mostrar {badgeLabel} en tu perfil"msgid "Show {title}"msgstr "Mostrar {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Mostrar #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Desactivar ámbitos podría impedir que la aplicación funcione correctamsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Desactivar esto solo oculta tu cámara de tu propia vista. Los demás participantes de la llamada seguirán viendo tu cámara."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Si desactivas esto, se quitan los roles que abren #operators en {labsName} y no los volveremos a añadir hasta que lo actives de nuevo."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/fi/messages.po b/fluxer_app/src/features/i18n/locales/fi/messages.poindex a87627778..830b82dc0 100644--- a/fluxer_app/src/features/i18n/locales/fi/messages.po+++ b/fluxer_app/src/features/i18n/locales/fi/messages.po@@ -33072,6 +33072,11 @@ msgstr "Näytä {badgeLabel} profiilissasi"msgid "Show {title}"msgstr "Näytä {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Näytä #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Käyttöoikeuksien poistaminen käytöstä voi estää sovellusta toimimmsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Tämän poistaminen käytöstä piilottaa kamerasi vain omasta näkymästäsi. Muut puhelun osallistujat näkevät kamerakuvasi edelleen."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Jos poistat tämän käytöstä, roolit, jotka avaavat #operators-kanavan yhteisössä {labsName}, poistetaan, emmekä lisää niitä takaisin ennen kuin otat sen uudelleen käyttöön."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/fr/messages.po b/fluxer_app/src/features/i18n/locales/fr/messages.poindex 65e66e10e..593096aa9 100644--- a/fluxer_app/src/features/i18n/locales/fr/messages.po+++ b/fluxer_app/src/features/i18n/locales/fr/messages.po@@ -33072,6 +33072,11 @@ msgstr "Afficher {badgeLabel} sur votre profil"msgid "Show {title}"msgstr "Afficher {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Afficher #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Désactiver des portées peut empêcher l’application de fonctionner cmsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Désactiver cette option masque uniquement votre caméra de votre propre vue. Les autres participants à l'appel peuvent toujours voir votre flux vidéo."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Si vous désactivez cette option, les rôles qui ouvrent #operators dans {labsName} sont retirés, et nous ne les rajouterons pas tant que vous ne l'aurez pas réactivée."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/he/messages.po b/fluxer_app/src/features/i18n/locales/he/messages.poindex b3081fd42..31faa4547 100644--- a/fluxer_app/src/features/i18n/locales/he/messages.po+++ b/fluxer_app/src/features/i18n/locales/he/messages.po@@ -33072,6 +33072,11 @@ msgstr "הצגת {badgeLabel} בפרופיל שלך"msgid "Show {title}"msgstr "הצגת {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "הצגת #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "כיבוי הרשאות עלול למנוע מהאפליקציה לפעmsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "כיבוי אפשרות זו יסתיר את המצלמה שלך רק מהתצוגה שלך. משתתפים אחרים בשיחה עדיין יוכלו לראות את שידור המצלמה שלך."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "כיבוי האפשרות מסיר את התפקידים שפותחים את #operators ב-{labsName}, ולא נחזיר אותם עד שתפעילו אותה שוב."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/hi/messages.po b/fluxer_app/src/features/i18n/locales/hi/messages.poindex 4753dab84..e33dc0d21 100644--- a/fluxer_app/src/features/i18n/locales/hi/messages.po+++ b/fluxer_app/src/features/i18n/locales/hi/messages.po@@ -33072,6 +33072,11 @@ msgstr "अपनी प्रोफ़ाइल पर {badgeLabel} दिखmsgid "Show {title}"msgstr "{title} दिखाएँ"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "#operators दिखाएँ"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "स्कोप बंद करने से हो सकता हैmsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "इसे बंद करने से आपका कैमरा सिर्फ़ आपको नहीं दिखेगा। कॉल में मौजूद दूसरे लोग आपका कैमरा फ़ीड अब भी देख पाएँगे।"+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "इसे बंद करने पर {labsName} में #operators खोलने वाली भूमिकाएँ हट जाती हैं, और जब तक आप इसे फिर से चालू नहीं करते, हम उन्हें वापस नहीं जोड़ेंगे।"+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/hr/messages.po b/fluxer_app/src/features/i18n/locales/hr/messages.poindex 7b10e09b2..f4992e10f 100644--- a/fluxer_app/src/features/i18n/locales/hr/messages.po+++ b/fluxer_app/src/features/i18n/locales/hr/messages.po@@ -33072,6 +33072,11 @@ msgstr "Prikaži {badgeLabel} na vašem profilu"msgid "Show {title}"msgstr "Prikaži: {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Prikaži #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Isključivanje opsega može spriječiti ispravan rad aplikacije."msgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Isključivanjem kamere ona će biti skrivena samo vama. Drugi sudionici poziva i dalje će vidjeti vaš videoprijenos."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Ako ovo isključiš, uklanjaju se uloge koje otvaraju #operators u {labsName}, a nećemo ih vratiti dok ga ponovno ne uključiš."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/hu/messages.po b/fluxer_app/src/features/i18n/locales/hu/messages.poindex 3a979362e..97b8be0b3 100644--- a/fluxer_app/src/features/i18n/locales/hu/messages.po+++ b/fluxer_app/src/features/i18n/locales/hu/messages.po@@ -33072,6 +33072,11 @@ msgstr "{badgeLabel} megjelenítése a profilodon"msgid "Show {title}"msgstr "{title} megjelenítése"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "#operators megjelenítése"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "A hatókörök kikapcsolása megakadályozhatja az alkalmazás megfelelmsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Ha kikapcsolod, a saját kamerád csak a te nézetedből lesz elrejtve. A hívásban résztvevő többiek továbbra is látni fogják a kamera képedet."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Ha kikapcsolod, eltávolítjuk azokat a szerepköröket, amelyek megnyitják a #operators csatornát a(z) {labsName} közösségben, és addig nem adjuk vissza őket, amíg újra be nem kapcsolod."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/id/messages.po b/fluxer_app/src/features/i18n/locales/id/messages.poindex 05bf25164..698e52b15 100644--- a/fluxer_app/src/features/i18n/locales/id/messages.po+++ b/fluxer_app/src/features/i18n/locales/id/messages.po@@ -33072,6 +33072,11 @@ msgstr "Tampilkan {badgeLabel} di profilmu"msgid "Show {title}"msgstr "Tampilkan {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Tampilkan #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Mematikan cakupan dapat menyebabkan aplikasi tidak berfungsi dengan benamsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Mematikan ini hanya menyembunyikan kameramu dari tampilanmu sendiri. Orang lain dalam panggilan masih dapat melihat feed kameramu."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Jika ini dimatikan, peran yang membuka #operators di {labsName} akan dihapus, dan kami tidak akan menambahkannya kembali sampai kamu menyalakannya lagi."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/it/messages.po b/fluxer_app/src/features/i18n/locales/it/messages.poindex 268c8507a..860894a71 100644--- a/fluxer_app/src/features/i18n/locales/it/messages.po+++ b/fluxer_app/src/features/i18n/locales/it/messages.po@@ -33072,6 +33072,11 @@ msgstr "Mostra {badgeLabel} sul tuo profilo"msgid "Show {title}"msgstr "Mostra {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Mostra #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Disattivare gli ambiti di autorizzazione potrebbe impedire il corretto fmsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Disattivando questa opzione, la tua fotocamera verrà nascosta solo dalla tua visuale. Gli altri partecipanti alla chiamata potranno comunque vedere il tuo feed video."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Se lo disattivi, i ruoli che aprono #operators in {labsName} vengono rimossi e non li aggiungeremo di nuovo finché non lo riattivi."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/ja/messages.po b/fluxer_app/src/features/i18n/locales/ja/messages.poindex 2610dbb1f..ea8064f83 100644--- a/fluxer_app/src/features/i18n/locales/ja/messages.po+++ b/fluxer_app/src/features/i18n/locales/ja/messages.po@@ -33072,6 +33072,11 @@ msgstr "プロフィールに{badgeLabel}を表示"msgid "Show {title}"msgstr "{title}を表示"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "#operators を表示"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "スコープをオフにすると、アプリが正常に動作しなくmsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "オフにすると、自分の画面からのみカメラ映像が非表示になります。通話に参加している他のユーザーには、引き続きカメラ映像が表示されます。"+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "オフにすると、{labsName}の#operatorsを開くロールが外れ、もう一度オンにするまで戻しません。"+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/ko/messages.po b/fluxer_app/src/features/i18n/locales/ko/messages.poindex d7ab1443e..93f04aa50 100644--- a/fluxer_app/src/features/i18n/locales/ko/messages.po+++ b/fluxer_app/src/features/i18n/locales/ko/messages.po@@ -33072,6 +33072,11 @@ msgstr "내 프로필에 {badgeLabel} 표시"msgid "Show {title}"msgstr "{title} 보기"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "#operators 표시"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "범위 설정을 해제하면 앱이 제대로 작동하지 않을 수msgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "이 설정을 끄면 내 화면에서만 내 카메라가 숨겨집니다. 통화에 참여한 다른 사람들에게는 내 카메라 피드가 계속 표시됩니다."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "끄면 {labsName}의 #operators를 여는 역할이 제거되고, 다시 켤 때까지 역할을 다시 추가하지 않아요."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/lt/messages.po b/fluxer_app/src/features/i18n/locales/lt/messages.poindex 27b280cae..dc424965e 100644--- a/fluxer_app/src/features/i18n/locales/lt/messages.po+++ b/fluxer_app/src/features/i18n/locales/lt/messages.po@@ -33073,6 +33073,11 @@ msgstr "Rodyti {badgeLabel} jūsų profilyje"msgid "Show {title}"msgstr "Rodyti: {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Rodyti #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39133,6 +39138,11 @@ msgstr "Išjungus leidimų sritis, programa gali veikti netinkamai."msgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Išjungus šią parinktį, kamera bus paslėpta tik jums. Kiti pokalbio dalyviai vis tiek matys jūsų kameros vaizdą."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Išjungus šią parinktį, pašalinami vaidmenys, kurie atveria #operators kanalą {labsName}, ir mes jų negrąžinsime, kol vėl jos neįjungsite."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/nl/messages.po b/fluxer_app/src/features/i18n/locales/nl/messages.poindex 2587b4e63..4815c335b 100644--- a/fluxer_app/src/features/i18n/locales/nl/messages.po+++ b/fluxer_app/src/features/i18n/locales/nl/messages.po@@ -33072,6 +33072,11 @@ msgstr "{badgeLabel} op je profiel tonen"msgid "Show {title}"msgstr "{title} tonen"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "#operators tonen"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Als je machtigingsbereiken uitschakelt, werkt de app mogelijk niet corremsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Als je dit uitzet, verberg je je camera alleen voor jezelf. Anderen in het gesprek kunnen je camerabeeld nog steeds zien."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Als je dit uitzet, worden de rollen verwijderd die #operators in {labsName} openen, en we voegen ze pas weer toe als je het weer aanzet."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/no/messages.po b/fluxer_app/src/features/i18n/locales/no/messages.poindex 9b597d862..43abd329b 100644--- a/fluxer_app/src/features/i18n/locales/no/messages.po+++ b/fluxer_app/src/features/i18n/locales/no/messages.po@@ -33072,6 +33072,11 @@ msgstr "Vis {badgeLabel} på profilen din"msgid "Show {title}"msgstr "Vis {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Vis #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Å slå av tillatelser kan hindre appen i å fungere korrekt."msgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Hvis du slår av dette, skjules kameraet ditt kun for deg selv. Andre i samtalen kan fortsatt se kamerabildet ditt."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Hvis du slår av dette, fjernes rollene som åpner #operators i {labsName}, og vi gir dem ikke tilbake før du slår det på igjen."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/pl/messages.po b/fluxer_app/src/features/i18n/locales/pl/messages.poindex 14874e483..829932524 100644--- a/fluxer_app/src/features/i18n/locales/pl/messages.po+++ b/fluxer_app/src/features/i18n/locales/pl/messages.po@@ -33072,6 +33072,11 @@ msgstr "Pokaż {badgeLabel} w twoim profilu"msgid "Show {title}"msgstr "Pokaż: {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Pokaż #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Wyłączenie zakresów autoryzacji może uniemożliwić poprawne działamsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Wyłączenie tej opcji ukrywa Twoją kamerę tylko w Twoim widoku. Inni uczestnicy połączenia nadal będą widzieć Twój obraz z kamery."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Wyłączenie tej opcji usuwa role, które otwierają dostęp do #operators w {labsName}, i nie przywrócimy ich, dopóki jej ponownie nie włączysz."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/pt-BR/messages.po b/fluxer_app/src/features/i18n/locales/pt-BR/messages.poindex ea0c1bcbb..772a1ec51 100644--- a/fluxer_app/src/features/i18n/locales/pt-BR/messages.po+++ b/fluxer_app/src/features/i18n/locales/pt-BR/messages.po@@ -33072,6 +33072,11 @@ msgstr "Mostrar {badgeLabel} no seu perfil"msgid "Show {title}"msgstr "Mostrar {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Mostrar #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Desativar permissões pode impedir que o app funcione corretamente."msgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Desativar isso só oculta sua câmera da sua própria visualização. As outras pessoas na chamada ainda podem ver a transmissão da sua câmera."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Ao desativar isso, os papéis que liberam o acesso ao #operators em {labsName} são removidos, e só vamos adicioná-los de volta quando você ativar de novo."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/ro/messages.po b/fluxer_app/src/features/i18n/locales/ro/messages.poindex a950dfc22..89a1655ce 100644--- a/fluxer_app/src/features/i18n/locales/ro/messages.po+++ b/fluxer_app/src/features/i18n/locales/ro/messages.po@@ -33072,6 +33072,11 @@ msgstr "Afișează {badgeLabel} pe profilul tău"msgid "Show {title}"msgstr "Afișează {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Afișează #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Dezactivarea domeniilor de autorizare poate împiedica funcționarea cormsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Dezactivarea acestei opțiuni ascunde camera doar din vizualizarea ta. Ceilalți participanți la apel îți pot vedea în continuare transmisiunea camerei."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Dacă dezactivezi asta, rolurile care îți deschid accesul la #operators în {labsName} sunt eliminate și nu le vom adăuga înapoi până nu activezi din nou."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/ru/messages.po b/fluxer_app/src/features/i18n/locales/ru/messages.poindex d43557683..891c3a47f 100644--- a/fluxer_app/src/features/i18n/locales/ru/messages.po+++ b/fluxer_app/src/features/i18n/locales/ru/messages.po@@ -33072,6 +33072,11 @@ msgstr "Показывать {badgeLabel} в вашем профиле"msgid "Show {title}"msgstr "Показать: {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Показывать #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Отключение разрешений может привести кmsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Отключение камеры скрывает ее только для вас. Другие участники звонка по-прежнему будут видеть ваше видео."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Если выключить это, роли, которые открывают доступ к #operators в {labsName}, будут сняты, и мы не вернём их, пока вы снова это не включите."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/sv-SE/messages.po b/fluxer_app/src/features/i18n/locales/sv-SE/messages.poindex 8ef8e0d4a..6ca61e667 100644--- a/fluxer_app/src/features/i18n/locales/sv-SE/messages.po+++ b/fluxer_app/src/features/i18n/locales/sv-SE/messages.po@@ -33072,6 +33072,11 @@ msgstr "Visa {badgeLabel} på din profil"msgid "Show {title}"msgstr "Visa {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Visa #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Om du inaktiverar behörighetsomfång kan appen sluta fungera korrekt."msgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Om du stänger av det här döljs bara din kamera från din egen vy. Andra i samtalet kan fortfarande se din kamerabild."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Om du stänger av det här tas rollerna som öppnar #operators i {labsName} bort, och vi lägger inte tillbaka dem förrän du slår på det igen."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/th/messages.po b/fluxer_app/src/features/i18n/locales/th/messages.poindex ef6163c4d..9901dde72 100644--- a/fluxer_app/src/features/i18n/locales/th/messages.po+++ b/fluxer_app/src/features/i18n/locales/th/messages.po@@ -33072,6 +33072,11 @@ msgstr "แสดง {badgeLabel} บนโปรไฟล์ของคุณ"msgid "Show {title}"msgstr "แสดง {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "แสดง #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "การปิดขอบเขตอาจทำให้แอปทmsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "การปิดตัวเลือกนี้จะซ่อนกล้องของคุณจากมุมมองของคุณเท่านั้น คนอื่นในสายยังคงเห็นภาพจากกล้องของคุณได้"+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "การปิดตัวเลือกนี้จะนำบทบาทที่เปิด #operators ใน {labsName} ออก และเราจะไม่เพิ่มกลับมาจนกว่าคุณจะเปิดอีกครั้ง"+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/tr/messages.po b/fluxer_app/src/features/i18n/locales/tr/messages.poindex 44f39d904..146f1bd2d 100644--- a/fluxer_app/src/features/i18n/locales/tr/messages.po+++ b/fluxer_app/src/features/i18n/locales/tr/messages.po@@ -33072,6 +33072,11 @@ msgstr "Profilinizde {badgeLabel} göster"msgid "Show {title}"msgstr "Göster: {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "#operators kanalını göster"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Kapsamları kapatmak uygulamanın düzgün çalışmasını engelleyebilmsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Bunu kapatmak, kameranızı yalnızca kendi görünümünüzden gizler. Aramadaki diğer kişiler kamera akışınızı görmeye devam edebilir."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Bunu kapatırsan {labsName} içinde #operators kanalını açan roller kaldırılır ve yeniden açana kadar onları geri eklemeyiz."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/uk/messages.po b/fluxer_app/src/features/i18n/locales/uk/messages.poindex 7345d1695..b4b0a3988 100644--- a/fluxer_app/src/features/i18n/locales/uk/messages.po+++ b/fluxer_app/src/features/i18n/locales/uk/messages.po@@ -33072,6 +33072,11 @@ msgstr "Показувати {badgeLabel} у вашому профілі"msgid "Show {title}"msgstr "Показати: {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Показувати #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Вимкнення дозволів може призвести до нmsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Якщо вимкнути, ваша камера буде прихована лише для вас. Інші учасники дзвінка все одно бачитимуть ваше відео."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Якщо вимкнути це, ролі, які відкривають #operators у {labsName}, буде знято, і ми не повернемо їх, доки ти знову це не ввімкнеш."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/vi/messages.po b/fluxer_app/src/features/i18n/locales/vi/messages.poindex 412ee40f6..bbdd31e04 100644--- a/fluxer_app/src/features/i18n/locales/vi/messages.po+++ b/fluxer_app/src/features/i18n/locales/vi/messages.po@@ -33072,6 +33072,11 @@ msgstr "Hiển thị {badgeLabel} trên hồ sơ của bạn"msgid "Show {title}"msgstr "Hiển thị {title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "Hiển thị #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "Việc tắt các phạm vi có thể khiến ứng dụng không hoạtmsgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "Tắt tính năng này chỉ ẩn camera của bạn khỏi chế độ xem của chính bạn. Những người khác trong cuộc gọi vẫn có thể thấy camera của bạn."+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "Khi tắt tùy chọn này, các vai trò mở #operators trong {labsName} sẽ bị gỡ, và chúng tôi sẽ không thêm lại cho đến khi bạn bật lại."+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/zh-CN/messages.po b/fluxer_app/src/features/i18n/locales/zh-CN/messages.poindex 1cc5af481..ba6a6f9f0 100644--- a/fluxer_app/src/features/i18n/locales/zh-CN/messages.po+++ b/fluxer_app/src/features/i18n/locales/zh-CN/messages.po@@ -33072,6 +33072,11 @@ msgstr "在你的个人资料中显示 {badgeLabel}"msgid "Show {title}"msgstr "显示{title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "显示 #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "关闭权限范围可能导致应用无法正常运行。"msgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "关闭后仅对你隐藏自己的摄像头。通话中的其他人仍能看到你的摄像头画面。"+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "关闭后,将移除可访问 {labsName} 的 #operators 的角色,在你重新开启之前我们不会再添加。"+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/i18n/locales/zh-TW/messages.po b/fluxer_app/src/features/i18n/locales/zh-TW/messages.poindex b1d801c0f..63eaf264c 100644--- a/fluxer_app/src/features/i18n/locales/zh-TW/messages.po+++ b/fluxer_app/src/features/i18n/locales/zh-TW/messages.po@@ -33072,6 +33072,11 @@ msgstr "在您的個人檔案中顯示 {badgeLabel}"msgid "Show {title}"msgstr "顯示{title}"+#. Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Show #operators"+msgstr "顯示 #operators"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -39132,6 +39137,11 @@ msgstr "關閉授權範圍可能會導致應用程式無法正常運作。"msgid "Turning this off only hides your camera from your own view. Others in the call can still see your camera feed."msgstr "關閉此功能只會讓您在自己的畫面中看不到自己的視訊。通話中的其他人仍能看到您的視訊畫面。"+#. Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.+#: src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+msgid "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again."+msgstr "關閉後,會移除開啟 {labsName} 的 #operators 頻道的角色,在您重新開啟之前,我們不會再加回來。"+#. Help under the Klipy API key field in the setup wizard.#: src/features/app/components/setup/SetupServicesStep.tsxmsgid "Turns on GIF search."diff --git a/fluxer_app/src/features/lexical/composer/useLexicalAutocomplete.ts b/fluxer_app/src/features/lexical/composer/useLexicalAutocomplete.tsindex 2e4f9de33..8e9d3a6c4 100644--- a/fluxer_app/src/features/lexical/composer/useLexicalAutocomplete.ts+++ b/fluxer_app/src/features/lexical/composer/useLexicalAutocomplete.ts@@ -1,6 +1,7 @@// SPDX-License-Identifier: AGPL-3.0-or-laterimport Accessibility from '@app/features/accessibility/state/Accessibility';+import RuntimeConfig from '@app/features/app/state/RuntimeConfig';import Authentication from '@app/features/auth/state/Authentication';import {type AutocompleteOption,@@ -96,6 +97,7 @@ import type {User} from '@app/features/user/models/User';import Users from '@app/features/user/state/Users';import {formatUserTagForStreamerMode} from '@app/features/user/utils/NicknameUtils';import {Permissions} from '@fluxer/constants/src/ChannelConstants';+import {filterDisplayRoles} from '@fluxer/constants/src/RoleDisplayUtils';import type {UserId} from '@fluxer/schema/src/branded/WireIds';import type {I18n} from '@lingui/core';import {matchSorter} from 'match-sorter';@@ -394,9 +396,10 @@ export function useLexicalAutocomplete({recentSpeakers.length > 0? recentSpeakers: filterGuildMembers(memberSearchResults, parsedQuery, true, canViewChannel, memberSearchRank);- const mentionableRoles = Guilds.getGuildRoles(channel.guildId).filter(- (role) => canMentionEveryone || role.mentionable,- );+ const mentionableRoles = filterDisplayRoles(+ Guilds.getGuildRoles(channel.guildId),+ RuntimeConfig.hiddenRoleIds,+ ).filter((role) => canMentionEveryone || role.mentionable);const matchedRoles =queryForMatching.length > 0? matchSorter(mentionableRoles, queryForMatching, {diff --git a/fluxer_app/src/features/member/models/GuildMember.ts b/fluxer_app/src/features/member/models/GuildMember.tsindex 3bab167d4..3c73400c7 100644--- a/fluxer_app/src/features/member/models/GuildMember.ts+++ b/fluxer_app/src/features/member/models/GuildMember.ts@@ -8,6 +8,7 @@ import * as ColorUtils from '@app/features/theme/utils/ColorUtils';import {User} from '@app/features/user/models/User';import Users from '@app/features/user/state/Users';import {GuildMemberProfileFlags} from '@fluxer/constants/src/GuildConstants';+import {filterDisplayRoles} from '@fluxer/constants/src/RoleDisplayUtils';import type {MentionReplyPreference} from '@fluxer/constants/src/UserConstants';import type {GuildMemberData} from '@fluxer/schema/src/domains/guild/GuildMemberSchemas';@@ -88,28 +89,28 @@ export class GuildMember {return (this.profileFlags & GuildMemberProfileFlags.BANNER_UNSET) !== 0;}- getSortedRoles(): ReadonlyArray<GuildRole> {+ getDisplayRoles(): ReadonlyArray<GuildRole> {const guild = Guilds.getGuild(this.guildId);if (!guild) {return [];}- return Array.from(this.roles)+ const roles = Array.from(this.roles).map((roleId) => guild.roles[roleId])- .filter((role): role is GuildRole => role !== undefined)- .sort((a, b) => {- if (b.position !== a.position) {- return b.position - a.position;- }- return BigInt(a.id) < BigInt(b.id) ? -1 : 1;- });+ .filter((role): role is GuildRole => role !== undefined);+ return filterDisplayRoles(roles, RuntimeConfig.hiddenRoleIds).sort((a, b) => {+ if (b.position !== a.position) {+ return b.position - a.position;+ }+ return BigInt(a.id) < BigInt(b.id) ? -1 : 1;+ });}getIconRole(): GuildRole | undefined {- return this.getSortedRoles().find((role) => role.icon !== null || role.unicodeEmoji !== null);+ return this.getDisplayRoles().find((role) => role.icon !== null || role.unicodeEmoji !== null);}getColorString(): string | undefined {- const sortedRoles = this.getSortedRoles();+ const sortedRoles = this.getDisplayRoles();for (const role of sortedRoles) {if (role.color) {return ColorUtils.int2rgb(role.color);diff --git a/fluxer_app/src/features/premium/commands/OperatorPassCommands.ts b/fluxer_app/src/features/premium/commands/OperatorPassCommands.tsindex b2e05ccb5..d839814c4 100644--- a/fluxer_app/src/features/premium/commands/OperatorPassCommands.ts+++ b/fluxer_app/src/features/premium/commands/OperatorPassCommands.ts@@ -217,6 +217,20 @@ export async function updateLabsGreeting(greeting: boolean): Promise<OperatorPas}}+export async function updateLabsOperators(showOperators: boolean): Promise<OperatorPassPassesResponse> {+ try {+ const response = await http.put<OperatorPassPassesResponse>(Endpoints.OPERATOR_PASS_LABS_OPERATORS, {+ body: {show_operators: showOperators},+ });+ logger.info('#operators visibility updated', {showOperators});+ OperatorPassHoldings.setPasses(response.body);+ return response.body;+ } catch (error) {+ logger.error('#operators visibility update failed', error);+ throw error;+ }+}+export async function joinLabs(): Promise<OperatorPassLabsJoinResponse> {const response = await http.post<OperatorPassLabsJoinResponse>(Endpoints.OPERATOR_PASS_LABS_JOIN, {body: {}});logger.info('Fluxer Labs join after Operator Pass', {status: response.body.status});diff --git a/fluxer_app/src/features/premium/components/operator_pass/OpenOperatorsButton.tsx b/fluxer_app/src/features/premium/components/operator_pass/OpenOperatorsButton.tsxindex ade787d79..071857db0 100644--- a/fluxer_app/src/features/premium/components/operator_pass/OpenOperatorsButton.tsx+++ b/fluxer_app/src/features/premium/components/operator_pass/OpenOperatorsButton.tsx@@ -4,12 +4,14 @@ import {PRODUCT_LABS_COMMUNITY_NAME} from '@app/features/app/config/I18nDisplayCimport {TRY_AGAIN_IN_A_MOMENT_DESCRIPTOR} from '@app/features/i18n/utils/CommonMessageDescriptors';import {Logger} from '@app/features/platform/utils/AppLogger';import {openOperatorsChannel} from '@app/features/premium/commands/OperatorPassLabsCommands';+import {showsOperatorsChannel} from '@app/features/premium/components/operator_pass/OperatorPassLabsGreetingField';import {OPEN_OPERATORS_DESCRIPTOR} from '@app/features/premium/utils/PremiumMessageDescriptors';import {Button, type ButtonVariant} from '@app/features/ui/button/Button';import * as ModalCommands from '@app/features/ui/commands/ModalCommands';import * as ToastCommands from '@app/features/ui/commands/ToastCommands';import {msg} from '@lingui/core/macro';import {useLingui} from '@lingui/react/macro';+import {observer} from 'mobx-react-lite';import {useState} from 'react';const LABS_BANNED_DESCRIPTOR = msg({@@ -27,9 +29,15 @@ interface OpenOperatorsButtonProps {'data-flx': string;}-export function OpenOperatorsButton({variant, label, onOpened, 'data-flx': flx}: OpenOperatorsButtonProps) {+export const OpenOperatorsButton = observer(function OpenOperatorsButton({+ variant,+ label,+ onOpened,+ 'data-flx': flx,+}: OpenOperatorsButtonProps) {const {i18n} = useLingui();const [opening, setOpening] = useState(false);+ if (!showsOperatorsChannel()) return null;const open = async () => {setOpening(true);try {@@ -52,4 +60,4 @@ export function OpenOperatorsButton({variant, label, onOpened, 'data-flx': flx}:{label ?? i18n._(OPEN_OPERATORS_DESCRIPTOR)}</Button>);-}+});diff --git a/fluxer_app/src/features/premium/components/operator_pass/OperatorPassLabsGreetingField.tsx b/fluxer_app/src/features/premium/components/operator_pass/OperatorPassLabsGreetingField.tsxindex f7f259c96..8d6b76078 100644--- a/fluxer_app/src/features/premium/components/operator_pass/OperatorPassLabsGreetingField.tsx+++ b/fluxer_app/src/features/premium/components/operator_pass/OperatorPassLabsGreetingField.tsx@@ -29,9 +29,13 @@ export function getStoredOperatorPassLabsGreeting(): boolean {return OperatorPassHoldings.passes?.labs?.greeting ?? true;}+export function showsOperatorsChannel(): boolean {+ return OperatorPassHoldings.passes?.labs.show_operators !== false;+}+export function asksOperatorPassLabsGreeting(): boolean {const labs = OperatorPassHoldings.passes?.labs;- return !labs?.greeted && !labs?.left;+ return !labs?.greeted && !labs?.left && showsOperatorsChannel();}export const OperatorPassLabsGreetingField = observer(function OperatorPassLabsGreetingField({diff --git a/fluxer_app/src/features/threads/components/ThreadMembersPanel.tsx b/fluxer_app/src/features/threads/components/ThreadMembersPanel.tsxindex dd90092cb..ea9f63176 100644--- a/fluxer_app/src/features/threads/components/ThreadMembersPanel.tsx+++ b/fluxer_app/src/features/threads/components/ThreadMembersPanel.tsx@@ -1,6 +1,7 @@// SPDX-License-Identifier: AGPL-3.0-or-laterimport {OutlineFrame} from '@app/features/app/components/layout/OutlineFrame';+import RuntimeConfig from '@app/features/app/state/RuntimeConfig';import Authentication from '@app/features/auth/state/Authentication';import styles from '@app/features/channel/components/ChannelMembers.module.css';import {MemberListContainer} from '@app/features/channel/components/MemberListContainer';@@ -20,6 +21,7 @@ import type {User} from '@app/features/user/models/User';import type {CustomStatus} from '@app/features/user/state/CustomStatus';import Users from '@app/features/user/state/Users';import * as NicknameUtils from '@app/features/user/utils/NicknameUtils';+import {filterDisplayRoles} from '@fluxer/constants/src/RoleDisplayUtils';import {isOfflineStatus, type StatusType} from '@fluxer/constants/src/StatusConstants';import {useLingui} from '@lingui/react/macro';import {observer} from 'mobx-react-lite';@@ -107,7 +109,7 @@ function resolveMembers(guildId: string | undefined, roster: ReadonlyArray<Threafunction getHoistedRoles(guild: Guild | undefined): Array<GuildRole> {if (!guild) return [];- return Object.values(guild.roles)+ return filterDisplayRoles(Object.values(guild.roles), RuntimeConfig.hiddenRoleIds).filter((role) => role.hoist && role.id !== guild.id).sort((a, b) => b.effectiveHoistPosition - a.effectiveHoistPosition || (BigInt(a.id) < BigInt(b.id) ? -1 : 1));}diff --git a/fluxer_app/src/features/ui/action_menu/items/GuildMemberMenuItems.tsx b/fluxer_app/src/features/ui/action_menu/items/GuildMemberMenuItems.tsxindex 874ba49d5..eb7681c06 100644--- a/fluxer_app/src/features/ui/action_menu/items/GuildMemberMenuItems.tsx+++ b/fluxer_app/src/features/ui/action_menu/items/GuildMemberMenuItems.tsx@@ -1,5 +1,6 @@// SPDX-License-Identifier: AGPL-3.0-or-later+import RuntimeConfig from '@app/features/app/state/RuntimeConfig';import Authentication from '@app/features/auth/state/Authentication';import Guilds from '@app/features/guild/state/Guilds';import {CHANGE_NICKNAME_DESCRIPTOR, ROLES_DESCRIPTOR} from '@app/features/i18n/utils/CommonMessageDescriptors';@@ -14,13 +15,13 @@ import {ChangeNicknameIcon} from '@app/features/ui/action_menu/ContextMenuIcons'import itemStyles from '@app/features/ui/action_menu/items/MenuItems.module.css';import {MenuGroup} from '@app/features/ui/action_menu/MenuGroup';import {MenuItem} from '@app/features/ui/action_menu/MenuItem';-import {openRoleContextMenu} from '@app/features/ui/action_menu/RoleContextMenu';import * as ModalCommands from '@app/features/ui/commands/ModalCommands';import {modal} from '@app/features/ui/commands/ModalCommands';import {ChangeNicknameModal} from '@app/features/user/components/modals/ChangeNicknameModal';import type {User} from '@app/features/user/models/User';import {Permissions} from '@fluxer/constants/src/ChannelConstants';+import {isRoleHiddenFromDisplay} from '@fluxer/constants/src/RoleDisplayUtils';import {useLingui} from '@lingui/react/macro';import {observer} from 'mobx-react-lite';import type React from 'react';@@ -54,7 +55,9 @@ export const ManageRolesMenuItem: React.FC<ManageRolesMenuItemProps> = observer(if (canManageRoles) return allRoles;const memberRoles = currentMember?.roles;if (!memberRoles) return [];- return allRoles.filter(({role}) => memberRoles.has(role.id));+ return allRoles.filter(+ ({role}) => memberRoles.has(role.id) && !isRoleHiddenFromDisplay(role.id, RuntimeConfig.hiddenRoleIds),+ );}, [allRoles, canManageRoles, currentMember]);const handleToggleRole = useCallback(async (roleId: string, hasRole: boolean, canToggle: boolean) => {diff --git a/fluxer_app/src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx b/fluxer_app/src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsxindex a6107ff63..4c3d005f7 100644--- a/fluxer_app/src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx+++ b/fluxer_app/src/features/user/components/modals/tabs/operator_pass_tab/OperatorPassLabsGreetingSetting.tsx@@ -43,15 +43,27 @@ const JOIN_LABS_DESCRIPTOR = msg({'Button in the Fluxer Labs section of the Operator Pass settings when the account is not a member of the community. It adds the account to the community and opens #operators. {labsName} is the name of the community, such as Fluxer Labs.',});+const SHOW_OPERATORS_LABEL_DESCRIPTOR = msg({+ message: 'Show #operators',+ comment:+ 'Switch label in the Fluxer Labs section of the Operator Pass settings. On by default. #operators is a channel in the Fluxer Labs community, keep it as is.',+});+const SHOW_OPERATORS_HINT_DESCRIPTOR = msg({+ message:+ "Turning this off removes the roles that open #operators in {labsName}, and we won't add them back until you turn it on again.",+ comment:+ 'Description under the switch "Show #operators" in the Operator Pass settings. #operators is a channel name, keep it as is. {labsName} is the name of the community, such as Fluxer Labs. Turning it off does not remove the account from the community, the pass or the badge.',+});+export const OperatorPassLabsGreetingSetting = observer(function OperatorPassLabsGreetingSetting() {const {i18n} = useLingui();const [saving, setSaving] = useState(false);const labs = OperatorPassHoldings.passes?.labs;if (!labs || !showsOperatorPassLabsSettings(Users.currentUser, OperatorPassHoldings.passes)) return null;- const handleChange = async (greeting: boolean) => {+ const save = async (update: () => Promise<unknown>) => {setSaving(true);try {- await OperatorPassCommands.updateLabsGreeting(greeting);+ await update();} catch {ToastCommands.error(i18n._(WALL_SAVE_FAILED_DESCRIPTOR));} finally {@@ -67,23 +79,33 @@ export const OperatorPassLabsGreetingSetting = observer(function OperatorPassLab})}data-flx="user.operator-pass-tab.operator-pass-labs-greeting-setting.section">+ <Switch+ label={i18n._(SHOW_OPERATORS_LABEL_DESCRIPTOR)}+ description={i18n._(SHOW_OPERATORS_HINT_DESCRIPTOR, {labsName: PRODUCT_LABS_COMMUNITY_NAME})}+ value={labs.show_operators}+ onChange={(value) => void save(() => OperatorPassCommands.updateLabsOperators(value))}+ disabled={saving}+ data-flx="user.operator-pass-tab.operator-pass-labs-greeting-setting.switch.show-operators"+ />{asksOperatorPassLabsGreeting() && (<Switchlabel={i18n._(LABS_GREETING_LABEL_DESCRIPTOR)}description={i18n._(LABS_GREETING_SETTING_HINT_DESCRIPTOR)}value={labs.greeting}- onChange={(value) => void handleChange(value)}+ onChange={(value) => void save(() => OperatorPassCommands.updateLabsGreeting(value))}disabled={saving}data-flx="user.operator-pass-tab.operator-pass-labs-greeting-setting.switch.greeting"/>)}- <div className={styles.actions} data-flx="user.operator-pass-tab.operator-pass-labs-greeting-setting.actions">- <OpenOperatorsButton- variant="secondary"- label={labs.member ? undefined : i18n._(JOIN_LABS_DESCRIPTOR, {labsName: PRODUCT_LABS_COMMUNITY_NAME})}- data-flx="user.operator-pass-tab.operator-pass-labs-greeting-setting.button.open-operators"- />- </div>+ {labs.show_operators && (+ <div className={styles.actions} data-flx="user.operator-pass-tab.operator-pass-labs-greeting-setting.actions">+ <OpenOperatorsButton+ variant="secondary"+ label={labs.member ? undefined : i18n._(JOIN_LABS_DESCRIPTOR, {labsName: PRODUCT_LABS_COMMUNITY_NAME})}+ data-flx="user.operator-pass-tab.operator-pass-labs-greeting-setting.button.open-operators"+ />+ </div>+ )}</SettingsSection>);});diff --git a/fluxer_app/src/features/user/components/popouts/UserProfilePopout.tsx b/fluxer_app/src/features/user/components/popouts/UserProfilePopout.tsxindex e570d9ddb..6bdd33c94 100644--- a/fluxer_app/src/features/user/components/popouts/UserProfilePopout.tsx+++ b/fluxer_app/src/features/user/components/popouts/UserProfilePopout.tsx@@ -108,7 +108,7 @@ export const UserProfilePopout: React.FC<UserProfilePopoutProps> = observer(const memberRoles =profileMembership.kind === 'guildMember' && profileMembership.member === guildMember? profileMembership.roles- : (guildMember?.getSortedRoles() ?? []);+ : (guildMember?.getDisplayRoles() ?? []);const canManageRoles = Permission.can(Permissions.MANAGE_ROLES, {guildId});const isCurrentUser = user.id === Authentication.currentUserId;const relationshipType = Relationships.getRelationship(user.id)?.type;diff --git a/fluxer_app/src/features/user/utils/ProfileGuildMembership.ts b/fluxer_app/src/features/user/utils/ProfileGuildMembership.tsindex 033a79624..7eccb940a 100644--- a/fluxer_app/src/features/user/utils/ProfileGuildMembership.ts+++ b/fluxer_app/src/features/user/utils/ProfileGuildMembership.ts@@ -78,7 +78,7 @@ export function resolveProfileGuildMembership(guildId,guild,member,- roles: member.getSortedRoles(),+ roles: member.getDisplayRoles(),};}diff --git a/fluxer_rexctl/internal/instance/shipped.json b/fluxer_rexctl/internal/instance/shipped.jsonindex c110a5057..85d456cef 100644--- a/fluxer_rexctl/internal/instance/shipped.json+++ b/fluxer_rexctl/internal/instance/shipped.json@@ -30,6 +30,7 @@"4a832e261a626a9cb2c5dda4e0a1eb4b95df69b31a7428ce211c4f3b30d35eee","4b4b5f46043acec642d13d9127458d1530471bbf17a599e78c907dd1ffbcda38","4c2e09384626a1cd1db2bedfb8407a511dd791209b2d3126f9c9eb74e2712c4f",+ "4d456714c9bf624806e3527c082c3505da26ac62c48635a8135916f4da4b3f04","4d728275b94de079eedc55f908959802d481d760105d091ce3e11e86fd710298","4d9e1f3f1a8edca1792943e15ebac5ae4f811536e86c0ff2e496bd1c4a1a1ea8","4e21e02f2387bad78036fae1584b4e2df50026a7dcb9930a8649c4315e867997",diff --git a/packages/constants/src/RoleDisplayUtils.test.ts b/packages/constants/src/RoleDisplayUtils.test.tsnew file mode 100644index 000000000..1a341ac35--- /dev/null+++ b/packages/constants/src/RoleDisplayUtils.test.ts@@ -0,0 +1,23 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {filterDisplayRoles} from '@fluxer/constants/src/RoleDisplayUtils';+import {expect, test} from 'vitest';++test('a hidden role is left out of what people see, and the member keeps it for permission checks', () => {+ const roles = [+ {id: '10', permissions: 1n << 3n},+ {id: '20', permissions: 1n << 10n},+ ];+ const memberRoleIds = new Set(['10', '20']);+ const shown = filterDisplayRoles(+ roles.filter((role) => memberRoleIds.has(role.id)),+ ['20'],+ );+ expect(shown.map((role) => role.id)).toEqual(['10']);+ expect([...memberRoleIds]).toEqual(['10', '20']);+ const permissions = roles+ .filter((role) => memberRoleIds.has(role.id))+ .reduce((granted, role) => granted | role.permissions, 0n);+ expect(permissions & (1n << 10n)).toBe(1n << 10n);+ expect(filterDisplayRoles(roles, [])).toEqual(roles);+});diff --git a/packages/constants/src/RoleDisplayUtils.ts b/packages/constants/src/RoleDisplayUtils.tsnew file mode 100644index 000000000..ad1136ec2--- /dev/null+++ b/packages/constants/src/RoleDisplayUtils.ts@@ -0,0 +1,12 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++export function isRoleHiddenFromDisplay(roleId: string, hiddenRoleIds: ReadonlyArray<string>): boolean {+ return hiddenRoleIds.includes(roleId);+}++export function filterDisplayRoles<T extends {readonly id: string}>(+ roles: ReadonlyArray<T>,+ hiddenRoleIds: ReadonlyArray<string>,+): Array<T> {+ return roles.filter((role) => !isRoleHiddenFromDisplay(role.id, hiddenRoleIds));+}diff --git a/packages/constants/src/UserConstants.ts b/packages/constants/src/UserConstants.tsindex c075a6a21..1e1c53689 100644--- a/packages/constants/src/UserConstants.ts+++ b/packages/constants/src/UserConstants.ts@@ -108,6 +108,7 @@ export const PremiumFlags = {PERKS_DISABLED: 1 << 8,OPERATOR_PASS_BADGE_TIMESTAMP_HIDDEN: 1 << 11,OPERATOR_PASS_BADGE_COUNT_HIDDEN: 1 << 12,+ OPERATORS_CHANNEL_HIDDEN: 1 << 13,} as const;export const PremiumFlagsDescriptions: Record<keyof typeof PremiumFlags, string> = {DISCRIMINATOR: 'User has a premium discriminator',@@ -119,6 +120,7 @@ export const PremiumFlagsDescriptions: Record<keyof typeof PremiumFlags, string>PERKS_DISABLED: 'User has temporarily disabled premium perks',OPERATOR_PASS_BADGE_TIMESTAMP_HIDDEN: 'User has hidden when they first got the Operator Pass',OPERATOR_PASS_BADGE_COUNT_HIDDEN: 'User has hidden how many Operator Passes they hold',+ OPERATORS_CHANNEL_HIDDEN: 'User turned off the Fluxer Labs roles that open #operators',};const LEGACY_PREMIUM_BADGE_HIDDEN = 1 << 1;const LEGACY_PREMIUM_BADGE_SEQUENCE_HIDDEN = 1 << 4;diff --git a/packages/instance_bootstrap/src/ClientRuntimeDiscovery.ts b/packages/instance_bootstrap/src/ClientRuntimeDiscovery.tsindex a2bbd52eb..5c3275d9f 100644--- a/packages/instance_bootstrap/src/ClientRuntimeDiscovery.ts+++ b/packages/instance_bootstrap/src/ClientRuntimeDiscovery.ts@@ -70,6 +70,7 @@ export interface ClientRuntimeDiscovery {readonly customBadgesVersion: string | null;readonly builtInGuildBadgeImages: InstanceBuiltInGuildBadgeImages;readonly hiddenBuiltInGuildBadges: InstanceHiddenBuiltInGuildBadges;+ readonly hiddenRoleIds: ReadonlyArray<string>;}export function projectClientRuntimeDiscovery(document: InstanceDiscoveryDocument): ClientRuntimeDiscovery {@@ -94,6 +95,7 @@ export function projectClientRuntimeDiscovery(document: InstanceDiscoveryDocumencustomBadgesVersion: document.customBadgesVersion ?? null,builtInGuildBadgeImages: document.builtInGuildBadgeImages ?? NO_BUILT_IN_GUILD_BADGE_IMAGES,hiddenBuiltInGuildBadges: document.hiddenBuiltInGuildBadges ?? [],+ hiddenRoleIds: document.hiddenRoleIds ?? [],};}diff --git a/packages/instance_bootstrap/src/Discovery.ts b/packages/instance_bootstrap/src/Discovery.tsindex ff725d108..0020f145a 100644--- a/packages/instance_bootstrap/src/Discovery.ts+++ b/packages/instance_bootstrap/src/Discovery.ts@@ -153,6 +153,7 @@ export interface InstanceDiscoveryDocument {readonly customBadgesVersion?: string | null;readonly builtInGuildBadgeImages?: InstanceBuiltInGuildBadgeImages;readonly hiddenBuiltInGuildBadges?: InstanceHiddenBuiltInGuildBadges;+ readonly hiddenRoleIds?: ReadonlyArray<string>;}interface InstanceDiscoveryAttempt {@@ -320,6 +321,7 @@ export function parseInstanceDiscoveryDocument(payload: unknown): InstanceDiscovcustomBadgesVersion: readNonEmptyString(source, 'custom_badges_version'),builtInGuildBadgeImages: parseBuiltInGuildBadgeImages(source.built_in_guild_badge_images),hiddenBuiltInGuildBadges: parseHiddenBuiltInGuildBadges(source.hidden_built_in_guild_badges),+ hiddenRoleIds: parseHiddenRoleIds(source.hidden_role_ids),};}@@ -726,6 +728,13 @@ function parseHiddenBuiltInGuildBadges(value: unknown): InstanceHiddenBuiltInGuireturn BUILT_IN_GUILD_BADGE_KINDS.filter((kind) => value.includes(kind));}+function parseHiddenRoleIds(value: unknown): Array<string> {+ if (!Array.isArray(value)) {+ return [];+ }+ return value.filter((id): id is string => typeof id === 'string' && /^\d{1,20}$/.test(id));+}+function parseGuildBadges(value: unknown): Array<InstanceGuildBadge> {if (!Array.isArray(value)) {return [];diff --git a/packages/schema/src/domains/instance/InstanceSchemas.ts b/packages/schema/src/domains/instance/InstanceSchemas.tsindex c5a1845d0..5cde59627 100644--- a/packages/schema/src/domains/instance/InstanceSchemas.ts+++ b/packages/schema/src/domains/instance/InstanceSchemas.ts@@ -516,6 +516,13 @@ export const WellKnownFluxerResponse = z.object({'Images this instance shows in place of the built-in verified, partnered and discoverable community badges',),hidden_built_in_guild_badges: InstanceHiddenBuiltInGuildBadgesSchema.optional(),+ hidden_role_ids: z+ .array(SnowflakeStringType)+ .max(16)+ .optional()+ .describe(+ "IDs of roles that clients leave out wherever a member's roles are shown to other people. The roles still count for permissions and stay in role settings",+ ),voice_origins: z.array(z.string()).max(1000)diff --git a/packages/schema/src/domains/operator_pass/OperatorPassSchemas.ts b/packages/schema/src/domains/operator_pass/OperatorPassSchemas.tsindex 68e51659f..201a84169 100644--- a/packages/schema/src/domains/operator_pass/OperatorPassSchemas.ts+++ b/packages/schema/src/domains/operator_pass/OperatorPassSchemas.ts@@ -668,6 +668,11 @@ export const OperatorPassLabsResponse = z.object({.describe('Whether the system user welcomes the account by name in #operators in Fluxer Labs when a pass is delivered. On unless the account turned it off',),+ show_operators: z+ .boolean()+ .describe(+ 'Whether the account gets the Fluxer Labs roles that open #operators. On unless the account turned it off. When off, no role update adds them back',+ ),greeted: z.boolean().describe('Whether the account was already welcomed in #operators. Nobody is welcomed twice'),left: z.boolean()@@ -705,6 +710,12 @@ export const OperatorPassLabsGreetingRequest = z.object({export type OperatorPassLabsGreetingRequest = z.infer<typeof OperatorPassLabsGreetingRequest>;+export const OperatorPassLabsOperatorsRequest = z.object({+ show_operators: z.boolean().describe('Whether the account gets the Fluxer Labs roles that open #operators'),+});++export type OperatorPassLabsOperatorsRequest = z.infer<typeof OperatorPassLabsOperatorsRequest>;+export const OperatorPassPassesResponse = z.object({count: z.number().int().describe('How many passes the account holds now'),recognition_count: z