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

refactor: update RimeWithWeasel.cpp, style holded by session #1055

Merged
merged 8 commits into from
Jan 1, 2024

Conversation

fxliang
Copy link
Contributor

@fxliang fxliang commented Dec 18, 2023

# configuration: when to show notifications
show_notifications:  true    # default true to enable all tips, false to disable all tips (except deployment's)
# list type of setting
#show_notifications:
#  - ascii_mode 
#  - ascii_punct
#  - full_shape
#  - simplification
#  - customized_option_name_in_schema
#  - schema    # this is for tip after schema switched

# how long a period notifications shows
show_notifications_time: 1200
# use global ascii status, set true means all session in the same ascii mode all the time.
global_ascii: false

global_ascii
all_tips
dark mode scheme auto switching, with schema specified color scheme and dark color scheme.
dark_mode_auto_switching

fix: style incorrect in some case when dark mode switches.
chore: UI function de-warning.
@fxliang fxliang requested a review from lotem December 18, 2023 10:19
feat: able to show notifications customized by user.

always: all notifications
never: none notifications, except deploy message
detail setting with `option names` in schema, connect with +, no space allowed. e.g.,
show_notifications_when: ascii_mode+full_shape+ascii_punct+extended_charset
another keyword is 'schema' for schema switching tip
output/data/weasel.yaml Outdated Show resolved Hide resolved
keyword: keyword `show_notifications_when` changed to `show_notifications`
type: show_notifications by bool/list of options, or `schema`
chore: remove meaningless line.
@fxliang fxliang merged commit fda8a10 into rime:master Jan 1, 2024
1 check passed
@fxliang fxliang deleted the RimeWithWeasel_refactor0 branch January 20, 2024 03:31
@hxse hxse mentioned this pull request Mar 2, 2024
@fxliang fxliang mentioned this pull request Apr 15, 2024
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.

color_scheme_dark 配置不能立即生效
2 participants