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

0.9.0 Release #320

Merged
merged 59 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
ed1b9ca
chore(deps): update dependency rollup to v4.18.0
renovate[bot] May 22, 2024
089e626
Merge pull request #268 from wingkwong/renovate/rollup-4.x-lockfile
wingkwong May 22, 2024
9fe4dc0
chore(deps): update dependency @rollup/plugin-commonjs to v25.0.8
renovate[bot] May 22, 2024
73e9bb2
Merge pull request #270 from wingkwong/renovate/rollup-plugin-commonj…
wingkwong May 23, 2024
3db3ce3
chore(deps): update babel monorepo to v7.24.6
renovate[bot] May 24, 2024
44174a0
Merge pull request #271 from wingkwong/renovate/babel-monorepo
wingkwong May 24, 2024
0a7d602
chore(deps): update dependency eslint-plugin-react to v7.34.2
renovate[bot] May 28, 2024
912995f
Merge pull request #272 from wingkwong/renovate/eslint-plugin-react-7…
wingkwong May 28, 2024
b7be252
fix(deps): update dependency dompurify to v3.1.5
renovate[bot] May 31, 2024
dd94ed5
chore(deps): update dependency css-loader to v7.1.2
renovate[bot] Jun 4, 2024
94bb59b
chore(deps): update babel monorepo to v7.24.7
renovate[bot] Jun 5, 2024
297d5f1
chore(deps): update dependency @rollup/plugin-replace to v5.0.7
renovate[bot] Jun 5, 2024
e1313c4
chore(deps): update dependency @rollup/plugin-commonjs to v26
renovate[bot] Jun 5, 2024
9af4046
chore(deps): update dependency eslint-plugin-react to v7.34.3
renovate[bot] Jun 18, 2024
4e111f5
Merge pull request #279 from wingkwong/renovate/eslint-plugin-react-7…
wingkwong Jun 19, 2024
5720ca2
chore(deps): update dependency webpack to v5.92.1
renovate[bot] Jun 19, 2024
e68a8a3
chore(deps): update dependency eslint-plugin-jsx-a11y to v6.9.0
renovate[bot] Jun 20, 2024
7b69144
Merge pull request #280 from wingkwong/renovate/eslint-plugin-jsx-a11…
wingkwong Jun 20, 2024
ce7bd71
Merge pull request #274 from wingkwong/renovate/rollup-plugin-replace…
wingkwong Jul 2, 2024
86dad33
Merge pull request #278 from wingkwong/renovate/webpack-5.x-lockfile
wingkwong Jul 2, 2024
9817182
Merge pull request #275 from wingkwong/renovate/babel-monorepo
wingkwong Jul 2, 2024
9f8372a
Merge pull request #276 from wingkwong/renovate/rollup-plugin-commonj…
wingkwong Jul 2, 2024
17f2992
Merge pull request #269 from wingkwong/renovate/css-loader-7.x-lockfile
wingkwong Jul 2, 2024
656b935
Merge pull request #267 from wingkwong/renovate/dompurify-3.x-lockfile
wingkwong Jul 2, 2024
47ea2a1
fix(deps): update dependency dompurify to v3.1.6
renovate[bot] Jul 5, 2024
f3a1524
Merge pull request #283 from wingkwong/renovate/dompurify-3.x-lockfile
wingkwong Jul 5, 2024
33c3a3e
feat: progress bar (#282)
Jaykovsky Jul 7, 2024
768dad7
chore(deps): update dependency rollup to v4.18.1 (#288)
renovate[bot] Jul 8, 2024
d17ae19
chore(deps): update dependency @babel/preset-env to v7.24.8 (#289)
renovate[bot] Jul 21, 2024
d9d9f36
chore(deps): update dependency rollup to v4.19.0 (#292)
renovate[bot] Jul 21, 2024
d9dc982
chore(deps): update dependency eslint-plugin-react to v7.35.0 (#291)
renovate[bot] Jul 21, 2024
39a36eb
chore(deps): update dependency webpack to v5.93.0 (#290)
renovate[bot] Jul 21, 2024
ea832e4
chore(deps-dev): bump follow-redirects from 1.15.5 to 1.15.6 (#287)
dependabot[bot] Jul 21, 2024
a76cd9f
chore(deps-dev): bump express from 4.18.2 to 4.19.2 (#286)
dependabot[bot] Jul 21, 2024
ce45d71
chore(deps-dev): bump ws from 8.16.0 to 8.18.0 (#285)
dependabot[bot] Jul 21, 2024
eb2995f
chore(deps-dev): bump braces from 3.0.2 to 3.0.3 (#284)
dependabot[bot] Jul 21, 2024
665204f
chore(deps): update dependency @babel/preset-env to v7.25.4 (#293)
renovate[bot] Aug 28, 2024
b0cfd57
chore(deps): update dependency mini-css-extract-plugin to v2.9.1 (#296)
renovate[bot] Aug 28, 2024
cbe31cd
chore(deps): update dependency rollup to v4.21.2 (#294)
renovate[bot] Aug 30, 2024
9dc49f9
chore(deps): update dependency eslint-plugin-react to v7.35.1 (#299)
renovate[bot] Sep 3, 2024
f3894eb
chore(deps): update dependency eslint-plugin-import to v2.30.0 (#300)
renovate[bot] Sep 5, 2024
661fc35
chore(deps): update dependency eslint-plugin-react to v7.35.2 (#301)
renovate[bot] Sep 5, 2024
3441776
chore(deps): update dependency webpack-dev-server to v5.1.0 (#302)
renovate[bot] Sep 5, 2024
e6a9138
chore(deps): update dependency eslint-plugin-jsx-a11y to v6.10.0 (#303)
renovate[bot] Sep 5, 2024
6bddca1
chore(deps-dev): bump webpack from 5.93.0 to 5.94.0 (#304)
dependabot[bot] Sep 5, 2024
625e5f9
chore(deps): update dependency webpack to v5.94.0 [security] (#298)
renovate[bot] Sep 5, 2024
b347eb4
chore(deps): update dependency rollup to v4.22.0 (#305)
renovate[bot] Sep 19, 2024
7089810
chore(deps): update dependency rollup to v4.22.4 (#310)
renovate[bot] Sep 21, 2024
d4a5f4d
chore(deps): update dependency @rollup/plugin-node-resolve to v15.3.0…
renovate[bot] Sep 24, 2024
940dbd3
fix(lib): undefined className (#318)
wingkwong Sep 25, 2024
5b45662
chore(lib): lint
wingkwong Sep 25, 2024
bebf02f
chore(deps): update dependency @rollup/plugin-replace to v6 (#316)
renovate[bot] Sep 25, 2024
6a11490
chore(deps): update dependency eslint-plugin-react to v7.36.1 (#306)
renovate[bot] Sep 25, 2024
f911543
chore(deps): update dependency babel-loader to v9.2.1 (#307)
renovate[bot] Sep 25, 2024
0143907
chore(deps): update dependency eslint to v8.57.1 (#308)
renovate[bot] Sep 25, 2024
72707e3
chore(deps): update dependency @rollup/plugin-html to v1.0.4 (#311)
renovate[bot] Sep 25, 2024
01a3614
chore(deps): update dependency @rollup/plugin-commonjs to v28 (#315)
renovate[bot] Sep 25, 2024
817ce62
Expose time taken in result object (#295)
Jaykovsky Sep 25, 2024
781b980
0.9.0 Release
wingkwong Sep 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 36 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# CHANGELOG

## 0.9.0

- Added Progress Bar
- Bumped dependencies
- Fixed undefined className
- Exposed time taken in result object

## 0.8.2

- Bumped dependencies
Expand Down Expand Up @@ -63,81 +70,100 @@
- Option to disable synopsis

## 0.3.9

- Added support for choosing number of questions to be used
- Added eslint

## 0.3.8

- Fixed wrong npm version in 0.3.7

## 0.3.7
- Fixed issue #54 - Custom result page is not displayed

- Fixed issue #54 - Custom result page is not displayed

## 0.3.6
- Added Segment to quiz config

- Added Segment to quiz config

## 0.3.5

- Fixed issue #48 - Maximum update depth exceeded with onComplete props
- Upgraded react version

## 0.3.4

- Fixed issue #35
- Upgraded several dependencies

## 0.3.3

- Added Picture in Question

## 0.3.2
## 0.3.2

- Fixed incorrect type and button issues (Ref to #32)

## 0.3.1

- Fixed Button issue introduced by v0.3.0 (Ref to #30)

## 0.3.0

- Added Feature: Multiple answers with multiple correct answers (Refer to #26)
- Added Feature: Quiz Input Validator
- Added Feature: Quiz Input Validator
- Added Selection Tags
- Introduced fields ``answerSelectionType``
- Updated ``correctAnswer`` to either ``String``(Single Selection) or ``Array`` (Multiple Selection)
- Introduced fields `answerSelectionType`
- Updated `correctAnswer` to either `String`(Single Selection) or `Array` (Multiple Selection)

## 0.2.8

- Renamed Question.jsx to Core.jsx
- Added Scoring System (Ref to #25)
- Revised Question tag to allow markdown (Ref to #24)

## 0.2.7

- Added Locale for customimzation (Refer to #21)
- Added logic to show incorrect answer users chose in result page (Refer to #22)

## 0.2.6

- Added showInstantFeedback & continueTillCorrect
- Revised font color to the incorrect answer container
- Fixed the incorrect index in the result page

## 0.2.5

- Added showDefaultResult, customResultPage, onComplete

## 0.2.4

- Added CHANGELOG.md
- Added Features to README.md
- Fixed potential security vulnerabilities

## 0.2.3

- Added filter question select tag
- Revised result page
- Revised styles
- Updated README.md for shuffling questions set in v0.2.2

## 0.2.2

- Added messageForCorrectAnswer
- Added messageForIncorrectAnswer
- Added explanation
- Added quizSynopsis
- Revised result page style

## 0.2.1

- Minor Fix

## 0.2.0

- Removed Paper CSS
- Added total number of questions & current question being answered (Refer to issue #3)
- Removed Answer.jsx and Result.jsx
Expand All @@ -146,10 +172,13 @@
- Allowed to review questions at the end

## 0.1.2

- Minor Fix

## 0.1.1

- Minor Fix

## 0.1.0
- Initial version, created by wingkwong

- Initial version, created by wingkwong
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ The quiz source is a JSON object. You can use [react-quiz-form](https://github.c
export const quiz = {
"quizTitle": "React Quiz Component Demo",
"quizSynopsis": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim",
"progressBarColor": "#9de1f6",
"nrOfQuestions": "4",
"questions": [
{
Expand Down Expand Up @@ -279,6 +280,15 @@ import { quiz } from './quiz';
<Quiz quiz={quiz} timer={60} allowPauseTimer={true}/>
```


## Enable / Disable Progress Bar

```js
import { quiz } from './quiz';
...
<Quiz quiz={quiz} enableProgressBar={true} />
```

## Props

|Name|Type|Default|Required|Description|
Expand All @@ -295,6 +305,7 @@ import { quiz } from './quiz';
|disableSynopsis|`boolean`|`false`|N|Disable synopsis before quiz|
|timer|`number`|`false`|N|Sets timer in seconds|
|allowPauseTimer|`boolean`|`false`|N|Pause / Resume timer|
|enableProgressBar|`boolean`|`false`|N|Enable a progress bar|

## Contribution

Expand Down
4 changes: 2 additions & 2 deletions dist/index.es.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/bundle.js

Large diffs are not rendered by default.

Loading