Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
424 commits
Select commit Hold shift + click to select a range
1425ab9
feat: add new route
Quiddlee Dec 26, 2023
5e1897b
refactor: update local storage hook types
Quiddlee Dec 26, 2023
4fdbef9
feat: add more local storage keys
Quiddlee Dec 26, 2023
507ce65
feat: add editor views context
Quiddlee Dec 26, 2023
085da4b
feat: add desktop navigation drawer
Quiddlee Dec 26, 2023
adb64c7
refactor: change scrollbar size
Quiddlee Dec 26, 2023
10dc19b
feat: add nav virtual scroll
Quiddlee Dec 26, 2023
fb26377
fix: to not show null on empty url param
Quiddlee Dec 26, 2023
2bf475e
fix: to not return when id is match on another route
Quiddlee Dec 26, 2023
f4d2b67
feat: add tests for settings page
Tedzury Dec 26, 2023
ca4a627
test: attempt to find a reason of freezing test #1
Tedzury Dec 26, 2023
ace1b85
test: attempt to find a reason of freezing test #2
Tedzury Dec 26, 2023
252a0bb
test: attempt to find a reason of freezing test #3
Tedzury Dec 26, 2023
4eaef65
test: attempt to find a reason of freezing test #4
Tedzury Dec 26, 2023
6479234
test: attempt to find a reason of freezing test #5
Tedzury Dec 26, 2023
b3c710e
test: attempt to find a reason of freezing test #6
Tedzury Dec 26, 2023
b171ba7
test: attempt to find a reason of freezing test #7
Tedzury Dec 26, 2023
9f2273f
test: attempt to find a reason of freezing test #7
Tedzury Dec 26, 2023
9298739
test: attempt to find a reason of freezing test #8
Tedzury Dec 26, 2023
3794e8e
test: attempt to find a reason of freezing test #9
Tedzury Dec 26, 2023
286efa7
test: attempt to find a reason of freezing test #10. Reason still unk…
Tedzury Dec 26, 2023
500a467
test: attempt to find a reason of freezing test #11. I don't know wha…
Tedzury Dec 26, 2023
6fa6c5d
test: attempt to find a reason of freezing test #12. I don't know wha…
Tedzury Dec 26, 2023
6914f50
test: attempt to fix tests #1
Tedzury Dec 26, 2023
75f2760
test: attempt to fix tests #2
Tedzury Dec 26, 2023
3585fc2
chore: fix tests
Quiddlee Dec 26, 2023
d866f53
docs: attepmt to fix tests
Quiddlee Dec 26, 2023
228e7e8
Merge branch 'develop' into feat/add_settings_layout
Quiddlee Dec 26, 2023
798e3ac
Update main.yml
Quiddlee Dec 26, 2023
db44020
feat: add nav items animations
Quiddlee Dec 26, 2023
632406d
test: attempt to fix test #3
Tedzury Dec 27, 2023
3f84893
Merge branch 'feat/add_settings_layout' of https://github.com/Quiddle…
Tedzury Dec 27, 2023
ea1380f
test: attempts to fix tests #4
Tedzury Dec 27, 2023
79bd1ff
test: attempts to fix tests #5
Tedzury Dec 27, 2023
ccda1d0
test: attempts to fix tests #6
Tedzury Dec 27, 2023
7401b31
test: attempts to fix tests #7
Tedzury Dec 27, 2023
6c56b2a
test: attempts to fix tests #8
Tedzury Dec 27, 2023
d404f79
test: attempts to fix tests #9
Tedzury Dec 27, 2023
b198e12
test: attempts to fix tests #10
Tedzury Dec 27, 2023
4a94030
Merge pull request #27 from Quiddlee/feat/add_docs_section
Quiddlee Dec 27, 2023
fd5f447
Merge pull request #28 from Quiddlee/feature/add-layout-resize
Quiddlee Dec 27, 2023
5e11abd
Merge branch 'develop' into feature/add-main-page-adaptive
Quiddlee Dec 27, 2023
a8a4935
feat: pull develop branch, resolve merge conflicts
Tedzury Dec 27, 2023
721d328
Merge pull request #32 from Quiddlee/feature/add-main-page-adaptive
Quiddlee Dec 27, 2023
39fe85d
chore: update gh actions
Quiddlee Dec 27, 2023
f2ee44b
feat: implement renaming view
Quiddlee Dec 27, 2023
a809f42
chore: fix tests
Quiddlee Dec 27, 2023
8ae7152
refactor: encapsulate rename dialog in separate component
Quiddlee Dec 27, 2023
f8eb6f5
fix: fix small layout issues
Tedzury Dec 27, 2023
178cf07
refactor: remove duplicated components
Quiddlee Dec 27, 2023
006661c
fix: test issues
Quiddlee Dec 27, 2023
6799079
fix: dialog blackout issue
Quiddlee Dec 27, 2023
3a6f549
feat: implement deleting view
Quiddlee Dec 27, 2023
7734a23
fix: event bubbling
Quiddlee Dec 27, 2023
2292553
refactor: optimize code
Quiddlee Dec 27, 2023
57beee5
feat: implement to not hide button on dialog open
Quiddlee Dec 27, 2023
01b623d
fix: remove nanoid from deps. Changed keys in Li to names
Tedzury Dec 27, 2023
8615642
feat: add snackbar notification
Quiddlee Dec 27, 2023
557c976
chore: add react toastify
Quiddlee Dec 27, 2023
57cb972
feat: add delete view confirm dialog
Quiddlee Dec 28, 2023
7e8ae47
refactor: minor layout improvements
Quiddlee Dec 28, 2023
23c83c3
refactor: rearrange files
Quiddlee Dec 28, 2023
57a2448
feat: add localization
Quiddlee Dec 28, 2023
5f50198
feat: change welcome text
Quiddlee Dec 28, 2023
eae5080
fix: eslint error
Quiddlee Dec 28, 2023
42aae77
feat: add nav bar tests
Quiddlee Dec 28, 2023
753ee7a
fix: fix small issues which were requested during code review
Tedzury Dec 28, 2023
c5a73fe
feat: add nav bar tests
Quiddlee Dec 28, 2023
069c9c2
Merge branch 'develop' into feature/add-nav-bar
Quiddlee Dec 28, 2023
01bce1d
fix: types issue
Quiddlee Dec 28, 2023
d4f59fc
Merge branch 'feature/add-nav-bar' of https://github.com/Quiddlee/gra…
Quiddlee Dec 28, 2023
f09879b
feat: add tooltips. Remove redundant files.
Tedzury Dec 29, 2023
040fd55
Merge pull request #33 from Quiddlee/feat/add_settings_layout
Quiddlee Dec 29, 2023
1a8fe20
fix: layout issues
Quiddlee Dec 29, 2023
470173e
chore: resolve merge conflict
Quiddlee Dec 29, 2023
a050d66
fix: layout issues
Quiddlee Dec 29, 2023
c25dcbc
Merge pull request #36 from Quiddlee/feat/add_tooltips
Quiddlee Dec 29, 2023
c1a8999
fix: test
Quiddlee Dec 29, 2023
57c6170
Merge branch 'develop' into feature/add-nav-bar
Quiddlee Dec 29, 2023
5dbaef6
Merge pull request #35 from Quiddlee/feature/add-nav-bar
Quiddlee Dec 29, 2023
5b27dd0
fix: merge issues
Quiddlee Dec 29, 2023
f634608
fix: copy text snackbar issue
Quiddlee Dec 29, 2023
f5f0056
refactor: change translation
Quiddlee Dec 29, 2023
4a489a2
fix: snackbar alignment
Quiddlee Dec 29, 2023
540f498
refactor: change dialog to md components
Quiddlee Dec 29, 2023
f07f2d4
refactor: change translation
Quiddlee Dec 29, 2023
ad80c8a
fix: fix tooltips functionality. Fix error with form input components
Tedzury Dec 29, 2023
ff8c20f
fix: fix layout issues. Resolve merge conflicts after merging with ne…
Tedzury Dec 29, 2023
783ec50
Merge pull request #45 from Quiddlee/fix/merge-issues
Quiddlee Dec 29, 2023
259f12a
Merge pull request #46 from Quiddlee/feat/add_adaptive_to_settings_page
Quiddlee Dec 29, 2023
73bb7f1
feat: implement nav bar tablet layout adaptive
Quiddlee Dec 29, 2023
df8af72
fix: touch screen hover issue
Quiddlee Dec 29, 2023
feadf69
feat: add blackout
Quiddlee Dec 29, 2023
7521b20
feat: add gutters
barrydilan Dec 30, 2023
b56dbae
feat: refactor formatter;
barrydilan Dec 30, 2023
d077199
feat: fix headers
barrydilan Dec 30, 2023
32e8d29
feat: rename bool flag
barrydilan Dec 30, 2023
86d486f
feat: implement tablet navigation drawer
Quiddlee Dec 30, 2023
df1ec7c
fix: tests
Quiddlee Dec 30, 2023
bb7bf57
fix: color issue
Quiddlee Dec 30, 2023
e172534
feat: implement mobile navigation adaptive
Quiddlee Dec 30, 2023
320c78b
fix: color issues
Quiddlee Dec 30, 2023
d7acd3d
refactor: remove unused class
Quiddlee Dec 30, 2023
1e19aa4
fix: tooltip animation issue
Quiddlee Dec 30, 2023
89fc0cb
fix: tooltip animation issue
Quiddlee Dec 30, 2023
9221215
fix: test issue
Quiddlee Dec 30, 2023
bb949e4
fix: fix conversations
barrydilan Dec 31, 2023
3a791dd
refactor: optimize code
Quiddlee Dec 31, 2023
5916463
refactor: change mobile layout alignment
Quiddlee Dec 31, 2023
cd2a310
fix: hide tooltip on mobile
Quiddlee Dec 31, 2023
d14e17d
fix: header issue
Quiddlee Dec 31, 2023
d170dfe
fix: tab color issues
Quiddlee Dec 31, 2023
4a40137
fix: fix formated query getting printed more than once
barrydilan Dec 31, 2023
68fa67c
feat: add animation features
Quiddlee Dec 31, 2023
5b2c4b9
feat: add settings fade in animation
Quiddlee Dec 31, 2023
ac33511
feat: add link to welcome page in header
Quiddlee Dec 31, 2023
16065aa
fix: resolve merge conflicts
Quiddlee Dec 31, 2023
e2dd030
fix: test issue
Quiddlee Dec 31, 2023
ea6c0e3
fix: console log error
Quiddlee Dec 31, 2023
4da1bb8
fix: deleting view state issue
Quiddlee Jan 1, 2024
72fef8f
fix: tests
Quiddlee Jan 1, 2024
652eccd
refactor: implement tabs working with editor state
Quiddlee Jan 1, 2024
cb553a6
fix: eslint issues
Quiddlee Jan 1, 2024
8d6451b
fix: empty views state issue
Quiddlee Jan 1, 2024
19a91fb
feat: pulling commits from parallel branches to exclude bugs. Resolve…
Tedzury Jan 3, 2024
35b8930
feat: add responsive layout for settings page
Tedzury Jan 3, 2024
85f5c5f
Merge branch 'feat/add_adaptive_to_settings_page' of https://github.c…
Tedzury Jan 3, 2024
24a1f09
feat: add responsiveness for root docs component
Tedzury Jan 3, 2024
7a90c9a
Merge pull request #49 from Quiddlee/feat/add_submit_request_function…
Quiddlee Jan 3, 2024
d180506
feat: add responsiveness for docs type component
Tedzury Jan 3, 2024
3d05574
fix: resolve merge conflicts
Quiddlee Jan 3, 2024
ba48d72
feat_and_refactor: refactor auth context, incapsulate whole auth logi…
Tedzury Jan 3, 2024
f384648
feat: pull latest changes from perallel feature branch. Resolve merge…
Tedzury Jan 3, 2024
849e810
Merge pull request #50 from Quiddlee/feature/nav-bar-aptive
Quiddlee Jan 3, 2024
3f7cc66
feat: add endpoint variable to app context, add logic for changing th…
Tedzury Jan 4, 2024
5385524
feat: resolve merge conflicts before merging with develop
Tedzury Jan 4, 2024
1a7f434
Merge branch 'develop' of https://github.com/Quiddlee/graphiql-app in…
Tedzury Jan 4, 2024
4371db0
Merge branch 'develop' of https://github.com/Quiddlee/graphiql-app in…
Tedzury Jan 4, 2024
85d07c5
Merge branch 'develop' of https://github.com/Quiddlee/graphiql-app in…
Tedzury Jan 4, 2024
6f41f82
Merge pull request #51 from Quiddlee/feat/add_adaptive_to_settings_page
Tedzury Jan 4, 2024
8ed36f3
Merge pull request #52 from Quiddlee/feat/add_responsive_to_docs
Tedzury Jan 4, 2024
ffd6672
feat: add basic logic for fetching and saving the endpoint schema
Tedzury Jan 4, 2024
b65eceb
feat: separate fetching logic into own file. add fallback ui if there…
Tedzury Jan 4, 2024
43d2468
Merge branch 'feat/docs_fetch' of https://github.com/Quiddlee/graphiq…
Tedzury Jan 4, 2024
4fd214f
Merge pull request #56 from Quiddlee/feat/add_auto_logout
Quiddlee Jan 4, 2024
85dfc63
feat: add suspense for loading the docs section
Tedzury Jan 4, 2024
cd52522
refactor: change layout to work with welcome page
Quiddlee Jan 4, 2024
26b4e1a
refactor: change layout to work with welcome page
Quiddlee Jan 4, 2024
df27447
add logic for loading ui while docs are fetching
Tedzury Jan 4, 2024
a0b1b30
test: attempt to catch bug test file
Tedzury Jan 4, 2024
ace8e93
test: attempt to figure out what is wrong with tests#2
Tedzury Jan 4, 2024
efa1036
test: attempt to fix broken tests#3
Tedzury Jan 4, 2024
e941ce1
test: attempt to fix lint and types
Tedzury Jan 4, 2024
e77f941
feat: add ErrorBoundary and ErrorFallback components
Tedzury Jan 5, 2024
4ff5997
feat: add favicon and title
Tedzury Jan 5, 2024
fe42eea
chore: add necessary images & icons
Quiddlee Jan 5, 2024
e455884
feat: implement welcome page layout
Quiddlee Jan 5, 2024
2945d95
feat: add footer layout
Tedzury Jan 5, 2024
d6593e6
fix: tests issue
Quiddlee Jan 5, 2024
e4b899f
Merge branch 'develop' of https://github.com/Quiddlee/graphiql-app in…
Tedzury Jan 5, 2024
37f1108
Merge pull request #59 from Quiddlee/feat/docs_fetch
Quiddlee Jan 5, 2024
08a634f
Merge pull request #61 from Quiddlee/feat/add_suspense_to_docs
Quiddlee Jan 5, 2024
7e86d1d
Merge pull request #62 from Quiddlee/feat/add_error_boundary
Quiddlee Jan 5, 2024
e888444
Merge pull request #63 from Quiddlee/feat/add_title_and_icon
Quiddlee Jan 5, 2024
cbbd892
feat: add welcome page visual elements
Quiddlee Jan 5, 2024
91bb759
feat: add proper buttons to header
Tedzury Jan 5, 2024
d27e5ba
fix: fix layout bug at login and sing up pages
Tedzury Jan 5, 2024
acb45bd
feat: add 404 page layout
Tedzury Jan 5, 2024
c60ab95
chore: add framer motion
Quiddlee Jan 5, 2024
3161806
feat: add welcome page animations
Quiddlee Jan 5, 2024
50a7381
refactor: encapsulate each section in a separate component
Quiddlee Jan 5, 2024
63d904e
refactor: change team members image height
Quiddlee Jan 5, 2024
ab18f80
chore: disable eslint rule
Quiddlee Jan 5, 2024
b0cc8d2
feat: add cards hover effect
Quiddlee Jan 5, 2024
19c0a91
feat: add tilt effect to cards
Quiddlee Jan 5, 2024
11210f5
refactor: minor changes
Quiddlee Jan 5, 2024
122eeeb
refactor: change tilt value
Quiddlee Jan 5, 2024
046a4b9
fix: fix commented test. Uncomment the private routes and tests for them
Tedzury Jan 6, 2024
693929f
fix: team members animation start
Quiddlee Jan 6, 2024
ca0296e
feat: add test for error boundary. Remove redundant file
Tedzury Jan 6, 2024
ce99259
feat: modified test coverage config
Tedzury Jan 6, 2024
55e9624
refactor: change scroll animations
Quiddlee Jan 6, 2024
00f8510
fix: layout issues
Quiddlee Jan 6, 2024
15334e8
fix: issue
Quiddlee Jan 6, 2024
9fb4918
feat: add header auth user and unauth
Quiddlee Jan 6, 2024
ce943fa
feat: add header language switcher
Quiddlee Jan 6, 2024
a8c1e27
feat: add header log out button
Quiddlee Jan 6, 2024
56e0d7a
feat: implement change button based on auth
Quiddlee Jan 6, 2024
94f98f2
feat: add scroll header animation
Quiddlee Jan 6, 2024
d35d503
feat: add welcome page translation
Quiddlee Jan 6, 2024
7437158
refactor: minor improvements
Quiddlee Jan 6, 2024
6a5fd5d
fix: spelling
Quiddlee Jan 6, 2024
e0f5ed8
feat: add routes animations
Quiddlee Jan 6, 2024
14ec778
feat: add header links animation
Quiddlee Jan 6, 2024
295f32a
fix: types
Quiddlee Jan 6, 2024
2b2f51f
refactor: change to show roboto font in russian
Quiddlee Jan 6, 2024
b0d21dd
feat: add error boundary to docs section. Add changable endpoint to r…
Tedzury Jan 6, 2024
2e87d56
Merge pull request #70 from Quiddlee/feat/add_footer_and_header
Quiddlee Jan 6, 2024
745bee8
Merge pull request #71 from Quiddlee/feat/add_404_page
Quiddlee Jan 6, 2024
88048e9
Merge pull request #73 from Quiddlee/feat/add_test_to_80
Quiddlee Jan 6, 2024
6e72508
feat: implement welcome page adaptive
Quiddlee Jan 6, 2024
fbbfc3e
Merge pull request #76 from Quiddlee/feat/add_boundary_to_docs
Quiddlee Jan 6, 2024
a987f9d
fix: resolve merge conflicts
Quiddlee Jan 6, 2024
cf66631
fix/fix-editor-issues
barrydilan Jan 6, 2024
67df49c
feat: add light theme different app picture
Quiddlee Jan 7, 2024
4933a1d
fix: tests issues
Quiddlee Jan 7, 2024
f6d0bf3
feat: add view transition hook
Quiddlee Jan 7, 2024
d601914
refactor: change app title
Quiddlee Jan 7, 2024
7012c4e
feat: improve auth pages
Quiddlee Jan 7, 2024
c36ee64
fix: fix prettier issues
barrydilan Jan 7, 2024
0bd96f1
fix: header on mobile
Quiddlee Jan 7, 2024
a0da6a0
fix: routes animations
Quiddlee Jan 7, 2024
28d6fe2
feat: improve fade in animations
Quiddlee Jan 7, 2024
8851ff3
fix: gap
Quiddlee Jan 7, 2024
a91a9ae
fix: alignment
Quiddlee Jan 7, 2024
80633ca
fix: tooltip
Quiddlee Jan 7, 2024
6c7adad
Merge pull request #77 from Quiddlee/feature/welcome-page
Quiddlee Jan 7, 2024
db3af88
Merge pull request #78 from Quiddlee/fix/final-fixes
Quiddlee Jan 7, 2024
b2ee0a3
feat: add docs fade in animations
Quiddlee Jan 7, 2024
5cb6f91
feat: add docs animations
Quiddlee Jan 7, 2024
4535c54
feat: add view list layout animations
Quiddlee Jan 7, 2024
601011d
feat: implement rename animation
Quiddlee Jan 7, 2024
7fb3875
refactor: change animation timing
Quiddlee Jan 7, 2024
6400a53
Merge pull request #79 from Quiddlee/feature/app-improvements
Quiddlee Jan 7, 2024
a07b058
fix: first view to be active
Quiddlee Jan 7, 2024
ed9f78b
fix: editor issues
Quiddlee Jan 7, 2024
41ff8fa
fix: editor to not lose state on another route
Quiddlee Jan 7, 2024
b7bb2e9
fix: views
Quiddlee Jan 7, 2024
861b4c5
fix: to show editor if its hidden
Quiddlee Jan 7, 2024
655e219
fix: views scroll
Quiddlee Jan 7, 2024
bef0ca7
fix: error
Quiddlee Jan 7, 2024
1da0776
refactor: remove native scroll
Quiddlee Jan 7, 2024
db15cf7
fix: animations
Quiddlee Jan 7, 2024
f3ca6e2
Merge pull request #80 from Quiddlee/fix/app-bugs
Quiddlee Jan 7, 2024
b77d7a6
fix: spelling
Quiddlee Jan 7, 2024
7eb7672
fix: fix password validation. Add translation for docs section
Tedzury Jan 7, 2024
e381d54
Merge pull request #81 from Quiddlee/fix/spellings
Quiddlee Jan 7, 2024
0454df8
Merge pull request #82 from Quiddlee/fix/fix_small_issues
Quiddlee Jan 7, 2024
d73f000
fix: implement to get preferred theme
Quiddlee Jan 7, 2024
fb76d40
fix: headers submit
Quiddlee Jan 7, 2024
30d8cb6
feat: add auth animation
Quiddlee Jan 7, 2024
a4f74b4
fix: github icon
Quiddlee Jan 7, 2024
4dd90fc
fix: editor state
Quiddlee Jan 7, 2024
ad2adad
fix: eslint warn
Quiddlee Jan 7, 2024
47991a4
Merge pull request #83 from Quiddlee/feature/app-improvement
Quiddlee Jan 7, 2024
64fedd9
fix: eslint warn
Quiddlee Jan 7, 2024
ecf3efe
Merge pull request #84 from Quiddlee/fix/theme
Quiddlee Jan 7, 2024
701c0fb
docs: update readme
Quiddlee Jan 17, 2024
f261e86
Merge pull request #85 from Quiddlee/docs/update-readme
Quiddlee Jan 17, 2024
046be13
docs: add deploy link
Quiddlee Jan 17, 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
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{ts, tsx}]
charset = utf-8
indent_style = tab
indent_size = 2
rulers = 80, 100, 120

[{package.json}]
indent_style = space
indent_size = 2
91 changes: 91 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'airbnb',
'airbnb-typescript',
'airbnb/hooks',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
'plugin:prettier/recommended',
'plugin:import/recommended',
"plugin:import/typescript",
'plugin:@typescript-eslint/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs', 'vite.config.ts', 'tailwind.config.js', 'postcss.config.js', '.prettierrc.cjs'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true,
},
project: ['tsconfig.json'],
tsconfigRootDir: __dirname,
ecmaVersion: 2021,
sourceType: 'module',
},
plugins: ['react', 'import', 'react-refresh', '@typescript-eslint', 'simple-import-sort', 'prettier'],
rules: {
'no-param-reassign': 0,
'react/prop-types': 0,
'react/jsx-props-no-spreading': 0,
'react/require-default-props': 0,
'import/no-extraneous-dependencies': 0,
'react/function-component-definition': 0,
'no-underscore-dangle': 0,
'jsx-a11y/no-static-element-interactions': 0,
'jsx-a11y/control-has-associated-label': 0,
'jsx-a11y/label-has-associated-control': 0,
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
'sort-imports': ['error', {ignoreCase: true, ignoreDeclarationSort: true}],
'import/order': [
'error',
{
groups: [
['external', 'builtin'],
'internal',
['sibling', 'parent'],
'index',
],
pathGroups: [
{
pattern: '@(react|react-native)',
group: 'external',
position: 'before',
},
{
pattern: '@src/**',
group: 'internal',
},
],
pathGroupsExcludedImportTypes: ['internal', 'react'],
'newlines-between': 'always',
alphabetize: {
order: 'asc',
caseInsensitive: true,
},
},
],
},
settings: {
"import/parsers": {
"@typescript-eslint/parser": [
".ts",
".tsx"
]
},
'import/resolver': {
typescript: {
alwaysTryTypes: true,
project: './tsconfig.json',
},
node: {
path: ['./src'],
extensions: ['.js','.jsx','.ts','.tsx']
},
},
react: {
version: 'detect',
},
},
};
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/src/ @Quiddlee @Tedzury @barrydilan
21 changes: 21 additions & 0 deletions .github/actions/ci-setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Setup Continuous Integration"
description: "Cache Dependencies"
runs:
using: "composite"
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: "npm"

- name: Cache NPM Dependencies
uses: actions/cache@v3
id: cache-primes
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}

- name: Install Dependencies
run: npm install
shell: bash
36 changes: 36 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
## What type of PR is this? (select all that apply)

- [ ] 🍕 Feature
- [ ] 🐛 Bug Fix
- [ ] 🚧 Breaking Change
- [ ] 🧑‍💻 Code Refactor
- [ ] 📝 Documentation Update

## Description

## Related Tickets & Documents
<!--
For pull requests that relate or close an issue, please include them
below. We like to follow [Github's guidance on linking issues to pull requests](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue).

For example having the text: "closes #1234" would connect the current pull
request to issue 1234. And when we merge the pull request, Github will
automatically close the issue.
-->

- Related Issue #
- Closes #

## Screenshots, Recordings

_Please replace this line with any relevant images for UI changes._

## Added/updated tests?

- [ ] 👌 Yes
- [ ] 🙅‍♂️ No, because they aren't needed
- [ ] 🙋‍♂️ No, because I need help

## [optional] Are there any post deployment tasks we need to perform?

## [optional] What gif best describes this PR or how it makes you feel?
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Pull Request

on:
pull_request:
types:
- closed

permissions:
contents: write

env:
NODE_VERSION: 18.16.0

jobs:
if_merged:
if: github.event.pull_request.merged == true
name: Build And Deploy
runs-on: ubuntu-latest

steps:
- name: Checkout️
uses: actions/checkout@v3

- name: Setup Continuous integration
uses: ./.github/actions/ci-setup

- name: Build
run: npm run build

- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
65 changes: 65 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Pull Request

on:
pull_request:
types: [opened, synchronize]

env:
NODE_VERSION: 21.5.0

jobs:
linting:
name: Lint
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Continuous integration
uses: ./.github/actions/ci-setup

- name: Lint Application
run: npm run lint

type-check:
name: Types
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Continuous Integration
uses: ./.github/actions/ci-setup

- name: Check Application Types
run: npm run type-check

prettify:
name: Prettier
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Continuous Integration
uses: ./.github/actions/ci-setup

- name: Check Application Types
run: npm run prettier:fix

# tests:
# name: Test
# runs-on: ubuntu-latest

# steps:
# - name: Checkout
# uses: actions/checkout@v3

# - name: Npm Clean Install
# run: npm ci

# - name: test
# run: npm run test
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
coverage
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
4 changes: 4 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run prepush
11 changes: 11 additions & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
tabWidth: 2,
semi: true,
singleQuote: true,
printWidth: 120,
endOfLine: 'auto',
arrowParens: 'always',
bracketSpacing: true,
tailwindConfig: './tailwind.config.js',
plugins: [require.resolve("prettier-plugin-tailwindcss")],
};
Loading