17 Commits

Author SHA1 Message Date
d202d91a80 Debug Screen: Make levels translatable 2020-09-04 18:51:45 +02:00
9d55b449d3 Settings: Access it through the Provider
Make it a ChageNotifier and try to access it through the Provider
instead of like a global variable. This way, the state is better
managed and it'll be easier to split out Settings into smaller classes.
2020-08-09 01:29:22 +02:00
9d00fdac06 Use import_sorter
flutter pub run import_sorter:main --no-comments

The code feels much cleaner
2020-07-24 12:43:28 +02:00
8811f08b0e Debug screen: Cache the logs
Avoiding opening the file again and again
2020-06-10 13:34:36 +02:00
633c8c4567 DebugLogLevel: Save the last used log level
This way it's easier to return back to see what's going wrong.
2020-05-29 12:44:46 +02:00
53ed91ff64 DebugScreen: Make the text selectable 2020-05-29 12:39:44 +02:00
b0354b5c3f DebugScreen: Translate the strings 2020-05-20 00:56:55 +02:00
7611794fd3 DebugScreen: Allow levels dialog to be dismissed 2020-05-20 00:51:57 +02:00
c935feaee0 DebugScreen: Level selector - Highlight all selected levels
When selecting 'Debug', it also selects all the levels which are more
important than it.
2020-05-20 00:50:44 +02:00
1bf91b9292 DebugScreen: Make it work with dark mode 2020-05-19 22:53:08 +02:00
59c2f866bc DebugScreen: Allow filtering the logs based on their level 2020-05-19 22:51:28 +02:00
a2b72a1a81 DebugScreen: Add buttons to jump to top and bottom 2020-05-17 19:56:25 +02:00
2a84962cb2 DebugScreen: Do not show microseconds
Way too much info
2020-05-17 19:49:51 +02:00
a324d0f755 Logging: Allow logging structured fields
Display this in the Debug Screen app. Additionally, add a reason why a
file was not loaded.
2020-05-17 19:47:11 +02:00
2339f50d89 DebugScreen: Make it prettier 2020-05-17 19:24:00 +02:00
b2d0cf44ab Stop using deprecated TextStyle properties 2020-05-08 10:55:00 +02:00
ea733aacb5 Add a very simple Debug screen
This will show all the debug messages, which include when a file is
being ignored and not loaded, and hopefully all the exceptions. So the
user should be able to better understand why a file has been ignored.

It's not an ideal solution, but it's a quick fix.

Fixes #122
2020-05-06 01:09:57 +02:00