Unit Converter feature and settings menu redesign
This update adds an interactive unit converter and introduces a brand new settings card design.
Smart unit conversion:
I had an idea to add something this while reading The Martian last week, but @Fank1 had just released https://github.com/Fank1/foot-cream with imperial -> metric. I took some of that code/logic/UX and worked it into my vision for this in X-Ray. Lots of credit to @Fank1
- The plugin now scans book text to detect and underline measurements (like distance, speed, weight, temperature, volume, and area).
- Tapping any underlined text shows a bottom popup with the converted measurement in your preferred unit system. (It will only underline measurements not in your native/configured unit/system.)
- Underline style, units, and conversion direction are all configurable....or you can disable this feature entirely
- It scans the book automatically the first time it is opened. This can be turned off and you can scan manually.
- This feature doesn't use AI and works offline.
Redesigned settings card:
- The plugin settings design/layout has been rebuilt from scratch. In function, it will work the same, but looks nicer with a consistent design language and modern look and feel.
Full Changelog: 26.7.10.2...26.7.10.3