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

Fix #41: Replace close button image with font-awesome #48

Merged
merged 1 commit into from
Feb 18, 2016
Merged

Fix #41: Replace close button image with font-awesome #48

merged 1 commit into from
Feb 18, 2016

Conversation

xPaw
Copy link
Member

@xPaw xPaw commented Feb 15, 2016

chrome_2016-02-15_12-02-54

@xPaw xPaw added Type: Feature Tickets that describe a desired feature or PRs that add them to the project. second review needed labels Feb 15, 2016
@astorije astorije self-assigned this Feb 15, 2016
@astorije
Copy link
Member

I will take a look at this tonight.

@astorije
Copy link
Member

This icon is very bulky, especially compared to what was there before. I'd much prefer something more like the "X" of GitHub here, octicon-x (on the top right of my comment, since your an org member)
The only thing I can think of is using × / ×. It looked great when I naively tested by remplacing the unicode but there are for sure other things to change (remove the font, height/margins, etc.).

screen shot 2016-02-15 at 20 23 12 vs. screen shot 2016-02-15 at 20 23 22

@xPaw
Copy link
Member Author

xPaw commented Feb 16, 2016

Just a thought, what if he got rid of that close button completely? It would avoid accidentally clicking it while trying to focus the channel. There's already a dedicated Leave button when channel is in focus, and #9 adds a way to close channel in a context menu.

@AlMcKinlay
Copy link
Member

In general, I have been in favour of that for a while. I don't know what the close button on the sidebar adds, and it has caused many users problems with accidentally clicking them.

@dgw
Copy link
Contributor

dgw commented Feb 16, 2016

The discussion in erming/shout#558 is probably relevant. I know a lot of people on this fork will remember it, but it's worth formally mentioning.

@astorije
Copy link
Member

Oh boy what a thread, no wonder why I dropped it :-)

Considering we are already talking about solutions for a different issue here, here is my proposal: let's use × / × for now and reconsider (to remove it, most probably) once the context menu makes his way!

@xPaw
Copy link
Member Author

xPaw commented Feb 17, 2016

Ok, I've replaced it with ×

chrome_2016-02-17_10-46-53

@astorije
Copy link
Member

@xPaw, not a huge deal, but it appears the cross is not vertically centered in the box:

screen shot 2016-02-17 at 22 20 42

Do you think you could take a quick look at that? I won't hold off my 👍 if you cannot find in a reasonable amount of time, but would be nice if you could take a quick look.

Also, the cross now appears green on server close instead of white-ish. I'm guessing it's a side effect of going from image to text, did you leave it on purpose? If you can set it to the same color than the rest, would be great for consistency, but here as well I won't hold off an approval.

Thanks!

@xPaw
Copy link
Member Author

xPaw commented Feb 18, 2016

@astorije Vertical positioning is a bitch, it was fine on my end, but hopefully I fixed it properly.

And I fixed the green color, the close button is always white.

xPaw added a commit that referenced this pull request Feb 18, 2016
Fix #41: Replace close button image with font-awesome
@xPaw xPaw merged commit ded8e37 into thelounge:master Feb 18, 2016
@astorije
Copy link
Member

Hey @xPaw, no big deal on this one, would be great if you can wait for my definitive 👍 (or whoever's made you original comments / started review / assigned the PR) next time before merging :-)

Also, just FYI I'm removing the second review needed label on merged PRs.

@xPaw xPaw deleted the close-button branch March 7, 2016 17:17
@astorije astorije added this to the 1.1.0 milestone Apr 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Tickets that describe a desired feature or PRs that add them to the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants