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

Let subscription name usage in commands be case insensitive #40

Merged
merged 1 commit into from
May 4, 2020

Conversation

mickmister
Copy link
Contributor

Summary

This PR lets the user's input for the subscription be used to match an existing subscription, regardless if the name's casing matches the original name's casing. For example if a subscription's name is Important Topic, the user can type /confluence unsubscribe important topic to delete the subscription. /confluence edit also works the same.

Another thing fixed here is that the subscription name can be multiple words. Before, neither of these slash commands worked when the subscription's name had multiple words.

Ticket Link

Fixes #35

@mickmister mickmister added 2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester labels Apr 28, 2020
@mickmister mickmister force-pushed the case-insensitive-alias branch from f9bd1b8 to 3e340d9 Compare April 28, 2020 06:58
Copy link
Contributor

@jfrerich jfrerich left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@larkox larkox left a comment

Choose a reason for hiding this comment

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

LGTM

@mickmister mickmister removed the 2: Dev Review Requires review by a core committer label May 1, 2020
Copy link

@DHaussermann DHaussermann left a comment

Choose a reason for hiding this comment

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

Tested and passed

  • Subscription edit is now case insensitive
  • Briefly regression tested subscriptions functionality

@DHaussermann DHaussermann added 4: Reviews Complete All reviewers have approved the pull request QA Review Done PR has been approved by QA and removed 3: QA Review Requires review by a QA tester labels May 4, 2020
@mickmister mickmister merged commit 72cb812 into master May 4, 2020
@mickmister mickmister deleted the case-insensitive-alias branch May 4, 2020 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request QA Review Done PR has been approved by QA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make subscription name case insensitive in slash commands
4 participants