Jason Zhu
|
fa0d194b74
|
Remove '..' in import
|
2023-06-04 15:30:29 +10:00 |
Jason Zhu
|
7db1852489
|
Revert "Put filter pokemonCard logic into redux" as it was overfitting redux way
This reverts commit e7e4e391d5 .
|
2023-06-04 15:28:05 +10:00 |
Jason Zhu
|
e7e4e391d5
|
Put filter pokemonCard logic into redux
|
2023-06-04 15:27:28 +10:00 |
Jason Zhu
|
9cb23006ed
|
Rename pokeApi to pokeRestApi
|
2023-06-04 12:54:01 +10:00 |
Jason Zhu
|
cfd9301793
|
Remove unnecessary getTypeList initiate() in filterSlice.ts
|
2023-06-04 12:50:02 +10:00 |
Jason Zhu
|
3996e09308
|
Replace fetch in fetchPokemonsInTheRegion by using RTK Query
|
2023-06-04 12:37:48 +10:00 |
Jason Zhu
|
6f04c341e3
|
Remove calling async thunk from Filter component using dispatch, but call it directly in slice (reformat)
|
2023-06-04 12:19:37 +10:00 |
Jason Zhu
|
4cfc08448b
|
Remove calling async thunk from Filter component using dispatch, but call it directly in slice
|
2023-06-04 12:18:41 +10:00 |
Jason Zhu
|
3faf494bd0
|
Added Storybook builds location
|
2023-06-02 22:53:36 +10:00 |
Jason Zhu
|
e323616d6d
|
change package.json command from npm to yarn
|
2023-06-02 22:20:23 +10:00 |
Jason Zhu
|
ad2317b524
|
Update webstorm Project.xml
|
2023-06-02 22:15:35 +10:00 |
Jason Zhu
|
22e291c932
|
Add eslint no-empty-function rule to stop reporting building problem
|
2023-05-31 19:39:19 +10:00 |
Jason Zhu
|
d40214f12d
|
Update deploy website
|
2023-05-31 18:23:26 +10:00 |
Jason Zhu
|
2ecf6c82ed
|
Change name of README.md
|
2023-05-31 18:14:08 +10:00 |
Jason Zhu
|
8c1e2806d5
|
Modified README to add .gif files
|
2023-05-31 14:43:47 +10:00 |
Jason Zhu
|
766a48f7c0
|
Centralised all infoDialogSlice related storybook preparation in infoDialogSlice.storybook.ts to reduce code footprint
|
2023-05-20 15:46:28 +10:00 |
Jason Zhu
|
8f217d678a
|
Implement onClick action in EvolutionSpecies.tsx, and fix all related storybook
|
2023-05-20 15:07:12 +10:00 |
Jason Zhu
|
99fd0577fd
|
Removed unnecessary code snippets in Pokedex.stories.tsx
|
2023-05-20 14:29:58 +10:00 |
Jason Zhu
|
bf3cbe886b
|
Trying to use type alis extension to replace overlap interface definition
|
2023-05-20 12:42:04 +10:00 |
Jason Zhu
|
768c84d6b8
|
Remove pagination fetching in pokeApi.ts
|
2023-05-19 23:28:36 +10:00 |
Jason Zhu
|
bde86898e2
|
Fixed most warning in pokeApi.ts and Pokedex.tsx
|
2023-05-19 22:48:15 +10:00 |
Jason Zhu
|
4a13b56c98
|
Remove unnecessary element in PokemonResponseData type
|
2023-05-19 22:00:22 +10:00 |
Jason Zhu
|
2513d4365f
|
Move initialization of Filter Slice into filterSlice.ts
|
2023-05-19 21:57:52 +10:00 |
Jason Zhu
|
54bf00e22c
|
Removed unnecessary action
|
2023-05-19 19:42:02 +10:00 |
Jason Zhu
|
7bb4fde73e
|
Remove redundant code in pokeApi.ts
|
2023-05-19 18:37:17 +10:00 |
Jason Zhu
|
c7d7db22da
|
Added todos in README.md
|
2023-05-19 00:17:22 +10:00 |
Jason Zhu
|
974c2e38ff
|
Prettier Header.css
|
2023-05-19 00:08:06 +10:00 |
Jason Zhu
|
81a2b7cb69
|
Move files into correct place in asset directory, and refactored Header
|
2023-05-19 00:07:45 +10:00 |
Jason Zhu
|
64a3bedde1
|
Prettier *.css files
|
2023-05-18 23:37:54 +10:00 |
Jason Zhu
|
93e45f79d6
|
Fixed loading gif
|
2023-05-18 23:37:35 +10:00 |
Jason Zhu
|
e4d3344334
|
Fixed font issues by importing Teko-Regular.ttf, and VT323-Regular.ttf
|
2023-05-18 23:27:00 +10:00 |
Jason Zhu
|
1c279f4efb
|
Fix relative import
|
2023-05-18 23:11:20 +10:00 |
Jason Zhu
|
8a54245ecb
|
Fixed genderRatio in InfoDialog
|
2023-05-18 23:06:03 +10:00 |
Jason Zhu
|
bc9ab24c33
|
Removed unnecessary InfoDialogProps
|
2023-05-18 23:01:46 +10:00 |
Jason Zhu
|
800cecbefc
|
Removed InfoDialog.stories.tsx
|
2023-05-18 23:00:07 +10:00 |
Jason Zhu
|
d27ad13e57
|
Implemented closing of InfoDialog
|
2023-05-18 22:59:36 +10:00 |
Jason Zhu
|
ff05a9bf83
|
Complete InfoDialog feature, now we can click info icon on card to show modal
|
2023-05-18 22:46:23 +10:00 |
Jason Zhu
|
8607a8f1ad
|
Trying to implement InfoDialogSlice and related api endpoints (app is running but infodialog is not showing)
|
2023-05-18 22:03:36 +10:00 |
Jason Zhu
|
281eafc863
|
Add *.log and *.tsbuildinfo into .gitignore
|
2023-05-17 21:51:17 +10:00 |
Jason Zhu
|
78b7a4a5f4
|
Trying to impolement InfoDialogSlice and related api endpoints (Code is faulty)
|
2023-05-17 21:50:34 +10:00 |
Jason Zhu
|
8c442946d3
|
Fixed PokemonCard render issue for single type, by using unit test
|
2023-05-15 21:21:45 +10:00 |
Jason Zhu
|
c50862adbf
|
Renamed stories in PokemonTypes.stories.tsx to have correct story names
|
2023-05-15 21:20:18 +10:00 |
Jason Zhu
|
03e973c68d
|
Remove unnecessary import in InfoDialogComponent.stories.tsx
|
2023-05-15 20:54:22 +10:00 |
Jason Zhu
|
02de053d90
|
Modify all story files, remove deprecated method and use new Meta & StoryObj from Storybook v7
|
2023-05-15 20:53:17 +10:00 |
Jason Zhu
|
50e64b5197
|
Implemented functional Pokedex.stories.tsx by using decorator to connect Pokedex component with redux store
|
2023-05-15 20:30:11 +10:00 |
Jason Zhu
|
05d31c55a9
|
Rename .storybook/main.js to main.ts and add type to make it works
|
2023-05-15 20:03:20 +10:00 |
Jason Zhu
|
3eb8eb836e
|
Rename preview.js to preview.ts to use storybook v7 Preview
|
2023-05-15 19:48:08 +10:00 |
Jason Zhu
|
42a4a86e34
|
Fix import in InfoDialog component so storybook can render successfully
|
2023-05-15 19:10:22 +10:00 |
Jason Zhu
|
987fbbaa79
|
Upgrade storybook/react to version 7 using `npx storybook@latest upgrade --prerelease` command following https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#from-version-65x-to-700
|
2023-05-15 18:51:54 +10:00 |
Jason Zhu
|
0048a1c064
|
Trying to implement Pokedex.stories.tsx
|
2023-05-13 12:41:42 +10:00 |