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

Enhance(frontend): MFMや絵文字が使える入力ボックスでオートコンプリートを使えるように #12643

Merged
merged 18 commits into from
Dec 14, 2023

Conversation

1Step621
Copy link
Contributor

What

ユーザー名・プロフィール・お知らせ・ページのテキストブロックの4箇所でオートコンプリートを使えるようにしました。うち、プロフィール・お知らせではプレビューも見られるようにしました。

Why

入力が楽になると同時に、「ここでは絵文字/MFMが使える」とユーザーに知らせる役割も果たせると思います。
Related: #12597

Additional info (optional)

Screencast.from.2023.12.13.16.41.00.webm

Screencast.from.2023.12.13.16.41.41.webm

Screencast.from.2023.12.13.16.42.31.webm

Screencast.from.2023.12.13.16.43.36.webm

Checklist

  • Read the contribution guide
  • Test working in a local environment
  • (If needed) Add story of storybook
  • (If needed) Update CHANGELOG.md
  • (If possible) Add tests

@github-actions github-actions bot added the packages/frontend Client side specific issue/PR label Dec 13, 2023
@1Step621 1Step621 changed the title Rich autocomplete Enhance(frontend): MFMや絵文字が使える Dec 13, 2023
@1Step621 1Step621 changed the title Enhance(frontend): MFMや絵文字が使える Enhance(frontend): MFMや絵文字が使える入力ボックスでオートコンプリートを使えるように Dec 13, 2023
Copy link

codecov bot commented Dec 13, 2023

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (2cfe64e) 79.68% compared to head (68ed400) 81.91%.
Report is 1 commits behind head on develop.

❗ Current head 68ed400 differs from pull request most recent head 6dfff2f. Consider uploading reports for the commit 6dfff2f to get more accurate results

Files Patch % Lines
packages/frontend/src/scripts/autocomplete.ts 22.22% 7 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #12643      +/-   ##
===========================================
+ Coverage    79.68%   81.91%   +2.22%     
===========================================
  Files          959      184     -775     
  Lines       108404    28282   -80122     
  Branches      8345      503    -7842     
===========================================
- Hits         86381    23167   -63214     
+ Misses       22023     5115   -16908     

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

dump.rdb Outdated Show resolved Hide resolved
syuilo and others added 6 commits December 13, 2023 22:24
メンションなども「MFM」に含まれるのか自信がなかったのでrichSyntaxなどとぼかしていましたが、含むようなので変更しました
@syuilo
Copy link
Member

syuilo commented Dec 14, 2023

ちょっと調整

@syuilo syuilo merged commit b33fe53 into misskey-dev:develop Dec 14, 2023
9 checks passed
@syuilo
Copy link
Member

syuilo commented Dec 14, 2023

👍🏻 👍🏻

@1Step621
Copy link
Contributor Author

ありがとうございます!🙏

@1Step621 1Step621 deleted the rich-autocomplete branch December 14, 2023 10:04
@1Step621 1Step621 restored the rich-autocomplete branch December 14, 2023 13:50
camilla-ett pushed a commit to kaseiski/misskey that referenced this pull request Jan 2, 2024
)

* rich autocomplete for use in profiles, announcements, and channel descriptions

* implementation omissions

* add tab, apply to page editor, and fix something

* componentization

* fix nyaize doesn't working in profile preview

* detach autocomplete instance when unmounted

* fix: mismatched camelCase

* remove unused / unnecessary styles

* update CHANGELOG.md

* fix lint

* remove dump.rdb

* props.richAutocomplete -> autocomplete

* Update packages/frontend/src/scripts/autocomplete.ts

* clarify namings
メンションなども「MFM」に含まれるのか自信がなかったのでrichSyntaxなどとぼかしていましたが、含むようなので変更しました

* tweak

* Update MkFormDialog.vue

* rename

---------

Co-authored-by: syuilo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages/frontend Client side specific issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants