You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: update forum dialogue to be the same as the main website (#1572)
* feat(dialog): add new forum dialog
* feat: refactor forum help dialog and link generation in LearnService
* feat(dialog): update dialog types for asking for help
* feat(dialog): update colors in ask for help dialog for better visibility
* feat: refactor learn service and helper functions for improved code organization
final userDeviceInfo =awaitgetDeviceInfo(context);
180
+
181
+
final titleText ='$blockTitle - ${currChallenge.title}';
182
+
finalString endingText =
183
+
'**Your mobile information:**\n```txt\n$userDeviceInfo\n```\n\n**Challenge:** $titleText\n\n**Link to the challenge:**\nhttps://www.freecodecamp.org/learn/${currChallenge.superBlock}/${currChallenge.block}/${currChallenge.dashedName}';
"**Tell us what's happening:**\nDescribe your issue in detail here. \n\n$description\n\n**Your code so far**$userCode\n\n$endingText";
189
+
finalString altTextMessage =
190
+
"**Tell us what's happening:**\n\n\n\n**Your code so far**\n\nWARNING\n\nThe challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.\n\nYou will need to take an additional step here so the code you wrote presents in an easy to read format.\n\nPlease copy/paste all the editor code showing in the challenge from where you just linked.\n\n```\nReplace these two sentences with your copied code.\nPlease leave the ``` line above and the ``` line below,\nbecause they allow your code to properly format in the post.\n\n```\n$endingText";
0 commit comments