Skip to content

Making the status text more useful #149 - #161

Merged
gr2m merged 9 commits into
wip:masterfrom
HaydenMeloche:feat-useful-status-text
Dec 16, 2018
Merged

gr2m merged 9 commits into
wip:masterfrom
HaydenMeloche:feat-useful-status-text

Conversation

@HaydenMeloche

@HaydenMeloche HaydenMeloche commented Dec 4, 2018 •

Copy link
Copy Markdown
Contributor

This PR #149 updates the title of the bot's check to be a little less repetitive. Unit tests were also updated to reflect this change.

Since emojis don't seem to work in the title (even with :construction:) this is how they look:
image

And everything else will look like:
image

Feedback is appreciated!

closes #149

@gr2m gr2m left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I’ll ping support about the usage of emoji in statuses and keep you posted

Comment thread lib/free/set-status.js Resolved
@HaydenMeloche HaydenMeloche changed the title Making the status text more useful #149 WIP Making the status text more useful #149 Dec 5, 2018
@HaydenMeloche HaydenMeloche changed the title WIP Making the status text more useful #149 Making the status text more useful #149 Dec 9, 2018
@HaydenMeloche

Copy link
Copy Markdown
Contributor Author

How's this @gr2m ?
image

@gr2m gr2m left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

emoji-text is no longer maintained, I found gemoji as an alternative which sounds like what we want?

Comment thread lib/free/set-status.js Resolved
Comment thread lib/pro/set-status.js Resolved
Comment thread lib/pro/set-status.js Resolved
Comment thread lib/pro/set-status.js Resolved
Comment thread package.json Resolved
Comment thread test/integration/free-plan-test.js Resolved
gr2m and others added 2 commits December 9, 2018 12:01
Co-Authored-By: HaydenMeloche <[email protected]>
Co-Authored-By: HaydenMeloche <[email protected]>
@HaydenMeloche

Copy link
Copy Markdown
Contributor Author

With some further investigation it appears emojiRegex doesn't support everything.
Example:

output = newStatus.match.replace(emojiRegex(), (match) => gemoji.unicode[match])
console.log(`Output ${output.name} - Match: ${newStatus.match}`);

Output: Output undefined - Match: 🐱

@HaydenMeloche

Copy link
Copy Markdown
Contributor Author

I updated the package to gemoji now. I left it saving as a new variable that way the description in the details page still shows the original emoji.

@gr2m thoughts? 😄

@gr2m gr2m left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Loos great, thanks Hayden 💐

@gr2m
gr2m merged commit b427eee into wip:master Dec 16, 2018
@gr2m

gr2m commented Dec 16, 2018

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 3.9.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@gr2m gr2m added the released label Dec 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Making the status text more useful

2 participants