AURORA-1839: мемоизация ячеек таблицы листа #240
Open
aep
wants to merge 15 commits from
feat/234-aurora-1839-cell-memo into feat/226-aurora-1837-cell-styles-css
pull from: feat/234-aurora-1839-cell-memo
merge into: RSHB:feat/226-aurora-1837-cell-styles-css
RSHB:main
RSHB:feat/233-aurora-1848-sheet-json-no-pydantic-b
RSHB:feat/236-aurora-1843-svod2-server-paging
RSHB:feat/236-aurora-1843-svod2-server-paging-web
RSHB:feat/233-aurora-1848-sheet-json-no-pydantic
RSHB:feat/235-aurora-1850-upd-form-cells-subtree
RSHB:feat/237-aurora-1845-ws-connection-cache
RSHB:feat/216-aurora-1846-form4-sheet-sum
RSHB:feat/215-aurora-1844-upd-form-cells-full-rows
RSHB:feat/226-aurora-1837-cell-styles-css
RSHB:feat/207-aurora-1831-project-tn-race
RSHB:feat/208-aurora-1832-phase-dates-tz
RSHB:feat/220-aurora-1842-svod2-column-virtual
RSHB:feat/209-aurora-1833-greenlet-dev
RSHB:feat/206-aurora-1830-users-me-local-email
RSHB:feat/212-aurora-1838-ws-immutable-update
RSHB:feat/211-aurora-1836-row-measure
RSHB:feat/205-aurora-1922-pg15-migration-0012
RSHB:feat/214-aurora-1841-dict-vsp-virtual
RSHB:feat/213-aurora-1840-sheet-modals
RSHB:feat/210-aurora-1835-svod1-formatter
RSHB:test
RSHB:svod2-filter-fix2
RSHB:indent-export
RSHB:export-hierarchy
RSHB:svod2-filter-fix
RSHB:fix-id-column
RSHB:export-year-fix
RSHB:form3-source
RSHB:columns-svod-2
RSHB:export-optimize-refresh
RSHB:last-column
RSHB:svod-fix
RSHB:fix-columns
RSHB:form3-expense
RSHB:sattelite-fix
RSHB:delete-sattelite-rows
RSHB:form3-pages
RSHB:form1-sub_sub-fix
RSHB:sort-fix
RSHB:fixes-form
RSHB:new-expenses
RSHB:new-rows
RSHB:fix-style
RSHB:phase-template-edit
RSHB:fixes
RSHB:add-btn-reset-filter
RSHB:vsp-choice-fix
RSHB:project-filters-fix
RSHB:width-column-header-name
RSHB:task-filter-navigation
RSHB:auth
RSHB:icons-program-project
RSHB:export-optimize
RSHB:org-unit-limits
RSHB:auth-v2
RSHB:tasks-filters
RSHB:insert-row-fix
RSHB:svod-roles
RSHB:new-role-fix
RSHB:phase-edit-fix
RSHB:new-role
RSHB:delete-from-cell
RSHB:svod-cahe-and-table-direction
RSHB:direction-stage-fix
RSHB:backslash-fix
RSHB:svod
RSHB:front-svod-form-1
RSHB:projects-filters
RSHB:remove-row-fix
RSHB:computed-fix
RSHB:modal-add-year-project
RSHB:name-fix
RSHB:audit-logs-projects
RSHB:meta-form-3
RSHB:project-back-fix
RSHB:fix-sticky-columns
RSHB:fixies-3-form
RSHB:tech-num-fix
RSHB:fix-logic-limitation
RSHB:projects-fix
RSHB:3-form-project
RSHB:project-add-year-handler
RSHB:projects-summary-handler
RSHB:AURORA-1247
RSHB:projects-handlers
RSHB:vsp-choose-form2-2
RSHB:directions-fix
RSHB:add-validation
RSHB:add-checkbox-export-vsp
RSHB:fix-update-column-config
RSHB:fix-editable-columns
RSHB:add-biome-front
RSHB:vsp-choose-form2
RSHB:export-form-4
RSHB:booking-fix
RSHB:fix-front-tables
RSHB:phase-directions
RSHB:AURORA-1225
RSHB:fix-mapping-form-2-oper
RSHB:AURORA-1076-fix
RSHB:fix-add-row-program-4-form
RSHB:form2-limit-migrations
RSHB:delete-projects
RSHB:AURORA-1076
RSHB:form-4-add-row
RSHB:fix-logs
RSHB:AURORA-1206
RSHB:AURORA-894
RSHB:add-line-log-hotfix
RSHB:form-export-fix
RSHB:form-4-sql
RSHB:table-optimization-fix
RSHB:header_forms
RSHB:form-4-expense-item-filters
RSHB:entity-type-hotfix
RSHB:form-3-phases-timezones
RSHB:form-4-handlers
RSHB:export-fix
RSHB:close-date-vsp-fix
RSHB:deleted-user-auth-fix
RSHB:smeta-fix
RSHB:front-fixes
RSHB:line_id_code_full
RSHB:line_id_code
RSHB:timezones
RSHB:filenames-fix
RSHB:AURORA-1174-73
RSHB:project-sheets
RSHB:AURORA-1166
RSHB:websocket-projects
RSHB:project-front
RSHB:form3-permissions
RSHB:location_from_to_placement_type
RSHB:fix-vsp-filters
RSHB:fix-tests-and-functions
RSHB:mig2-fix
RSHB:vsp_fixes
RSHB:fix-ssp-title
RSHB:AURORA-1148
RSHB:fix-vsp-form-edit
RSHB:sql-funcs2-fix
RSHB:AURORA-1132
RSHB:logs
RSHB:AURORA-1147
RSHB:export-optimization
RSHB:AURORA-1131
RSHB:sql-funcs-fix
RSHB:vsp-dropdown-form
RSHB:form_2-back
RSHB:migrations
RSHB:websocket-self-flag
RSHB:reload-fix
RSHB:test-stand-fix
RSHB:excel-empty-fix
RSHB:requirements-fix
RSHB:AURORA-1096-back
RSHB:AURORA-1098
RSHB:AURORA-1096
RSHB:ws-user-id-fix
RSHB:expense-item-handler
RSHB:fix-date-phase
RSHB:excel-fix
RSHB:vsp-edit-field-fix
RSHB:vsp-fix-back
RSHB:vsp-back
RSHB:create-form-back
RSHB:export-direction-fix
RSHB:change-role-fix
RSHB:org-unit-users-fix
RSHB:audit-fix
RSHB:org-archive
RSHB:del_row_fix
RSHB:websocket_locks
RSHB:new_line_id
RSHB:admin-back
RSHB:form-fix
RSHB:ws
RSHB:ssp-fix
RSHB:stages-back
RSHB:form_124_write
RSHB:form_124
RSHB:new-model
RSHB:test-tsygankov
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
No description provided.
Delete Branch "feat/234-aurora-1839-cell-memo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #234. Jira: AURORA-1839.
Стек. База —
feat/226-aurora-1837-cell-styles-css(PR #230, стоит на PR #222 / AURORA-1836). После слияния #230 вtestPR перенацеливается наtestс rebase.Что сделано
utils/cellMemoReset.js— чистый ключ сброса мемоизации (раскладка закреплённых, фильтры) иpickSettledSizing; 17 тестов, включая тесты-характеристики поведения@tanstack/table-core8.20.5.utils/columnResizeInfo.js— апдейтерыcolumnSizingInfo(идемпотентныйendColumnResize).ColumnResizerсообщает MRT начало и конец перетаскивания (mouseup,blur, размонтирование, страховкаe.buttons); атрибутdata-col-resize-id.columnFiltersиcolumnSizingInfo— управляемое состояниеRealtimeTable.memoMode: 'cells',tableColumns = [...columns]по ключу сброса, ширины закреплённых фиксируются на время перетаскивания.perf/e2e/scenarios/pinned-resize.spec.ts(две закреплённые data-колонки, тянется первая, проверка примыкания и эффекта),lib/pinnedGeometry.ts, README. Сценарий не запускался.Тесты
cd web && node --test src/components/RealtimeTable/utils/*.test.js: 41 pass, 0 fail.node --test perf/e2e/tests/pinned-geometry.test.ts: 5 pass.npx biome check src/components/RealtimeTable: новых ошибок нет (RealtimeTable.jsx 2 errors / 5 warnings, TableHead.jsx 8 errors — как в базе).npm run build: успешно.git diff --name-only origin/feat/226-aurora-1837-cell-styles-css...HEAD -- api/пуст), pytest и PG15 не нужны.Ручной регресс (до слияния)
FORM_2/AHR под исполнителем РФ и под админом; соавтор во втором браузере:
<mark>, Enter и Shift+Enter, кнопки «‹ ›», обводка текущей, очистка поиска;Замер до/после — добавит контроллер после прогона на стенде
Пороги — цель, а не условие слияния.
pinned_overlap,pinned_cells_missing,resize_no_effectвskip_reason— нарушение корректности, блокирует слияние.Rulings I made
column_not_found, нет rf — тесты не регистрируются, waitForFunction) приняты. Цена: запись incomplete вместо падения.pinned_cells_missing).['', '']не снимает фильтр колонки в TanStack, лишний безвредный сброс, код не менялся (M-3).Находки
3bd4b53, design.md docs-коммит см. git log)e0e460b3bd4b53Opus 5.5 (из плана),61cafb4Haiku 5.561cafb4e.buttons === 0в handleMouseMove (ColumnResizer.jsx:34-43)e0e460be0e460b7d7a98f7d7a98f(тип Sheet; повторный loadManifest остался)7d7a98f472f2ea7d7a98fe0e460b,472f2ea7d7a98fe0e460b472f2ea)deferred: T5.1 (интеграция заморозки ширин — закрыть замером pinned-resize и ручным регрессом), O-3 (
Cell.jsx~112createHighlightedContentвызываетq.replaceна массиве значения range-фильтра — поведение базы,Cell/**вне скоупа).🤖 Generated with Claude Code
Checkout
From your project repository, check out a new branch and test the changes.