-
Notifications
You must be signed in to change notification settings - Fork 3
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
Dedicated title/description input fields #46
Conversation
app/src/main/java/dev/arkbuilders/arkmemo/ui/fragments/EditGraphicNotesFragment.kt
Show resolved
Hide resolved
app/src/main/java/dev/arkbuilders/arkmemo/ui/fragments/EditTextNotesFragment.kt
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would also be better to allow user save title and description separately, right now title and description are tightly coupled to content despite having separate storage #39
@ShubertMunthali not sure what do you mean, I see that the title is stored into new @tuancoltech the feature works good, the only issue is that it's not possible to modify title after initial creation if the content isn't changed. Because |
@kirillt At the moment, if we modify a note's content, a new note will be created instead of overwriting the existing note file. |
@kirillt I mean what you just explained, that save button does not work if only properties are edited, it works when content is edited. we need it to work with properties edited alone, or with properties edited together with content. That's what is required in #39 |
If only properties change we should overwrite, but whenever content changes we need a new file. Version tracking in #13 will handle the duplicates properly. |
Yep, @ShubertMunthali is right here. We're missing ability to edit title/description when the content is untouched. We don't need to save the content twice in this case, only update |
@ShubertMunthali @kirillt Thanks for the idea, guys. I'm making changes to align with this. |
7de28e6
to
2e1e106
Compare
@ShubertMunthali @kirillt Please help reviewing again. |
@tuancoltech Good, but couple of nitpicks:
Steps:
Result: 3 different SVG files.
For some reason, |
@kirillt For the empty For the second issue, it's because we are updating the |
Thank you @tuancoltech, that's perfect. |
So, I guess it's easy to fix as soon as @ShubertMunthali share some info and we'll merge then. |
We need to set dimensions for newly created note only here. @tuancoltech that's a bug indeed, we need a fix. You can provide it, if yo don't mind |
2e1e106
to
177796a
Compare
@ShubertMunthali Definitely, I have fixed it by removing the unnecessary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Support dedicated title/description input fields.
Dedicated title/description input fields #22
(
Titling rule:
Dedicated title/description input fields #22 (comment))Fix a minor UI issue with the
Add note
FAB.