Refined-github: Star/Unstar from Dashboard

Created on 18 Mar 2019  路  7Comments  路  Source: sindresorhus/refined-github


Without Refined GitHub installed users are able to star/unstar repos from the dashboard homepage based on the activity of those you follow. With Refined GitHub installed this feature disappears. It might be nice to add it back in?

Before

image

After

image

Thanks for your time!

change request

All 7 comments

It鈥檚 a feature: https://github.com/sindresorhus/refined-github/issues/1642#issuecomment-442886091

I don't think you have enough information based on just a name and description to star something.

You can restore them with some CSS: (updated)

/* #1864 restore Star/Unstar buttons in dashboard */
.dashboard .flex-items-baseline [value='Star'],
.dashboard .flex-items-baseline [value='Unstar'] {
    display: block !important;
}
.dashboard .watch_started .border-gray.flex-items-baseline .text-bold.text-gray-dark  {
    display: block !important;
}

Great, thanks @bfred-it! Really appreciate the quick response.

I have added this to the CSS portion under preferences of the Addon but they have not shown back up, unfortunately. Has the method to redisplay them changed since this was posted?

@MostHated yes it has, .dashboard .watch_started .border-gray.flex-items-baseline .text-bold.text-gray-dark now contains both the title and the star button, and we're hiding them together. I updated the snippet above

I added the updated code in as seen below:

Unfortunately, though, I am still not seeing them for some reason?

I do see "Follow" and "Unfollow" for users, but not "Star" or "Unstar".

You likely need to add !important to the star/unstar CSS too.

You likely need to add !important to the star/unstar CSS too.

Perfect, that did it. I had just copied and pasted the example he had above and I don't know CSS very well, so I didn't realize that was missing.

Thanks!
-MH

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MilesBHuff picture MilesBHuff  路  3Comments

olso picture olso  路  3Comments

durka picture durka  路  3Comments

sindresorhus picture sindresorhus  路  3Comments

alexanderadam picture alexanderadam  路  3Comments