Skip to content

Shell components should be services, not app processes #198

@IzKuipers

Description

@IzKuipers

A couple of things caught my eye during the ongoing refactor of the structure of v7, one of which is the odd choice of turning all shell components into app processes instead of system services. I'm talking about the following processes:

  • contextMenu (not sure if this can be a service because it has svelte code)
  • SystemShortcutsProc
  • TrayHostProc
  • ArcFindProc

I don't know why these aren't services, possibly because the service host wasn't a set-in-stone thing when these applications were first written, but regardless. These app processes should be services to be in-line with the rest of the architecture of v7. I'm not sure about contextMenu though, since it actually does make use of the rendering aspect of AppProcess to display the actual menu itself. One potential solution would be to pull apart the data- and rendering 'parts' of the process, but that's still left to be determined.

Metadata

Metadata

Assignees

Labels

ApplicationsAdd, update, remove applicationsRefactoringThis issue refactors a part of the codebaseService HostThis involves the service host or any system servicesenhancementNew feature or request

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions