Skip to content

refactor: вынести BrowserModel и закрыть T1 - #92

Merged
fso13 merged 1 commit into
mainfrom
refactor/browser-model
Oct 23, 2026
Merged

fso13 merged 1 commit into
mainfrom
refactor/browser-model

Conversation

@fso13

@fso13 fso13 commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Что сделано

  • Вынесен BrowserModel: currentName, breadcrumbs, размеры/путь текущей папки, сводка выбора, volume/internalVolume, homePath, rootDisplayName, freeSpaceText, refreshVolumes.
  • Туда же переехали file actions: activateRow, openRow, reveal*, openFullDiskAccessSettings.
  • UI, снапшоты и тесты переведены на model.browser.*.
  • BrowserModelTests: навигация, сводка выбора, открытие папок, тома и имена.
  • AppModel: 660 → 497 строк — цель T1 (< 500) достигнута.
  • Тесты: 165.

Refs #66
Refs #87

- Move browser presentation (folder path, breadcrumbs, selection summary, volumes) and file actions into BrowserModel
- Migrate UI, snapshots and tests to model.browser
- AppModel is now 497 lines, below the T1 target of 500
- Add BrowserModelTests for navigation, selection, file actions and volumes
- 165 tests green

Refs #66
Refs #87
@fso13
fso13 merged commit bf5f6d9 into main Oct 23, 2026
11 checks passed
@fso13
fso13 deleted the refactor/browser-model branch October 23, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants