|
bc9ab24c33
|
Removed unnecessary InfoDialogProps
|
2023-05-18 23:01:46 +10:00 |
|
|
800cecbefc
|
Removed InfoDialog.stories.tsx
|
2023-05-18 23:00:07 +10:00 |
|
|
d27ad13e57
|
Implemented closing of InfoDialog
|
2023-05-18 22:59:36 +10:00 |
|
|
ff05a9bf83
|
Complete InfoDialog feature, now we can click info icon on card to show modal
|
2023-05-18 22:46:23 +10:00 |
|
|
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 |
|
|
281eafc863
|
Add *.log and *.tsbuildinfo into .gitignore
|
2023-05-17 21:51:17 +10:00 |
|
|
78b7a4a5f4
|
Trying to impolement InfoDialogSlice and related api endpoints (Code is faulty)
|
2023-05-17 21:50:34 +10:00 |
|
|
8c442946d3
|
Fixed PokemonCard render issue for single type, by using unit test
|
2023-05-15 21:21:45 +10:00 |
|
|
c50862adbf
|
Renamed stories in PokemonTypes.stories.tsx to have correct story names
|
2023-05-15 21:20:18 +10:00 |
|
|
03e973c68d
|
Remove unnecessary import in InfoDialogComponent.stories.tsx
|
2023-05-15 20:54:22 +10:00 |
|
|
02de053d90
|
Modify all story files, remove deprecated method and use new Meta & StoryObj from Storybook v7
|
2023-05-15 20:53:17 +10:00 |
|
|
50e64b5197
|
Implemented functional Pokedex.stories.tsx by using decorator to connect Pokedex component with redux store
|
2023-05-15 20:30:11 +10:00 |
|
|
05d31c55a9
|
Rename .storybook/main.js to main.ts and add type to make it works
|
2023-05-15 20:03:20 +10:00 |
|
|
3eb8eb836e
|
Rename preview.js to preview.ts to use storybook v7 Preview
|
2023-05-15 19:48:08 +10:00 |
|
|
42a4a86e34
|
Fix import in InfoDialog component so storybook can render successfully
|
2023-05-15 19:10:22 +10:00 |
|
|
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 |
|
|
0048a1c064
|
Trying to implement Pokedex.stories.tsx
|
2023-05-13 12:41:42 +10:00 |
|
|
713b86c14a
|
Removed unused stories directory
|
2023-05-11 23:39:00 +10:00 |
|
|
ddb058dce6
|
Added chromatic script
|
2023-05-11 23:34:44 +10:00 |
|
|
cbb8dd9054
|
Added chromatic as development dependency
|
2023-05-11 23:30:16 +10:00 |
|
|
52ac92fd7a
|
Fixed import directory problem in pokeApi.test.ts
|
2023-05-11 22:43:58 +10:00 |
|
|
f8fb41e837
|
Renamed PokedexState to PokedexStateProps for type
|
2023-05-11 20:55:53 +10:00 |
|
|
08c8af5f4f
|
Implemented getPokemon, getPokemonSpecies, getEvolutionChain endpoints and related jest UTs
|
2023-05-11 20:04:45 +10:00 |
|
|
a0adfb0268
|
Merge all pokeapi related code into one single pokeApi.ts, and relocate it into app/services
|
2023-05-11 19:05:15 +10:00 |
|
|
804c145b11
|
Separate static part of InfoDialog into InfoDialogComponent, and added stories
|
2023-05-10 00:13:33 +10:00 |
|
|
34af94508e
|
Added name into EvolutionSpecies component
|
2023-05-10 00:07:14 +10:00 |
|
|
4cebf35cf0
|
Added bulbasaur into PokemonCard storybook
|
2023-05-08 23:27:44 +10:00 |
|
|
6d391d1f9f
|
Refactor colorTypeGradients method again to receive types string list directly
|
2023-05-08 23:20:47 +10:00 |
|
|
25a010e7c6
|
Refactor colorTypeGradients method to make it shorter
|
2023-05-08 23:14:03 +10:00 |
|
|
57e92b17d3
|
Prettier format EvolutionSpecies.css
|
2023-05-08 22:51:07 +10:00 |
|
|
c20e58db52
|
Created EvolutionSpecies component with motion
|
2023-05-08 22:50:43 +10:00 |
|
|
23db199ab0
|
Fixed wrong import in filterApi.test.ts
|
2023-05-08 21:24:22 +10:00 |
|
|
7f563d8c73
|
Remove listenerMiddleware
|
2023-05-08 21:23:24 +10:00 |
|
|
5317050679
|
Merge all api types together
|
2023-05-08 21:15:51 +10:00 |
|
|
1055a14457
|
Put types into correct directory (fix filterApi.ts)
|
2023-05-08 20:34:13 +10:00 |
|
|
6082aa75a0
|
Put types into correct directory
|
2023-05-08 20:33:42 +10:00 |
|
|
9bb252de00
|
Fixed pokedex.test.ts after splitting filter out of pokedex component
|
2023-05-08 20:12:45 +10:00 |
|
|
db331acbb1
|
Move Filter related tests in original pokedexApi.test.ts into filterApi.test.ts
|
2023-05-08 19:59:04 +10:00 |
|
|
1d58f41b5f
|
Fixed Filters.test.ts
|
2023-05-08 00:24:33 +10:00 |
|
|
3539b6febe
|
Separate selected Region/Type/Sort/SearchInput out of Pokedex, so it become easier for testing in storybook
|
2023-05-08 00:24:16 +10:00 |
|
|
6acabeb91a
|
Added InfoDialog feature (partially done)
|
2023-05-07 23:28:14 +10:00 |
|
|
ff92db699d
|
Prettier GenderRate.css
|
2023-05-07 23:10:50 +10:00 |
|
|
f5e0a75c64
|
Modified index.css file for better global rendering
|
2023-05-07 23:10:23 +10:00 |
|
|
749a745b4a
|
Created GenderRate component for InfoDialog
|
2023-05-07 23:09:15 +10:00 |
|
|
0c4f2d4b67
|
Import index.css as global css into storybook
|
2023-05-07 22:39:39 +10:00 |
|
|
2ae23cdbfa
|
Refactored PokemonCard a little bit
|
2023-05-07 22:39:08 +10:00 |
|
|
1f0ab75d6e
|
Implemented index.ts for PokemonTypes
|
2023-05-07 22:32:06 +10:00 |
|
|
93fe0cb24a
|
Fixed url import of image in index.css
|
2023-05-07 22:31:12 +10:00 |
|
|
40a64e9033
|
Implemented GenderRate component for InfoDialog feature
|
2023-05-07 22:30:20 +10:00 |
|
|
a21427b91f
|
Remove unnecessary Filter component in Pokedex
|
2023-05-07 21:34:12 +10:00 |
|