Skip to content

Draft: Refactor and refresh...

Nekobit requested to merge nekobit/choqok:master into master

This is an attempt to bring this project out from it's somewhat stale and messy state, and focus on refactoring certain components. Stripping out the higher webkit dependencies to ensure it feels native, focusing more on making it feel more comparable to a modern microblogging program. Moving more components to properly respect QT in general.

It's still heavily in progress. No checklist, yet; just getting this Merge out of the way.

I decided instead of doing many separate MRs, that considering this project's relatively slow development pace, this was going to pick things up as best as I could with my own time. I could best summarize it as a "refactor"

Things done so far:

  • Removed Webkit dependencies and made Statuses native QT widgets
  • Write MediaManager cache off of main thread
    • Some avatars can be large, causing a lot of freezing when loading avatars.
  • Improve repository structure
    • Everything was kind of a mess here, images scattered in a few places, application meta bundled into the source code. I personally found myself looking for things where they apparently weren't there. I took a few hints from other KDE project layouts.
  • API Base class
  • Move away from KIO for MediaManager and API calls
  • Support more Mastodon features and Implement Pleroma
    • Misskey will be in a separate branch, but is planned.
Edited by Nekobit

Merge request reports