Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

chore: move high level classes to common workspace#288

Merged
matthewwalsh0 merged 6 commits intomain-desktopfrom
chore/225-common-migration-3
Dec 6, 2022
Merged

chore: move high level classes to common workspace#288
matthewwalsh0 merged 6 commits intomain-desktopfrom
chore/225-common-migration-3

Conversation

@matthewwalsh0
Copy link
Copy Markdown
Member

@matthewwalsh0 matthewwalsh0 commented Nov 30, 2022

Overview

Move remaining high level classes to common workspace.

Changes

App

  • Create global isDesktopApp property to easily identify if running in app.
  • Remove unused variables and functions from mocks.ts.

Common

  • Move the following to the common workspace.
    • ExtensionPairing
    • DesktopConnection
    • DesktopManager
    • DesktopController
  • Decouple DesktopController from DesktopManager and DesktopApp using interfaces and init methods.

@matthewwalsh0 matthewwalsh0 force-pushed the chore/225-common-migration-3 branch from 267e172 to 36babc3 Compare November 30, 2022 16:29
@matthewwalsh0 matthewwalsh0 marked this pull request as ready for review December 1, 2022 08:53
@matthewwalsh0 matthewwalsh0 requested a review from a team December 1, 2022 08:53
@matthewwalsh0 matthewwalsh0 changed the title Move high level classes to common workspace chore: move high level classes to common workspace Dec 1, 2022
Move DesktopManager, DesktopConnection, ExtensionPairing, and DesktopController to common workspace.
Use logging wrapper in common workspace to set default log level consistently.
Add common to build scripts in root package.
Remove generated files.
@matthewwalsh0 matthewwalsh0 force-pushed the chore/225-common-migration-3 branch from 6a436c0 to de384c3 Compare December 2, 2022 22:03
@cryptotavares
Copy link
Copy Markdown
Contributor

Looks great! Just bring it up to date, as it is still referencing electron-22 alpha on yarn.lock

@matthewwalsh0
Copy link
Copy Markdown
Member Author

Looks great! Just bring it up to date, as it is still referencing electron-22 alpha on yarn.lock

This wasn't actually a change in this branch as the extension in main-desktop is still using the alpha version, but I've fixed here so both use the correct version. Not sure why my Yarn lock was preferring the alpha though.

@matthewwalsh0 matthewwalsh0 merged commit 2297795 into main-desktop Dec 6, 2022
@matthewwalsh0 matthewwalsh0 deleted the chore/225-common-migration-3 branch December 6, 2022 13:30
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.

2 participants