Commit graph

214 commits

Author SHA1 Message Date
86cd33ff5f
Address lint issues
Some checks failed
Build & Test / Validate (pull_request) Successful in 19s
Build & Test / Run Unit Tests (pull_request) Successful in 10m34s
Build & Test / Run UI Tests (pull_request) Failing after 4m1s
2024-07-31 20:17:14 -06:00
06cbc5ec31
Fix padding and link color for HtmlText
Some checks failed
Build & Test / Validate (pull_request) Successful in 16s
Build & Test / Validate (push) Successful in 15s
Build & Test / Run Unit Tests (pull_request) Failing after 8m12s
Build & Test / Run UI Tests (pull_request) Failing after 4m19s
Build & Test / Run Unit Tests (push) Failing after 5m27s
Build & Test / Run UI Tests (push) Failing after 5m27s
2024-07-11 22:33:22 -06:00
2a0cc4d889
Split free & play code into separate gradle modules
This will hopefully enable me to use the gradle build health plugin, and still be compliant with F-Droid's policies. A consequence of this is that I had to go back to ACRA for error reporting, since I couldn't find a way to keep Firebase's gradle plugins on a library module instead of the main app module
2024-05-18 22:13:39 -06:00
de9956cbf7
Fix padding on edit view 2024-05-06 19:39:16 -06:00
75e38a97dd
Implement collapsing toolbar on editor 2024-05-06 00:26:33 -06:00
c792bd106e
Move MarkdownNavigationDrawer and MarkdownTopAppBar to their own files 2024-05-05 23:42:26 -06:00
b7c2e116cf
Switch from MD4C to CommonMark for markdown parsing
I wanted to use MD4C for the performance but unfortunately there seem to be issues with how it handles UTF-8 and how the JNI handles it. CommonMark will have to do for now at least
2024-05-05 23:09:45 -06:00
7ed94aebf4
Remove padding from markdown editor and pre-render preview 2024-05-05 23:06:27 -06:00
c7f44e2b81
Fix link to crashlytics in privacy policy 2024-05-05 23:01:47 -06:00
c86d2c2f6a
Improve ergonomics of editor:
- Show indicator in title for when file has unsaved changes
- Fix issues with scrolling on preview
  - Default to disable locked swiping between tabs
  - Disable gestures on navigation drawer
 - Fix text selection and typing in editor
2024-05-05 19:44:36 -06:00
208e0a1a6f
Use MD4C to convert markdown to HTML 2024-05-04 10:37:33 -06:00
37f0b8bae8 Remove Plausible 2024-02-22 22:14:16 -07:00
e0d43d5154 Fix tests 2024-02-15 16:35:23 -07:00
a6616550dd Fix cropping on splash screen icon 2024-02-15 16:35:23 -07:00
a48f243e48 Improve widescreen layout for large devices 2024-02-15 16:35:23 -07:00
6acacf5edb Limit file titles to one line in toolbar 2024-02-15 16:35:23 -07:00
a35aa62399 Add extra padding to text field when keyboard is open
This allows users to be able to scroll all the way to the bottom of long documents without the keyboard obscuring the text
2024-02-15 16:35:23 -07:00
f891d3635d Hide keyboard when switching to preview 2024-02-15 16:35:23 -07:00
b706f5b5eb Remove AndDown code 2024-02-15 16:35:23 -07:00
32b4518bf7 Use javascript markdown engine 2024-02-15 16:35:23 -07:00
c2cc9fbd1c Add tests for MarkdownViewModel#load 2024-02-15 16:35:23 -07:00
ae5b13dfd0 Finish compose migration and remove unnecessary assets/code 2024-02-15 16:35:23 -07:00
493444aaab Implement Readability Highlighting in compose
This could still use some performance tweaks to make it run a bit better but at least it works
2024-02-15 16:35:23 -07:00
c7e54f21d9 Migrate some more to Jetpack Compose + Material3 2024-02-15 16:35:23 -07:00
643345493e Migrate to Jetpack Compose + Material3 2024-02-15 16:35:23 -07:00
8b7d83c6ae Fix UI tests 2023-12-15 19:54:40 -07:00
f69bf81630
Implement semi-automated releases
This still requires manually running the gradle task but the next step will be getting a GitHub workflow to perform the release whenever a new tag is pushed
2023-09-28 20:15:38 -06:00
fe2f36f06a Add support for themed icon 2023-03-28 06:34:40 -06:00
c5355d1565 Skip permissions checking for saving and loading files
At some point I refactored to an API that doesn't require any permissions at all but never removed the permissions check. This corrects that
2023-03-27 20:23:28 -06:00
c54f6c00ac
Disable Plausible for debug builds 2023-01-27 18:15:01 -07:00
5fe4942d84
Bump AGP 2023-01-27 18:13:53 -07:00
b8bbd267c7 Track app build info in plausible 2022-11-03 09:15:52 -06:00
b231a56c9a Fix tests 2022-11-03 06:57:18 -06:00
5af4d2028f Replace Firebase analytics with Plausible 2022-10-29 22:03:39 -06:00
d0c61bea52 Update dependencies and target sdk 2022-10-23 23:45:28 -06:00
3108114b60 Improve analytics
- Automatic page view tracking wasn't helpful since it was based on the Activities viewed, and SimpleMarkdown is a single-Activity app, so page views are now tracked manually
- User preferences are now reported so I can remove preferences that aren't used and focus my time on features that are actively used
- Opting out of crash reports is no longer possible. I need crash reports to be able to improve the app. It would also simplify the code a bit to not need to take that into account. Existing opt-outs will be respected but moving forward, new users will need to download the app from Fdroid if they'd like to avoid interactions with Google.
2022-10-23 23:44:02 -06:00
17d1bd28c5 Remove Billing permission from free variant 2021-06-27 10:46:27 -06:00
94cdb70da7 Fix free flavor builds 2021-03-12 15:53:00 -07:00
50d7622172 Consolidate autosave URI persistence management 2021-02-21 18:32:53 -07:00
1522806e62 Prevent save/discard dialog from appearing when file contents haven't changed after loading 2021-02-21 17:57:41 -07:00
c2be2274e8 Prevent autosave when manual save is in progress 2021-02-21 17:56:53 -07:00
260c49d8d5 Fix PersistentTree logging to append 2021-02-21 17:29:02 -07:00
31e81f31b4 Fix URI logging in ViewModel 2021-02-21 17:14:02 -07:00
14dc55433a Use Timber for logging 2021-02-21 14:18:37 -07:00
96e7b7c6b3 Fix potential memory leak in ReviewHelper
There was a static reference to the currentActivity that was unnecessary
2021-02-21 14:18:36 -07:00
eb756e8525 Remove manual CoroutineScope implementations 2021-02-21 14:18:36 -07:00
b056e779e0 Grant WRITE_EXTERNAL_STORAGE permission for UI tests
The absence of this was causing the tests to fail on Firebase.
2021-02-20 22:23:58 -07:00
ed57785d0a Migrate autosave logic to viewmodel and fix failing UI tests 2021-02-20 20:35:28 -07:00
f2ed687b02 Update openApp test to use launch intent programmatically
Trying to go through the launcher was a bit too buggy and flaky. In the end, this should produce basically the same result.
2021-02-20 20:00:08 -07:00
84db6b3d80 Fix (yet another) potential issue with autosave overwriting files 2020-10-08 09:20:57 -07:00