# Dashboard suppression without alert

**URL:** <https://community.gladysassistant.com/t/dashboard-suppression-sans-alerte/6979>\
**Category:** Demandes livrées\
**Tags:** feature-core, feature-request-ux, dashboard\
**Created:** [February 21, 2022, 1:44pm UTC](https://community.gladysassistant.com/t/dashboard-suppression-sans-alerte/6979 "2022-02-21T13:44:53Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [February 21, 2022, 1:44pm UTC](https://community.gladysassistant.com/t/dashboard-suppression-sans-alerte/6979/1 "2022-02-21T13:44:53Z")

</div>

Hello, just a small suggestion as I was caught out. While adding to the dash, I slipped and clicked on delete. My entire dash was deleted without any warning. I had to reconfigure everything. Can we add a message that warns us of this deletion? I don’t know if others have been caught out too?

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [February 22, 2022, 9:17pm UTC](https://community.gladysassistant.com/t/dashboard-suppression-sans-alerte/6979/2 "2022-02-22T21:17:09Z")

</div>

> [@pascal\_sapin](#):
>
> I don’t know if others have been fooled

And yes, I’ve had my share too, so I vote 😀  
good evening

---

<div class="post-metadata">

**Author:** ![qleg](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/qleg/32/12290_2.png) [@qleg](https://community.gladysassistant.com/u/qleg)\
**Post date:** [January 8, 2023, 3:05pm UTC](https://community.gladysassistant.com/t/dashboard-suppression-sans-alerte/6979/3 "2023-01-08T15:05:10Z")

</div>

Hello, I just got fooled as well 😃 : Voted

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [January 8, 2023, 10:31pm UTC](https://community.gladysassistant.com/t/dashboard-suppression-sans-alerte/6979/4 "2023-01-08T22:31:39Z")

</div>

It’s just the beginning, that’s why.  
Welcome, @qleg

---

<div class="post-metadata">

**Author:** ![Lokkye](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/lokkye/32/5881_2.png) [@Lokkye](https://community.gladysassistant.com/u/Lokkye)\
**Post date:** [January 21, 2023, 8:17pm UTC](https://community.gladysassistant.com/t/dashboard-suppression-sans-alerte/6979/5 "2023-01-21T20:17:41Z")

</div>

Small suggestion for the deletion confirmation:

 ![Screenshot 2023-01-21 at 21.11.24](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/d/d878df77d639b5f7d7abed1c311e9e4e7696c149.png)  
 ![Screenshot 2023-01-21 at 21.10.12](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/6/6a649674ec1f82380b498ac92a3f0c13c24a7395.png)

Would this work for you?

If so, here’s the PR:

> <https://github.com/GladysAssistant/Gladys/pull/1694>
>
> \### Pull Request check-list
> 
> To ensure your Pull Request can be accepted as fa…st as possible, make sure to review and check all of these items:
> 
> \- \[x\] If your changes affects code, did your write the tests?
> \- \[x\] Are tests passing? (\`npm test\` on both front/server)
> \- \[x\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[x\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[\] If you are adding a new features/services, did you run integration comparator? (\`npm run compare-translations\` on front)
> \- \[\] Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to \[the community\](https://community.gladysassistant.com/) for testing before merging.
> \- \[\] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
> \- \[\] If you are adding a new features/services which needs explanation, did you modify the user documentation? See \[the GitHub repo\](https://github.com/GladysAssistant/v4-website) and the \[website\](https://gladysassistant.com).
> \- \[\] Did you add fake requests data for the demo mode (\`front/src/config/demo.js\`) so that the demo website is working without a backend? (if needed) See \[https://demo.gladysassistant.com\](https://demo.gladysassistant.com).
> 
> NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
> 
> \### Description of change
> 
> Just adding validation before delete dashboard 
> 
> !\[Screenshot 2023-01-21 at 21 11 24\](https://user-images.githubusercontent.com/11317212/213885609-5ac049c2-898b-45f8-acb7-9daf83ad17b0.png)
> !\[Screenshot 2023-01-21 at 21 10 12\](https://user-images.githubusercontent.com/11317212/213885611-024afa5d-4a6e-44af-a741-b131fd3d38fe.png)

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 23, 2023, 3:58am UTC](https://community.gladysassistant.com/t/dashboard-suppression-sans-alerte/6979/6 "2023-01-23T03:58:50Z")

</div>

[quote=«&nbsp;Lokkye, post:5, topic:6979&nbsp;»]

---

<div class="post-metadata">

**Author:** ![Lokkye](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/lokkye/32/5881_2.png) [@Lokkye](https://community.gladysassistant.com/u/Lokkye)\
**Post date:** [January 23, 2023, 7:40pm UTC](https://community.gladysassistant.com/t/dashboard-suppression-sans-alerte/6979/7 "2023-01-23T19:40:05Z")

</div>

@pierre-gilles: It’s fixed.

I was thinking I could do the same for the scenes. If that’s OK with you, I’ll make another PR.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 24, 2023, 2:39am UTC](https://community.gladysassistant.com/t/dashboard-suppression-sans-alerte/6979/8 "2023-01-24T02:39:22Z")

</div>

Thanks!

> [@Lokkye](#):
>
> I was thinking I could also do the same thing for the scenes. If that’s OK with you, I’d make another PR.

Yes indeed, go for it! Thanks!

---

<div class="post-metadata">

**Author:** ![Jluc](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jluc/32/12397_2.png) [@Jluc](https://community.gladysassistant.com/u/Jluc)\
**Post date:** [January 24, 2023, 10:24am UTC](https://community.gladysassistant.com/t/dashboard-suppression-sans-alerte/6979/9 "2023-01-24T10:24:48Z")

</div>

That would be nice; while deleting a duplicated scene, I must have gone too fast and lost both 🤭

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 26, 2023, 3:10am UTC](https://community.gladysassistant.com/t/dashboard-suppression-sans-alerte/6979/10 "2023-01-26T03:10:36Z")

</div>

@Lokkye Thanks for your PR — it has been merged into master! 🙏

It will be included in the next Gladys release.

I’m closing this request to free up the votes 🙂

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 26, 2023, 3:10am UTC](https://community.gladysassistant.com/t/dashboard-suppression-sans-alerte/6979/11 "2023-01-26T03:10:39Z")

</div>


