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(editor): add valid attribute #1730

Merged
merged 1 commit into from
May 27, 2024
Merged

Conversation

DR-Univer
Copy link
Collaborator

close #xxx, #yyy, #zzzz

@univer-bot univer-bot bot added the qa:untested This PR is ready to be tested label Mar 28, 2024
Copy link

github-actions bot commented Mar 28, 2024

View Deployment

📑 Examples 📚 Storybook
🔗 Preview link 🔗 Preview link

@DR-Univer
Copy link
Collaborator Author

@Gggpound 范围选择器不感知具体表格,需要你在外部判断,然后传参到rangeSelector内部。

@univer-bot
Copy link

univer-bot bot commented Mar 28, 2024

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

@Gggpound The range selector is not aware of the specific table. You need to judge externally and then pass the parameters to the rangeSelector internally.

Copy link

codecov bot commented Mar 28, 2024

Codecov Report

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

Project coverage is 30.44%. Comparing base (893b810) to head (d90f687).
Report is 110 commits behind head on dev.

Files Patch % Lines
packages/ui/src/components/editor/TextEditor.tsx 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1730      +/-   ##
==========================================
- Coverage   31.78%   30.44%   -1.34%     
==========================================
  Files        1041     1213     +172     
  Lines       57853    74660   +16807     
  Branches    12165    17161    +4996     
==========================================
+ Hits        18387    22730    +4343     
- Misses      39466    51930   +12464     

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

@univer-bot univer-bot bot removed the qa:untested This PR is ready to be tested label Mar 29, 2024
@zhaolixin7 zhaolixin7 added the qa:verified This PR has already by verified by a QA and is considered good enough to be merge label Apr 13, 2024
@univer-bot univer-bot bot removed the qa:rejected label Apr 13, 2024
@@ -236,6 +240,10 @@ export function TextEditor(props: ITextEditorProps & Omit<MyComponentProps, 'onC
editorService.setValueNoRefresh(value, id);
}, [value]);

useEffect(() => {
Copy link
Member

Choose a reason for hiding this comment

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

这里不用 useMemo 计算出 validation visble?

@DR-Univer DR-Univer closed this Apr 13, 2024
@DR-Univer DR-Univer reopened this Apr 13, 2024
@wzhudev wzhudev merged commit 2dee268 into dev May 27, 2024
13 checks passed
@wzhudev wzhudev deleted the fix-condition-format-range-valid branch May 27, 2024 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
qa:verified This PR has already by verified by a QA and is considered good enough to be merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants