Uh oh!
There was an error while loading. Please reload this page.
[GH-3463]: Added commands to add/remove the current theme to favorites - #3682
Conversation
rizwanmustafa
commented
Oct 25, 2022
As the name suggests the command should add the theme to favorites, not toggle it. Please fix that. |
Uh oh!
There was an error while loading. Please reload this page.
rizwanmustafa
commented
Oct 25, 2022
Also the code you have written doesn't take into account the fact that the user could have custom themes activated. |
rizwanmustafa
left a comment
There was a problem hiding this comment.
Please fix the problems mentioned.
Miodec
commented
Oct 25, 2022
@rizwanmustafa@varunKT001 I DO want the command to also remove from favorites. (but please update the text to "remove theme from favorites" if its already a favorite) |
Miodec
commented
Oct 25, 2022
Update: Instead of updating the same command, add a second command (to remove from favorites) and then just toggle the visibility of them based on if the theme is favorite or not |
varunKT001
commented
Oct 25, 2022
Done 👍
Done 👍 |
Miodec
left a comment
There was a problem hiding this comment.
Please merge add and remove commands into one file
varunKT001
commented
Oct 25, 2022
Done 👍 |
Miodec
commented
Oct 25, 2022
Thanks |
varunKT001
commented
Oct 25, 2022
I'm glad to contribute to one of my favorite applications I use daily 😄 |
Description
I added the 'Add current theme to favorite...' command. If the theme is already present in the favorite list, we'll remove it from the list. Otherwise, we'll add it to the favorites list.
Screenshots
Closes#3463