A glossy Matrix collaboration client for the web.
This report summarizes scanner evidence for element-hq/element-web, a TypeScript project with 13,634 GitHub stars. SynthScan examined 724,386 lines of code across 3741 source files, recording 519 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 0.9 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 380 finding(s).
Are imports declared and package/API names verified? 125 finding(s).
Are wrappers, guards, and repeated structures necessary? 303 finding(s).
Which changes need focused human review? 519 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 519 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | oxlint.config.ts | 10 | function buildRestrictedPropertiesOptions( | CODE |
| LOW | scripts/find-unused-settings.ts | 169 | function isReferencedByOtherController(setting: DeclaredSetting, allSettings: DeclaredSetting[]): boolean { | CODE |
| LOW | packages/shared-utils/src/html/sanitizeHtmlParams.ts | 95 | function hasUnsafeControlCharacter(input: string): boolean { | CODE |
| LOW | …es/playwright-common/src/utils/release_accouncement.ts | 25 | export async function closeReleaseAnnouncementIfExists(page: Page, name: string): Promise<boolean> { | CODE |
| LOW | packages/playwright-common/src/expect/screenshot.ts | 30 | function sanitizeFilePathBeforeExtension(filePath: string): string { | CODE |
| LOW | packages/shared-components/.storybook/main.ts | 41 | function layerSharedComponentCssModules(): Plugin { | CODE |
| LOW | …yCryptoUnsupportedView/LegacyCryptoUnsupportedView.tsx | 54 | export function LegacyCryptoUnsupportedView({ vm }: Readonly<LegacyCryptoUnsupportedViewProps>): JSX.Element { | CODE |
| LOW | …essageComposerUrlPreview/MessageComposerUrlPreview.tsx | 238 | export function MessageComposerUrlPreviewView({ | CODE |
| LOW | …meline/event-tile/EventTileView/EventTileView.test.tsx | 89 | function createStylingContractSlots(): EventTileViewProps["slots"] { | CODE |
| LOW | …ine/event-tile/EventTileView/EventTileView.stories.tsx | 1076 | function EventTileViewStoryContent({ | CODE |
| LOW | …erificationRequestView/MKeyVerificationRequestView.tsx | 51 | export function MKeyVerificationRequestView({ | CODE |
| LOW | …ionsRowButtonTooltip/ReactionsRowButtonTooltipView.tsx | 48 | export function ReactionsRowButtonTooltipView({ | CODE |
| LOW | …ecryptionFailureBodyView/DecryptionFailureBodyView.tsx | 176 | export function DecryptionFailureBodyView({ | CODE |
| LOW | …ent-tile/call/ongoing/room/RoomOngoingCallTileView.tsx | 83 | function CallJoinedOrIgnoredContent({ snapshot }: { snapshot: RoomOngoingCallTileViewSnapshot }): React.ReactNode { | CODE |
| LOW | …tile/call/tombstone/room/RoomTombstoneCallTileView.tsx | 38 | export function RoomTombstoneCallTileView({ vm, className }: CallStartedTileViewProps): React.ReactNode { | CODE |
| LOW | …timeline/EventPresentation/EventPresentationContext.ts | 42 | export function useEventPresentationAttributes(): { | CODE |
| LOW | packages/shared-components/src/core/utils/linkify.ts | 62 | function parseOpaqueIdsToMatrixIds({ | CODE |
| LOW | packages/shared-components/src/core/utils/linkify.ts | 158 | export function generateLinkedTextOptions({ | CODE |
| LOW⚡ | …ed-components/src/core/VirtualizedList/accessbility.ts | 30 | export function getContainerAccessibleProps(pattern: "listbox"): ListboxContainerProps; | CODE |
| LOW⚡ | …ed-components/src/core/VirtualizedList/accessbility.ts | 38 | export function getContainerAccessibleProps(pattern: "treegrid", size: number): TreegridContainerProps; | CODE |
| LOW⚡ | …ed-components/src/core/VirtualizedList/accessbility.ts | 39 | export function getContainerAccessibleProps( | CODE |
| LOW | …ed-components/src/core/VirtualizedList/accessbility.ts | 146 | export function getGroupHeaderAccessibleProps( | CODE |
| LOW | …nts/src/core/VirtualizedList/virtualized-list.test.tsx | 61 | function renderClickableItemElement( | CODE |
| LOW | …components/src/core/hooks/useListKeyboardNavigation.ts | 21 | export function useListKeyboardNavigation(): { | CODE |
| LOW | …ckages/shared-components/src/room-list/story-mocks.tsx | 118 | export function createMockRoomItemViewModel( | CODE |
| LOW | …st/VirtualizedRoomListView/VirtualizedRoomListView.tsx | 121 | export function getScrollTargetEntryIndex(sections: { roomIds: string[] }[], roomIndex: number): number { | CODE |
| LOW | …VirtualizedRoomListView/RoomListAccessibilityPlugin.ts | 198 | export function useRoomListAccessibilityPlugin( | CODE |
| LOW | …oomListSectionHeaderView/RoomListSectionHeaderView.tsx | 111 | export const RoomListSectionHeaderView = memo(function RoomListSectionHeaderView({ | CODE |
| LOW | …tSectionHeaderView/RoomListStickySectionHeaderView.tsx | 37 | export const RoomListStickySectionHeaderView = memo(function RoomListStickySectionHeaderView({ | CODE |
| LOW | …ListSectionHeaderView/RoomListSectionHeaderContent.tsx | 35 | export const RoomListSectionHeaderContent = memo(function RoomListSectionHeaderContent({ | CODE |
| LOW | …istItemDragOverlayView/RoomListItemDragOverlayView.tsx | 33 | export const RoomListItemDragOverlayView = memo(function RoomListItemDragOverlayView({ | CODE |
| LOW | …apper/RoomListItemView/RoomListItemMoreOptionsMenu.tsx | 46 | export function RoomListItemMoreOptionsMenu({ vm }: RoomListItemMoreOptionsMenuProps): JSX.Element { | CODE |
| LOW | …pper/RoomListItemView/RoomListItemNotificationMenu.tsx | 38 | export function RoomListItemNotificationMenu({ vm }: RoomListItemNotificationMenuProps): JSX.Element { | CODE |
| LOW | …agOverlayView/RoomListSectionHeaderDragOverlayView.tsx | 30 | export const RoomListSectionHeaderDragOverlayView = memo(function RoomListSectionHeaderDragOverlayView({ | CODE |
| LOW | …lint-plugin-element-web/src/NoLeakedEmitterListener.ts | 34 | function isParameterOfEnclosingFunction(call: CallExpression, handler: Node): boolean { | CODE |
| LOW | packages/eslint-plugin-element-web/src/ast.ts | 281 | export function getSubscriptionTeardownScopes(context: Context, call: CallExpression): Node[] | null { | CODE |
| LOW | …dget-lifecycle/src/utils/constructWidgetPermissions.ts | 16 | export function constructWidgetPermissions( | CODE |
| LOW | modules/widget-toggles/e2e/widget-toggles.spec.ts | 26 | async function makeRoomWithWidgetAndGoTo( | CODE |
| LOW | modules/widget-toggles/e2e/widget-toggles.spec.ts | 26 | async function makeRoomWithWidgetAndGoTo( | CODE |
| LOW | …playwright/e2e/settings/notifications/mention-rules.ts | 110 | export function mentionNotificationSettingsTests(legacyRulesServed: boolean): void { | CODE |
| LOW | …playwright/e2e/settings/notifications/mention-rules.ts | 215 | export function mentionNotificationSettingsTransitionTests(): void { | CODE |
| LOW | …right/e2e/settings/notifications/labs-mention-rules.ts | 75 | export async function openLabsNotificationSettings(app: ElementAppPage): Promise<Locator> { | CODE |
| LOW | …/web/playwright/e2e/crypto/device-verification.spec.ts | 40 | async function initiateAliceVerificationRequest(page: Page): Promise<JSHandle<VerificationRequest>> { | CODE |
| LOW | …/web/playwright/e2e/crypto/device-verification.spec.ts | 306 | async function enterRecoveryKeyAndCheckVerified( | CODE |
| LOW | apps/web/playwright/e2e/crypto/utils.ts | 74 | export async function waitForVerificationRequest(client: Client): Promise<JSHandle<VerificationRequest>> { | CODE |
| LOW | apps/web/playwright/e2e/crypto/utils.ts | 152 | export async function checkDeviceIsConnectedKeyBackup( | CODE |
| LOW | apps/web/playwright/e2e/crypto/utils.ts | 377 | export async function completeCreateSecretStorageDialog( | CODE |
| LOW | apps/web/playwright/e2e/crypto/utils.ts | 451 | export async function createSharedEncryptedRoomWithUser( | CODE |
| LOW | apps/web/playwright/e2e/crypto/dehydration.spec.ts | 183 | async function expectDehydratedDeviceEnabled(app: ElementAppPage): Promise<void> { | CODE |
| LOW | apps/web/playwright/e2e/crypto/dehydration.spec.ts | 196 | async function expectDehydratedDeviceDisabled(app: ElementAppPage): Promise<void> { | CODE |
| LOW | apps/web/playwright/e2e/room/create-room.spec.ts | 232 | async function viewSourceOnRoomNameEvent(page: Page) { | CODE |
| LOW | …s/web/playwright/e2e/lazy-loading/lazy-loading.spec.ts | 50 | async function setupRoomWithBobAliceAndCharlies( | CODE |
| LOW | …s/web/playwright/e2e/lazy-loading/lazy-loading.spec.ts | 80 | async function checkPaginatedDisplayNames(app: ElementAppPage, charlies: Bot[]) { | CODE |
| LOW | …s/web/playwright/e2e/lazy-loading/lazy-loading.spec.ts | 110 | async function checkMemberListLacksCharlies(page: Page, charlies: Bot[]) { | CODE |
| LOW | …s/web/playwright/e2e/lazy-loading/lazy-loading.spec.ts | 116 | async function joinCharliesWhileAliceIsOffline( | CODE |
| LOW | …ps/web/playwright/e2e/integration-manager/kick.spec.ts | 62 | async function sendActionFromIntegrationManager( | CODE |
| LOW | …/playwright/e2e/integration-manager/send_event.spec.ts | 62 | async function sendActionFromIntegrationManager( | CODE |
| LOW | …playwright/e2e/integration-manager/read_events.spec.ts | 58 | async function sendActionFromIntegrationManager( | CODE |
| LOW | …right/e2e/integration-manager/get-openid-token.spec.ts | 52 | async function sendActionFromIntegrationManager(page: Page, integrationManagerUrl: string) { | CODE |
| LOW | …anel/room-list-panel/room-list-custom-sections.spec.ts | 93 | async function openRoomSelectionOfSection(page: Page, sectionName: string): Promise<Locator> { | CODE |
| 229 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …components/src/room/composer/Banner/Banner.stories.tsx | 77 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed quis massa facilisis, venenatis risus | CODE |
| LOW | …components/src/room/composer/Banner/Banner.stories.tsx | 77 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed quis massa facilisis, venenatis risus | CODE |
| LOW | …eline/event-tile/body/MImageBodyView/ImageBodyView.tsx | 176 | }: Pick<ImageBodyViewSnapshot, "placeholder" | "blurhash" | "maxWidth" | "maxHeight"> & { | CODE |
| LOW | …vent-tile/body/TextualBodyView/TextualBody.stories.tsx | 143 | {"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor\n"} | CODE |
| LOW | …vent-tile/body/TextualBodyView/TextualBody.stories.tsx | 143 | {"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor\n"} | CODE |
| LOW | …t-tile/body/MImageReplyBodyView/ImageReplyBodyView.tsx | 99 | }: Pick<ImageReplyBodyViewProps, "placeholder" | "blurhash" | "maxWidth" | "maxHeight"> & { | CODE |
| LOW | …ts/src/core/pill-input/PillInput/PillInput.stories.tsx | 28 | "placeholder": "Type something...", | CODE |
| LOW | apps/web/playwright/e2e/room/room-header.spec.ts | 67 | "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labor | CODE |
| LOW | apps/web/playwright/e2e/room/room-header.spec.ts | 67 | "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labor | CODE |
| LOW | apps/web/playwright/e2e/threads/threads.spec.ts | 38 | "Hello there. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt " + | CODE |
| LOW | apps/web/playwright/e2e/threads/threads.spec.ts | 38 | "Hello there. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt " + | CODE |
| LOW | apps/web/playwright/e2e/right-panel/right-panel.spec.ts | 18 | "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore " + | CODE |
| LOW | apps/web/playwright/e2e/right-panel/right-panel.spec.ts | 18 | "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore " + | CODE |
| LOW | apps/web/playwright/e2e/timeline/timeline.spec.ts | 1147 | "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut " + | CODE |
| LOW | apps/web/playwright/e2e/timeline/timeline.spec.ts | 1147 | "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut " + | CODE |
| LOW | …/src/viewmodels/message-body/FileBodyViewModel.test.ts | 144 | const blob = new Blob(["placeholder"], { type: "text/plain" }); | CODE |
| LOW | apps/web/src/usercontent/pdf/linkService.test.ts | 25 | it.each(["https://example.org/doc", "http://example.org", "mailto:someone@example.org"])("permits %s", (url) => { | CODE |
| LOW | apps/web/src/utils/UrlUtils.test.ts | 107 | expect(linkPreviewable("mailto:someone@example.org")).toBe(false); | CODE |
| LOW | apps/web/src/utils/MultiInviter.test.ts | 259 | await inviter.invite(["foo@bar.com"]); | CODE |
| LOW | apps/web/src/utils/MultiInviter.test.ts | 260 | expect(inviter.getErrorText("foo@bar.com")).toMatchInlineSnapshot( | CODE |
| LOW | apps/web/src/utils/DMRoomMap.test.ts | 33 | "user@example.com": [roomId1, roomId2], | CODE |
| LOW | …room/shouldEncryptRoomWithSingle3rdPartyInvite.test.ts | 37 | "user@example.com", | CODE |
| LOW | apps/web/src/utils/exportUtils/HtmlExport.test.ts | 478 | const attachmentBody = "Lorem ipsum dolor sit amet"; | CODE |
| LOW | apps/web/src/utils/exportUtils/HtmlExport.test.ts | 478 | const attachmentBody = "Lorem ipsum dolor sit amet"; | CODE |
| LOW | apps/web/src/utils/exportUtils/HtmlExport.test.ts | 508 | mockMxc("mxc://example.org/test-id", "Lorem ipsum dolor sit amet"); | CODE |
| LOW | apps/web/src/utils/exportUtils/HtmlExport.test.ts | 508 | mockMxc("mxc://example.org/test-id", "Lorem ipsum dolor sit amet"); | CODE |
| LOW | apps/web/src/utils/exportUtils/HtmlExport.test.ts | 560 | const attachmentBody = "Lorem ipsum dolor sit amet"; | CODE |
| LOW | apps/web/src/utils/exportUtils/HtmlExport.test.ts | 560 | const attachmentBody = "Lorem ipsum dolor sit amet"; | CODE |
| LOW | apps/web/src/utils/exportUtils/HtmlExport.test.ts | 593 | const attachmentBody = "Lorem ipsum dolor sit amet"; | CODE |
| LOW | apps/web/src/utils/exportUtils/HtmlExport.test.ts | 593 | const attachmentBody = "Lorem ipsum dolor sit amet"; | CODE |
| LOW | apps/web/src/components/structures/RoomView.test.tsx | 584 | mkRoomMemberJoinEvent("user@example.com", room.roomId), | CODE |
| LOW | apps/web/src/components/structures/RoomView.test.tsx | 595 | new Map([["user@example.com", new Map<string, any>()]]), | CODE |
| LOW | apps/web/src/components/structures/RoomView.test.tsx | 828 | mkThirdPartyInviteEvent(cli.getSafeUserId(), "user@example.com", room.roomId), | CODE |
| LOW | …ps/web/src/components/structures/LoggedInView.test.tsx | 516 | admin_contact: "admin@example.org", | CODE |
| LOW | …src/components/structures/auth/ForgotPassword.test.tsx | 37 | const testEmail = "user@example.com"; | CODE |
| LOW⚡ | apps/web/src/components/views/elements/Field.test.tsx | 24 | expect(screen.getByRole("textbox")).toHaveAttribute("placeholder", "my placeholder"); | CODE |
| LOW⚡ | apps/web/src/components/views/elements/Field.test.tsx | 30 | expect(screen.getByRole("textbox")).toHaveAttribute("placeholder", ""); | CODE |
| LOW⚡ | apps/web/src/components/views/elements/Field.test.tsx | 38 | expect(screen.getByRole("textbox")).toHaveAttribute("placeholder", "my label"); | CODE |
| LOW⚡ | apps/web/src/components/views/elements/Field.test.tsx | 46 | expect(screen.getByRole("textbox")).not.toHaveAttribute("placeholder", "my placeholder"); | CODE |
| LOW | apps/web/src/components/views/dialogs/InviteDialog.tsx | 922 | "placeholder": _t("action|search"), | CODE |
| LOW | …nents/views/dialogs/spotlight/SpotlightDialog.test.tsx | 135 | display_name: "Jane Doe", | CODE |
| LOW | …s/web/src/components/views/rooms/NewRoomIntro.test.tsx | 83 | mkThirdPartyInviteEvent(client.getSafeUserId(), "user@example.com", room.roomId), | CODE |
| LOW | …web/src/components/views/rooms/RoomPreviewBar.test.tsx | 344 | const invitedEmail = "test@test.com"; | CODE |
| LOW | …mponents/views/rooms/MemberList/MemberListView.test.ts | 286 | mkThirdPartyInviteEvent("@alice:localhost", "user@example.com", "!room:localhost"), | CODE |
| LOW | …mponents/views/rooms/MemberList/MemberListView.test.ts | 287 | mkThirdPartyInviteEvent("@alice:localhost", "user@example.com", "!room:localhost"), | CODE |
| LOW | apps/web/src/i18n/strings/hy.json | 607 | "placeholder": "Ուղարկել հաղորդագրություն...", | CODE |
| LOW | apps/web/src/i18n/strings/hy.json | 1931 | "placeholder": "Փնտրել հաղորդագրություններ…", | CODE |
| LOW | apps/web/src/i18n/strings/tr.json | 600 | "placeholder": "Bir mesaj gönder…", | CODE |
| LOW | apps/web/src/i18n/strings/tr.json | 1873 | "placeholder": "Mesajları ara…", | CODE |
| LOW | apps/web/src/i18n/strings/hu.json | 625 | "placeholder": "Titkosítatlan üzenet küldése…", | CODE |
| LOW | apps/web/src/i18n/strings/hu.json | 682 | "placeholder": "Keressen a csevegéseiben", | CODE |
| LOW | apps/web/src/i18n/strings/hu.json | 2097 | "placeholder": "Üzenetek keresése...", | CODE |
| LOW | apps/web/src/i18n/strings/lt.json | 406 | "placeholder": "Siųsti žinutę…", | CODE |
| LOW | apps/web/src/i18n/strings/is.json | 489 | "placeholder": "Senda skilaboð…", | CODE |
| LOW | apps/web/src/i18n/strings/nl.json | 498 | "placeholder": "Verstuur een bericht…", | CODE |
| LOW | apps/web/src/i18n/strings/ja.json | 532 | "placeholder": "メッセージを送信…", | CODE |
| LOW | apps/web/src/i18n/strings/ru.json | 627 | "placeholder": "Отправить незашифрованное сообщение...", | CODE |
| LOW | apps/web/src/i18n/strings/ru.json | 684 | "placeholder": "Поиск в чатах", | CODE |
| LOW | apps/web/src/i18n/strings/ru.json | 2091 | "placeholder": "Поиск сообщений...", | CODE |
| LOW | apps/web/src/i18n/strings/pl.json | 639 | "placeholder": "Wyślij niezaszyfrowaną wiadomość…", | CODE |
| 58 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pnpm-workspace.yaml | 81 | # element-call repository, whose `prepare` script builds it on install (nothing is published yet). | COMMENT |
| LOW | pnpm-workspace.yaml | 161 | markdown-it: ^14.3.0 | COMMENT |
| LOW | pnpm-workspace.yaml | 181 | # https://github.com/advisories/GHSA-gg4h-3hg2-grpc | COMMENT |
| LOW | scripts/layered.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | packages/playwright-common/playwright-screenshots.sh | 1 | #!/bin/bash | COMMENT |
| LOW | packages/playwright-common/docker-entrypoint.sh | 1 | #!/bin/bash | COMMENT |
| LOW | packages/shared-components/.storybook/vitest.setup.ts | 21 | // the pointer/active element is swapped out between story renders, so a previous story's real hover or | COMMENT |
| LOW | …onents/src/room/timeline/TimelineView/TimelineView.tsx | 121 | // On the first load we lay the rows out, scroll to the message we should start at, and | COMMENT |
| LOW | …onents/src/room/timeline/TimelineView/TimelineView.tsx | 241 | // How near the bottom still counts as being at the bottom, for staying put | COMMENT |
| LOW | …List/GroupedVirtualizedList/GroupedVirtualizedList.tsx | 301 | onFocusForItem, | COMMENT |
| LOW | packages/shared-components/src/core/i18n/i18n.tsx | 101 | // | COMMENT |
| LOW | .github/workflows/build-and-test.yaml | 1 | # builds Element Web | COMMENT |
| LOW | apps/web/webpack.config.ts | 241 | COMMENT | |
| LOW | apps/web/webpack.config.ts | 261 | // don't parse the languages within highlight.js. They cause stack | COMMENT |
| LOW | apps/web/webpack.config.ts | 341 | "plugins": [ | COMMENT |
| LOW | apps/web/webpack.config.ts | 761 | // into a build-specific subdirectory. This includes generated javascript, as well | COMMENT |
| LOW | …ywright/e2e/crypto/decryption-failure-messages.spec.ts | 241 | await rejectToastIfExists(page, "Verify this device"); | COMMENT |
| LOW | apps/web/playwright/e2e/editing/editing.spec.ts | 341 | // | COMMENT |
| LOW | apps/web/playwright/e2e/voip/element-call.spec.ts | 941 | // Element Web treats the element call component as joined based on the target state. | COMMENT |
| LOW | …web/playwright/e2e/voip/element-call-full-call.spec.ts | 61 | // - Element Call ships a CSS reset (its `normalize` layer) that zeroes btn margins. | COMMENT |
| LOW | apps/web/playwright/e2e/login/login-sso.spec.ts | 21 | // If this test fails with a screen showing "Timeout connecting to remote server", it is most likely due to | COMMENT |
| LOW | apps/web/src/settings/Settings.tsx | 141 | // Optional description which will be shown as microCopy under SettingsFlags | COMMENT |
| LOW | …s/web/src/viewmodels/message-body/FileBodyViewModel.ts | 61 | // | COMMENT |
| LOW | …/src/viewmodels/room/timeline/RoomTimelineViewModel.ts | 1601 | // this guard, `buildItems` would emit a second separator with the same | COMMENT |
| LOW | …/src/viewmodels/room/timeline/RoomTimelineViewModel.ts | 1661 | // Insert the read-marker item directly after the event it belongs to. | COMMENT |
| LOW | …s/web/src/test/scripts/generate-megolm-test-vectors.py | 21 | COMMENT | |
| LOW | apps/web/src/rageshake/rageshake.ts | 21 | // logs in-memory than in local storage, which does work in incognito mode. | COMMENT |
| LOW | apps/web/src/stores/RoomViewStore.tsx | 761 | } | COMMENT |
| LOW | apps/web/src/stores/widgets/WidgetMessaging.ts | 621 | // 'invite', otherwise the membership event from the invitation room | COMMENT |
| LOW | apps/web/src/stores/widgets/ElementWidgetActions.ts | 21 | SpotlightLayout = "io.element.spotlight_layout", | COMMENT |
| LOW | apps/web/src/utils/Reply.ts | 21 | COMMENT | |
| LOW | apps/web/src/utils/blobs.ts | 1 | /* | COMMENT |
| LOW | apps/web/src/utils/blobs.ts | 21 | // | COMMENT |
| LOW | apps/web/src/utils/permalinks/Permalinks.ts | 21 | import ElementPermalinkConstructor from "./ElementPermalinkConstructor"; | COMMENT |
| LOW | apps/web/src/utils/permalinks/Permalinks.ts | 41 | // they are at least PL 50. We don't calculate "what is a moderator" | COMMENT |
| LOW | apps/web/src/utils/permalinks/Permalinks.ts | 61 | // shouldn't pick them. We also don't pick IP addresses. | COMMENT |
| LOW | apps/web/src/utils/tokens/tokens.ts | 181 | // Mirror the requested state at the fallback key: the token to fall back to, or nothing | COMMENT |
| LOW | apps/web/src/models/Call.ts | 241 | // The widget might still be initializing, so wait for it in an async | COMMENT |
| LOW | apps/web/src/components/structures/ScrollPanel.tsx | 261 | // | COMMENT |
| LOW | apps/web/src/components/structures/ScrollPanel.tsx | 281 | // returns the vertical height in the given direction that can be removed from | COMMENT |
| LOW | apps/web/src/components/structures/ScrollPanel.tsx | 301 | // | | | | | | | COMMENT |
| LOW | apps/web/src/components/structures/ScrollPanel.tsx | 341 | // scrollHeight is the total height of the content. | COMMENT |
| LOW | apps/web/src/components/structures/MatrixChat.tsx | 321 | */ | COMMENT |
| LOW | apps/web/src/components/structures/MatrixChat.tsx | 1541 | // | COMMENT |
| LOW | apps/web/src/components/structures/MessagePanel.tsx | 221 | // [ | COMMENT |
| LOW | apps/web/src/components/structures/MessagePanel.tsx | 501 | className="mx_MessagePanel_myReadMarker" | COMMENT |
| LOW | apps/web/src/components/structures/RoomView.tsx | 881 | // We already know about this room, so there is nothing to set up. | COMMENT |
| LOW | apps/web/src/components/structures/RoomView.tsx | 2021 | if (!messagePanel) return null; | COMMENT |
| LOW | apps/web/src/components/structures/TimelinePanel.tsx | 161 | timelineLoading: boolean; | COMMENT |
| LOW | apps/web/src/components/structures/TimelinePanel.tsx | 1021 | lastReadEvent: MatrixEvent | null, | COMMENT |
| LOW | apps/web/src/components/structures/TimelinePanel.tsx | 1541 | }); | COMMENT |
| LOW | apps/web/src/components/structures/TimelinePanel.tsx | 1821 | public render(): React.ReactNode { | COMMENT |
| LOW | apps/web/src/components/structures/InteractiveAuth.tsx | 41 | // and used by various stages. As passed to js-sdk | COMMENT |
| LOW | …ps/web/src/components/structures/auth/Registration.tsx | 81 | } | COMMENT |
| LOW | …ps/web/src/components/structures/auth/Registration.tsx | 421 | newState.differentLoggedInUserId = sessionOwner; | COMMENT |
| LOW | …mponents/views/auth/InteractiveAuthEntryComponents.tsx | 261 | // "privacy_policy": { | COMMENT |
| LOW | apps/web/src/components/views/elements/Field.tsx | 41 | // The field's ID, which binds the input and label together. Immutable. | COMMENT |
| LOW | apps/web/src/components/views/elements/Dropdown.tsx | 81 | className?: string; | COMMENT |
| LOW | …src/components/views/dialogs/InteractiveAuthDialog.tsx | 41 | // matrix client to use for UI auth requests | COMMENT |
| LOW | apps/web/src/serviceworker/index.ts | 201 | return new Promise((resolve, reject) => { | COMMENT |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …s/web/src/viewmodels/message-body/FileBodyViewModel.ts | 305 | void this.props.mediaEventHelper.sourceBlob.value.then((blob) => { | CODE |
| CRITICAL | …/room/timeline/event-tile/body/AudioPlayerViewModel.ts | 82 | this.props.playback.clockInfo.liveData.onUpdate(this.setSnapshot); | CODE |
| CRITICAL | …src/components/views/messages/MImageReplyBody.test.tsx | 551 | result.value.getThumbnailHttp.mock.calls.some( | CODE |
| CRITICAL | …/src/components/views/audio_messages/PlaybackClock.tsx | 50 | this.props.playback.clockInfo.liveData.onUpdate(this.onTimeUpdate); | CODE |
| CRITICAL | …c/components/views/audio_messages/PlaybackWaveform.tsx | 41 | this.props.playback.clockInfo.liveData.onUpdate(this.onTimeUpdate); | CODE |
| CRITICAL | …eb/src/components/views/right_panel/PdfViewer.test.tsx | 89 | return iframe.port.postMessage.mock.calls.map(([message]) => message as PdfHostMessage); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …red-components/src/room/timeline/TimelineView/types.ts | 11 | // ─── Timeline item: one renderable row ───────────────────────────── | COMMENT |
| MEDIUM | …red-components/src/room/timeline/TimelineView/types.ts | 81 | // ─── Navigation anchor ───────────────────────────────────────────── | COMMENT |
| MEDIUM | …red-components/src/room/timeline/TimelineView/types.ts | 102 | // ─── Timeline view model contract ────────────────────────────────── | COMMENT |
| MEDIUM | …red-components/src/room/timeline/TimelineView/types.ts | 206 | // ─── Shared timeline view props ──────────────────────────────────── | COMMENT |
| MEDIUM | …onents/src/room/timeline/TimelineView/TimelineView.tsx | 146 | // ─── State used by the scroll reporting below ────────────────────────────── | COMMENT |
| MEDIUM | …onents/src/room/timeline/TimelineView/TimelineView.tsx | 325 | // ─── Later jumps: scroll to a message the view model has asked for ───────── | COMMENT |
| MEDIUM | …nts/src/core/VirtualizedList/virtualized-list.test.tsx | 17 | // ─── Test types ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …nts/src/core/VirtualizedList/virtualized-list.test.tsx | 33 | // ─── Shared helpers ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …nts/src/core/VirtualizedList/virtualized-list.test.tsx | 89 | // ─── Variant definitions ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …nts/src/core/VirtualizedList/virtualized-list.test.tsx | 206 | // ─── Shared test suite ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/src/viewmodels/room/timeline/RoomTimelineViewModel.ts | 923 | // ── TimelineViewActions ────────────────────────────────────────── | COMMENT |
| MEDIUM | …/src/viewmodels/room/timeline/RoomTimelineViewModel.ts | 1056 | // ── Overlay button actions ─────────────────────────────────────── | COMMENT |
| MEDIUM | …/src/viewmodels/room/timeline/RoomTimelineViewModel.ts | 1210 | // ── Pagination ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/src/viewmodels/room/timeline/RoomTimelineViewModel.ts | 1523 | // ── Snapshot construction ──────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | apps/web/src/stores/LatestRtcNotificationEventStore.ts | 108 | // event probably (but not necessarily! TODO: do something more robust) | COMMENT |
| MEDIUM | apps/web/src/utils/LruCache.ts | 64 | // Should not happen but makes it more robust to the unknown. | COMMENT |
| MEDIUM | apps/web/src/utils/LruCache.ts | 81 | // Should not happen but makes it more robust to the unknown. | COMMENT |
| MEDIUM | apps/web/src/utils/LruCache.ts | 98 | // Should not happen but makes it more robust to the unknown. | COMMENT |
| MEDIUM | apps/web/src/utils/LruCache.ts | 118 | // Should not happen but makes it more robust to the unknown. | COMMENT |
| MEDIUM | apps/web/src/hooks/useUserTimezone.ts | 63 | // Definitely not a tz. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …nts/src/core/VirtualizedList/virtualized-list.test.tsx | 568 | // Step 1: Focus the list initially and navigate to the first regular item | COMMENT |
| LOW⚡ | …nts/src/core/VirtualizedList/virtualized-list.test.tsx | 577 | // Step 2: Simulate manual scrolling (mouse wheel, scroll bar drag, etc.) | COMMENT |
| LOW⚡ | …nts/src/core/VirtualizedList/virtualized-list.test.tsx | 582 | // Step 3: After scrolling, different items should now be visible | COMMENT |
| LOW | modules/widget-lifecycle/e2e/fixture/widget.html | 31 | // Step 1: Element is asking what capabilities this widget needs. | COMMENT |
| LOW | modules/widget-lifecycle/e2e/fixture/widget.html | 44 | // Step 2: Capabilities have been approved. Request an OpenID token | COMMENT |
| LOW | modules/widget-lifecycle/e2e/fixture/widget.html | 57 | // Step 3: Token granted — exchange it for the user's Matrix ID and display it. | COMMENT |
| LOW | apps/web/src/hooks/useIsReleaseAnnouncementOpen.ts | 21 | // Modal can be stacked, we need to check if all dialogs are closed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …nts/src/core/VirtualizedList/virtualized-list.test.tsx | 568 | // Step 1: Focus the list initially and navigate to the first regular item | COMMENT |
| LOW⚡ | …nts/src/core/VirtualizedList/virtualized-list.test.tsx | 577 | // Step 2: Simulate manual scrolling (mouse wheel, scroll bar drag, etc.) | COMMENT |
| LOW⚡ | …nts/src/core/VirtualizedList/virtualized-list.test.tsx | 582 | // Step 3: After scrolling, different items should now be visible | COMMENT |
| LOW | modules/widget-lifecycle/e2e/fixture/widget.html | 31 | // Step 1: Element is asking what capabilities this widget needs. | COMMENT |
| LOW | modules/widget-lifecycle/e2e/fixture/widget.html | 44 | // Step 2: Capabilities have been approved. Request an OpenID token | COMMENT |
| LOW | modules/widget-lifecycle/e2e/fixture/widget.html | 57 | // Step 3: Token granted — exchange it for the user's Matrix ID and display it. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CONTRIBUTING.md | 53 | > The PR description must be written by a human and mustn't be generated by AI tools. This is to ensure that the PR auth | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | apps/web/playwright/e2e/invite/invite-dialog.spec.ts | 142 | // TODO: implement the test on room-header.spec.ts | COMMENT |
| LOW | …b/src/components/views/room_settings/AliasSettings.tsx | 217 | // TODO: Add error handling based upon server validation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | apps/web/src/utils/SessionLock.ts | 193 | // It's worth noting that, according to the spec, the page might come back to life again after a pagehide. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/build_desktop_prepare.yaml | 119 | # Increment it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | apps/web/scripts/deploy.py | 79 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/web/src/test/scripts/generate-megolm-test-vectors.py | 5 | CODE |