# Möglichkeit, Szenen zu kategorisieren / zu gruppieren

**URL:** <https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081>\
**Category:** Demandes livrées\
**Tags:** scene, feature-core, regroupement\
**Created:** [20. März 2022 um 11:48 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081 "2022-03-20T11:48:12Z")\
**Posts on this page:** 20\
**Page:** 3

<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:** [28. September 2023 um 08:19 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/41 "2023-09-28T08:19:03Z")

</div>

@Lokkye Ich habe dir eine Review gemacht!

> <https://github.com/GladysAssistant/Gladys/pull/1900#pullrequestreview-1648142539>
>
> \### 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)
> \- \[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.
> 
> NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
> 
> \### Description of change
> \<img width="529" alt="Screenshot 2023-09-26 at 08 32 48" src="https://github.com/GladysAssistant/Gladys/assets/11317212/48d81a5b-9417-4ebb-a2b0-9fe959d6771b"\>
> \<img width="705" alt="Screenshot 2023-09-25 at 11 38 03" src="https://github.com/GladysAssistant/Gladys/assets/11317212/da82323d-0067-445a-9db0-879945648b8e"\>

---

<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:** [2. Oktober 2023 um 06:22 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/42 "2023-10-02T06:22:04Z")

</div>

@pierre-gilles: Danke für das Review. Ich mache gerade die Änderungen, aber ich bräuchte, dass du meine Frage zur PR beantwortest 🙂

---

<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:** [2. Oktober 2023 um 06:49 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/43 "2023-10-02T06:49:45Z")

</div>

@Lokkye Ich habe dir geantwortet!

---

<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:** [2. Oktober 2023 um 08:52 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/44 "2023-10-02T08:52:01Z")

</div>

@pierre-gilles: Danke für die Antwort. Ich habe gerade die neue Version (mit der neuen Tabelle und react-select) gepusht. Brauchst du ein Docker-Image?  
Ich korrigiere gerade die Tests, die auf dem PR nicht durchlaufen.

---

<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:** [2. Oktober 2023 um 12:42 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/45 "2023-10-02T12:42:16Z")

</div>

Nicht nötig, wenn es nur um die UI geht, ich pull einfach und teste lokal auf meinem Mac 🙂

---

<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:** [3. Oktober 2023 um 07:08 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/46 "2023-10-03T07:08:36Z")

</div>

Ich habe mir die Mühe gemacht, die Bearbeitung des Szenen-Icons gemäß dieser Anfrage hinzuzufügen: [Modification de l’icône des scènes après création](https://community.gladysassistant.com/t/modification-de-l-icone-des-scenes-apres-creation/7912)

Hier ist das Ergebnis:

 ![Screenshot 2023-10-03 at 09.06.23](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/5/55386bc225eca76b3a9edeb767d5e1adf77dcd27.png)  
 ![Screenshot 2023-10-03 at 09.06.06](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/b/b3b46ea4bbe28cef814c863e12056635a115583d.jpeg)

---

<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:** [3. Oktober 2023 um 08:01 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/47 "2023-10-03T08:01:37Z")

</div>

Das ist ja cool! Eine kleine Sache, die ich aber wichtig finde; danke! 🙂

---

<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:** [4. Oktober 2023 um 07:11 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/48 "2023-10-04T07:11:30Z")

</div>

Magnifique @Lokkye !!! 😍

Ich schreibe dir eine Rezension, sobald ich kann 🙂

---

<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:** [6. Oktober 2023 um 09:16 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/49 "2023-10-06T09:16:17Z")

</div>

Ich habe gerade @Lokkye getestet, es ist super süß und ich mag die CSS-Animation, wenn man das Konfigurationsfenster öffnet, sehr gerne, es sieht damit viel besser aus 🙂

Für «&nbsp;react-select&nbsp;» ist es perfekt mit (denk daran, die andere Bibliothek aus der package.json zu entfernen), man könnte vielleicht nur den «&nbsp;Erstellen&nbsp;»-Text übersetzen, ich glaube, man kann react-select eine Übersetzung übergeben:

 ![Screenshot 2023-10-06 at 10.37.08](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/0/02f5d997b6413b792eed84c99c62de402e9ae3e9.png)

Und sonst wäre es cool, wenn man in der Listenansicht nach Tags filtern könnte:

 ![Screenshot 2023-10-06 at 11.11.34](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/1/1e3f017fba42a4456467f6f64a6342665f22906e.png)

Aber funktionell ist dieser neue «&nbsp;Konfiguration&nbsp;»-Block super cool 👏

Anderer Feedback, vielleicht ein Problem mit der Ausrichtung der Tags in der Listenansicht, das wirkt komisch, finde ich:

 ![Screenshot 2023-10-06 at 11.30.42](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/2/2107f38b5b2c8e6851f57475f550b31df98bc035.png)

---

<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:** [13. Oktober 2023 um 08:01 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/50 "2023-10-13T08:01:33Z")

</div>

Ich habe gerade die Änderungen vorgenommen, hier ist das Ergebnis:

 ![Screenshot 2023-10-13 at 09.59.10](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/0/0f415871b4e4eb91c5961cc28a8d3ecfacc77e15.png)  
 ![Screenshot 2023-10-13 at 09.59.04](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/2/208fd7fa3bca86f105d40b016f1fb2311538b078.png)  
 ![Screenshot 2023-10-13 at 09.58.56](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/a/a80b71306509e5c5a54fc86cd3607c1fa39055eb.png)  
 ![Screenshot 2023-10-13 at 09.58.41](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/9/964a4f5ed8993069df105f33c363eba73d414e39.png)

Alles ist auf den Branch gepusht 🙂

---

<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:** [13. Oktober 2023 um 17:01 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/51 "2023-10-13T17:01:14Z")

</div>

Danke für die Änderungen @Lokkye! 🙂

Ich habe ein bisschen Probleme mit dem Tag-Selektor in der Szenenliste, er springt ein bisschen beim Benutzen:

Und auf dem Handy ist das Design ein bisschen kaputt:

 ![Screenshot 2023-10-13 at 18.55.23](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/0/0c93f7603767313506668a4ade88a6d62f267f64.png)

Ich bin mir nicht sicher, ob dieses Element für die Filterung nach Tags geeignet ist, keine Ahnung, was du davon hältst?

Auf dem Handy zum Beispiel sollte man nicht zögern, die Elemente zu stapeln, wenn es zu viel wird, zum Beispiel bei Github in der Liste der Issues sieht das so aus:

 ![Screenshot 2023-10-13 at 19.00.25](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/6/678dbc4c9d6dfa872c1e8721c03c70977723f200.png)

---

<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:** [16. Oktober 2023 um 09:00 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/52 "2023-10-16T09:00:17Z")

</div>

Ich war auch nicht zufrieden mit dem Ergebnis, das ich erzielt hatte.

> [@pierre-gilles](#):
>
> Ich bin mir nicht sicher, ob dieses Element für die Filterung nach Tags geeignet ist. Ich weiß nicht, was du davon hältst?

Ich denke auch nicht.

> [@pierre-gilles](#):
>
> Auf mobilen Geräten sollte man zum Beispiel nicht zögern, Elemente zu stapeln, wenn es zu viel wird. Zum Beispiel macht GitHub das in der Liste der Issues so:

Was GitHub macht, ist nicht schlecht. Aber ich finde es ein bisschen zu sehr auf «&nbsp;Devs&nbsp;» ausgerichtet.

Anfangs wollte ich nur das Suchfeld verwenden und das Backend sollte nach dem Titel und den Tags suchen, aber das war nicht sehr benutzerfreundlich.

Ich werde weitere Tests durchführen, um zu sehen, ob ich etwas anderes finde.

---

<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:** [16. Oktober 2023 um 09:07 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/53 "2023-10-16T09:07:05Z")

</div>

@pierre-gilles: Was hältst du davon, die Tags links anzubringen, so wie beim Integrationsbildschirm?

---

<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:** [16. Oktober 2023 um 12:34 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/54 "2023-10-16T12:34:21Z")

</div>

> [@Lokkye](#):
>
> Was GitHub macht, ist nicht schlecht. Aber ich finde es ein bisschen zu sehr auf « Dev » ausgerichtet.

Ja, da bin ich ganz deiner Meinung!

> [@Lokkye](#):
>
> @pierre-gilles: Was hältst du davon, die Tags links anzuzeigen, so wie beim Bildschirm der Integrationen?

Das kann man wirklich mal testen! Das ist eine gute Idee

---

<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:** [17. Oktober 2023 um 08:39 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/55 "2023-10-17T08:39:29Z")

</div>

@pierre-gilles  
Ich dachte an so etwas (ich habe nur die Elemente ohne Stil platziert):

 ![Screenshot 2023-10-17 at 10.38.07](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/0/0de5da4cc8918fb279f9d45ffaf5a478e002682e.png)  
Das wird auf vielen Online-Shopping-Websites häufig verwendet.

Was hältst du davon?

---

<div class="post-metadata">

**Author:** ![cce66](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/c/8797f3/32.png) [@cce66](https://community.gladysassistant.com/u/cce66)\
**Post date:** [17. Oktober 2023 um 11:36 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/56 "2023-10-17T11:36:02Z")

</div>

@Lokkye  
Ich mag das Konzept, zumal es die Mehrfachkriterien-Filterung ermöglicht! 😍  
Und während ich gerade daran denke und es sei denn, es wurde bereits vorgeschlagen (aber ich habe nichts gefunden), ist es geplant, eine automatische Ausfüllung der Tags in den Szenen zu ermöglichen? (Ich denke, die nützlichen Tags wären «&nbsp;Raum&nbsp;» und «&nbsp;Gerät&nbsp;», das würde es ermöglichen, später nur die Szenen zu filtern, die einen bestimmten Raum oder ein bestimmtes Gerät betreffen, denn wenn die Szenen zahlreich werden, kann es mühsam werden zu wissen, welche Szene ein Gerät mit unerwartetem Verhalten hat. Das sollte mit @pierre-gilles besprochen werden, ob ich eine Anfrage stellen soll oder nicht… 🙂

---

<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:** [17. Oktober 2023 um 12:31 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/57 "2023-10-17T12:31:25Z")

</div>

> [@Lokkye](#):
>
> Ich sah so etwas (ich habe die Sachen einfach ohne Stil platziert):

Das ist nicht schlecht! Man sollte eine Möglichkeit hinzufügen, um alles abzuwählen, und ich weiß nicht, wie viele Tags die Leute haben werden, aber es muss trotzdem benutzbar bleiben, egal wie viele Tags es gibt.

Ein einziger „iconvenient“ ist, dass es dadurch nicht durchsuchbar ist.

Man sollte auch sehen, was man auf dem Handy macht?

@cce66 Nein, das ist nicht geplant und das ist nicht der Entwicklungsstand hier.

---

<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:** [5. November 2023 um 12:17 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/58 "2023-11-05T12:17:45Z")

</div>

@pierre-gilles: Ich habe gerade die letzten Änderungen aufgrund unseres Gesprächs hochgeladen. Könntest du mal einen Blick darauf werfen und mir sagen, was du davon hältst?

---

<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:** [6. November 2023 um 08:34 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/59 "2023-11-06T08:34:34Z")

</div>

Ich schau mir das heute an 🙂

---

<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:** [6. November 2023 um 09:26 UTC](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081/60 "2023-11-06T09:26:18Z")

</div>

Danke @Lokkye für den PR, die UI ist wirklich cool so! Einfach und effektiv.

Ich habe dir eine Review gemacht, ich habe ein paar kleine Rückmeldungen, aber nichts Schlimmes:

[https://github.com/GladysAssistant/Gladys/pull/1900#pullrequestreview-1714583355](https://github.com/GladysAssistant/Gladys/pull/1900#pullrequestreview-1714583355)

[Vorherige Seite](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081.md?page=2)

[Nächste Seite](https://community.gladysassistant.com/t/possibilite-de-categoriser-grouper-les-scenes/7081.md?page=4)
