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

Release QuizApp v6 #45

Merged
merged 95 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
a65dc79
Update package-lock.json
SafdarJamal Dec 11, 2022
3be4ae7
Update devDependencies
SafdarJamal Dec 11, 2022
1c3302e
Update dependencies
SafdarJamal Dec 11, 2022
bcee9d2
Upgrade to gh-pages v4
SafdarJamal Dec 11, 2022
4e22bfb
Format components
SafdarJamal Dec 13, 2022
e254919
Format components's stories
SafdarJamal Dec 13, 2022
1f144b8
Format constants
SafdarJamal Dec 13, 2022
885437b
Format utils
SafdarJamal Dec 13, 2022
f7073d8
Refactor storybook stories
SafdarJamal Dec 14, 2022
b68b015
Install React v18
SafdarJamal Dec 16, 2022
bc7b6fb
Merge pull request #35 from SafdarJamal/feature/react-v18
SafdarJamal Dec 16, 2022
0028607
Upgrade to CRA v5
SafdarJamal Dec 18, 2022
84e89d7
Upgrade to @storybook/preset-create-react-app v4
SafdarJamal Dec 18, 2022
e9a902c
Merge pull request #36 from SafdarJamal/feature/create-react-app-v5
SafdarJamal Dec 19, 2022
946602c
Reconfigure Storybook setup
SafdarJamal Dec 21, 2022
49ac080
Format stories
SafdarJamal Dec 23, 2022
4ffe6ab
Refactor ShareButton story
SafdarJamal Dec 23, 2022
45d02b9
Refactor Countdown story
SafdarJamal Dec 23, 2022
b010a90
Add controls on Countdown stories
SafdarJamal Dec 25, 2022
96df62a
Create stories for Header component
SafdarJamal Dec 25, 2022
90034be
Create stories for Offline component
SafdarJamal Dec 26, 2022
d5559ed
Create stories for Main component
SafdarJamal Dec 26, 2022
00229f6
Create stories for Result component
SafdarJamal Dec 26, 2022
13ced2b
Add controls on Result stories
SafdarJamal Dec 26, 2022
b7d5c6c
Create stories for Result/Stats component
SafdarJamal Dec 26, 2022
a72429b
Create stories for Result/QNA component
SafdarJamal Dec 26, 2022
3870e07
Add controls on Result/Stats stories
SafdarJamal Dec 27, 2022
9a2fff4
Add controls on Result/QNA stories
SafdarJamal Dec 27, 2022
e271859
Add controls on Quiz stories
SafdarJamal Dec 29, 2022
e814104
Configure Main stories to handle controls
SafdarJamal Dec 29, 2022
a1bb432
Update Result component's mock data
SafdarJamal Jan 3, 2023
1487f98
Update Result/QNA component's mock data
SafdarJamal Jan 3, 2023
d3c6831
Create seperate file for QNA's mock data
SafdarJamal Jan 4, 2023
f00e115
Update node.js.yml to fix Node.js CI build failing
SafdarJamal Jan 7, 2023
cacff7f
Format node.js.yml
SafdarJamal Jan 7, 2023
2d68616
Merge pull request #37 from SafdarJamal/feature/update-ci-workflow
SafdarJamal Jan 7, 2023
6589beb
Update dependencies
SafdarJamal Jan 9, 2023
812a143
Add secondary placeholders on main-page inputs
SafdarJamal Jan 26, 2023
6db2562
Upgrade to Sweetalert2 v11.7
SafdarJamal Mar 12, 2023
1540609
Update devDependencies
SafdarJamal Mar 12, 2023
b318494
Change secondary placeholder of category field
SafdarJamal Mar 17, 2023
01e260c
Change secondary placeholder of numOfQ field
SafdarJamal Mar 18, 2023
c74d3ee
Change secondary placeholder of difficulty field
SafdarJamal Mar 18, 2023
78d28e8
Change secondary placeholder of type field
SafdarJamal Mar 18, 2023
7a80f82
Change secondary placeholder of CD time fields
SafdarJamal Mar 18, 2023
65c8e79
Set default difficulty level to "easy"
SafdarJamal Mar 20, 2023
b3b8258
Merge pull request #42 from SafdarJamal/feature/enhance-user-experience
SafdarJamal Mar 27, 2023
3c69799
Upgrade to v5 of gh-pages
SafdarJamal Mar 28, 2023
f83bcda
Bump Webpack to v5.76.3
SafdarJamal Mar 28, 2023
07ea79a
Fix a security vulnerability
SafdarJamal Mar 28, 2023
57e9d44
Update mock data
SafdarJamal Apr 1, 2023
ad2c103
Update LICENSE
SafdarJamal Apr 3, 2023
62dd993
Update Quiz component's mock data
SafdarJamal Apr 4, 2023
2e9a02c
Bump Sweetalert2 from11.7.3 to 11.7.12
SafdarJamal Jun 13, 2023
8d2230c
Upgrade to Webpack v5.86
SafdarJamal Jun 13, 2023
f8b066d
Install Storybook v7.0
SafdarJamal Jun 14, 2023
3854147
Setup Storybook's 7 new framework format
SafdarJamal Jun 14, 2023
2920d6b
Set "autodocs" to "true"
SafdarJamal Jun 14, 2023
6a31606
Format Storybook's config file
SafdarJamal Jun 14, 2023
2f5754d
Re-configure Storybook setup
SafdarJamal Jun 15, 2023
526947a
Remove port specification from Storybook's script
SafdarJamal Jun 15, 2023
a9e2464
Refactor Header story
SafdarJamal Jun 15, 2023
3d64f2c
Refactor Offline story
SafdarJamal Jun 15, 2023
8fb4fe4
Update devDependencies
SafdarJamal Jun 17, 2023
abf6b9a
Remove React import statements from stories
SafdarJamal Jun 20, 2023
2dfefa6
Set Storybook's dev server port
SafdarJamal Jun 21, 2023
cf60b07
Merge pull request #43 from SafdarJamal/feature/storybook-v7
SafdarJamal Jun 21, 2023
09b5eee
Upgrade to Storybook v7.0.23
SafdarJamal Jun 22, 2023
f7cf2b3
Upgrade to Storybook v7.0.26
SafdarJamal Jul 6, 2023
46a922b
Upgrade to @storybook/testing-library v0.2.0
SafdarJamal Jul 10, 2023
57e192e
Bump Sweetalert2 from v11.7.12 to v11.7.19
SafdarJamal Jul 22, 2023
d415f15
Bump Sweetalert2 from v11.7.19 to v11.7.27
SafdarJamal Aug 21, 2023
c767c0d
Enhance user experience(UX) for small-screen users
SafdarJamal Aug 22, 2023
e1274ae
Upgrade to `gh-pages` v6
SafdarJamal Aug 22, 2023
5ff2818
Bump @testing-library/jest-dom from v5.16 to v5.17
SafdarJamal Aug 22, 2023
3aeb7ef
Bump Webpack from v5.88.1 to v5.88.2
SafdarJamal Aug 22, 2023
6710c0d
Upgrade Storybook and its plugins to v7.3
SafdarJamal Aug 22, 2023
5e79193
Bump eslint-plugin-storybook to v0.6.13
SafdarJamal Aug 22, 2023
14ca991
Refactor scrolll-to-top functionality
SafdarJamal Aug 23, 2023
185f0a1
Update "Time's up" modal
SafdarJamal Aug 30, 2023
c9e95f2
UX ENH: Personalize remark messages by grades
SafdarJamal Sep 3, 2023
b69c330
Create personalized loading messaging feature
SafdarJamal Sep 3, 2023
10fd1fd
Refactor Loader component
SafdarJamal Sep 3, 2023
b3fc5d1
Upgrade to Storybook v7.4
SafdarJamal Sep 3, 2023
0805fe1
Enhance Header UI
SafdarJamal Sep 4, 2023
2a1dba3
Upgrade to Storybook v7.4.5
SafdarJamal Sep 25, 2023
d320d93
Bump Sweetalert2 to v11.17.31
SafdarJamal Sep 30, 2023
dfbf4ba
Bump eslint-plugin-storybook to v0.6.14
SafdarJamal Sep 30, 2023
935fdbd
Bump @storybook/testing-library to v0.2.1
SafdarJamal Sep 30, 2023
fdafb6d
Update React website's link in README
SafdarJamal Oct 2, 2023
40ace51
Update node.js.yml
SafdarJamal Oct 2, 2023
6df9f4e
Update utility functions tests
SafdarJamal Oct 2, 2023
7313ecd
Change QuizApp mockup image
SafdarJamal Oct 2, 2023
3ad1f49
Bump @storybook/testing-library to v0.2.2
SafdarJamal Oct 2, 2023
882af3e
Release v6.0.0
SafdarJamal Oct 3, 2023
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
15 changes: 8 additions & 7 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

on:
push:
branches: [ master, development ]
branches: [ "master", "development" ]
pull_request:
branches: [ master, development ]
branches: [ "master", "development" ]

jobs:
build:
Expand All @@ -16,15 +16,16 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
30 changes: 20 additions & 10 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
module.exports = {
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
/** @type { import('@storybook/react-webpack5').StorybookConfig } */

const config = {
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/preset-create-react-app',
'@storybook/addon-interactions',
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/preset-create-react-app"
]
}
framework: {
name: '@storybook/react-webpack5',
options: {},
},
docs: {
autodocs: 'tag',
},
staticDirs: ['..\\public'],
};

export default config;
4 changes: 2 additions & 2 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import '../src/index.css';

export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
}
};
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019-2022 Safdar Jamal
Copyright (c) 2019-2023 Safdar Jamal

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
QuizApp is a free and open-source quiz application that lets you play fully customized quizzes right in the browser.
</p>

![quiz-app](https://user-images.githubusercontent.com/48409548/104132046-a39e5b80-539c-11eb-9df3-28d52e499a6c.png)
![QuizApp](https://github.com/SafdarJamal/quiz-app/assets/48409548/22e9696d-bab4-4aa5-a028-4a4f9ce71777)

## Built with

- [React](http://reactjs.org)
- [React](http://react.dev)
- [Semantic UI](https://semantic-ui.com)
- [Open Trivia Database API](https://opentdb.com/api_config.php)

Expand Down
Loading