-
Notifications
You must be signed in to change notification settings - Fork 224
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
TTRN-678: Viteによる書き直し・リファクタ #14
Open
3c1u
wants to merge
58
commits into
TechBowl-japan:main
Choose a base branch
from
3c1u:refactor/vite-TTRN-678
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 55 commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
81e664f
refactor: use vite
3c1u 9d8e644
remove: .eslintrc.cjs
3c1u ed07c2f
update: config
3c1u 374380b
update: index.css
3c1u 68a10e2
update: rewrite Header
3c1u 79af048
refactor: rewrite login/logut
3c1u 6682ff9
refactor: rewrite auth
3c1u a1d442b
refactor: use createRoot()
3c1u cb100e7
remove: const.js
3c1u ebc5aff
rename: Header.module.css
3c1u 5d3f83f
refactor: use reset css
3c1u 52f16ad
update: style
3c1u 5cd06c8
add: sidebar mock
3c1u d8efc41
add: Inter font
3c1u ff6dd0f
fix: specify fallback
3c1u 191c2f6
fix: smaller height screen
3c1u 6204207
update: add sidebar states
3c1u 05b49ec
fix: login and logout
3c1u 6c73373
fix: layout
3c1u 3803f84
refactor: rewrite login/signup
3c1u a84a717
fix: navigation
3c1u 19597a7
remove: header
3c1u 2755842
fix: top navigation
3c1u 23e9521
fix: allow custom accent color
3c1u 47f665b
add: list store
3c1u 25aa8c5
add: todo slice
3c1u e365007
fix: remove unused variables
3c1u 7a799ff
update: create list using redux
3c1u 9793eec
fix: post login/logout
3c1u 3aea109
fix: reroute
3c1u 26e6237
add: list index
3c1u 8976d08
fix: loading
3c1u e7721dc
refactor: add autoComplete
3c1u 24b6623
update: add comments
3c1u b16fd70
add: task item
3c1u b74d17c
add: icons
3c1u 2e90395
fix: sidebar buttons
3c1u 0515edc
add: actions stub
3c1u f9bd6e1
fix: remove loading guard
3c1u ecf5dde
update: edit list
3c1u 64c74c6
remove: old task creation
3c1u 2ff09b2
remove: index.css
3c1u 15fb844
add: TaskCreateForm
3c1u 34a171a
fix: add focus ring
3c1u 5f26127
remove: trash
3c1u 5d9bbf1
update: task complete
3c1u afa1d42
fix: properly add id from response
3c1u 49c0482
add: task edit
3c1u 46bc0a5
fix: infinite load
3c1u a8f0933
refactor: todo -> task
3c1u be67ebc
refactor: description -> detail
3c1u 4d223b6
fix: rename glitch
3c1u 156379e
refactor: use controlled form
3c1u 47f043e
fix: check token before fetch
3c1u 87462a9
fix: use normal css
3c1u 87cfcec
fix: typo
3c1u 2e62f43
fix: downgrade react
3c1u c82f18b
fix: downgrade react-router
3c1u File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
VITE_API_URL="" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
|
||
# production | ||
/build | ||
/dist | ||
|
||
# misc | ||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Hello React</title> | ||
<div id="root"></div> | ||
<script type="module" src="/src/index.jsx"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es2022", | ||
"allowSyntheticDefaultImports": false, | ||
"baseUrl": "./", | ||
"paths": { | ||
"~/*": ["src/*"] | ||
} | ||
}, | ||
"exclude": ["node_modules", "dist"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { useDispatch } from 'react-redux' | ||
import { Router } from './routes/Router' | ||
import { useEffect } from 'react' | ||
import { fetchUser } from '~/store/auth/index' | ||
|
||
function App() { | ||
const dispatch = useDispatch() | ||
|
||
useEffect(() => { | ||
void dispatch(fetchUser()) | ||
}, []) | ||
|
||
return ( | ||
<div className="App"> | ||
<Router /> | ||
</div> | ||
) | ||
} | ||
|
||
export default App |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.back_button { | ||
display: inline-flex; | ||
align-items: center; | ||
gap: 0.5rem; | ||
color: var(--indigo-600); | ||
width: fit-content; | ||
} | ||
|
||
.back_button:hover { | ||
cursor: pointer; | ||
opacity: 0.8; | ||
} | ||
|
||
.back_button__icon { | ||
fill: currentColor; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { ChevronIcon } from '~/icons/ChevronIcon' | ||
import './BackButton.css' | ||
|
||
const handleClick = () => { | ||
window.history.back() | ||
} | ||
|
||
export const BackButton = () => { | ||
return ( | ||
<button type="button" onClick={handleClick} className="back_button"> | ||
<ChevronIcon className="back_button__icon" /> | ||
Back | ||
</button> | ||
) | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ask: station2で eslint, prettier の導入があるのであとではずす想定かなと理解してます。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
他が問題なさそうならインデントをわざと崩した後に除去する予定です