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

Add clickable usernames in host offline messages #2922

Merged
merged 4 commits into from
Jun 27, 2021

Conversation

talneoran
Copy link
Contributor

@talneoran talneoran commented Jun 25, 2021

Pull request checklist:

  • CHANGELOG.md was updated, if applicable

Description

Makes the channel name in <channel> has gone offline. Exiting host mode. messages clickable.
Implements missing functionality from #2752 which was described in #2655.

@jupjohn
Copy link
Contributor

jupjohn commented Jun 27, 2021

Looks fine to me! Only gripe is that the username's capitalisation in "Now hosting" can differ to that of "has gone offline"

image

@talneoran
Copy link
Contributor Author

talneoran commented Jun 27, 2021

Only gripe is that the username's capitalisation in "Now hosting" can differ to that of "has gone offline"

Not sure why this happens since both messages are handled similarly. Do you know if the original offline message we get (which is the one shown on the current version) has the username capitalized?

Edit: The original messages seems to be different (commit f605221), PR only adds the link:
image

@pajlada pajlada enabled auto-merge (squash) June 27, 2021 13:32
@pajlada pajlada merged commit db09a88 into Chatterino:master Jun 27, 2021
@talneoran talneoran deleted the clickable-host-offline-messages branch June 27, 2021 13:52
zneix added a commit to SevenTV/chatterino7 that referenced this pull request Jun 28, 2021
Now we're on commit 6355742; Changes from upstream we pulled:

- Minor: Channel name in `<channel> has gone offline. Exiting host mode.` messages is now clickable. (Chatterino#2922)
- Minor: Added `/openurl` command. Usage: `/openurl <URL>`. Opens the provided URL in the browser. (Chatterino#2461, Chatterino#2926)
- Bugfix: Fixed large timeout durations in moderation buttons overlapping with usernames or other buttons. (Chatterino#2865, Chatterino#2921)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants