[go: nahoru, domu]

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: migrate walk through snippets provider to file-scheme module #1340

Merged
merged 4 commits into from
Oct 24, 2022

Conversation

Aaaaash
Copy link
Member
@Aaaaash Aaaaash commented Jul 13, 2022

Types

  • 🪚 Refactors

Background or solution

由于 walkThroughSnippets 协议的文档在 output 以及 debug 模块都有用到,原有的实现将该 provider 注册放在 debug 模块不太合理,迁移到 file-scheme 模块与其他通用 scheme 注册放在一起

Changelog

  • 迁移 walkThroughSnippets scheme 的注册逻辑到 file-scheme 模块

erha19
erha19 previously approved these changes Jul 14, 2022
@Aaaaash Aaaaash changed the title feat: migrate walk through snippets provider to file-scheme module WIP: feat: migrate walk through snippets provider to file-scheme module Jul 14, 2022
@Aaaaash Aaaaash force-pushed the refactor/migrate-walk-through-snippets-provider branch from eb7cc36 to 9ffc286 Compare October 18, 2022 08:01
@Aaaaash Aaaaash changed the base branch from main to v2.20 October 18, 2022 08:01
@Aaaaash Aaaaash changed the title WIP: feat: migrate walk through snippets provider to file-scheme module feat: migrate walk through snippets provider to file-scheme module Oct 18, 2022
@erha19
Copy link
Member
erha19 commented Oct 18, 2022

我比较建议这个可以先放到 main 分支,跟 2.21 版本发布 @Aaaaash

@Aaaaash
Copy link
Member Author
Aaaaash commented Oct 18, 2022

我比较建议这个可以先放到 main 分支,跟 2.21 版本发布 @Aaaaash

可以,这个不着急

@erha19 erha19 changed the base branch from v2.20 to main October 18, 2022 08:26
@erha19
Copy link
Member
erha19 commented Oct 19, 2022

冲突需要处理一下 @Aaaaash

@codecov
Copy link
codecov bot commented Oct 20, 2022

Codecov Report

Base: 57.62% // Head: 57.60% // Decreases project coverage by -0.01% ⚠️

Coverage data is based on head (c40186d) compared to base (d2f6925).
Patch coverage: 13.33% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1340      +/-   ##
==========================================
- Coverage   57.62%   57.60%   -0.02%     
==========================================
  Files        1285     1285              
  Lines       80175    80177       +2     
  Branches    16796    16797       +1     
==========================================
- Hits        46198    46189       -9     
- Misses      30907    30916       +9     
- Partials     3070     3072       +2     
Flag Coverage Δ
jsdom 52.35% <13.33%> (-0.02%) ⬇️
node 15.90% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
packages/editor/src/browser/preference/schema.ts 100.00% <ø> (ø)
...ges/theme/src/common/color-tokens/custom/select.ts 100.00% <ø> (ø)
packages/file-scheme/src/browser/file-doc.ts 66.19% <7.14%> (-14.51%) ⬇️
.../src/browser/view/console/debug-console.service.ts 15.34% <100.00%> (-0.08%) ⬇️
packages/utils/src/buffer.ts 30.81% <0.00%> (-4.07%) ⬇️
...erences/src/browser/preference-settings.service.ts 75.00% <0.00%> (-0.63%) ⬇️
...browser/doc-model/editor-document-model-service.ts 76.25% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@erha19 erha19 merged commit c52c472 into main Oct 24, 2022
@erha19 erha19 deleted the refactor/migrate-walk-through-snippets-provider branch October 24, 2022 01:58
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.

2 participants