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

adding backend setting to disable display of GPS direction on map #887

Merged
merged 6 commits into from
Jan 30, 2021

Conversation

sjml
Copy link
Contributor

@sjml sjml commented Jan 27, 2021

This is the backend PR for issue #886. Adds a new configuration setting to control whether the embedded maps use the GPS direction data to display a facing cone. It's set to true by default so upgrades won't cause unexpected breaks to existing behavior.

(Paired with LycheeOrg/Lychee-front#243)

@codecov
Copy link

codecov bot commented Jan 27, 2021

Codecov Report

Merging #887 (8a1d26c) into master (ae6bf41) will decrease coverage by 1.62%.
The diff coverage is n/a.

@sjml
Copy link
Contributor Author

sjml commented Jan 27, 2021

Ah, I see the CI failures. Will address shortly.

@sjml
Copy link
Contributor Author

sjml commented Jan 27, 2021

Looks like things are good other than the code coverage. I don't see a spot in the existing tests where it would be obvious to plug in, though... how important is this?

(Squashed commits.)

@ildyria
Copy link
Member

ildyria commented Jan 27, 2021

Looks like things are good other than the code coverage. I don't see a spot in the existing tests where it would be obvious to plug in, though... how important is this?

Meh, not much to be honest. We need to refine our testing suite to have more depth and also take care of checking regressions. See #634

(Squashed commits.)

That was not necessary, we always do Squash-merge. :)

Copy link
Member

@ildyria ildyria left a comment

Choose a reason for hiding this comment

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

Aside from the confidentiality, looks good.

@sjml
Copy link
Contributor Author

sjml commented Jan 27, 2021

Meh, not much to be honest. We need to refine our testing suite to have more depth and also take care of checking regressions. See #634

Test coverage is a constant uphill battle. Glad to see you all are tackling it, though!

[Squashing commits] was not necessary, we always do Squash-merge. :)

Ah, good to know. I've formed the habit from other repos I contribute to where they prefer the PR to do the squashing. :)

@sjml sjml requested a review from kamil4 January 27, 2021 15:23
@sonarcloud
Copy link

sonarcloud bot commented Jan 30, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@ildyria
Copy link
Member

ildyria commented Jan 30, 2021

@sjml For your next PR, Please create a new branch rather than working on your master. :)
https://lycheeorg.github.io/docs/contributions.html#which-branch-to-use

That makes it easier for use to interact with your work as we just need to do:

git remote add sjml [email protected]:sjml/Lychee
git fetch sjml
git checkout branch-name-you-chose
#modify stuff
git add -u
git commit -m "modified"
git push sjml branch-name-you-chose

instead of

git remote add sjml [email protected]:sjml/Lychee
git fetch sjml
git checkout sjml/master
git checkout -b sjml/master
#modify stuff
git add -u
git commit -m "modified"
git push sjml sjml-master:master  # this here is harder to remember compared to the block above :)

The reason the push syntax is different is because of the name conflict between your master branch and our master branch.

@ildyria ildyria merged commit 77092c2 into LycheeOrg:master Jan 30, 2021
@sjml
Copy link
Contributor Author

sjml commented Jan 30, 2021

For your next PR, Please create a new branch rather than working on your master

Aye, cap'n!

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.

3 participants