-
Notifications
You must be signed in to change notification settings - Fork 73
Default transferring mechanism and UI improvements #290
Default transferring mechanism and UI improvements #290
Conversation
Note, I have done crazy tests in the switching method option, and commit 3d69968 still has some issues, the biggest issue is that when I switched the method from And I think it will be good to show an |
@lakshyagupta21 I changed the colors in I have three proposals
Which one is better? @lakshyagupta21 @shobhitagarwal1612 Blue color looks like: After clicking the switch icon in the menu, user can see a dialog, and can switch transferring method quickly. |
I don't think the theme will help that much, because only toolbar color looks changes, which doesn't catch the user's attention much. |
I changed the |
A progress bar and buttons would be shown only when the transmission is started or when its scanning for other devices, right? So I think the first step is to identify which transfer mechanism is chosen by sender how will you identify at receiver that what mechanism sender has chosen? |
Our receiver cannot know which method the sender selected. But we can build a discriminative UI that can tell users the methods are different. So what's your opinion about building that? I have three proposals above and what do you think about them? @lakshyagupta21 |
@opendatakit-bot label "needs review" |
ERROR: Label "needs review" does not exist and was thus not added to this pull request. |
@huangyz0918 Transfer is not working when bluetooth option is selected. It keeps shows
We should not change any theme or activity color, that should be kept the same for all activity. |
I see, so where should we place the icons? @lakshyagupta21 In the tool bar? I'm afraid only icons in the tool bar is not so obvious, how about adding in dialog like this? |
@huangyz0918 Dialog is shown at the second step, we're trying to solve problem when user is on the screen and doesn't know about the transferring medium chosen, and only changing the theme won't work. Here are few mocks I've created to convey our idea in better way, so that you can understand the requirement better. Colors and text can be changed at a later stage. Maybe @shobhitagarwal1612 @lognaturel @yanokwa Can give more suggestions to your ideas. |
Can you offer some more information like how to reproduce and error logs? @lakshyagupta21 |
So do we need to reactor the UI for hotspot pages? @lakshyagupta21 I think there are many components already in that pages (like there are already a QR code for hotspot sender, no much room for a big logo, and that will make bluetooth and hotspot sender inconsistent), it's hard for us to build a page for hotspot like you proposed. As for me, I think adding an icon in the title bar is enough for user to know which method he selected. What do you think? |
I'm not sure adding an icon in the toolbar just to catch the user attention is a good android design practice, but let's see what others have to say about it. Maybe in future, we may come up with QR Code feature for Bluetooth as well so we've to consider that as well. |
Cool, let see what others said @lakshyagupta21 . |
We won't be adding an icon to list page, that page is dedicated to select the device with whom you want to make the connection, the icons and colors will be changed of only sender's screen. There is nothing that the sender can do by knowing which medium receiver has chosen, this feature is for the receiver to know that which medium sender has chosen so that he can switch the transfer medium |
b291c10
to
a0a3445
Compare
skunkworks_crow/src/main/java/org/odk/share/views/ui/settings/SettingsActivity.java
Outdated
Show resolved
Hide resolved
skunkworks_crow/src/main/java/org/odk/share/utilities/DialogUtils.java
Outdated
Show resolved
Hide resolved
skunkworks_crow/src/main/java/org/odk/share/utilities/DialogUtils.java
Outdated
Show resolved
Hide resolved
skunkworks_crow/src/main/java/org/odk/share/utilities/DialogUtils.java
Outdated
Show resolved
Hide resolved
skunkworks_crow/src/main/java/org/odk/share/views/ui/bluetooth/BtSenderActivity.java
Outdated
Show resolved
Hide resolved
skunkworks_crow/src/main/java/org/odk/share/views/ui/bluetooth/BtSenderActivity.java
Show resolved
Hide resolved
skunkworks_crow/src/main/java/org/odk/share/views/ui/hotspot/HpReceiverActivity.java
Outdated
Show resolved
Hide resolved
skunkworks_crow/src/main/java/org/odk/share/views/ui/hotspot/HpSenderActivity.java
Outdated
Show resolved
Hide resolved
remove the targetActivity and replace with this; close the bluetooth and the wifi after switching to another method; add credits to icons from the internet.
|
Yeah, the |
Can you briefly mention that in the settings? |
Sure |
Closes #266
What has been done to verify that this works as intended?
I tested this PR in my Nexus 6P (android 9) and Samsung Galaxy Note 3 (android 5).
Why is this the best possible solution? Were any other approaches considered?
This PR is still work in progress, there are some tasks we need to do:
Extra improvements:
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
Before submitting this PR, please make sure you have:
./gradlew checkCode
and confirmed all checks still pass OR confirm CircleCI build passes