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

液态键盘新增SYMBOL类型, 用于输入符号表内容 #835

Merged
merged 1 commit into from
Sep 4, 2022

Conversation

tumuyan
Copy link
Contributor

@tumuyan tumuyan commented Aug 20, 2022

Pull request

Issue tracker

Fixes will automatically close the related issue

Fixes #

Feature

  1. 默认主题已经添加,主键盘点击符号-更多,由原先的打开emoji改为打开符号表。
  2. keys列表中的key为显示的label,value为模拟输入的内容
  3. 点击此类型的按键后,自动清空输入的内容,切换为中文输入模式、中文标点模式,输入内容到librime后取回候选词、恢复中英文标点模式、返回原先的普通键盘,用户从候选栏选取标点。由于有和方案校验、自动切换模式的机制,超越了同文风symbols键盘。
  symbollist:
    type: SYMBOL
    name: 符号表
    keys: [ 符号: '/fh', 电脑: '/dn', 象棋: '/xq', 麻将: '/mj', 骰子: '/sz', 扑克: '/pk', 天气: '/tq', 音乐: '/yy', 八卦: '/bg', 易经: '/lssg', 天体: '/tt',  星座: '/xz',  星号: '/xh',  方块: '/fk',  几何: '/jh',  箭头: '/jt',  数学: '/sx',  上标: '/sb',  下标: '/xb',  单位: '/dw',  货币: '/hb',  拼音: '/py',  注音: '/zy',  假名: '/jm',  片假: '/pjm',  韩文: '/hw',  希腊: '/xl',  希大: '/xld', 罗马:   '/lm',  罗大:   '/lmd', 俄语:   '/ey',  俄大:   '/eyd', 表情:  '/bq',  一: '/1',  二: '/2',  三: '/3',  四: '/4',  五: '/5',  六: '/6',  七: '/7',  八: '/8',  九: '/9',  零: '/0',  十: '/10',  分数: '/fs',  标点: '/bd',  偏旁: '/pp',  竖标:  '/bdz'  ]

Code of conduct

Gradle task

Tasks passed on every commit

  • ./gradlew spotlessCheck
  • ./gradlew assembleDebug

Manual test

  • Done

Code Review

  1. No wildcards import
  2. Manual build and test pass
  3. GitHub action ci pass
  4. At least one contributor reviews and votes
  5. Can be merged clean without conflicts
  6. PR will be merged by rebase upstream base

Daily build

Login to fetch artifact

https://github.com/osfans/trime/actions

Additional Info

@Bambooin
Copy link
Collaborator

Bambooin commented Sep 4, 2022

We already have symble board in trime theme.

@tumuyan
Copy link
Contributor Author

tumuyan commented Sep 4, 2022

We already have symble board in trime theme.

  1. The original keyboard cannot be scrolled
  2. if ASCII_POUNCH == true, the original symbol keyboard could not work.

@Bambooin Bambooin merged commit 7e40542 into osfans:develop Sep 4, 2022
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