Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Native Source Editor Component - Part 1 #8

Merged
merged 10 commits into from May 16, 2023
Merged

Native Source Editor Component - Part 1 #8

merged 10 commits into from May 16, 2023

Conversation

tonisevener
Copy link
Collaborator

Phabricator:
https://phabricator.wikimedia.org/T331936

Notes

This PR sets up the initial source editor classes. It sets up the WKSourceEditorViewController, which loads a view that contains a single UITextView as our editor. This PR also sets up all of the formatting toolbars and component-izes them to fit our new theming and font patterns.

Note that I expect that some of the theming, icon, and font details will change once design has a pass at this. I tried to get this initial PR to look close enough to our current editor to not be distracting, so that I can move on with setting up the syntax highlighting formatters in the next PR.

Note that this PR is built off of #7, so that I could theme and test these views more thoroughly.

@tonisevener tonisevener changed the title Native Editor - Part 1 Native Source Editor Component - Part 1 May 5, 2023
@tonisevener tonisevener requested review from a team and mazevedofs and removed request for a team May 5, 2023 23:41
Copy link
Collaborator

@mazevedofs mazevedofs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great! So excited for the native editor! Just one small thing: there are some constraint complaints for the toolbar buttons height when highlighting. Let me know if you'd like to take a look at that, otherwise I think it's good to be merged.

@tonisevener
Copy link
Collaborator Author

@mazevedofs hmm I'm not seeing those - which device or simulator are you using?

@mazevedofs
Copy link
Collaborator

mazevedofs commented May 16, 2023

@mazevedofs hmm I'm not seeing those - which device or simulator are you using?

@tonisevener I was testing on simulator, iPhone 14 Pro, 16.1

@mazevedofs mazevedofs merged commit e0f1de2 into main May 16, 2023
@mazevedofs mazevedofs deleted the source-editor-1 branch May 16, 2023 15:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants