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

[Bug][UI] Clarify Delete Project dialog #8278

Open
2 of 3 tasks
jphelpsqred opened this issue Jan 23, 2025 · 1 comment
Open
2 of 3 tasks

[Bug][UI] Clarify Delete Project dialog #8278

jphelpsqred opened this issue Jan 23, 2025 · 1 comment
Labels
component/config-ui This issue or PR relates to config-ui severity/p2 This bug doesn’t affect the functionality or isn’t evident type/bug This issue is a bug

Comments

@jphelpsqred
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

I have a number of projects that are committing to the same repositories.
When deleting a project, I am warned that deleting data connection will delete all data that have been collected will be deleted.

I am not deleting a data connection, and was unnecessarily alarmed that I would be deleting connection data.

Image

What do you expect to happen

That the delete project dialog would inform me of the actually implications of deleting a project

How to reproduce

Configure datasource
Configure multiple projects to use scopes for datasource
delete one of the projects

Anything else

No response

Version

v1.0.2-beta5

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@jphelpsqred jphelpsqred added the type/bug This issue is a bug label Jan 23, 2025
@dosubot dosubot bot added component/config-ui This issue or PR relates to config-ui severity/p2 This bug doesn’t affect the functionality or isn’t evident labels Jan 23, 2025
Copy link

dosubot bot commented Jan 23, 2025

Hey @jphelpsqred! I'm here to help you with your bug report and answer any questions you have about the project. Let's work together to clarify that delete project dialog.

To address the issue with the Delete Project dialog, you can update the warning message to accurately reflect the implications of deleting a project without causing unnecessary alarm about data connection deletion. Here's a suggested revision for the message:

<Modal
  open={open}
  width={820}
  centered
  title="Are you sure you want to delete this Project?"
  okText="Confirm"
  okButtonProps={{
    loading: operating,
  }}
  onCancel={handleHideDeleteDialog}
  onOk={handleDelete}
>
  <Flex align="center">
    <Message content="This operation cannot be undone. Deleting this project will remove all associated project settings and data. Note: This action does not delete any data connections or the data collected through them." />
  </Flex>
</Modal>

This revised message clarifies that the deletion pertains to the project itself and its settings, while explicitly stating that data connections and their collected data are not affected [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/config-ui This issue or PR relates to config-ui severity/p2 This bug doesn’t affect the functionality or isn’t evident type/bug This issue is a bug
Projects
None yet
Development

No branches or pull requests

1 participant