Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build the tray menu #5

Closed
spikecurtis opened this issue Sep 19, 2024 · 1 comment · Fixed by #21
Closed

Build the tray menu #5

spikecurtis opened this issue Sep 19, 2024 · 1 comment · Fixed by #21
Assignees
Labels
enhancement New feature or request

Comments

@spikecurtis
Copy link
Collaborator

Depends on #4

Coder Desktop's primary interface at this stage is a tray menu. It shows the follow status information:

  1. Coder deployment URL
  2. The current logged in (Coder) user
  3. Whether the CoderVPN function is enabled
  4. Whether the CoderVPN function is operating without error
  5. For each of the user’s workspaces:
    1. Name
    2. Status (e.g. stopped, starting, running)
    3. Whether the CoderVPN is connected to all agents
    4. Ping latency in milliseconds to the first agent
  6. Clicking a workspace in the menu MUST open the workspace in the Coder web dashboard.

It should use the native UX kit as much as possible.

Image

@coder-labeler coder-labeler bot added the enhancement New feature or request label Sep 19, 2024
deansheather added a commit that referenced this issue Feb 7, 2025
- Modularizes the tray window to use multiple Pages for the three
different states: signed out, disconnected from RPC, normal
- Adds the two new aforementioned pages
- Adds a CredentialManager service for storing credentials in Windows
Credential Manager
- Adds a RpcController service for managing the connection to the
backend service and reporting state changes to the ViewModel
- Switches to using separate ViewModels in the Views
- Switches to using Dependency Injection for instantiating Views,
ViewModels and Services
- Integrates the tray window into the new RpcController on Start/Stop
interactions. Workspace agent updates will be handled in a separate PR

Relates to #5 (I will do agent updates immediately after this)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
@spikecurtis @deansheather and others