Skip to content
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

remove fake GPS, add newsflash GPS #2738

Merged
merged 6 commits into from
Dec 25, 2024
Merged

remove fake GPS, add newsflash GPS #2738

merged 6 commits into from
Dec 25, 2024

Conversation

atalyaalon
Copy link
Collaborator

No description provided.

@atalyaalon atalyaalon force-pushed the 2737-street-view-gps branch 3 times, most recently from 18231f9 to 6b0cb2e Compare December 18, 2024 15:02
@atalyaalon atalyaalon requested a review from ziv17 December 18, 2024 15:11
@atalyaalon
Copy link
Collaborator Author

@ziv17 can you review?

anyway/request_params.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@ziv17 ziv17 left a comment

Choose a reason for hiding this comment

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

Hi @atalyaalon , see my comment below.

@atalyaalon atalyaalon requested a review from ziv17 December 20, 2024 14:00
@atalyaalon
Copy link
Collaborator Author

@ziv17 Thanks for the feedback Updated per your comments—please review again :)

Comment on lines 23 to 25
def is_included(self):
return self.request_params.gps is not None

Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe it is safer to do
return self.request_params.gps and self.request_params.gps.get("lon") and self.request_params.gps.get

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

thanks! fixed

@atalyaalon atalyaalon merged commit 939db52 into dev Dec 25, 2024
3 checks passed
@atalyaalon atalyaalon deleted the 2737-street-view-gps branch December 25, 2024 16:52
@atalyaalon atalyaalon linked an issue Dec 28, 2024 that may be closed by this pull request
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.

[Bug] Modify Street View Widget GPS to be newsflash GPS
2 participants