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

fix(cf): fix cf custom formula range change #4381

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from
Open

Conversation

wpxp123456
Copy link
Contributor

@wpxp123456 wpxp123456 commented Dec 28, 2024

close https://github.com/dream-num/univer-pro/issues/3013

条件格式所有有公式的地方都要受到删除行列等操作造成的选区改变, 测的时候帮忙再稍微点点条件格式的功能 看有没有哪里受到影响,包括撤消重做也帮忙走一走

Pull Request Checklist

  • Related tickets or issues have been linked in the PR description (or missing issue).
  • Naming convention is followed (do please check it especially when you created new plugins, commands and resources).
  • Unit tests have been added for the changes (if applicable).
  • Breaking changes have been documented (or no breaking changes introduced in this PR).

@wpxp123456 wpxp123456 added the qa:untested This PR is ready to be tested label Dec 28, 2024
@wpxp123456 wpxp123456 requested a review from Gggpound as a code owner December 28, 2024 06:18
Copy link

github-actions bot commented Dec 28, 2024

View Deployment

📑 Examples 📚 Storybook
🔗 Preview link 🔗 Preview link

@univer-bot
Copy link

univer-bot bot commented Dec 28, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Origin Title: fix(cf): fix cf custom formula range change

Title: fix(cf): fix cf custom formula range change


close https://github.com/dream-num/univer-pro/issues/3013

All places with formulas in conditional formatting will be affected by selection changes caused by operations such as deleting rows and columns. When testing, please help me check out the function of conditional formatting to see if anything is affected, including undoing and redoing, and also help me walk through it.

Pull Request Checklist

  • Related tickets or issues have been linked in the PR description (or missing issue).
  • Naming convention is followed (do please check it especially when you created new plugins, commands and resources).
  • Unit tests have been added for the changes (if applicable).
  • Breaking changes have been documented (or no breaking changes introduced in this PR).

Copy link

github-actions bot commented Dec 28, 2024

Playwright test results

passed  21 passed

Details

stats  21 tests across 10 suites
duration  4 minutes, 45 seconds
commit  f685b69
info  For more information, see full report

@wpxp123456 wpxp123456 removed the qa:untested This PR is ready to be tested label Dec 28, 2024
Copy link

codecov bot commented Dec 28, 2024

Codecov Report

Attention: Patch coverage is 0% with 93 lines in your changes missing coverage. Please review.

Project coverage is 33.35%. Comparing base (e909093) to head (f685b69).

Files with missing lines Patch % Lines
...ting-ui/src/controllers/cf.ref-range.controller.ts 0.00% 93 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #4381      +/-   ##
==========================================
- Coverage   33.37%   33.35%   -0.03%     
==========================================
  Files        2529     2529              
  Lines      130404   130495      +91     
  Branches    29103    29130      +27     
==========================================
  Hits        43526    43526              
- Misses      86878    86969      +91     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wpxp123456 wpxp123456 added the qa:untested This PR is ready to be tested label Dec 28, 2024
}
undoMap[`${unitId}_${subUnitId}_${cfId}`].push(item.params as ISetConditionalRuleMutationParams);
});
Object.values(undoMap).forEach((paramsList) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

undo 不需要处理么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
qa:untested This PR is ready to be tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants