Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Remove the location type dropdown from the location picker #7486

Merged
merged 1 commit into from
Jan 10, 2022

Conversation

andybalaam
Copy link
Contributor

@andybalaam andybalaam commented Jan 7, 2022

Builds on #7485

Remove the dropdown for what type of location to share. We won't support this in the MVP.

Doesn't look very pretty yet - that will come later, following the designs we have.


Here's what your changelog entry will look like:

🐛 Bug Fixes

  • Remove the location type dropdown from the location picker (#7486). Contributed by @andybalaam.

Preview: https://61d8752f62e38347d4d05595--matrix-react-sdk.netlify.app
⚠️ Do you trust the author of this PR? Maybe this build will steal your keys or give you malware. Exercise caution. Use test accounts.

@andybalaam andybalaam added the T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems label Jan 7, 2022
@andybalaam andybalaam requested a review from a team as a code owner January 7, 2022 17:11
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

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

lgtm either way, though that comment's purpose being clarified would be good :)

Comment on lines +36 to +42
/*
* An older version of this file allowed manually picking a location on
* the map to share, instead of sharing your current location.
* Since the current designs do not cover this case, it was removed from
* the code but you should be able to find it in the git history by
* searching for the commit that remove manualPosition from this file.
*/
Copy link
Member

Choose a reason for hiding this comment

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

is this intending to document away any remaining oddities that were left behind (potentially) unintentionally? Not really sure what the comment is trying to inform the reader of.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's intended to help someone in the future resurrect the code, when we do want that functionality.

@andybalaam andybalaam merged commit 5fa2b88 into psf-532-remove-description Jan 10, 2022
@andybalaam andybalaam deleted the psf-532-remove-location-type branch January 10, 2022 09:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants