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

Major Refactoring #85

Merged
merged 88 commits into from
May 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
313dcf9
Fix UI for Cheongnyangni Station
devITae Oct 11, 2023
c991bcd
Fix api error correction
devITae Oct 11, 2023
cc6eb20
Separate data types
Taewan-P Oct 24, 2023
ff85dce
Rename data type filenames to camelcase
Taewan-P Oct 24, 2023
703d5e0
Merge index.ts into one
Taewan-P Oct 25, 2023
0a8ee07
Upgrade yarn pkg manager to 4.0.0
Taewan-P Oct 25, 2023
ac9b214
Add missing data types
Taewan-P Oct 25, 2023
9938426
Use extracted data types
Taewan-P Oct 25, 2023
a402287
Update package zip hashes (yarn 4.0.0 upgrade)
Taewan-P Oct 26, 2023
9ca0cb2
Extract data types used in Notice component
Taewan-P Oct 26, 2023
2b01732
Extract data type used in Modal component
Taewan-P Oct 26, 2023
0fe6a44
Set path alias to `src/app`
Taewan-P Oct 28, 2023
6e6a0c2
Use alias for data type import
Taewan-P Oct 28, 2023
b07ea56
Add network data type
Taewan-P Nov 2, 2023
7725aff
Add basic api handler
Taewan-P Nov 2, 2023
08784fe
Add shuttle bus api handler
Taewan-P Nov 2, 2023
cc35245
Add more values to shuttle related data types
Taewan-P Nov 3, 2023
89d92ec
Refactor shuttle api call & logic
Taewan-P Nov 3, 2023
0610aac
Add missing hook dependency
Taewan-P Nov 3, 2023
eff404a
Update workflow actions to latest version
Taewan-P Nov 3, 2023
8a02a04
Update node version to required level
Taewan-P Nov 3, 2023
93689d3
Update react-query package to v5
Taewan-P Nov 7, 2023
5b649b2
Add timeout to axios client
Taewan-P Nov 7, 2023
3f81dc4
Upgrade queryclient to latest version
Taewan-P Nov 7, 2023
aa3e991
Add setting API & shuttle API
Taewan-P Nov 7, 2023
709d084
Change response type to actual data
Taewan-P Nov 7, 2023
a021f28
Lift up useEffect & use react-query for api fetching in Card component
Taewan-P Nov 7, 2023
f595312
Save week and season value to local storage
Taewan-P Nov 7, 2023
333292e
Reconfigure all dependencies
Taewan-P Dec 25, 2023
abead80
Update tailwind,twin.macro,styled-components
Taewan-P Dec 25, 2023
65c4b4d
FIx Error About Modal & Undefined Value
kcyoow Nov 3, 2023
7304b75
Update styled-reset version
Taewan-P Dec 25, 2023
a3f82fd
Fetch main branch
Taewan-P Dec 25, 2023
e689e31
Move card component to its directory
Taewan-P Jan 3, 2024
5e92e6c
Use react-query for FullTime component
Taewan-P Jan 3, 2024
cd0befe
Use react-query for Notice component
Taewan-P Jan 4, 2024
ac6b69b
Use react-query for changelog
Taewan-P Jan 4, 2024
5625aaf
Use react-query for realtime subway
Taewan-P Jan 4, 2024
31b23a5
Change variable name to proper format
Taewan-P Jan 4, 2024
328a8e2
Remove unused import
Taewan-P Jan 4, 2024
fd3050a
Remove useless generic type
Taewan-P Jan 4, 2024
a94430a
Fix UI error on segmented button
devITae Jan 4, 2024
bb70b21
Fix realtime api data correction logic error
Taewan-P Feb 21, 2024
e19903e
Update API Error correction logic to include rapid train
Taewan-P Feb 21, 2024
91c16bb
Update experimental api error correction logic
Taewan-P Feb 21, 2024
3e350be
Change component names and its directories
Taewan-P Feb 21, 2024
b272f97
Update vite version
Taewan-P Feb 21, 2024
d91bfdb
Update yarn version & major packages
Taewan-P Feb 21, 2024
64d76b0
Upgrade react version to 18.2
Taewan-P Feb 21, 2024
89ac7b2
Upgrade typescript & node version
Taewan-P Feb 21, 2024
b29cea0
Remove unused state
Taewan-P Feb 21, 2024
7730a39
Update PWA icons with various sizes
Taewan-P Feb 21, 2024
5933d20
Add `App Shortcuts` for PWA users
Taewan-P Feb 21, 2024
f6ac690
Change copyright year to 2024
Taewan-P Feb 22, 2024
bfabff2
Refactor code format
Taewan-P Feb 22, 2024
6a67dc4
Update API error correction logic
Taewan-P Feb 22, 2024
945f440
Update donation link
Taewan-P Feb 22, 2024
caa23fd
Remove flickering in Darkmode
devITae Feb 24, 2024
b32a372
Modify main UI animation
devITae Apr 30, 2024
e1a1999
Apply new Subway API
devITae Apr 30, 2024
6cb99e1
Modify the wording when there is no train
devITae Apr 30, 2024
bd841b6
Modify `no_train` wording shortly
devITae Apr 30, 2024
a7df072
Modify to show only 2 train items each
devITae Apr 30, 2024
8f4f443
Convert classname styled to Styled Component
Taewan-P May 1, 2024
3fee78c
Fix wrong button style
Taewan-P May 1, 2024
3b08494
Merge branch 'main' into dev/major-refactor
Taewan-P May 1, 2024
cb9bf52
Modify UI for padding of train item
devITae May 1, 2024
5682bd1
Fix the segmented button to be visible
devITae May 1, 2024
1baeb97
Remove unused variables
Taewan-P May 1, 2024
541c453
Fix null TypeError when destination is not fetched properly
Taewan-P May 1, 2024
e983872
Reformat code
Taewan-P May 1, 2024
3f3aa8b
Update dependencies to latest version
Taewan-P May 2, 2024
e473cb6
Upgrade React to latest version
Taewan-P May 2, 2024
b8f9ddb
Revert ESLint upgrade due to peer dependencies
Taewan-P May 2, 2024
5ec0372
Edit card height & prompt margin
Taewan-P May 2, 2024
138fbac
Modify error conditions of Subway API
devITae May 3, 2024
61e87e3
Fix to change the size of a long English text
devITae May 3, 2024
c90cdf4
Convert chip's style to Styled Component
devITae May 3, 2024
4548af4
Modify Chip's letter spacing
devITae May 3, 2024
e632407
Add stale time to lower api load
Taewan-P May 3, 2024
99f43fa
Reformat code
Taewan-P May 3, 2024
3a72007
Optimize modal style component
Taewan-P May 3, 2024
57bd720
Convert full timetable page elements to styled components
Taewan-P May 3, 2024
5e988ac
Refactor chip function to return React Element
Taewan-P May 3, 2024
85b733d
Move files to the correct directory
Taewan-P May 3, 2024
f0739f4
Load heavy components lazy to optimize build size
Taewan-P May 4, 2024
ede23bf
Change function to arrow function
Taewan-P May 4, 2024
9e6284f
Convert Subway components to styled components
Taewan-P May 4, 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
Prev Previous commit
Next Next commit
Add missing data types
  • Loading branch information
Taewan-P committed Oct 25, 2023
commit ac9b21437f2e116d83dc076715c6ed8328c12289
2 changes: 2 additions & 0 deletions src/app/data/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
export type { StopLocation } from './common/stopLocation'
export type { OrganizedTimetables } from './shuttle/organizedTimetables'
export type { Period } from './shuttle/period'
export type { Season } from './shuttle/season'
export type { Settings } from './shuttle/settings'
export type { ShuttleStop } from './shuttle/shuttleStop'
export type { SingleShuttleSchedule } from './shuttle/singleShuttleSchedule'
export type { Week } from './shuttle/week'
export type { SingleTrainInfo } from './subway/singleTrainInfo'
export type { SubwayStop } from './subway/subwayStop'
8 changes: 8 additions & 0 deletions src/app/data/shuttle/organizedTimetables.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export type OrganizedTimetables = {
time: string
direct: Array<string>
circle: Array<string>
directY: Array<string>
jungang: Array<string>
count: number
}
3 changes: 3 additions & 0 deletions src/app/data/subway/subwayStop.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export type SubwayStop = {
station: string
}