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: Implementation of autocompletion function for emoji input #8137

Merged
merged 18 commits into from
Nov 1, 2023

Conversation

WNomunomu
Copy link
Contributor

@WNomunomu WNomunomu commented Oct 3, 2023

タスク

https://redmine.weseek.co.jp/issues/131552
https://redmine.weseek.co.jp/issues/131550

概要

コロンの後にアルファベットを2文字以上入力すると絵文字の予測変換が出るようにしました。
また、予測変換の絵文字を選択すると絵文字が入力されるようになりました。
(下の画像参考)
image

@WNomunomu WNomunomu temporarily deployed to VRT October 25, 2023 05:28 — with GitHub Actions Inactive
@WNomunomu WNomunomu temporarily deployed to VRT October 31, 2023 08:40 — with GitHub Actions Inactive
@reg-suit
Copy link

reg-suit bot commented Oct 31, 2023

reg-suit detected visual differences.

Check this report, and review them.

⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪

What do the circles mean? The number of circles represent the number of changed images.
🔴 : Changed items, ⚪ : New items, ⚫ : Deleted items, and 🔵 Passed items

How can I change the check status? If reviewers approve this PR, the reg context status will be green automatically.

packages/editor/src/stores/emojiAutocompletionSettings.ts Outdated Show resolved Hide resolved
return {
from: emojiBefore ? nodeBefore.from + emojiBefore.index : context.pos,
options: emojiOptions,
validFor: /^:\w{2,}$/,
Copy link
Member

Choose a reason for hiding this comment

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

この正規表現はモジュール変数に入れておく(上でも使っているので)

また、2文字以上入力した時に働くという挙動の説明をコード内コメントとして入れておいてください

@WNomunomu WNomunomu changed the title feat: 126521 emoji features 2 feat: Implementation of autocompletion function for emoji input Nov 1, 2023
@WNomunomu WNomunomu merged commit e72456b into dev/7.0.x Nov 1, 2023
@WNomunomu WNomunomu deleted the feat/126521-emoji-features-2 branch November 1, 2023 08:18
@github-actions github-actions bot mentioned this pull request Nov 1, 2023
@yuki-takei yuki-takei mentioned this pull request Mar 26, 2024
@github-actions github-actions bot mentioned this pull request Mar 26, 2024
@github-actions github-actions bot mentioned this pull request Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants