-
Notifications
You must be signed in to change notification settings - Fork 37
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
Update helplink.json for Contextual-Help #63
base: master
Are you sure you want to change the base?
Conversation
Rather than hide the problem by forging |
Any update? We really ought to find out why this happens rather than plaster over it. |
I was planning to dive into this, once migration of all working activities is complete. |
Sure. |
In the file https://github.com/sugarlabs/sugar/blob/ffe4d50782cbf848e63ef5383d69bf4da25f952d/src/jarabe/view/viewhelp.py get_help_url_and_title(activity) (at line 73) implements the above. where; line 98: gets the Correct me if I'm wrong or missing something. |
I suspect this a simple(rather odd) issue which occurs just because; we have 2 different copies of the activity check these 2 commits: sugarlabs/AEIOU@b051e76#diff-65fbf29894b41250d50ea32939f0a6d9 , sugarlabs/lettermatch@fb6921a#diff-65fbf29894b41250d50ea32939f0a6d9 The above changes are yet to be reflected in activities.sugarlabs.org, which brings in the discrepancy Also, the issues aren't even reproducible when we install AEIOU and Letter Match from their GitHub repositories. |
Interesting, thanks. So Sugar and the Toolkit are working correctly, you were using older bundles from activities.sugarlabs.org to test the contextual help feature, but you used GitHub source rather than the released bundle to update the helplink.json file in e3b14cc. It would be solved by releases of AEIOU and LetterMatch, but you aren't willing to do that? Again, brings up an issue that we have had for many weeks; plenty of minor fixes, but very few releases, almost as if someone forgot to say in task descriptions that releases were important. 😁 @walterbender, why do those two commits above change the bundle id? |
Is there a checklist to follow for new releases of Activities? |
Sure. Our Contributing - Modifying Activities and the subsections within it. |
@walterbender, why do those two commits above change the bundle id? perhaps wasn't meant for pushing? |
I hit this again and fixed it for release to ASLO for AEIOU. sugarlabs/AEIOU@c8be707 |
as far as I know, the helplink.json file is used to map an activity
bundle_id
to a .html file; such thatthe same .html file is rendered when asked for contextual help (by alt+shift+h) from within a particular activity (having corresponding bundle_id)
But for
AEIOU:
activity.info says
bundle_id = org.sugarlabs.AEIOU.NI
help doesn't work. But works with
bundle_id = org.sugarlabs.AEIOU
Letter Match:
activity.info says
bundle_id = org.sugarlabs.LetterMatch.NI
help doesn't work. But works with
bundle_id = org.sugarlabs.LetterMatch
also, the activity_version is not consistent ( activity-github-repo vs https://activities.sugarlabs.org/en-US/sugar/)