memos/web/src/components
milvasic 0ad53f9dd3 refactor(table): rename resolveTableIndex, fix escapeCell backslash handling, remove redundant cast
- Rename `resolveTableIndex` useMemo value to `currentTableIndex` in Table.tsx
  so the name reflects a computed value rather than an action; update all
  references (callbacks, dependency arrays, JSDoc comment)

- Fix `escapeCell` in markdown-table.ts: replace the single-char lookbehind
  regex `(?<!\\)|` with a character loop that counts consecutive backslashes
  before each pipe and only inserts an escape when the count is even, mirroring
  the parser logic and correctly handling sequences like `\\|`

- Remove redundant `as ColumnAlignment` type assertion in `createEmptyTable`;
  TypeScript infers `\"none\"` correctly via contextual typing from the return type

- Add regression test for the `\\|` round-trip case in markdown-table.test.ts
2026-03-24 18:42:47 +01:00
..
ActivityCalendar refactor: restructure i18n locale keys for better maintainability (#5744) 2026-03-20 05:56:56 +08:00
ConfirmDialog chore: tweak comments 2025-11-30 13:16:02 +08:00
Inbox fix(api): remove public activity service (#5734) 2026-03-18 22:42:57 +08:00
MemoActionMenu fix(web): handle delete memo errors and only run post-delete actions on success 2026-02-22 13:00:36 +08:00
MemoContent refactor(table): rename resolveTableIndex, fix escapeCell backslash handling, remove redundant cast 2026-03-24 18:42:47 +01:00
MemoDetailSidebar feat: add outline navigation to memo detail sidebar (#5771) 2026-03-24 00:20:40 +08:00
MemoEditor pnpm format 2026-03-24 18:33:16 +01:00
MemoExplorer chore(web): update frontend dependencies and Node runtime (#5729) 2026-03-16 20:37:16 +08:00
MemoMetadata feat(memo-preview): support comment metadata in previews (#5768) 2026-03-23 21:51:30 +08:00
MemoPreview chore: show compact attachment count instead of thumbnails in comment previews 2026-03-24 19:30:39 +08:00
MemoReactionListView chore: optimize unreact network requests (#5747) 2026-03-20 18:08:28 +08:00
MemoView refactor(web): consolidate SharedMemo into MemoDetail (#5773) 2026-03-24 08:40:49 +08:00
PagedMemoList refactor(web): remove masonry memo layout (#5746) 2026-03-20 09:01:43 +08:00
Settings feat: add blur_content attribute to tag metadata settings (#5767) 2026-03-23 19:42:27 +08:00
StatisticsView fix(web): fix explore page showing private tags and improve stats hook 2026-02-23 13:15:01 +08:00
UserMemoMap chore: view memo URL updated (#5569) 2026-02-02 20:39:33 +08:00
kit chore(web): migrate from ESLint+Prettier to Biome 2025-11-14 23:58:07 +08:00
map chore: remove unused keyboard shortcuts 2026-01-02 09:57:09 +08:00
ui chore(web): update frontend dependencies and Node runtime (#5729) 2026-03-16 20:37:16 +08:00
AttachmentIcon.tsx refactor: migrate to connect-rpc (#5338) 2025-12-11 19:49:07 +08:00
AuthFooter.tsx fix(web): make login screen theme selector reactive 2026-01-06 20:51:45 +08:00
ChangeMemberPasswordDialog.tsx refactor: restructure i18n locale keys for better maintainability (#5744) 2026-03-20 05:56:56 +08:00
CreateAccessTokenDialog.tsx refactor: restructure i18n locale keys for better maintainability (#5744) 2026-03-20 05:56:56 +08:00
CreateIdentityProviderDialog.tsx refactor: restructure i18n locale keys for better maintainability (#5744) 2026-03-20 05:56:56 +08:00
CreateShortcutDialog.tsx chore: fix broken links 2026-02-08 19:46:03 +08:00
CreateUserDialog.tsx refactor: restructure i18n locale keys for better maintainability (#5744) 2026-03-20 05:56:56 +08:00
CreateWebhookDialog.tsx refactor: restructure i18n locale keys for better maintainability (#5744) 2026-03-20 05:56:56 +08:00
DateTimeInput.tsx chore: use input type `datetime-local` instead of `text` (#5174) 2025-10-22 09:04:37 +08:00
Empty.tsx feat: variant colors (#4816) 2025-07-04 23:03:13 +08:00
ErrorBoundary.tsx fix: handle chunk load errors after redeployment with auto-reload (#5703) 2026-03-08 10:45:16 +08:00
LearnMore.tsx feat: variant colors (#4816) 2025-07-04 23:03:13 +08:00
LocaleSelect.tsx fix: apply theme and locale changes immediately on login screen (#5440) (#5442) 2026-01-07 21:58:47 +08:00
MemoCommentSection.tsx refactor(web): improve MemoDetail and sidebar maintainability (#5769) 2026-03-23 22:51:24 +08:00
MemoDisplaySettingMenu.tsx refactor(web): remove masonry memo layout (#5746) 2026-03-20 09:01:43 +08:00
MemoFilters.tsx refactor: restructure i18n locale keys for better maintainability (#5744) 2026-03-20 05:56:56 +08:00
MemosLogo.tsx feat: react query migration (#5379) 2025-12-24 22:59:18 +08:00
MobileHeader.tsx refactor: replace useResponsiveWidth with useMediaQuery across components 2025-12-26 23:44:52 +08:00
Navigation.tsx refactor(sse): move status indicator to avatar badge 2026-03-03 23:25:01 +08:00
NavigationDrawer.tsx feat: react query migration (#5379) 2025-12-24 22:59:18 +08:00
PasswordSignInForm.tsx Redirect unauthenticated protected memo access to sign in (#5738) 2026-03-20 19:40:19 +08:00
PreviewImageDialog.tsx feat(ui): allow navigating between images with arrows in preview dialog (#5669) 2026-03-01 11:30:47 +08:00
RequiredBadge.tsx feat: variant colors (#4816) 2025-07-04 23:03:13 +08:00
SearchBar.tsx chore: remove unused keyboard shortcuts 2026-01-02 09:57:09 +08:00
Skeleton.tsx chore: simplify page loading logic 2026-01-27 23:37:32 +08:00
TableEditorDialog.tsx fix(table): use GFM AST parser for findAllTables; fix lints 2026-03-24 18:33:16 +01:00
TagTree.tsx feat: react query migration (#5379) 2025-12-24 22:59:18 +08:00
ThemeSelect.tsx refactor(theme): consolidate theme system and polish dark mode colors 2026-03-02 09:30:57 +08:00
UpdateAccountDialog.tsx refactor: restructure i18n locale keys for better maintainability (#5744) 2026-03-20 05:56:56 +08:00
UpdateCustomizedProfileDialog.tsx refactor: restructure i18n locale keys for better maintainability (#5744) 2026-03-20 05:56:56 +08:00
UserAvatar.tsx chore: unify colors 2025-07-06 13:55:08 +08:00
UserMenu.tsx refactor: restructure i18n locale keys for better maintainability (#5744) 2026-03-20 05:56:56 +08:00
VisibilityIcon.tsx refactor: migrate to connect-rpc (#5338) 2025-12-11 19:49:07 +08:00