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

Improve click handling on users and inline channels #366

Merged
merged 1 commit into from
Jul 3, 2016
Merged

Conversation

xPaw
Copy link
Member

@xPaw xPaw commented May 30, 2016

  1. Fixes Clicking on a user with an existing query window open doesn't bring focus to it #362
  2. Partially (?) fixes Clicking channel names with different case not handled correctly #363
  3. Removes the dumb whois global variable which is prone to race conditions
  4. Fixes clicking on inline channels in different case sens

@xPaw xPaw added Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors. Type: Feature Tickets that describe a desired feature or PRs that add them to the project. labels May 30, 2016
@xPaw xPaw added this to the 2.0.0 milestone May 30, 2016
@maxpoulin64
Copy link
Member

👍 seems all right to me, and one global variable down!

@@ -206,16 +206,18 @@ $(function() {
})
);
renderChannel(data.chan);
var chan = sidebar.find(".chan")

// Queries do not automatically focus, unless the user did a whois
Copy link
Member

Choose a reason for hiding this comment

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

Wait, so does this mean if I click on a user and I already have a query open with them, it won't get focus? That seems confusing.

Copy link
Member Author

Choose a reason for hiding this comment

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

It will, see line 666

Copy link
Member

Choose a reason for hiding this comment

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

Ah right, ok. I see.

@AlMcKinlay
Copy link
Member

Alright, I think this looks good to me then. Feel free to merge if you are ready for it to go in. 👍

@AlMcKinlay AlMcKinlay self-assigned this Jul 3, 2016
@xPaw xPaw merged commit 34b4a7a into master Jul 3, 2016
@xPaw xPaw deleted the xpaw/fix-clicks branch July 3, 2016 17:51
matburnham pushed a commit to matburnham/lounge that referenced this pull request Sep 6, 2017
Improve click handling on users and inline channels
@AlMcKinlay AlMcKinlay removed their assignment Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors. Type: Feature Tickets that describe a desired feature or PRs that add them to the project.
Projects
None yet
3 participants