Skip to content

feat: enterIcon prop for editable paragraph - #32220

Merged
afc163 merged 2 commits into
ant-design:featurefrom
kachanovskiy:skachano_paragraph_editable_iconenter
Sep 22, 2021
Merged

afc163 merged 2 commits into
ant-design:featurefrom
kachanovskiy:skachano_paragraph_editable_iconenter

Conversation

@kachanovskiy

Copy link
Copy Markdown
Contributor

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

editable Paragraph can have a custom "enter" icon (in the edit field) or no icon at all (which may be useful in case edit feels overloaded)
NOTE: this is a follow-up to a declined PR #31538

📝 Changelog

Language Changelog
🇺🇸 English enterIcon prop to configure custom "enter" icon in edit field (or no icon at all)
🇨🇳 Chinese enterIcon prop用于在编辑字段中配置自定义的 "enter"图标(或者定义这里无图标)。

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@github-actions

Copy link
Copy Markdown
Contributor

Prepare preview

@afc163

afc163 commented Sep 18, 2021

Copy link
Copy Markdown
Member

Conflicting

@codecov

codecov Bot commented Sep 19, 2021

Copy link
Copy Markdown

Codecov Report

Merging #32220 (bc588e4) into feature (33163ca) will decrease coverage by 0.01%.
The diff coverage is 81.81%.

Impacted file tree graph

@@             Coverage Diff             @@
##           feature   #32220      +/-   ##
===========================================
- Coverage    99.98%   99.97%   -0.02%     
===========================================
  Files          414      414              
  Lines         7678     7578     -100     
  Branches      2181     2132      -49     
===========================================
- Hits          7677     7576     -101     
  Misses           1        1              
- Partials         0        1       +1     
Impacted Files Coverage Δ
components/upload/UploadList/index.tsx 100.00% <ø> (ø)
components/upload/UploadList/ListItem.tsx 97.59% <33.33%> (-1.66%) ⬇️
components/avatar/group.tsx 100.00% <100.00%> (ø)
components/typography/Base.tsx 100.00% <100.00%> (ø)
components/typography/Editable.tsx 100.00% <100.00%> (ø)
components/upload/Upload.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 44b5a1f...bc588e4. Read the comment docs.

@afc163
afc163 merged commit 4a31561 into ant-design:feature Sep 22, 2021
@kachanovskiy
kachanovskiy deleted the skachano_paragraph_editable_iconenter branch September 23, 2021 14:19
@zombieJ zombieJ mentioned this pull request Dec 27, 2021
1 of 15 tasks
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