功能概述 | Describe the feature
1. 解耦表情包的名字和文件名
表情包预设现在的名字和表情包的文件名强关联,希望能够解耦两者,使得表情包的 title 提示可以不再是类似于 bb_doge 的东西
另外,如果文件名是中文的话,为了保证兼容性一般需要用 encodeURIComponent 将其转换成 URL code,但是由于以上问题,会导致鼠标提示是一串难以识别的百分号代码
2. 解耦文件前缀和表情包唯一键前缀
现在表情包的 prefix 会同时用于生成表情包链接和 emojiInfo 的键名,现在我不希望它用于生成链接,但是仍然保留生成 info 键名的功能
以上的两个 feature requires 可以支持 waline 的自定义表情包系统更加健壮,并且大幅减少需要额外修改外部仓库来提供表情包的需求
Feature Overview | Describe the feature
1. Decouple the name and file name of the emoticon package
The current name of the emoticon package default is strongly related to the file name of the emoticon package. It is hoped that the two can be decoupled so that the title prompt of the emoticon package can no longer be something similar to bb_doge
In addition, if the file name is Chinese, in order to ensure compatibility, it is generally necessary to use encodeURIComponent to convert it into a URL code. However, due to the above problems, the mouse prompt will be a string of percent codes that are difficult to recognize.
2. Decouple file prefix and emoticon unique key prefix
Now the prefix of the emoticon package will be used to generate both the emoticon package link and the key name of emojiInfo. Now I don’t want it to be used to generate the link, but still retain the function of generating the info key name.
The above two feature requirements can support waline's custom emoticon package system to be more robust and greatly reduce the need for additional modifications to external warehouses to provide emoticon packages.
功能概述 | Describe the feature
1. 解耦表情包的名字和文件名
表情包预设现在的名字和表情包的文件名强关联,希望能够解耦两者,使得表情包的 title 提示可以不再是类似于
bb_doge的东西另外,如果文件名是中文的话,为了保证兼容性一般需要用
encodeURIComponent将其转换成 URL code,但是由于以上问题,会导致鼠标提示是一串难以识别的百分号代码2. 解耦文件前缀和表情包唯一键前缀
现在表情包的
prefix会同时用于生成表情包链接和emojiInfo的键名,现在我不希望它用于生成链接,但是仍然保留生成 info 键名的功能以上的两个 feature requires 可以支持 waline 的自定义表情包系统更加健壮,并且大幅减少需要额外修改外部仓库来提供表情包的需求
Feature Overview | Describe the feature
1. Decouple the name and file name of the emoticon package
The current name of the emoticon package default is strongly related to the file name of the emoticon package. It is hoped that the two can be decoupled so that the title prompt of the emoticon package can no longer be something similar to
bb_dogeIn addition, if the file name is Chinese, in order to ensure compatibility, it is generally necessary to use
encodeURIComponentto convert it into a URL code. However, due to the above problems, the mouse prompt will be a string of percent codes that are difficult to recognize.2. Decouple file prefix and emoticon unique key prefix
Now the
prefixof the emoticon package will be used to generate both the emoticon package link and the key name ofemojiInfo. Now I don’t want it to be used to generate the link, but still retain the function of generating the info key name.The above two feature requirements can support waline's custom emoticon package system to be more robust and greatly reduce the need for additional modifications to external warehouses to provide emoticon packages.