181 Commits

Author SHA1 Message Date
sadellie
7c70258b84 Bumpy bumps
Updated navigation logic
2023-07-21 21:52:20 +03:00
Sad Ellie
86dce329ac Separate User Preferences 2023-05-19 10:29:53 +03:00
Sad Ellie
7aa0d3e431 Date difference tool 2023-05-18 23:28:05 +03:00
Sad Ellie
fe81601fa8 Merge branch 'light-goldenrod-yellow'
# Conflicts:
#	core/ui/src/main/java/com/sadellie/unitto/core/ui/Formatter.kt
#	feature/calculator/src/main/java/com/sadellie/unitto/feature/calculator/CalculatorScreen.kt
#	feature/calculator/src/main/java/com/sadellie/unitto/feature/calculator/components/HistoryList.kt
#	feature/converter/src/main/java/com/sadellie/unitto/feature/converter/components/MyTextField.kt
#	feature/converter/src/main/java/com/sadellie/unitto/feature/converter/components/TopScreen.kt
#	feature/unitslist/src/main/java/com/sadellie/unitto/feature/unitslist/RightSideScreen.kt
2023-05-15 16:03:27 +03:00
Sad Ellie
8f1847618a Tiny fixes
* New Token-based System™ for input
* Unmathematical/Unethical/Cursed percentage support
* New Expression Evaluator™ that is not a dumpster fire
* Cursor in Converter input text field
* Removed garbage code (-200 KB)

proper fix for #12
closes #44
closes #52

this is a squashed commit
2023-05-15 13:16:51 +03:00
Sad Ellie
6499971bd9 Fix restore formatter settings 2023-05-09 11:58:29 +03:00
Sad Ellie
62af6a5ba2 Clean up theming logic 2023-05-03 11:05:22 +03:00
Sad Ellie
c5cfd5bac7 Fix flickering screen 2023-05-02 10:18:57 +03:00
Sad Ellie
34521e306e Splash screen colors
closes #50
2023-05-01 20:39:00 +03:00
Sad Ellie
41a71c2948 Added quick settings tile 2023-04-25 11:19:43 +03:00
Sad Ellie
2f20dc30aa Fix animation duration for theme change 2023-04-23 19:44:03 +03:00
Sad Ellie
efc1c9a841 Better color schemes 2023-04-23 19:28:13 +03:00
Sad Ellie
b7127e75a9 Better theming options:
- Improved UI/UX
- Added ability to pick color scheme
2023-04-09 13:14:44 +03:00
Sad Ellie
bb8e909b23 Rename SecondViewModel into UnitsListViewModel 2023-04-02 20:26:22 +03:00
Sad Ellie
2ee69c5b9c Drawer item icon states 2023-02-26 15:02:23 +04:00
Sad Ellie
9d665823ba Settings tab in navigation drawer 2023-02-26 14:13:02 +04:00
Sad Ellie
b10630b9c7 Update status bar color 2023-02-25 17:38:24 +04:00
Sad Ellie
827a42bf49 Navigation drawer instead of tools screen 2023-02-25 16:26:11 +04:00
Sad Ellie
88a14bdd51 Added missing visibility modifiers 2023-02-22 10:33:20 +04:00
Sad Ellie
f92488f336 Start screen option 2023-02-22 10:19:06 +04:00
Sad Ellie
30b97ef821 Settings button in calculator 2023-02-22 02:08:06 +04:00
Sad Ellie
951523a235 Improved navigation
- Clear back stack when navigating between tools
- Added unit converter to tools screen
- Disabled epoch converter until ready
2023-02-22 02:00:02 +04:00
Sad Ellie
610afca6fe Clean up navigation 2023-02-13 21:44:12 +04:00
Sad Ellie
2c116fa90c Rename MainScreen into ConverterScreen
It's very important /s
2023-02-13 21:04:15 +04:00
Sad Ellie
5ab779d136 Added Calculator (#2)
Note: First iteration of this feature, will change the navigation, cursor and copy/paste/cut.
2023-02-12 15:25:58 +04:00
Sad Ellie
0bf3ac6155 Tools screen
Added basic tools screen
Added epoch converter screen
Little refactor to avoid code duplication
2023-02-01 16:29:19 +04:00
Sad Ellie
8b9db717c4 Actually fixed navigation for unit selection screens 2023-01-13 23:57:58 +04:00
Sad Ellie
a8cbb8f89e Fixed navigation.
P.S. Ugly fix, will change later.
2023-01-13 21:10:40 +04:00
Sad Ellie
40b6e9c147 Modules modules modules
App is now made of modules.

Updated README.md to show modules.

P.S. Commits are squashed.

basically, modules
2023-01-12 21:24:59 +04:00
Sad Ellie
080ddbbd4c Refactor input processing
Fixed precision for calculated results
2023-01-08 16:18:45 +04:00
Sad Ellie
f55a5bdfeb Fixed "About Unitto" localization. 2023-01-07 14:44:13 +04:00
Sad Ellie
2bd56a7c3e Fixed long click #15 2023-01-06 20:48:24 +04:00
Sad Ellie
e27f8fb2f4 Fixed formatting for batch converting 2023-01-04 17:55:30 +04:00
Sad Ellie
ce050de877 Fixed network loading states 2023-01-04 17:52:45 +04:00
Sad Ellie
28935f31e0 CLear input when switching between converter modes. 2023-01-04 16:15:51 +04:00
Sad Ellie
18231d0153 Trim spaces around search query 2023-01-04 12:20:07 +04:00
Sad Ellie
78f9d59fd8 Big viewmodel refactor
(squashed)
2023-01-04 12:20:06 +04:00
Sad Ellie
b1c8780fc1 Added Number base converter #14 2023-01-02 18:17:26 +04:00
Sad Ellie
9308398d77 Changed Row to Column in keyboard 2022-12-31 22:43:16 +04:00
Sad Ellie
f7b625df50 Search by short name #11 2022-12-31 14:24:49 +04:00
Sad Ellie
d715bc61fa Updated font
Montserrat good, Open Sans bad.
2022-12-31 13:13:10 +04:00
Sad Ellie
2ffa9f43a2 Updated About Unitto screen
* Updated links due to new website
* Added GitHub link
* Added POEditor link
2022-12-31 12:35:45 +04:00
Sad Ellie
aa1f5f8e9b Added cent (area) #8 2022-12-30 21:42:02 +04:00
Sad Ellie
84b428e620 Merge branch 'refactor/ui' 2022-12-30 20:53:14 +04:00
Sad Ellie
24c407a05d Not so little UI refactor.
Refactored Utilities.

Refactored MainScreen. Now using a better approach for portrait/landscape.

Refactored TextField.
2022-12-30 20:52:42 +04:00
Sad Ellie
d41f9a7d13 Added magnetic flux conversion 2022-12-30 20:50:06 +04:00
Sad Ellie
e5b7a7b6c2 Fixed custom dynamic theming for old devices. (#10) 2022-12-25 19:54:36 +04:00
Sad Ellie
16b8bd35a3 Fix (?) for input conversion (#12)
- Now doing conversion in coroutine.
- Little refactor for MainViewModel
- Text fields are limited to 1000 symbols now

- Little bug added. Conversion result can get really slow when converting extremely large numbers 99^999999 (like really big). Very rare case and user would probably never enter such values. Can't find a proper fix yet.
2022-12-24 13:45:00 +04:00
Sad Ellie
67ace59469 Fixed crash when batch converting
Will clean later.
2022-12-17 13:31:22 +04:00
Sad Ellie
5cd2b3b205 Fixed crashes on large numbers (#12)
Currently just showing empty conversion result when can not convert due to expression result being too big, just like in Calculator by Google. Will add a proper message later.
2022-12-17 13:18:16 +04:00