Skip to content

Conversation

@Hillshum
Copy link
Collaborator

@Hillshum Hillshum commented Apr 3, 2025

This fulfills #4873 so see that for a more detailed breakdown of some pros and cons.

This PR is not intented to be merged but rather will be broken up into several smaller ones.

The list of smaller ones will likely map to this list, but may not be exact.

  • Add boilerplate for supporting a Python project (packaging metadata, gitignore rules, etc)
  • Change the angular config to build into a folder that the OctoPrint plugin can work with
  • Read octoprint credentials from local storage or cookies
  • Migrate settings to the plugin
  • Remove dependencies on the Electron IPC2. Removal of electron dependencies
  • Tooling to configure the system to autostart to OctoDash
  • Setup wizard and migration scripts
  • Settings UI
  • Support for custom styles
  • Support for l10n settings
  • Read fan speed
  • Add OctoDash restart settings in menu
  • Other logic borrowed from the companion plugin
  • Screen sleep

Hillshum added 30 commits April 3, 2025 17:28
* Make `electronService` silently fail
* Remove `process.env` check
* Load settings from Octoprint settings
Just rely on cookie auth for now
Need to figure out what's up with this
Remove dead electron code
Add type for config API response
Need to ensure endpoint is properly locked down
Streamlines the code and also has the potential for flask to optimize a bit
Allows for putting OctoPrint assets in other folders
Doesn't make sense to edit it here
OctoPrint has final migrated away from setup.py so this needs to follow suit
No need for that
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.

3 participants