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

Allow UI for custom actions and possibly other things in Aspire Dashboard #7192

Open
1 task done
danroot opened this issue Jan 21, 2025 · 0 comments
Open
1 task done

Comments

@danroot
Copy link

danroot commented Jan 21, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

As a developer, I would like to show custom UI in Aspire Dashboard, especially for custom resource commands, so that I can confirm with the user that they want to take the action, or prompt them for input.

As it stands, we can add custom commands to resources, but there is no way to show any UI or prompt (that I'm aware of). I have implemented a "Apply EFCore Migrations" custom command similar to those shown in @DamianEdwards demo here. It works as advertised, but I would like to be able to integrate further in the AppHost UI. In this case I also have a "Delete and recreate database" command and I would like to prompt the developer "Are you sure?".

Describe the solution you'd like

In addition to prompting the user to be sure they want to execute a command, I could see other UI hooks into App Host being useful. Some additional use cases:

  • Prompt the user for input. For example, a 'Recreate Database with Data Seed' may prompt the user to pick the amount of seed data they want.
  • Show a tab in the left sidebar. For example, developers might create a help page or dashboard specific to their application. A 3rd party vendor might provide a dashboard that rolls up traces/metrics/logs in unique ways or provides a UI for managing a database instance during development.
  • Add a link in the top right sidebar. For example, developers might link to their project wiki, source code repository, etc.

Additional context

No response

@davidfowl davidfowl added this to the Backlog milestone Jan 21, 2025
@davidfowl davidfowl added the untriaged New issue has not been triaged label Jan 21, 2025
@joperezr joperezr removed the untriaged New issue has not been triaged label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants