Skip to content

Conversation

jschlumpp
Copy link
Contributor

@jschlumpp jschlumpp commented Nov 30, 2016

This is a implementation of #436.

TODO

  • How to mark favorite servers?
  • How to render favorite servers?

@jschlumpp
Copy link
Contributor Author

Tinting the background of favorite servers looks pretty decent.
Highlighting
Any opinions for the color?

@VelocityRa
Copy link
Collaborator

Took me a good 10 seconds to notice it, make it more prominent!

@feikname
Copy link
Collaborator

feikname commented Nov 30, 2016

How about keeping the blue background and changing text color to yellow/gold? Yellow and blue go good together!

The same color that @VelocityRa used in the Spectator list sounds good to me. Perhaps a bit darker.
image

Also, yellow is commonly associated with the "star" of favorites

@jschlumpp
Copy link
Contributor Author

Here you go:
Yellow!

@noway
Copy link
Contributor

noway commented Dec 3, 2016

Just say when it's ready as it is now marked as [WIP]. Looks really good.

@jschlumpp
Copy link
Contributor Author

If nobody has any suggestions it's ready.
Also you can't change labels of your issues if you aren't a collaborator. What about removing the "work-in-progress" label and instead use the convention that prefixing a PR with "WIP: " means it's work in progress?

@feikname
Copy link
Collaborator

feikname commented Dec 4, 2016

Me and @VelocityRa log in almost everyday to ensure tagging is correct.

But I have to agree, it's a pain in the ass for people wanting to submit a pull request that they can't change their own tags unless they're a collaborator. The suggestion of modifying the title (or just the contents, really, it's rare to have more than 4 issues pull requests open and it's fast to open and see their status) sounds good to me.

Or we can keep both.

@VelocityRa what do you think of the PR: work-in-progress label?

feikname
feikname previously approved these changes Dec 4, 2016
@@ -59,6 +61,8 @@ namespace spades {
int GetPing() { return ping; }
int GetNumPlayers() { return numPlayers; }
int GetMaxPlayers() { return maxPlayers; }
bool IsFavorite() { return favorite; }
bool SetFavorite(bool favorite) { this->favorite = favorite; }
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return is missing in this non-void function. (specified by C++ spec as undefined behavior)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops it's not only undefined behavior, it also makes no sense.

@feikname feikname dismissed their stale review December 4, 2016 09:48

yvt requested changes. Also, it was wrong of my part to approve them, I didn't even test them.

@VelocityRa
Copy link
Collaborator

@feikname @theunknownxy WIP: sounds good to me. Let's ditch the "PR:work-in-progress" label.

@feikname
Copy link
Collaborator

feikname commented Dec 4, 2016

@VelocityRa done.

@yvt
Copy link
Owner

yvt commented Dec 4, 2016

Thank you for fix. Looks very good.

@yvt yvt merged commit b1bf4e5 into yvt:master Dec 4, 2016
@feikname feikname mentioned this pull request Dec 4, 2016
@jschlumpp jschlumpp deleted the favorites branch December 4, 2016 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants