Skip to content

MCKIN-15914 Tips should not show if empty - #280

Merged
xitij2000 merged 3 commits into
open-craft:masterfrom
moeez96:MCKIN-15914_v4
May 11, 2020
Merged

MCKIN-15914 Tips should not show if empty#280
xitij2000 merged 3 commits into
open-craft:masterfrom
moeez96:MCKIN-15914_v4

Conversation

@moeez96

@moeez96 moeez96 commented Apr 30, 2020

Copy link
Copy Markdown
Contributor

Jira ticket: https://edx-wiki.atlassian.net/browse/MCKIN-15914
Related PR: #276

Issue:
Even if tips are empty for a choice in an MRQ, html is added to tip_choice_group.html anyway. This shows an empty tip box to user which is undesired UX.

Solution:
Do not add html in tips if not tips exist for condition here to hold true.

@rusrushal13

Copy link
Copy Markdown
Contributor

@xitij2000 @moeez96 I have checked it, it works fine, LGTM 👍

@moeez96

moeez96 commented May 8, 2020

Copy link
Copy Markdown
Contributor Author

@rusrushal13 @xitij2000 Please merge, and tag since I dont have access.

@xitij2000
xitij2000 merged commit 8d05c0f into open-craft:master May 11, 2020
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