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

refactor(finance)!: simplify account implementation #1992

Merged
merged 7 commits into from
Apr 3, 2023

Conversation

ST-DDT
Copy link
Member

@ST-DDT ST-DDT commented Mar 29, 2023

We have an explicit method for generating a numbers with a given length, so lets use that instead.

This PR is a precondition to deprecating helpers.replaceSymbolWithNumber.

@ST-DDT ST-DDT added p: 1-normal Nothing urgent c: refactor PR that affects the runtime behavior, but doesn't add new features or fixes bugs m: finance Something is referring to the finance module labels Mar 29, 2023
@ST-DDT ST-DDT requested review from a team March 29, 2023 19:02
@ST-DDT ST-DDT self-assigned this Mar 29, 2023
src/modules/finance/index.ts Outdated Show resolved Hide resolved
src/modules/finance/index.ts Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Mar 29, 2023

Codecov Report

Merging #1992 (b39747a) into next (34b743a) will increase coverage by 0.01%.
The diff coverage is 100.00%.

❗ Current head b39747a differs from pull request most recent head 3d7f92f. Consider uploading reports for the commit 3d7f92f to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #1992      +/-   ##
==========================================
+ Coverage   99.61%   99.62%   +0.01%     
==========================================
  Files        2561     2561              
  Lines      243239   243229      -10     
  Branches     1274     1277       +3     
==========================================
+ Hits       242301   242319      +18     
+ Misses        913      885      -28     
  Partials       25       25              
Impacted Files Coverage Δ
src/modules/finance/index.ts 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

@ST-DDT ST-DDT added s: needs decision Needs team/maintainer decision s: accepted Accepted feature / Confirmed bug breaking change Cannot be merged when next version is not a major release and removed s: needs decision Needs team/maintainer decision labels Mar 29, 2023
@ST-DDT
Copy link
Member Author

ST-DDT commented Mar 30, 2023

Team Decision

We will remove the 0 -> 8 mapping.

@ST-DDT ST-DDT changed the title refactor(finance): simplify account implementation refactor(finance)!: simplify account implementation Mar 30, 2023
@Shinigami92
Copy link
Member

What a weird code ...
I'm glad we refactored it

@ST-DDT ST-DDT requested review from a team April 2, 2023 21:06
@ST-DDT ST-DDT enabled auto-merge (squash) April 3, 2023 15:40
@ST-DDT ST-DDT merged commit de078de into next Apr 3, 2023
15 checks passed
@ST-DDT ST-DDT deleted the refactor/finance/simplify-account branch April 3, 2023 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Cannot be merged when next version is not a major release c: refactor PR that affects the runtime behavior, but doesn't add new features or fixes bugs m: finance Something is referring to the finance module p: 1-normal Nothing urgent s: accepted Accepted feature / Confirmed bug
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants