memos/web/src
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
..
components refactor(table): rename resolveTableIndex, fix escapeCell backslash handling, remove redundant cast 2026-03-24 18:42:47 +01:00
contexts refactor(web): improve Settings page maintainability and consistency (#5757) 2026-03-21 15:05:48 +08:00
helpers fix(api): remove public activity service (#5734) 2026-03-18 22:42:57 +08:00
hooks refactor(web): consolidate SharedMemo into MemoDetail (#5773) 2026-03-24 08:40:49 +08:00
layouts refactor(web): simplify main layout sidebar structure (#5756) 2026-03-21 12:54:18 +08:00
lib feat: treat tag setting keys as anchored regex patterns (#5759) 2026-03-22 08:07:45 +08:00
locales fix: address PR review comments for table editor 2026-03-24 18:32:49 +01:00
pages refactor(web): consolidate SharedMemo into MemoDetail (#5773) 2026-03-24 08:40:49 +08:00
router refactor(web): consolidate SharedMemo into MemoDetail (#5773) 2026-03-24 08:40:49 +08:00
themes refactor(theme): consolidate theme system and polish dark mode colors 2026-03-02 09:30:57 +08:00
types feat: add blur_content attribute to tag metadata settings (#5767) 2026-03-23 19:42:27 +08:00
utils refactor(table): rename resolveTableIndex, fix escapeCell backslash handling, remove redundant cast 2026-03-24 18:42:47 +01:00
App.tsx fix(web): persist auth token in localStorage for cross-tab sessions 2026-02-22 13:55:46 +08:00
auth-state.ts fix(auth): recover session via refresh cookie when localStorage is empty (#5748) 2026-03-20 19:21:11 +08:00
connect.ts fix(api): remove public activity service (#5734) 2026-03-18 22:42:57 +08:00
i18n.ts feat(memo): add share links for private memos (#5742) 2026-03-19 23:47:22 +08:00
index.css fix: improve KaTeX and Mermaid error handling and overflow 2026-03-02 21:11:07 +08:00
main.tsx feat: add live refresh via Server-Sent Events (SSE) with visual indicator (#5638) 2026-03-03 22:56:12 +08:00