166 Commits

Author SHA1 Message Date
Sad Ellie
ffd4284f55 Improved support for exponent and square root in input processing 2022-12-08 14:11:42 +04:00
Sad Ellie
7d2917d942 Introduced helpers for tests 2022-12-08 13:10:09 +04:00
Sad Ellie
aad5c40ffd Restored ExprK in licenses. 2022-12-08 12:45:14 +04:00
Sad Ellie
49b7406519 Removed redundant exponent display symbol. 2022-12-08 12:40:29 +04:00
Sad Ellie
8bb5d72461 Fixed Levenshtein Distance function.
Needed lowercase to pass tests of the function. In app strings are passed in lowercase.
2022-12-08 12:37:58 +04:00
Sad Ellie
d544a959f0 Fixed formatter 2022-12-08 12:35:22 +04:00
Sad Ellie
12cb52465e Unitto on F-Droid
Added badges and updated README.md
2022-12-07 21:05:44 +04:00
Sad Ellie
aff3cd4ca3 Back to ExprK.
Added more operators for calculator. Formatting and other stuff are broken.

P.S. Using my own fork of ExprK. Added square root operator to it.
2022-12-07 20:52:17 +04:00
Sad Ellie
193170c734 Switched to EvalEx
Will need to refactor some convert method in the future.
2022-11-21 17:24:37 +04:00
Sad Ellie
e620794358 Fixed engineering string formatter 2022-11-21 11:11:16 +04:00
Sad Ellie
91332312e1 Added ExprK to licences
Also little order change
2022-11-20 20:55:35 +04:00
Sad Ellie
953292681b Added examples to Separator setting 2022-11-20 20:54:03 +04:00
Sad Ellie
e0152b508e Fixed (?) rendering issue with calculated value text
Hard to catch this bug, may still be broken
2022-11-20 20:32:26 +04:00
Sad Ellie
7c38a60788 Bump and clear 2022-11-20 20:03:08 +04:00
Sad Ellie
7fc6cea761 Fixed calculated result precision 2022-11-20 18:03:58 +04:00
Sad Ellie
cc1c94e86e Custom formatter.
NumberFormatter from java is bad.

Updated tests, LGTM.
2022-11-20 11:03:52 +04:00
Sad Ellie
b49b706d3f Fixed SearchBar 2022-11-20 11:00:37 +04:00
sadellie
3220cf20e2 Fixed input processing
Probably last fix for the first iteration of this functionality.
2022-11-13 17:04:33 +04:00
sadellie
2a348867a2 Bump! 2022-11-13 12:37:43 +04:00
sadellie
d90ae9220a Tiny padding fixes
Input and output text fields now occupy full screen width
2022-11-13 11:49:44 +04:00
sadellie
8e928d44bf Added basic calculator functionality.
- Lots of changes in UI
- Lots of changes in formatter
- Lots of changes in input processing functions

Note: No tests for this feature since I'm not about how calculator should work in Unitto.

Screenshots/promo/brand/press kit will be updated later.

This commit is a mess, sorry if you've somehow ended up here.
2022-11-13 11:47:17 +04:00
sadellie
13ca84e5c9 RuStore release
Added link to RuStore
2022-11-10 00:15:30 +04:00
sadellie
d4f2be1b55 Electric purple 2022-11-05 21:54:55 +04:00
Sad Ellie
a5152e8acb Chips row scroll fix 2022-09-04 21:22:28 +03:00
Sad Ellie
8ac244289a Bump! 2022-09-03 14:01:19 +03:00
Sad Ellie
24cd87924d Changed fdroid store link
Users can't rate app on F-Droid, better open GitHub repository
2022-09-03 13:37:34 +03:00
Sad Ellie
f8dbd7a867 Fixed Levenshtein distance search
Was missing lowercase transformations
2022-09-03 13:27:30 +03:00
Sad Ellie
3d9d5c6b7b Fixed right side screen title text 2022-09-03 13:11:46 +03:00
Sad Ellie
c50f221572 Fixed typos 2022-09-03 13:09:46 +03:00
Sad Ellie
66227f4ed7 Better (?) MutableStateFlows approach 2022-09-03 13:01:06 +03:00
Sad Ellie
0ffec5e15a No selected unit group bugfix 2022-08-23 22:24:59 +03:00
Sad Ellie
5621848c5a State flow for unit selection screens 2022-08-22 22:42:50 +03:00
Sad Ellie
f6c1d44be2 Units repository updates
Units filter fixes
Performance drop fixed
2022-08-22 22:24:52 +03:00
Sad Ellie
0d1d08a951 SemiBold button text style
Also Type.kt clean up
2022-08-22 21:41:00 +03:00
Sad Ellie
c72f2960cf Moved business logic from MainViewModel to AllUnitRepository 2022-08-20 13:24:35 +03:00
Sad Ellie
d758712413 Better approach for Flows 2022-08-20 13:10:11 +03:00
Sad Ellie
5b56c60e32 Fixed UnitListItem support text 2022-08-20 12:32:55 +03:00
Sad Ellie
bf0c3e60bf Changes in build environment.
Using local compiler options. See:
File | Settings | Build, Execution, Deployment | Compiler
2022-08-20 12:21:06 +03:00
Sad Ellie
1984af8203 Fixed performance issues while scrolling units list 2022-08-19 20:35:53 +03:00
Sad Ellie
9693369973 Added missing fonts 2022-08-18 22:14:56 +03:00
Sad Ellie
0aa71acf1a Fixed tests 2022-08-18 22:00:54 +03:00
Sad Ellie
280ba7b752 updateTransition usage 2022-08-18 21:57:19 +03:00
Sad Ellie
4fc4603cf0 Destructuring declaration 2022-08-18 21:44:53 +03:00
Sad Ellie
6170726749 Better unit selection screens
Animated list items
Animated change between "has units" / "no units" states
Left and right unit selection screen are now completely separate composable. Easier to maintain.
2022-08-18 21:39:14 +03:00
Sad Ellie
d1038eb4b2 Fixed sticky header background 2022-08-17 22:44:57 +03:00
Sad Ellie
92ac089b2b Fixed crashes when removing draggable item 2022-08-17 21:16:08 +03:00
Sad Ellie
a3a5d9ec27 M3 Lists 2022-08-14 20:38:49 +03:00
Sad Ellie
c965a68198 Saving unit groups order in onDragEnd 2022-08-14 11:46:10 +03:00
Sad Ellie
3f4b21af4d Fixed chips row width 2022-08-14 11:39:08 +03:00
Sad Ellie
efb2e3404f Bump 2022-08-14 00:11:52 +03:00