Skip to content

WIP: refactor(mobile): split shared editor.jsx into focused modules - #217

Draft
moodyjmz wants to merge 1 commit into
mainfrom
feat/mobile-refactor
Draft

WIP: refactor(mobile): split shared editor.jsx into focused modules#217
moodyjmz wants to merge 1 commit into
mainfrom
feat/mobile-refactor

Conversation

@moodyjmz

Copy link
Copy Markdown
Member

WIP / draft — not ready for review.

Splits apps/common/mobile/lib/editor.jsx into focused modules (icons.js, PlatformIcon.jsx, ToolbarIconLink.jsx, toolbarIcons.js, getTopFocusObject.js, initThemeColors.js) plus per-editor focus-object test coverage, and restores Ascensio headers + a Euro-Office modification notice on the four editor.jsx files that had dropped them.

Opened as draft mainly to get this off local-only storage — it's been sitting as a single unpushed commit. No further changes pushed yet.

Extract toolbar icons, theme init, and PlatformIcon/ToolbarIconLink
components out of common/mobile/lib/editor.jsx into standalone modules,
and split each editor's context-menu focus-object logic into
focusObjectTags/selectionRules with unit test coverage.

Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
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.

1 participant