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

feat-fe: 공용 Button 컴포넌트 #28

Merged
merged 36 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
2c93039
chore: 초기세팅
lurgi Jul 11, 2024
123f6eb
chore: 초기 세팅 수정
lurgi Jul 12, 2024
2bc567c
chore: 세팅 피드백 반영
lurgi Jul 14, 2024
964e8c4
chore: eslint import rule 추가
lurgi Jul 14, 2024
7e33041
Merge pull request #16 from lurgi/fe/main
lurgi Jul 15, 2024
4f621f4
chore: PandaCSS용 ESLint 플러그인 추가
seongjinme Jul 15, 2024
c7727bd
Merge pull request #20 from woowacourse-teams/fe/init
seongjinme Jul 15, 2024
824f56d
Create draft PR for #27
github-actions[bot] Jul 15, 2024
a843a5d
Create draft PR for #27
github-actions[bot] Jul 15, 2024
275df80
Merge branch 'fe-27-UI_COM_BTN' of https://github.com/woowacourse-tea…
llqqssttyy Jul 15, 2024
87447c8
chore: 초기세팅
lurgi Jul 11, 2024
c68c035
chore: 초기 세팅 수정
lurgi Jul 12, 2024
5108771
chore: 세팅 피드백 반영
lurgi Jul 14, 2024
1724e63
chore: eslint import rule 추가
lurgi Jul 14, 2024
e668fbc
chore: PandaCSS용 ESLint 플러그인 추가
seongjinme Jul 15, 2024
6d32e37
chore: eslint ts, tsx 설정 추가
lurgi Jul 15, 2024
bb4e32d
feat: Applicant Card 빌드
lurgi Jul 15, 2024
4072c18
chore: PandaCSS를 emotion으로 대체
seongjinme Jul 15, 2024
8efc311
docs: issue templates 별 개행 추가
Chocochip101 Jul 12, 2024
69ae504
docs: fix issue label
Chocochip101 Jul 13, 2024
f670fdd
feat: Github Action을 이용한 CI 기능 구현 (#18)
Dobby-Kim Jul 13, 2024
3f0a142
chore(issue-automation): CI workflow 실행 조건 추가 및 name 한국어로 수정
Dobby-Kim Jul 14, 2024
17a6ba5
chore: slack 리뷰 요청 workflow trigger event 삭제
Dobby-Kim Jul 15, 2024
29ed0d7
chore: PR review 요청 타겟 브랜치 main -> 전체로 변경
Dobby-Kim Jul 15, 2024
86e38a8
chore: PR review 요청 타겟 브랜치 변경
Dobby-Kim Jul 15, 2024
1f7f715
feat: 이슈 완료 Slack 알림 기능 구현
Dobby-Kim Jul 15, 2024
f5edd27
chore: Slack ID env 배정 payload 수정
Dobby-Kim Jul 15, 2024
d26dead
chore: Issue closed 기능 assignee payload 수정
Dobby-Kim Jul 15, 2024
560ee77
feat: dropdown Chevron 아이콘 추가 및 props 설정
lurgi Jul 15, 2024
38677fa
chore: pandacss 설정 삭제
lurgi Jul 15, 2024
da7c94c
Create draft PR for #27
github-actions[bot] Jul 15, 2024
ca14e04
Create draft PR for #27
github-actions[bot] Jul 15, 2024
d5a3f33
chore: ThemeProvider 설정
llqqssttyy Jul 15, 2024
73cc723
feat: 공용 Button 컴포넌트
llqqssttyy Jul 15, 2024
ba91c34
Merge branch 'fe-27-UI_COM_BTN' of https://github.com/woowacourse-tea…
llqqssttyy Jul 15, 2024
096a1c5
refactor: Button과 IconButton 컴포넌트 분리
llqqssttyy Jul 16, 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
51 changes: 51 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"ignorePatterns": ["**/*.dev.js", "**/*.prod.js", "**/*.config.js"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"globals": {
"browser": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@pandacss/recommended",
"airbnb",
"airbnb/hooks"
],
"plugins": ["react", "react-hooks", "@typescript-eslint", "import", "jsx-a11y"],
"rules": {
"no-console": "warn",
"@pandacss/no-debug": "error",
"react/jsx-filename-extension": [1, { "extensions": [".jsx", ".js"] }],
"react/jsx-uses-react": "off",
"react/jsx-uses-vars": "warn",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"react/require-default-props": "off",
"react/jsx-wrap-multilines": "off",

"import/extensions": [
"error",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never",
"svg": "always"
}
],
"import/no-unresolved": "off"
},
"overrides": [
{
"files": ["**/*.ts", "**/*.tsx"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": ["plugin:@typescript-eslint/recommended"]
}
]
}
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/backend-chore-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ assignees: ''

---

- 요구사항 ID:
## 목적
>

Expand All @@ -16,3 +15,7 @@ assignees: ''

## 참고 사항
-

> 아래의 별표줄 밑에 **요구사항 ID**만 작성해주세요. Prefix 금지!

********************
7 changes: 5 additions & 2 deletions .github/ISSUE_TEMPLATE/backend-feature-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
name: BackEnd Feature request
about: 백엔드 기능 이슈 템플릿입니다.
title: ''
labels: backend, feat
labels: backend, feature
assignees: ''

---

- 요구사항 ID:
## 목적
>

Expand All @@ -16,3 +15,7 @@ assignees: ''

## 참고 사항
-

> 아래의 별표줄 밑에 **요구사항 ID**만 작성해주세요. Prefix 금지!

********************
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/backend-fix-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ assignees: ''

---

- 요구사항 ID:
## 목적
>

Expand All @@ -16,3 +15,7 @@ assignees: ''

## 참고 사항
-

> 아래의 별표줄 밑에 **요구사항 ID**만 작성해주세요. Prefix 금지!

********************
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/backend-refactor-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ assignees: ''

---

- 요구사항 ID:
## 목적
>

Expand All @@ -16,3 +15,7 @@ assignees: ''

## 참고 사항
-

> 아래의 별표줄 밑에 **요구사항 ID**만 작성해주세요. Prefix 금지!

********************
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/backend-test-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ assignees: ''

---

- 요구사항 ID:
## 목적
>

Expand All @@ -16,3 +15,7 @@ assignees: ''

## 참고 사항
-

> 아래의 별표줄 밑에 **요구사항 ID**만 작성해주세요. Prefix 금지!

********************
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/frontend-chore-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ assignees: ''

---

- 요구사항 ID:
## 목적
>

Expand All @@ -16,3 +15,7 @@ assignees: ''

## 참고 사항
-

> 아래의 별표줄 밑에 **요구사항 ID**만 작성해주세요. Prefix 금지!

********************
7 changes: 5 additions & 2 deletions .github/ISSUE_TEMPLATE/frontend-feature-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
name: FrontEnd Feature request
about: 프론트엔드 기능 이슈 템플릿입니다.
title: ''
labels: feat, frontend
labels: feature, frontend
assignees: ''

---

- 요구사항 ID:
## 목적
>

Expand All @@ -16,3 +15,7 @@ assignees: ''

## 참고 사항
-

> 아래의 별표줄 밑에 **요구사항 ID**만 작성해주세요. Prefix 금지!

********************
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/frontend-fix-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ assignees: ''

---

- 요구사항 ID:
## 목적
>

Expand All @@ -16,3 +15,7 @@ assignees: ''

## 참고 사항
-

> 아래의 별표줄 밑에 **요구사항 ID**만 작성해주세요. Prefix 금지!

********************
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/frontend-refactor-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ assignees: ''

---

- 요구사항 ID:
## 목적
>

Expand All @@ -16,3 +15,7 @@ assignees: ''

## 참고 사항
-

> 아래의 별표줄 밑에 **요구사항 ID**만 작성해주세요. Prefix 금지!

********************
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/frontend-style-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ assignees: ''

---

- 요구사항 ID:
## 목적
>

Expand All @@ -16,3 +15,7 @@ assignees: ''

## 참고 사항
-

> 아래의 별표줄 밑에 **요구사항 ID**만 작성해주세요. Prefix 금지!

********************
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/frontend-test-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ assignees: ''

---

- 요구사항 ID:
## 목적
>

Expand All @@ -16,3 +15,7 @@ assignees: ''

## 참고 사항
-

> 아래의 별표줄 밑에 **요구사항 ID**만 작성해주세요. Prefix 금지!

********************
51 changes: 51 additions & 0 deletions .github/issue-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
branchName: '${issue.number}-${issue.body[-20]}'
gitSafeReplacementChar: ""
openDraftPR: true
autoCloseIssue: true
branches:
- label:
- feature
- backend
prefix: be-
name: be/develop
- label:
- feature
- frontend
prefix: fe-
name: fe/develop
- label: '*'
skip: true
# - label: docs
# prefix: docs/
# - label: hotfix
# prefix: hotfix/
# - label: refactor
# prefix: refactor/
# - label: chore
# prefix: chore/
# - label: release
# prefix: release/
# - label: test
# prefix: test/
# - label: fix
# prefix: fix/

commentMessage: |
🚀 안녕하세요 @${assignee.login}님! 작업을 시작하셨군요?

작업하실 브랜치를 컨벤션에 맞게 현재 이슈 ✨${issue.title}✨에 연결하여 생성헤드렸어요!
생성된 브랜치명:
${branchName}

해당 브랜치가 연결된 ⚡️[Draft PR](${repository.html_url}/issues/?q=head:${branchName})⚡️ 생성되었으니 확인해보세요

작업이 완료된 후, 리뷰어를 선택하고 Draft PR 내부의 `Ready for review` 버튼을 눌러주시면 됩니다! :)
제가 Slack으로 리뷰어에게 DM으로 알려드릴게요


copyIssueDescriptionToPR: true
copyIssueLabelsToPR: true
copyIssueAssigneeToPR: true
copyIssueProjectsToPR: true
copyIssueMilestoneToPR: true

88 changes: 88 additions & 0 deletions .github/workflows/issue-branch-pr-automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: issue - branch Create Automation

on:
issues:
types: [opened, assigned, closed]

env:
Dobby-Kim: "U07BJABU6G1"
Chocochip101: "U07BUEJDS8G"
xogns1514: "U07AZ26UC2J"
lurgi: "U07BJB1M53K"
llqqssttyy: "U07AZ2992CW"
cutehumanS2: "U07B88ZQDU4"
HyungHoKim00: "U07B5HBKZM1"
seongjinme: "U07B9HQDF4M"

jobs:
create-issue-branch:
name: "feature 이슈 할당 -> 브랜치-PR 자동 생성"
runs-on: ubuntu-latest
if: github.event.action == 'assigned'
steps:
- name: create the issue branch
uses: robvanderleek/create-issue-branch@main
id: create-issue-branch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

notify-start-issue:
name: "이슈 작업 시작 -> Slack 체널 알림"
runs-on: ubuntu-latest
if: github.event.action == 'assigned'
steps:
- name: Set assignee variables
id: set-vars
run: |
echo "ASSIGNEE_SLACK_ID=${{ env[github.event.assignee.login] }}" >> $GITHUB_ENV

- name: 작업 시작 -> Slack 체널 알림
uses: slackapi/slack-github-action@v1.24.0
with:
channel-id: ${{ secrets.IN_PROGRESS_SLACK_CHANNEL_ID }}
payload: |
{
"text": "pr review request",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "🚀 <@${{ env.ASSIGNEE_SLACK_ID }}> 님이 \n <${{ github.event.issue.html_url }}|${{ github.event.issue.title }}> 작업을 시작했습니다! :muscle::muscle:"
}
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

notify-close-issue:
name: "이슈 작업 종료 -> Slack 체널 알림"
runs-on: ubuntu-latest
if: github.event.action == 'closed'
steps:
- name: Set assignee variables
id: set-vars
run: |
echo "ASSIGNEE_SLACK_ID=${{ env[github.event.assignee.login] }}" >> $GITHUB_ENV

- name: 작업 시작 -> Slack 체널 알림
uses: slackapi/slack-github-action@v1.24.0
with:
channel-id: ${{ secrets.TASK_COMPLETE_SLACK_CHANNEL_ID }}
payload: |
{
"text": "pr review request",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": ":pushpin: <@${{ env.ASSIGNEE_SLACK_ID }}> 님의 할당 이슈인 \n\n :confetti_ball::confetti_ball: <${{ github.event.issue.html_url }}|${{ github.event.issue.title }}> 작업이 완료(종료)됐습니다! :confetti_ball::confetti_ball:"
}
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

Loading