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

removed observing side replace with ascending, descending #123

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

LTDakin
Copy link
Contributor

@LTDakin LTDakin commented Nov 15, 2023

Request: Allow both ascending and descending to be selected instead of just one or the other

Previously we had a state variable called observing_side that could only be ascending OR descending. But some observations would like to follow a target as its ascending and then switch to continue following while descending. To do this we need to allow for both options to be selected independently.

Default behavior will be true for both values

replaced the state variable observing_side from project_params, instead to support the selection of both ascending and descending the field was replaced with two checkboxes and the state was replaced with two new states 'ascending' and 'descending' that will be sent to site code instead

removed the state variable observing_side from project_params, instead to
support the selection of both ascending and descending the field was
replaced with two checkboxes and the state was replaced with two new
states 'ascending' and 'descending' that will be sent to site code instead
After consulting with Wayne default behavior for these values should be
true for both of them. Changing the state default to reflect this
Copy link
Contributor

@mgdaily mgdaily left a comment

Choose a reason for hiding this comment

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

Looks good!

@LTDakin LTDakin merged commit c2ef6b8 into dev Nov 15, 2023
1 check passed
@LTDakin LTDakin deleted the update/ascending-descending-dual-selection branch November 15, 2023 23:25
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.

2 participants