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

Add link sharing for specific lesson steps in mobile app for Discord assistance #1295

Open
RGHANILOO opened this issue Oct 3, 2024 · 4 comments · May be fixed by #1361
Open

Add link sharing for specific lesson steps in mobile app for Discord assistance #1295

RGHANILOO opened this issue Oct 3, 2024 · 4 comments · May be fixed by #1361
Labels
help wanted Open for all. You do not need permission to work on these. type: feature request Threads classified to be feature requests. Implementation to be considered as a nice to have

Comments

@RGHANILOO
Copy link

Is your feature request related to a problem? Please describe.

Currently, on the mobile app, there isn't a way to share a specific step from within a lesson. This becomes an issue when campers post questions on Discord needing help, but they're unable to share a link to the exact step they're struggling with. As a result, they often resort to sharing multiple screenshots of the lesson requirements or the code they've tried, which can make it more difficult and time-consuming for moderators and peers to offer help.

Describe the solution you'd like

Ideally, there would be a button available within the lesson steps that, when pressed, would copy the URL of the said step to the clipboard. Campers could then easily paste this link into Discord (or other platforms) when seeking help. This would streamline the process and allow moderators or other community members to quickly access the exact step the camper is stuck on, making it easier to provide targeted assistance.

Describe alternatives you've considered

Currently, when campers are stuck on a step, they are given the option to either create a post on the forum, reset the step, or view the console. One alternative might be to extend the existing "create a post" functionality to include the option to share to Discord, allowing campers to easily generate a link they can share in the appropriate Discord channel with a customisable message template example.

Additional context

I don't have specific examples or screenshots of the feature request, here are a couple of very recent examples that campers often share in Discord.
These generally involve screenshots of the lesson requirements or the code they're attempting, which could be streamlined if they had the ability to share a direct link to the lesson step
example-1
example-2

@RGHANILOO RGHANILOO added the type: feature request Threads classified to be feature requests. Implementation to be considered as a nice to have label Oct 3, 2024
@Sembauke Sembauke added the help wanted Open for all. You do not need permission to work on these. label Feb 13, 2025
@Herve176
Copy link

Herve176 commented Apr 1, 2025

Hello am currently working on this issue . here is the image of the share button . what do you think admin ?should i change the color or is ok .I followed the color instruction of :https://design-style-guide.freecodecamp.org/ and to solve this issue am just planning to use a string and pass the current problem as a variable
. Have a nice day

Image

@huyenltnguyen
Copy link
Member

@Herve176 Thanks for working on this.

I think the button should be gray (the same color as the two buttons next to it). We'd like to preserve brighter colors for more important actions (checking code, submitting code, etc.).

@Herve176
Copy link

Herve176 commented Apr 2, 2025

ok i corrected that .Am still strugling to tap on the right varaible for the link but so far everything is already working . when i figure out which variable carry the curriculum name and which carry the workshop name i will be done but here is what it looks like now(localy)

Image Image Image Image

@huyenltnguyen
Copy link
Member

@Herve176 I replied to you in Discord, and I meant to share this link but got distracted 😅

We have a widget that needs to access the same data, in order to share the challenge link. You can use it for reference and follow the data flow:

'**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}';

Herve176 added a commit to Herve176/mobile that referenced this issue Apr 4, 2025
@Herve176 Herve176 linked a pull request Apr 4, 2025 that will close this issue
2 tasks
Herve176 added a commit to Herve176/mobile that referenced this issue Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Open for all. You do not need permission to work on these. type: feature request Threads classified to be feature requests. Implementation to be considered as a nice to have
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants