-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[$500] Android - The toggle attribution button is not placed on the right position #27111
Comments
Triggered auto assignment to @Christinadobrzyn ( |
Job added to Upwork: https://www.upwork.com/jobs/~01635cf17e44f76483 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @CortneyOfstad ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Wrong position for toggle attribution button What is the root cause of that problem?We don't pass parameters for the button location What changes do you think we should make in order to solve the problem?App/src/components/MapView/MapView.tsx Lines 62 to 69 in b11bddc
We just need to set attributionPosition props for Mapbox.MapView For example: And to make everything look as symmetrical and beautiful as possible, we can set the position for the MapBox icon.
![]() What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.The toggle attribution button is not placed on the right position What is the root cause of that problem?This is Mapbox issue by default in Android https://docs.mapbox.com/help/getting-started/attribution/#mapbox-maps-sdk-for-android /**
* Adds attribution offset, e.g. `{top: 8, left: 8}` will put attribution button in top-left corner of the map. By default on Android, the attribution with information icon (i) will be on the bottom left, while on iOS the mapbox logo will be on bottom left with information icon (i) on bottom right. Read more about mapbox attribution [here](https://docs.mapbox.com/help/getting-started/attribution/)
*/
attributionPosition?: OrnamentPositonProp; What changes do you think we should make in order to solve the problem?we can pass if we need hide this attribution |
ProposalPlease re-state the problem that we are trying to solve in this issue.The toggle attribution information(i) button is placed in wrong position What is the root cause of that problem?By default, the position of toggle attribution information(i) button is bottom left on android, we are missing the What changes do you think we should make in order to solve the problem?In MapView, We should apply the following changes:
What alternative solutions did you explore? (Optional)NA Result: |
All the proposals here are essentially the same, identifying the correct RCA that the default on Android is to display the attribution toggle on the left with the logo (pretty strange inconsistency on Mapbox's part! 😄). @ZhenjaHorbach's proposal was first, so happy to go with them! It also makes sense to me to explicitly set the positions of both logo and toggle now, in case Mapbox ever change their mind in the future and we end up with a new "bug" to fix! 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @AndrewGable, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @jjcoffee 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @ZhenjaHorbach 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @jo-ui 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
PR is ready for review. |
🎯 ⚡️ Woah @jjcoffee / @ZhenjaHorbach, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
@Christinadobrzyn there is a known issue with double-assignments when the |
This issue has not been updated in over 15 days. @AndrewGable, @jjcoffee, @Christinadobrzyn, @ZhenjaHorbach eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Hmm looks like the automation failed here. This was deployed to production Sept 18, so should be ready for payment @Christinadobrzyn. |
|
@Christinadobrzyn I realised there was no checklist either, so I've added that. Also, friendly bump on payment! |
well that's annoying that this didn't become daily to remind me! Sorry for the delay here. Payouts due: Issue Reporter: $50 @jo-ui (Paid in Upwork) Eligible for 50% #urgency bonus? Y - #27111 (comment) Upwork job is here (job is closed so I think that means it can't be viewed externally). Closing! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
The toggle attribution button should be on the bottom right corner of the map
Actual Result:
The toggle attribution button is next to mapbox button
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.66.3
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @jo-ui
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693920729499719
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: