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

always allow polls transitions when continuous export is disabled #5580

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

adghayes
Copy link
Collaborator

@adghayes adghayes commented Nov 6, 2024

Overview

Closes #5579.

Copy link
Contributor

@arsalansufi arsalansufi left a comment

Choose a reason for hiding this comment

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

Thank you for fixing!

Also just confirming that I did test that, on v3.1.2, polls can be closed without a USB drive inserted if continuous export is disabled, per the v3.1.2 QA checklist.

On v3.1.2, I did not test polls open and polls pause without a USB drive and continuous export disabled, so it's possible that those still require a USB drive. But ultimately, it's polls close that's the most important operation to make sure is unblocked.

<UsbDriveAlertText usbDriveStatus={usbDriveStatus} />
<UsbDriveAlertText
mustInsertUsbDriveToContinue={mustInsertUsbDriveToContinue}
/>
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Rather than having UsbDriveAlertText internally render null when mustInsertUsbDriveToContinue is false, I think the code may read clearer if we pull that check out of the component, i.e.

{mustInsertUsbDriveToContinue && <UsbDriveAlertText />}

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

addressed in follow-up commit

@adghayes adghayes merged commit 9a16576 into main Nov 7, 2024
62 checks passed
@adghayes adghayes deleted the drew/polls-on-continuous-export branch November 7, 2024 21:21
adghayes added a commit that referenced this pull request Nov 7, 2024
)

* always allow polls transitions when continuous export is disabled

* PR feedback
adghayes added a commit that referenced this pull request Nov 7, 2024
) (#5584)

* always allow polls transitions when continuous export is disabled

* PR feedback
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.

Cannot Change Polls w/ Continuous Export Disabled & No USB Drive
2 participants