feat: implement micro-learning generation service and UI components for interactive topic-based learning
All checks were successful
On Push to Main / test (push) Successful in 32s
On Push to Main / publish (push) Successful in 59s
On Push to Main / deploy-dev (push) Successful in 1m33s

This commit is contained in:
RaymondVerhoef
2026-05-25 22:17:26 +02:00
parent f16438c1bc
commit a653812cd8
10 changed files with 227 additions and 263 deletions

View File

@@ -41,10 +41,10 @@ export async function upsertTopic(topic) {
await pb.collection('topics').getOne(topic.id);
return await pb.collection('topics').update(topic.id, topic);
} catch {
return await pb.collection('topics').create({
id: topic.id,
return await pb.collection('topics').create({
id: topic.id,
learning_relevance: 'standard',
...topic
...topic
});
}
}