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

feat: Highlight Keywords without notification #119

Merged
merged 11 commits into from
Oct 24, 2023
Merged

Conversation

yasserfaraazkhan
Copy link
Collaborator

@yasserfaraazkhan yasserfaraazkhan commented Oct 5, 2023

Development PR: mattermost/mattermost#24050

Copy link
Member

@M-ZubairAhmed M-ZubairAhmed left a comment

Choose a reason for hiding this comment

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

I was hoping we could have even more test cases rather than just the two so we can have good amount of e2e coverage

@yasserfaraazkhan
Copy link
Collaborator Author

Sure @M-ZubairAhmed ,
I'm putting down according to Acceptance criteria for the feature. observed a behaviour here .

will add few more.

Copy link
Member

@M-ZubairAhmed M-ZubairAhmed left a comment

Choose a reason for hiding this comment

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

We will also need to included the changes after the Upsell discussion on this feature. So will wait for those

data/test-cases/channels/settings/test-1.md Outdated Show resolved Hide resolved
Copy link
Member

@marianunez marianunez left a comment

Choose a reason for hiding this comment

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

Thanks @yasserfaraazkhan! Base test cases LGTM, could you include the test cases for the upsell scenarios discussed last week?

2. In the `Keywords That Get Highlighted (without notifications)` section, type a test phrases and words. Example: `Testing`, `Testing the keyword highlight without notification feature`.
3. Press `Tab` or `Comma` and press `Save` button.
4. Open any channel, and post the example phrase.
5. Verify the Phrase is Highlighted by a yellow background
Copy link
Member

Choose a reason for hiding this comment

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

Could we add an additional step to verify that the phrase does not show in the mentions section in the RHS (like the highlight keywords do)

2. Scroll to `Keywords That Get Highlighted (without notifications)` section.
3. Verify that the Setting is disabled and we see `Professional` tag indicating it is available after upgrading the instance to Professional license.
4. Click on the Professional tag.
5. Verify that a modal with title `Highlighted Keywords without notifications with Mattermost Professional` appears.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hi @marianunez @abhijit-singh ,
will the title contain Upgrade to use .. like in the below example

image

data/test-cases/channels/settings/tes.md Outdated Show resolved Hide resolved
data/test-cases/channels/settings/tes.md Outdated Show resolved Hide resolved
data/test-cases/channels/settings/test-3.md Outdated Show resolved Hide resolved
Copy link
Member

@M-ZubairAhmed M-ZubairAhmed left a comment

Choose a reason for hiding this comment

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

Just one comment above

Copy link
Member

@marianunez marianunez left a comment

Choose a reason for hiding this comment

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

Thanks @yasserfaraazkhan! LGTM - small note of a verification to add below

data/test-cases/channels/settings/test-1.md Outdated Show resolved Hide resolved
@yasserfaraazkhan yasserfaraazkhan merged commit 81837f9 into main Oct 24, 2023
1 check passed
@yasserfaraazkhan yasserfaraazkhan deleted the highlight_test branch October 24, 2023 07:08
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