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
{{ message }}
This repository was archived by the owner on Apr 16, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 16, 2024. It is now read-only.
freeCodeCamp will use the embed feature with CodeAlly. When I open a link to one of those containers, close it, and try to open the same link, it appears to create a new container. We need it to open the same container so users can pick up tutorials where they left off. Before the transition from Strove to CodeAlly this seemed to be how it worked, so I'm hoping it's an easy fix.
This seems to be working after the latest updates, but not quite how I was hoping. Maybe I wasn't specific enough. Here's some more details - The fCC site will look something like this:
Each button there opens a link/container with the following code:
The repoUrl=${url} will have the repo associated with each of the buttons (tutorials) in the first image. The current behavior, after the latest updates, seems to be that any link always takes you to the same container. So if I open the learn-bash-by-building-a-boilerplate tutorial, it creates a container - then, if I go back and try to open any other tutorial, it opens that same container.
The behavior I was hoping for - is that when I open a tutorial I have not started before, it creates a new container. If it's one I have started before, it opens the one that was previously created for that tutorial. I hope that makes sense. I do believe that was the behavior at one point. Let me know if I can be of any help.
This makes sense and was the planned behavior. We will check what's not working yet. Passing env variables required a ton of changes in how we're handling embeds. Sorry for the issues!
OK, this should be fixed now. From now on if repoUrl changes, app will open new container - with existing data for previously visited repoUrls and completely new for others.
Sorry for the delayed response here. This doesn't seem to be working quite right. I'm not sure exactly what's going on, but here are some examples of what I might be seeing... First, I open project 1, it loads as expected. Then I open project 2 and it loads as expected. I try to go back to project 1, it loads the project 2 container. I open project 3, it loads project 2 container. I open project 4, it opens project 3 container. This isn't necessarily exactly what I am seeing, but a good example of it. It's kind of unpredictable on what project will load. One thing I see sometimes, right when the VM loads, is a quick flash of the expected project before it goes to an unexpected project. Not quite sure what's going on.
Activity
moT01 commentedon Oct 5, 2021
This seems to be working after the latest updates, but not quite how I was hoping. Maybe I wasn't specific enough. Here's some more details - The fCC site will look something like this:

Each button there opens a link/container with the following code:
The
repoUrl=${url}will have the repo associated with each of the buttons (tutorials) in the first image. The current behavior, after the latest updates, seems to be that any link always takes you to the same container. So if I open thelearn-bash-by-building-a-boilerplatetutorial, it creates a container - then, if I go back and try to open any other tutorial, it opens that same container.The behavior I was hoping for - is that when I open a tutorial I have not started before, it creates a new container. If it's one I have started before, it opens the one that was previously created for that tutorial. I hope that makes sense. I do believe that was the behavior at one point. Let me know if I can be of any help.
AdamZaczek commentedon Oct 6, 2021
This makes sense and was the planned behavior. We will check what's not working yet. Passing env variables required a ton of changes in how we're handling embeds. Sorry for the issues!
jarosznatalia91 commentedon Oct 28, 2021
OK, this should be fixed now. From now on if repoUrl changes, app will open new container - with existing data for previously visited repoUrls and completely new for others.
moT01 commentedon Nov 16, 2021
Sorry for the delayed response here. This doesn't seem to be working quite right. I'm not sure exactly what's going on, but here are some examples of what I might be seeing... First, I open project 1, it loads as expected. Then I open project 2 and it loads as expected. I try to go back to project 1, it loads the project 2 container. I open project 3, it loads project 2 container. I open project 4, it opens project 3 container. This isn't necessarily exactly what I am seeing, but a good example of it. It's kind of unpredictable on what project will load. One thing I see sometimes, right when the VM loads, is a quick flash of the expected project before it goes to an unexpected project. Not quite sure what's going on.
AdamZaczek commentedon Nov 18, 2021
I didn't manage to make it misbehave anymore! Please let me know if it also works on your end!
Iframes tend to cache the internal websites so it's likely that our changes have not been updated on your end yet.
moT01 commentedon Dec 7, 2021
I only tested this a little bit, but I believe it is working properly 👍
Thanks @AdamZaczek 🎉
AdamZaczek commentedon Dec 7, 2021
Awesome!