Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge toolbar and action bar, change toolbar text/icons to white #21

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

qwazix
Copy link

@qwazix qwazix commented Jul 25, 2018

This minimizes wasted space. Also replace undo/redo/share icons match android material design.

I did not replace the save icon because I intend to remove the save function and replace with autosave.

I am contemplating making in configurable.

Michael Demetriou added 8 commits July 25, 2018 14:02
This minimizes wasted space. Also replace undo/redo/share icons
to match android material design.
Permissions seem to work on device (needs more testing)
Both internal and shared works
Icon appearance and layout
About Screen is now an activity
Donate button is a regular button, not fab
Irrelevant menu items do not show when editorFragment is visible (sort/refresh)
While the user is typing an new Undo history entry is created when:

* 1000ms pass from the last time an undo entry was created or
* The user types a space
* The user deletes a space
@gjedeer
Copy link

gjedeer commented Aug 21, 2018

Hey, I like your the new look, following: random internet guy reviews your hard work.

I've built snotepad with your changes, undo/redo works rather strangely. I'm not sure if it's because of your changes or if it was like this in the original app. Maybe it feels like the buttons aren't always working because they're not grayed out at the end of history?

The share button doesn't do anything. You've removed the event handler when you removed the save event handler.

Tested the autosave-on-keypress too, it's fast even on a long document, cool. Some rate limiting would be good for the flash memory, I guess.

@qwazix
Copy link
Author

qwazix commented Aug 22, 2018

I've built snotepad with your changes, undo/redo works rather strangely. I'm not sure if it's because of your changes or if it was like this in the original app. Maybe it feels like the buttons aren't always working because they're not grayed out at the end of history?

They weren't grayed out before either, and I'm intending to fix this at some point. My changes were meant to avoid having to press the button once for each character, they just group some changes together (every few seconds or every word, whichever comes first). I have been using my build (not too heavily but still) since I opened this PR and haven't noticed anything wrong with the undo, but I'll check it more thoroughly.

The share button doesn't do anything. You've removed the event handler when you removed the save event handler.

Noted

Tested the autosave-on-keypress too, it's fast even on a long document, cool. Some rate limiting would be good for the flash memory, I guess.

I can rate-limit the autosave the same way I am limiting the undo, seems like a good idea. Either way you could only lose one word or a few seconds max.

I haven't seen a response from @aario so if I fix the outstanding issues and I'm happy I might decide to fork so that others can use my work.

@gjedeer
Copy link

gjedeer commented Aug 23, 2018

I was thinking about the same thing, after the fix for autorotate bug has not been published on F-Droid for such a long time. I don't have the capacity to manage yet another forked project alone, but if you fork it maybe make it an organization and add me?

@qwazix
Copy link
Author

qwazix commented Aug 26, 2018

Yeah, sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants