Ability to favorite integrations

Be able to mark integrations as favorites with a click on a star- or bookmark-style icon, so you can quickly find your integrations and no longer have to search for them every time.

Favorite integrations would, for example, appear at the top of the list.

Good idea!

That said, we had discussed it a bit here:

It might be worth seeing if we could group the requests :wink:

3 Likes

Ah yes, sorry about the near-duplicate, I had searched, though :zany_face:
On peut regrouper sans problĂšme.
We can have a « My integrations Â» menu or place your favorite integrations at the top of the list — the ones we use, but not only those, the ones we’d like to use later.

I did this quickly.
I added a Favorites menu at the top left and a star to the right of the title.

Here is the result:
image

image

If no Favorites
image

Tell me what you think.

5 Likes

That would be perfect!

I’m taking the opportunity to make the cards the same height
image

3 Likes

Awesome @_Will_71 !
If I dared, I’d ask you if it’s possible to have a green check next to the star to indicate that the plugin is installed/configured; I don’t know if you can retrieve that info.

2 Likes

Quick question: what is the display policy for integrations for a Gladys user of type User?
Admin sees everything and as a regular user you see this and I’m not sure an MCP server would be useful, and we have Google Home and Alexa but not HomeKit 


I’m not saying no, but I think it’s better to separate the dev work.
The more a PR stays focused on a single subject, the easier the review

1 Like

Here is the latest render
image

image

A test image if someone wants to test while I prepare the pull request (PR).

willde71/gladys-test:integration-favorites
5 Likes

Well done @_Will_71 , it works perfectly !
And if you’re in Favoritesand you "unstar" an integration, it disappears immediately :ok_hand:

1 Like

@pierre-gilles , here is the PR for this request

Thanks for the implementation @_Will_71 :folded_hands:

Is there any reason why you went with the « Favorite Â» approach rather than the « My integrations Â» approach?

Given that we do have the data on used integrations, each integration can expose an « isUsed() Â» function :slight_smile:

No, I didn’t really give it much thought.
Besides, it’s only a piece of text — we can change it easily.

As for the features used, I hadn’t checked yet, thanks for the info.

Ok, I admit I had more in mind the « My integrations Â» on my side (to see what that might look like), since we already have the information, it will be automatic and require no configuration, and on top of that we keep the UI simple!

I’ll watch tonight or tomorrow

After thinking about it again; do we want to sort all integrations used in My Integrations, or be able to favorite some regardless of which ones are used?

I’m on the favoris team with an indication of what’s installed :wink:

1 Like

After some thought, the idea of a My Integrations menu — why not (I’ll do a test to show the difference) — but if, in the extreme case, we have all integrations configured then all integrations will appear in the menu. So what’s the point?

For this case I’d prefer to have a favorites menu and be able to manually choose the integrations I want to highlight.

Another example, I mainly use zigbee2mqtt so I could simply choose only this integration as a favorite. That would avoid having to scroll and search through the entire list.

2 Likes

@pierre-gilles, I looked but the problem is that not all integrations currently return the function isUsed()