Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
fcfd50e
init: added basic structure
pseudokit Feb 1, 2025
08bd4fb
feat: added header with search and btn
pseudokit Feb 1, 2025
bf15e2a
feat: added basic render cards from api
pseudokit Feb 2, 2025
5ab578b
feat: added loader component
pseudokit Feb 2, 2025
7a181d4
feat: added search input for api alls
pseudokit Feb 2, 2025
6517d69
feat: added localstorage and didmount apiCallQuery logic
pseudokit Feb 2, 2025
7e23526
feat: added spinner Loader
pseudokit Feb 2, 2025
6ad9dd2
refactor: refactor styles
pseudokit Feb 2, 2025
b64d1ae
refactor: deleter types unnecesary
pseudokit Feb 2, 2025
e4022d6
feat: fixed husky
pseudokit Feb 2, 2025
fdf6ddc
fixed: fixed props and states
pseudokit Feb 3, 2025
59754c0
refactor: deleted comment eslint disable
pseudokit Feb 4, 2025
2c6e310
fixed: non null warning
pseudokit Feb 4, 2025
d94a1b0
refactor: replace project files
pseudokit Feb 5, 2025
9138792
feat: rewrite header with hooks
pseudokit Feb 5, 2025
c4b54df
fear: rewrite fucntional components
pseudokit Feb 6, 2025
6c8f8ce
feat: added card info component
pseudokit Feb 9, 2025
655efe9
feat: added test for card
pseudokit Feb 9, 2025
44264c1
fixed: errors
pseudokit Feb 9, 2025
5f5d5af
feat: added loading for card info
pseudokit Feb 9, 2025
09624fe
fixed: navigate import
pseudokit Feb 9, 2025
61d8e00
feat: added redux store
pseudokit Feb 24, 2025
f3680a5
feat: added ui state + currectcharactersState with rtk query
pseudokit Feb 25, 2025
ffcf316
feat: added ui state + currectcharactersState with rtk query
pseudokit Feb 25, 2025
e4abf7e
feat: added pagination feature for rtk api calls
pseudokit Feb 25, 2025
60e5c4a
feat: added carddetail feature with rtk query
pseudokit Feb 26, 2025
b15a45c
feat: added selectedCharacters + download, unselect btns
pseudokit Feb 26, 2025
0f4639b
feat: added Context API Theme Provider
pseudokit Feb 27, 2025
822c54f
feat: Card, CardList tests, removed unneceasury components
pseudokit Feb 27, 2025
1634ebb
feat: Header tests added
pseudokit Feb 27, 2025
f898a16
feat: added tests
pseudokit Feb 27, 2025
01d4bfc
fix: fixed vite config
pseudokit Feb 27, 2025
0572444
fix: up vitest version
pseudokit Feb 27, 2025
225eeb5
fix: fixed isOpened state when new search and no data page
pseudokit Feb 27, 2025
bdeaa01
fix: rewrite tests for cardlist component
pseudokit Feb 27, 2025
ca24374
fix: fixed direct dom manipulation
pseudokit Feb 27, 2025
aefd07a
fix: fixed clearItems after download
pseudokit Feb 27, 2025
b595acc
fix: fixed clearItems after download bug
pseudokit Feb 27, 2025
61af78b
fix: fixed bug dispatch after download
pseudokit Feb 27, 2025
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
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
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
coverage
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run lint
Empty file added .husky/pre-push
Empty file.
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"trailingComma": "all",
"tabWidth": 4,
"semi": true,
"singleQuote": false,
"printWidth": 100,
"endOfLine": "auto"
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# rs-react-course

learning react course
38 changes: 38 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import js from "@eslint/js";
import globals from "globals";
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";
import react from "eslint-plugin-react";
import tseslint from "typescript-eslint";
import eslintPluginPrettier from "eslint-plugin-prettier/recommended";
import reactCompiler from "eslint-plugin-react-compiler";

export default tseslint.config(
{ ignores: ["dist"] },
{
extends: [js.configs.recommended, ...tseslint.configs.strict, eslintPluginPrettier],
files: ["**/*.{ts,tsx}"],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
plugins: {
react,
"react-hooks": reactHooks,
"react-refresh": reactRefresh,
"react-compiler": reactCompiler,
},
rules: {
...reactHooks.configs.recommended.rules,
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
"react-compiler/react-compiler": "error",
...react.configs.recommended.rules,
...react.configs["jsx-runtime"].rules,
},
settings: {
react: {
version: "detect",
},
},
},
);
13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My Awesome React App</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading