Closed a-schulz closed 1 year ago
Hi @a-schulz! A single project in a SkillTree is meant to drive gamified training for a single web-application so the skills-client libraries do not offer displays that summarize multiple SkillTree projects. With that said, the SkillTree Dashboard itself has Progress & Ranking views that visualize the user's current progress across multiple projects.
Same goes for configuration - since 1 project equates to 1 web application an ability to switch projectId
s after the initial configuration is not supported. SkillsConfiguration is a singleton and you only need to provide configuration information once per your application's runtime for single page applications.
I hope this helps!
I'm wanted to structure my context as follows: Project = Study module Subject = Subject/Topic Skill = Ability within a subject area
The problem is, that there are multiple Study modules (Projects) and i haven't figured out how to display the points accordingly.
Also I wasn't able to change the SkillConfiguration in Runtime: `const projectId = ref("");
const changeProject = () => { SkillsConfiguration.configure({ serviceUrl: import.meta.env.VITE_API_URL, projectId: projectId.value, authenticator: import.meta.env.VITE_AUTHENTICATION_URL + "/api/users/bill@email.org/" + projectId.value + "/token", }); };`
Am grateful for any advice!