You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devlake.apache.org by "jphelpsqred (via GitHub)" <gi...@apache.org> on 2025/01/23 10:44:16 UTC
[I] [Bug][UI] Clarify Delete Project dialog [incubator-devlake]
jphelpsqred opened a new issue, #8278:
URL: https://github.com/apache/incubator-devlake/issues/8278
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) 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.

### 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
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][UI] Clarify Delete Project dialog [incubator-devlake]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #8278:
URL: https://github.com/apache/incubator-devlake/issues/8278#issuecomment-2609485399
<!-- Greeting -->
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.
<!-- Answer -->
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:
```tsx
<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 <sup>[[1]](https://github.com/apache/incubator-devlake/blob/main/config-ui/src/routes/project/additional-settings/index.tsx)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
---
<sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/bf822583-286f-410d-a838-6996aa11672a?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/bf822583-286f-410d-a838-6996aa11672a?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/bf822583-286f-410d-a838-6996aa11672a?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/bf822583-286f-410d-a838-6996aa11672a?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/bf822583-286f-410d-a838-6996aa11672a?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/bf822583-286f-410d-a838-6996aa11672a?feedback_type=other)</sup>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][UI] Clarify Delete Project dialog [incubator-devlake]
Posted by "veetmoradiya3628 (via GitHub)" <gi...@apache.org>.
veetmoradiya3628 commented on issue #8278:
URL: https://github.com/apache/incubator-devlake/issues/8278#issuecomment-2732246624
I’d like to contribute to this bug. How can I get started? A little guidance would be greatly appreciated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][UI] Clarify Delete Project dialog [incubator-devlake]
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh closed issue #8278: [Bug][UI] Clarify Delete Project dialog
URL: https://github.com/apache/incubator-devlake/issues/8278
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org