Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Star/Unstar from Dashboard #1864

Closed
jmickey opened this issue Mar 18, 2019 · 7 comments
Closed

Star/Unstar from Dashboard #1864

jmickey opened this issue Mar 18, 2019 · 7 comments

Comments

@jmickey
Copy link

jmickey commented Mar 18, 2019

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!

@fregante
Copy link
Member

fregante commented Mar 19, 2019

It’s a feature: #1642 (comment)

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;
}

@jmickey
Copy link
Author

jmickey commented Mar 19, 2019

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

@MostHated
Copy link

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?

@fregante
Copy link
Member

fregante commented Jul 25, 2019

@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

@MostHated
Copy link

MostHated commented Aug 3, 2019

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".

@busches
Copy link
Member

busches commented Aug 3, 2019

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

@MostHated
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants