Skip to content

Refactor file inlining.#248

Merged
schuyler merged 3 commits intoschuyler:mainfrom
wltb:refactor-inlinig
Jan 16, 2026
Merged

Refactor file inlining.#248
schuyler merged 3 commits intoschuyler:mainfrom
wltb:refactor-inlinig

Conversation

@wltb
Copy link
Copy Markdown
Contributor

@wltb wltb commented Jan 4, 2026

This uses code from #247 and shuffles code out of MPEditorView since it began to look a bit crowded there.

Tested it, worked fine.

@schuyler
Copy link
Copy Markdown
Owner

schuyler commented Jan 5, 2026

@wltb thanks for this! Looks like there are some conflicts with changes to main. You want to fix or should I take a whack at it?

@wltb wltb force-pushed the refactor-inlinig branch from 8ebe430 to c9972af Compare January 5, 2026 19:33
@wltb
Copy link
Copy Markdown
Contributor Author

wltb commented Jan 5, 2026

@schuyler I rebased against #247, and built, tested, and force-pushed it. Should be fine!

@wltb wltb force-pushed the refactor-inlinig branch 2 times, most recently from f72a3b9 to 3799376 Compare January 7, 2026 21:22
@schuyler
Copy link
Copy Markdown
Owner

Hmm, tests are still failing in CI. I'll have to download this locally and see if I can figure out why.

@wltb wltb force-pushed the refactor-inlinig branch from 3799376 to 9e9fdc0 Compare January 15, 2026 22:54
@wltb
Copy link
Copy Markdown
Contributor Author

wltb commented Jan 15, 2026

@schuyler My bad, I only tested drag & drop functionality and didn't run the unit tests. The tests for EditorView failed because I removed the called methods in the class.

I removed the EditorView test file, and added one for the new class. Fewer tests are needed now because the new class method only returns MIME types, so testing for UTIs and integration can't be done anymore.

If you want those back, I can refactor again, but I don't think the code will be likely to break.

@wltb wltb force-pushed the refactor-inlinig branch from 9e9fdc0 to 920b7c7 Compare January 15, 2026 23:13
@schuyler schuyler merged commit 41ce949 into schuyler:main Jan 16, 2026
5 checks passed
@schuyler
Copy link
Copy Markdown
Owner

Merged. Thank you!!

@wltb wltb deleted the refactor-inlinig branch January 16, 2026 09:10
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