Open CampelloManuel opened 1 year ago
The following is a list tasks I finished. Those that ended up on their own github issue may not be here. This is meant to be a quick reference for things I did, in chronological order. It does not replace github issues.
Spoon.screenshot(...)
. That library was removed, now we take screenshots with androidxuseLibrary 'org.apache.http.legacy'
to compile. we may need to remove this'com.nononsenseapps:filepicker:3.1.0'
since new android versions have a built-in equivalent featurevalues-v17
: since we target API 23 ad higher, those are 100% uselessbuild.gradle
by uncommenting a few lines, but for now there's no reason to use it, everything is written in javaattrs
for each icon, use iconTint
and remove half of the xml icon filesThemeHelper
classDocumentFile
and the folder picker for json backups, and save org files in Android/data/packagename
. See #454 and #455DialogEditList
and others, in themes.xmlcom.nononsenseapps.notepad.android.*
attrs
values from styles, try to keep as few as possible. from styles.xml
and themes.xml
@ViewById()
with viewbindings, except in activitymain.java and /fragments/task*fragment.java, where it does not workcom.nononsenseapps.notepad.permissions.*
? it's not clear why they're there & I doubt anyone is using them ?? And they cause conflicts when installing from both app storesthis is a good app with some room for improvements in the UI.
please check this app out. it has a crisp UI. can you guys implement something similar? Thanks again.
https://play.google.com/store/apps/details?id=com.gcteam.tonote
@jeevan786 I have tried that app. It uses the modern android material theme. We are planning to update our app theme to look like that, but it is not a priority for us at the moment. Given that functionality is more or less the same in the 2 apps, you can use that one for now. Google Keep is also a possible alternative.
This list tracks all important tasks related to this project. This helps @CampelloManuel schedule work. Bigger, more complex tasks, mainly those that require collaboration, will get their own github issue. There is another list for less important tasks in #480
For each release:
./release.sh
. this creates a tagUp next, for 7.1.8:
Important ideas:
<style name="Example" parent="Theme.Material3.DynamicColors.Dark"></style>
is enough. but you have to remove the colorPrimary. So maybe adding it as a new theme choice is a good idea. try using daynight as a base. this site generates themes https://m3.material.io/theme-builder#/custom and this link https://codelabs.developers.google.com/codelabs/apply-dynamic-color#5 explains how to use them, but these don't use the dynamic colors, which is what I'm trying to doNew functionality & less important changes:
org.androidannotations:androidannotations:4.8.0
, which is deprecated. See https://github.com/spacecowboy/NotePad/pull/369 difficult, and not really worth it: the last version supports androidx just fine. and it's from 2020, so it's still usable. TEST CAREFULLY, especially the navigation from widgets. See #465 a failed attemptapp/src/main/res/anim
are useless. consider deleting themarrays.xml
, do it like this https://gitlab.com/spacecowboy/Feeder/-/blob/master/app/src/main/res/xml/locales_config.xmlToast
withSnackbar
, possibly with undo actions. especially in the backup preferences page this should be possibleShortcutConfig.onOK()
NnnLogger
instead ofLog.d()
andLog.e()
in all calls in the codebasegradlew lint
and fix the reported warnings. See TODO in build.gradledrawable-mdpi
,drawable-xhdpi
, assuming that we are only going to use XML drawables+
icon for "create note" and a "list" icon for "open list" actionsCursor.getContentResolver().query()
are being used outside the designatedcom.nononsenseapps.notepad.database
namespace. You should make an Helper class that calls these methods, closes the cursor and returns java objects. This way, Cursor and the database logic are enclosed in that namespace only