Skip to content

Comments

Improve Tags selection experience#178

Open
skrobul wants to merge 3 commits intobgregos:mainfrom
skrobul:better-tags
Open

Improve Tags selection experience#178
skrobul wants to merge 3 commits intobgregos:mainfrom
skrobul:better-tags

Conversation

@skrobul
Copy link
Contributor

@skrobul skrobul commented Jan 20, 2024

I found having to manually type tags every time tedious. This PR proposes a slight change in the user interface which uses Chip element to provide user with an easy, one-tap selection for any of the existing tags, but also allows them to create new ones if needed.

Pixel 6

pixel6_tags_chups

Pixel Tablet

pixel_tablet_tags_chips

Small Phone

smallphone_tags_chips

This PR includes #177 (which can be closed if that one is to be merged). If I should rebase it on the main instead, please let me know. #177 did not include screenshots for small devices, this one does.

This PR adds an explicit "Save" button on the task detail screen.
I have added this button mostly to scratch my own itch that bothered me
for a long time, but later on I found that others also find clicking
"Back" button to save non-intuitive and disrupting to the workflow.
My main issue is that when adding new task, my eyes start at the top,
then follow all fields to the bottom, where I expect some sort of
confirmation button.

Please see bgregos#174 for the discussion about it.
I found having to manually type tags every time tedious. This PR proposes
a slight change in the user interface which uses Chip element to provide
user with an easy, one-tap selection for any of the existing tags, but
also allows them to create new ones if needed.
Copy link
Owner

@bgregos bgregos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR and for the screenshots. This feature makes things a bit less text-entry heavy, always a plus.

I left a couple suggestions around wording.

binding.detailTags.setText(default_tags)
viewModel.setTaskTags(default_tags ?: "")
binding.actionDelete.setText("Discard")
binding.actionComplete.setText("Log")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "Log" wording feels a bit unclear to me, but I understand there's a use case for immediately completing a new task. Can you think of a better label that makes it clear the task is being immediately marked as complete?

Copy link
Contributor Author

@skrobul skrobul Jan 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was going by the taskwarrior terminology, specifically task log command, although I agree it's probably not immediately clear what it does.

While I cannot think of a better term at the moment, do you think it would make sense to display toast message after the user selects that action saying something like "The task was added and marked complete." ?

btw, I just realised that I accidentally included code for those dynamic labelling changes in this PR following the discussion here - let me know if you want me to move them into separate PR :)

android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="5"
android:hint="new tag"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be capitalized to match the other fields. Also, I think we should make it clear that adding multiple tags with commas is allowed. Maybe "New Tags"? I'm open to suggestions on the wording.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest, I didn't even think of adding multiple tags in one go as I don't do that often, but that's definitely a great idea! I have changed the label to New tag(s) below.

@skrobul skrobul requested a review from bgregos January 21, 2024 10:44
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