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

results summary page for a quiz consisting of many sub quizzes #18

Closed
kheitkamp opened this issue Jan 12, 2022 · 1 comment
Closed

results summary page for a quiz consisting of many sub quizzes #18

kheitkamp opened this issue Jan 12, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@kheitkamp
Copy link

I would like to see the possibility to have multiple quiz pages which all belong to a single (super) quiz. So if you visit a summary page you could see the results in all the pages together.

Example:
You navigate to page quizA.html and resolve all the questions on this page. Afterwards you continue on page quizB.html and so on. On each page you see the results of this single page – everything looks and feels just like it is currently. But if you visit summaryResults.html you find a summary of all the quizzes on different pages you visited as long as they belong to the same domain.

@bonartm bonartm added the enhancement New feature or request label Jan 16, 2022
@bonartm bonartm linked a pull request Feb 6, 2022 that will close this issue
@bonartm
Copy link
Owner

bonartm commented Feb 6, 2022

Thanks a lot for your suggestions. I like the idea and how you implemented it using localStorage and the showOverview option. So as far as I understand the user writes quizzes as before but can also setup a page with an empty "quiz":

<div class="quizdown">
	---
	showOverview: true
	---
</div>

Would it make sense to implement this functionality inside the Quiz class using static methods? Then the svelte app can check itself whether it should render a results overview or a regular quiz.

The intension of quizdown is to have a simple, flexible widget that works on all different kind of pages, typically static site generators that use markdown. Is this possible with this feature or can it break certain sites?

Another option could also to write quiz data to localStorage but leave it to the (advanced) end user to read those values and design a results page with it, if needed. We could provide documentation on how to do it. This would free us from implementing, designing and maintaining a new widget.

bonartm added a commit that referenced this issue Jun 23, 2022
@bonartm bonartm closed this as not planned Won't fix, can't repro, duplicate, stale Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants