# \[UI\] Improve "Continue only if"

**URL:** <https://community.gladysassistant.com/t/ui-ameliorer-continuer-seulement-si/9419>\
**Category:** Demandes livrées\
**Tags:** feature-request-ux\
**Created:** [March 10, 2025, 4:26pm UTC](https://community.gladysassistant.com/t/ui-ameliorer-continuer-seulement-si/9419 "2025-03-10T16:26:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [March 10, 2025, 4:26pm UTC](https://community.gladysassistant.com/t/ui-ameliorer-continuer-seulement-si/9419/1 "2025-03-10T16:26:49Z")

</div>

Hello,  
I just noticed that if you have several conditions in a «&nbsp;Continue only if&nbsp;» block, you can’t delete the first one, which is annoying if you don’t want it anymore and only want to keep the others.

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/0/e/0e5da24b21203b4d13dc6d49347972beeff2a3fe.png)

Is it possible to have a `delete` on each condition and for the `delete` to disappear when there is only one EMPTY condition?  
For the example, I create 3 conditions and delete the 1st and 2nd to keep only the 3rd.

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/2/d/2dd45943741e391e255c1434e4928d8a8e166ee3.png)  
 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/b/0/b0f87cd47517475581bd56700f39765b65a1f29c.png)  
and then I delete the only one left to reset the condition to 0.  
 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/0/f/0f82e403346a115a5d88a261f915a2ccef409865.png)

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [March 11, 2025, 9:03am UTC](https://community.gladysassistant.com/t/ui-ameliorer-continuer-seulement-si/9419/2 "2025-03-11T09:03:34Z")

</div>

I’m moving this to Feature Request because I think that’s where it belongs 😉

---

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [March 19, 2025, 2:41pm UTC](https://community.gladysassistant.com/t/ui-ameliorer-continuer-seulement-si/9419/3 "2025-03-19T14:41:09Z")

</div>

> **Content moved to new feature request (see below)**
>
> I added the `blocks` in the title because I just noticed that you can never delete block 1 even if it is empty:
> 
> ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/f/c/fc67e4462af4fed8d437ad8cbffb6689081ffa95.png)  
> I’d like to have the same behavior, what about you?
> 
> EDIT: this looks like the second part of @StephaneB’s request here:  
> [[Scènes] Pouvoir insérer un bloc de scène (plutôt qu'un ajout en fin)](https://community.gladysassistant.com/t/scenes-pouvoir-inserer-un-bloc-de-scene-plutot-quun-ajout-en-fin-et-pouvoir-supprimer-le-premier-bloc/9342/1)

---

<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:** [March 21, 2025, 12:49pm UTC](https://community.gladysassistant.com/t/ui-ameliorer-continuer-seulement-si/9419/4 "2025-03-21T12:49:16Z")

</div>

Hi @mutmut 🙂

I totally agree with adding a “Delete” button to the **“Continue only if”**.

For the blocks, could you create a new request? It’s better to separate topics to keep discussions clear, and all the information should be in the first message 🙂

---

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [March 21, 2025, 6:55pm UTC](https://community.gladysassistant.com/t/ui-ameliorer-continuer-seulement-si/9419/5 "2025-03-21T18:55:41Z")

</div>

Hi @pierre-gilles, I’m on it and I’ll change the title!

EDIT: [[Scène] Effacer bloc 1 si vide](https://community.gladysassistant.com/t/scene-effacer-bloc-1-si-vide/9447)

---

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [April 16, 2025, 4:36pm UTC](https://community.gladysassistant.com/t/ui-ameliorer-continuer-seulement-si/9419/6 "2025-04-16T16:36:15Z")

</div>

Hello,  
Do we have any news on this request?  
Thanks in advance 🙂

---

<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:** [May 2, 2025, 4:44pm UTC](https://community.gladysassistant.com/t/ui-ameliorer-continuer-seulement-si/9419/7 "2025-05-02T16:44:26Z")

</div>

Hi @mutmut 🙂

I just fixed it in this PR :

> <https://github.com/GladysAssistant/Gladys/pull/2282>
>
> … are multiple conditions
> 
> \### Pull Request check-list
> 
> To ensure your Pull …Request can be accepted as fast 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)
> \- \[x\] If you are adding a new features/services, did you run integration comparator? (\`npm run compare-translations\` on front)
> \- \[x\] 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 (\[french forum\](https://community.gladysassistant.com/)/\[english forum\](https://en-community.gladysassistant.com/)) for testing before merging.
> 
> \### Description of change
> 
> https://community.gladysassistant.com/t/ui-ameliorer-continuer-seulement-si/9419

Now, all conditions can be deleted, provided there is at least one condition :

I have 2 conditions :

 ![Screenshot 2025-05-02 at 18.41.09](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/5/f/5ff3c1b0fb2faea1bc222e9ba5430eb4c5874927.png)

I remove the first one :

 ![Screenshot 2025-05-02 at 18.41.18](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/8/5/85d4ec4bf9cdbba4eed82f1e4cb9734ccaa24c5e.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:** [May 11, 2025, 3:11pm UTC](https://community.gladysassistant.com/t/ui-ameliorer-continuer-seulement-si/9419/8 "2025-05-11T15:11:43Z")

</div>

This new feature is available in Gladys Assistant 4.58:

> [@Gladys Assistant 4.58: Matter, mais pas que ! grinning\_face\_with\_smiling\_eyes](https://community.gladysassistant.com/t/gladys-assistant-4-58-matter-pas-pas-que/9503):
>
> Salut la communauté wave Je suis très heureux de vous présenter Gladys Assistant 4.58, une nouvelle version majeure qui apporte le support de Matter, ainsi que plein d’autres nouveautés pratiques ! Tous les détails sont sur le blog : N’hésitez pas à me faire part de vos retours slightly_smiling_face

---

<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:** [May 11, 2025, 3:11pm UTC](https://community.gladysassistant.com/t/ui-ameliorer-continuer-seulement-si/9419/9 "2025-05-11T15:11:45Z")

</div>


