-
-
Notifications
You must be signed in to change notification settings - Fork 185
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(helpBubble): add Academy link and update text of existing links TASK-1466 #5437
Conversation
@@ -217,6 +217,12 @@ | |||
env.str('KOBO_SUPPORT_URL', 'https://support.kobotoolbox.org/'), | |||
'URL for "KoboToolbox Help Center"', | |||
), | |||
'ACADEMY_URL': ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious why do we need to check the environment for these links?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just followed the same code for the other URLs. But yeah, maybe it's not necessary for this one
@@ -316,7 +317,7 @@ def test_free_tier_override_uses_organization_owner_join_date( | |||
def test_social_apps(self): | |||
# GET mutates state, call it first to test num queries later | |||
self.client.get(self.url, format='json') | |||
queries = FuzzyInt(18, 27) | |||
queries = FuzzyInt(18, 28) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change? Not disagreeing with it but I'm just not sure where this is coming from
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this checks how many things are there in environment endpoint, and since we've added one, it needs to be increased:)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, a new constance configuration parameter brings an additional DB query
📣 Summary
Add new link to KoboToolbox Academy in the
HelpBubble
popup. The link is configurable through/admin
UI (constance). Two existing links in the same popup had their text updated.💭 Notes
Before --> after:
👀 Preview steps
Feature/no-change template: