chewing / ibus-chewing

The Chewing engine for IBus
GNU General Public License v2.0
67 stars 26 forks source link

feat: add value range to setting schema file #208

Closed wdhongtw closed 4 months ago

wdhongtw commented 4 months ago

Adding choices / value range to all string / integer type settings.

This change can allow users to do config through GSetting interface directly, while prevent users from broken settings by themselves.

Example usage:

image

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 60.13%. Comparing base (d4d6e18) to head (3bc70f9).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #208 +/- ## ======================================= Coverage 60.13% 60.13% ======================================= Files 24 24 Lines 2757 2757 ======================================= Hits 1658 1658 Misses 1099 1099 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.