Right-Click Emote option to put it in the middle of your text

オープン
#130 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
desktop-dev

調査の方向性

Locate the text input handling and emote processing logic in the Go codebase to implement parsing of :emote_name: patterns and conversion to the internal protocol format like <e:pre:idle:sfx>. Find the emote button UI component to add sequence number highlighting and selected state. Done means mid-text emotes render inline in chat input with sequence numbers displayed on the emote buttons indicating order and count.

索引モデルが issue の本文から書いたものです。

説明

enhancement not before 3.0

Being able to have mid-text emotes properly would be nice. Either right click emote option or typing out the :emote name: like you would a Discord emoji, and placing an emote button in the text to indicate it will swap to it.

I don't want a KFO-Client butchered implementation where it really just sends 2 packets at once (as that HEAVILY relies on the queue actually being enabled to even work properly), I want a proper implementation for it that converts the emote to its own internal variant. For example :emote_name: turns into <e:pre:idle:sfx> or something.

In the same breath, mid-text sfx could also be handled like sfx:sfx_name, etc.

Also add a highlight on the Emote Button in the Emote List when you have mid-emote where the number would show you the order in which they will appear. Additionally if you did an emote twice it would mark it in a way that shows it's being used, for example KC-KZ's idea:

if a emote is high lighted have number 1, 2, 3 and so on with how many are selected in the order you want, if you did the emote twice the emote button would have like "1,3" so at a glance how many times it is used on what order

Also all the emotes that you're using should be using the _on button variant (aka darker shade that they're being used) - on AsyncAO currently that's just a box behind the emote that it's selected so that's what I mean, just mark it as "selected" in addition to the number showing what sequence it's selected in.

Example:
Image

主要言語
Go
スター
4
フォーク
3
平均マージ
6日 21時間
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SyntaxNyah/AsyncAO のほかの issue

SyntaxNyah/AsyncAO の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。