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: canBeChoseong, canBeJungseong, canBeJongseong 을 utils에서 별도 함수로 분리합니다. #193

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

okinawaa
Copy link
Member

@okinawaa okinawaa commented Jul 21, 2024

Overview

#158

  1. canBeChoseong, canBeJungseong, canBeJongseong은 원자적인 함수이므로, 독립적인 함수로 위치하는게 자연스럽다고 생각했습니다.
  2. 일관화된 변수명을 위해 canBe~chosung 으로 사용된 부분을 제거합니다.

PR Checklist

  • I read and included theses actions below
  1. I have read the Contributing Guide
  2. I have written documents and tests, if needed.

@okinawaa okinawaa requested a review from raon0211 as a code owner July 21, 2024 07:43
Copy link

vercel bot commented Jul 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
es-hangul ❌ Failed (Inspect) Jul 23, 2024 2:57am

Copy link

changeset-bot bot commented Jul 21, 2024

🦋 Changeset detected

Latest commit: 8ea58f8

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.38%. Comparing base (fec20e8) to head (62bfb98).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##               v2     #193      +/-   ##
==========================================
+ Coverage   95.05%   96.38%   +1.33%     
==========================================
  Files          14       15       +1     
  Lines         283      277       -6     
  Branches       67       67              
==========================================
- Hits          269      267       -2     
+ Misses         13        9       -4     
  Partials        1        1              

@@ -0,0 +1,79 @@
import { canBeChoseong, canBeJongseong, canBeJungseong } from './canBe';

describe('canBeChoseong', () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

영어, 빈칸, 다른 언어, 특수문자 케이스를 spec에서 알 수 있으면 더 명확히 하기 좋을 거 같아요
이 PR에서 꼭 해결되어야하는 것은 아니라고 생각해서 이슈로 따로 딸게요!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

공감합니다!

@okinawaa okinawaa merged commit 0cfbed6 into v2 Jul 23, 2024
9 of 10 checks passed
okinawaa added a commit that referenced this pull request Aug 4, 2024
…도 함수로 분리합니다. (#193)

* canBe series를 별도 함수로 분리합니다

* add change set
okinawaa added a commit that referenced this pull request Aug 4, 2024
…도 함수로 분리합니다. (#193)

* canBe series를 별도 함수로 분리합니다

* add change set
okinawaa added a commit that referenced this pull request Aug 5, 2024
* feat: 문자열에서 한글을 추출해주는 extractHangul 함수를 제거합니다 (#185)

* remove extrachHangul

* Create cyan-tigers-sneeze.md

---------

Co-authored-by: Jonghyeon Ko <[email protected]>

* feat: disassembleHangul, disassemble, disassembleHangulToGroup 함수에서 hangul이라는 글자를 제거합니다 (#184)

* dissemble관련 메서드에서 hangul이름을 제거합니다

* 누락된 부분 수정

* resolve conflit

* Create late-beers-hang.md

* diassembleHangul to diassemble

---------

Co-authored-by: Jonghyeon Ko <[email protected]>

* remove hangulIncludes (#188)

* feat: 한글의 두음을 반환해주는 acronymizeHangul 함수를 제거합니다. (#180)

* remove acronymize

* Create weak-walls-sniff.md

---------

Co-authored-by: Jonghyeon Ko <[email protected]>

* feat: getChoseng을 utils에서 별도 함수로 분리합니다. (#192)

* getChoseong분리

* write test code

* getChoseong import

* remove useless import statemenet

* remove unused file

* feat: `canBeChoseong`, `canBeJungseong`, `canBeJongseong` 을 utils에서 별도 함수로 분리합니다. (#193)

* canBe series를 별도 함수로 분리합니다

* add change set

* feat: `hasBatchim` 을 utils에서 별도 함수로 분리합니다. (#195)

* hasBatchim

* resolve type error

* add change set

* hasProperty, hasValueInReadOnlyStringList를 internal folder 로 옮깁니다

* resolve test error

* move with test code

* feat: choseongIncludes함수를 제거합니다. (#197)

* remove choseongIncludes

Co-authored-by: 서동휘 <[email protected]>

* fix: remove 한글

* fix: amountToMoneyCurrency로 함수명 변경

* fix: amountToHangul로 함수명 수정

* fix: conflict

* fix: filepath

* fix: import 방식 변경 및 CHANGELOG restore

* Create kind-birds-provide.md

---------

Co-authored-by: 박찬혁 <[email protected]>
Co-authored-by: Jonghyeon Ko <[email protected]>
Co-authored-by: 서동휘 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants