Skip to content
Merged
Show file tree
Hide file tree
Changes from 49 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
ab3504a
chore: rename state
algoORgoal Apr 12, 2025
cf8e625
refactor: replace CreateBoardPostApi with useCreatePost mutation and …
algoORgoal Apr 12, 2025
36d5861
refactor: remove maxLength and use event handler for title length val…
algoORgoal Apr 12, 2025
91a4bbc
feat: add 2000 character limit validation for content
algoORgoal Apr 12, 2025
e8322b1
feat: Add MSW setup for mocking API requests
algoORgoal Apr 12, 2025
faa162c
feat: Integrate MSW with Storybook for API mocking
algoORgoal Apr 12, 2025
f2e4e88
feat: Add storybook-addon-remix-react-router for routing in stories
algoORgoal Apr 12, 2025
a239c50
feat: Add post creation API handler with validation
algoORgoal Apr 12, 2025
fdac7cd
feat(storybook): Add BoardRegisterPage stories with interaction tests
algoORgoal Apr 12, 2025
a04ee03
storybook: add query provider setup
algoORgoal Apr 12, 2025
6bd311e
fix: set the button disabled when content is empty
algoORgoal Apr 12, 2025
9bdce80
storybook: error boundary and suspense for fallbacks
algoORgoal Apr 12, 2025
76c4ba5
storybook: remove unused tests
algoORgoal Apr 12, 2025
2570f11
storybook: query using placeholder
algoORgoal Apr 12, 2025
a8a12fc
feat : boardRegisterPage
YangJJune Apr 13, 2025
bca950c
feat : 게시물 생성
YangJJune Apr 14, 2025
69e81f4
feat : 게시물 생성
YangJJune Apr 14, 2025
5fee0e4
feat : searchparams 추가
YangJJune Apr 15, 2025
346d07d
feat : 질문 / 게시판 구분
YangJJune Apr 15, 2025
f8d7bd7
style : 수정 / 삭제 관련 style 추가
YangJJune Apr 15, 2025
7b046b6
feat : add mode parms
YangJJune Apr 26, 2025
9397f78
Merge branch 'main' of https://github.com/KUIT-Space/KUIT-Space-front…
YangJJune Apr 26, 2025
bbd4721
fix : 잘못된 API response 수정
YangJJune Apr 26, 2025
73ef44f
feat : 홈페이지 리다이렉트 구현 및 세부 사항 수정
YangJJune Apr 26, 2025
30e8260
fix : API spec. 변경에 따른 수정
YangJJune May 3, 2025
052e5b8
feat : edit 페이지 추가
YangJJune May 3, 2025
2f1e2a5
feat : Edit 페이지 추가
YangJJune May 3, 2025
5ed1f68
feat : 게시물 삭제 및 mode 추가
YangJJune May 3, 2025
51cac48
fix : 홈화면 라우팅 및 css 변경
YangJJune May 3, 2025
f863ed7
feat : mode에 따른 익명 기능 추가 및 tag관련 버그 수정
YangJJune May 3, 2025
bfccd37
Update BoardRegisterPage.tsx
YangJJune May 3, 2025
ef63a65
fix : 수정 시의 대응을 위해 tag에 옵셔널 추가
YangJJune May 3, 2025
644e004
feat : 올바른 delete flow를 위해 onPostDelete 추가 및 edit 막기
YangJJune May 3, 2025
276a547
fix ; build error
YangJJune May 3, 2025
e08cd53
chore : remove unnecessary if
YangJJune May 6, 2025
0c1c841
chore : remove unnecessary content
YangJJune May 6, 2025
0bfa5f1
fix : remove export
YangJJune May 6, 2025
7449bab
chore : move boardSelectedOption
YangJJune May 6, 2025
5d90b37
chore : boardList /:mode
YangJJune May 6, 2025
bd73e41
Update BoardEditPage.tsx
YangJJune May 6, 2025
0c42205
chore : fix hardcode to theme
YangJJune May 6, 2025
2a031d0
feat : 익명 스페이서 프로필 노출 변경
YangJJune May 6, 2025
b7d5cdc
Delete package-lock.json
YangJJune May 6, 2025
1225748
Create yarn.lock
YangJJune May 6, 2025
5149762
chore : npm install again
YangJJune May 6, 2025
010ad4f
Update package.json
YangJJune May 6, 2025
db360c7
chore: ignore cursor metadata
algoORgoal May 6, 2025
2068cf0
infra: remove optional rollup dependency for consistency with lock file
algoORgoal May 6, 2025
120d6b8
docs: add pr post
algoORgoal May 6, 2025
01d6920
fix : type Error
YangJJune May 7, 2025
bc0f922
Update package-lock.json
YangJJune May 7, 2025
2191441
Update build.yml
YangJJune May 7, 2025
cf0be63
Update build.yml
YangJJune May 7, 2025
8b23ae0
infra : add postinstall
YangJJune May 7, 2025
83f0e8a
Merge branch 'infra/delete-rollup-linux-dependency' of https://github…
YangJJune May 7, 2025
142c9b2
Update build.yml
YangJJune May 7, 2025
2bcfd78
Update build.yml
YangJJune May 7, 2025
ac157f1
Update build.yml
YangJJune May 7, 2025
a2b75a3
Update build.yml
YangJJune May 7, 2025
a83e608
remove npm ci / add npm install
YangJJune May 7, 2025
f5a3777
Update build.yml
YangJJune May 7, 2025
50ea531
Update build.yml
YangJJune May 7, 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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ localhost.pem
.env

*storybook.log

# cursor
.cursor
1 change: 1 addition & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const config: StorybookConfig = {
"@storybook/addon-essentials",
"@chromatic-com/storybook",
"@storybook/addon-interactions",
"storybook-addon-remix-react-router",
],
framework: {
name: "@storybook/react-vite",
Expand Down
33 changes: 27 additions & 6 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
import { initialize, mswLoader } from "msw-storybook-addon";
import { handlers } from "../src/mocks/handlers";
import type { Preview } from "@storybook/react";
import React from "react";
import React, { Suspense } from "react";
import { ThemeProvider } from "styled-components";
import { createGlobalStyle } from "styled-components";
import { theme } from "../src/styles/Theme";
import GlobalStyle from "../src/styles/GlobalStyles";
import "../src/index.css";
import { withRouter } from "storybook-addon-remix-react-router";
import { QueryProvider } from "../src/apis/query-provider";
import GlobalErrorFallback from "../src/components/GlobalErrorFallback";
import { ErrorBoundary } from "react-error-boundary";
import SkeletonDetailPage from "../src/components/SkeletonDetailPage";
// Initialize MSW
initialize();

const StorybookStyles = createGlobalStyle`
.sb-main-centered {
Expand All @@ -18,6 +27,10 @@ const StorybookStyles = createGlobalStyle`

const preview: Preview = {
parameters: {
msw: {
handlers: handlers,
},
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
Expand All @@ -27,13 +40,21 @@ const preview: Preview = {
},
decorators: [
(Story) => (
<ThemeProvider theme={theme}>
<GlobalStyle />
<StorybookStyles />
<Story />
</ThemeProvider>
<QueryProvider>
<ThemeProvider theme={theme}>
<GlobalStyle />
<ErrorBoundary FallbackComponent={GlobalErrorFallback}>
<Suspense fallback={<SkeletonDetailPage />}>
<Story />
</Suspense>
</ErrorBoundary>
</ThemeProvider>
</QueryProvider>
),
withRouter,
],
// Provide the MSW addon loader globally
loaders: [mswLoader],
};

export default preview;
20 changes: 20 additions & 0 deletions documents/pull-requests/infra-delete-rollup-linux-dependency.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Summary
package.json에서 @rollup/rollup-linux-x64-gnu의 optional dependency를 제거하고, .gitignore에 .cursor를 추가하여 개발 환경의 일관성을 높였습니다. 해당 변경 사항은 feature/231-게시물-생성-및-view-개선 브랜치를 기반으로 합니다.


## PR 유형 및 세부 작업 내용
- [x] 빌드 부분 혹은 패키지 매니저 수정
- [x] 파일 혹은 폴더명 수정 (.gitignore)

- package.json의 optionalDependencies에서 `@rollup/rollup-linux-x64-gnu`를 제거하였습니다.
- .gitignore에 `.cursor`와 `# cursor`를 추가하여 Cursor IDE 관련 파일을 무시하도록 했습니다.
- packageManager 필드를 최신 yarn 정보로 갱신하였습니다.


## test 완료 여부 (선택)
변경 사항이 정상적으로 반영되는지 로컬에서 테스트 완료

## 작동 스크린샷 (선택)

## 리뷰 요구사항 (선택)
특이사항 없음
Loading
Loading