Skip to content

Parissa lg6777#6696

Closed
peggles2 wants to merge 10 commits intomainfrom
parissa-LG6777
Closed

Parissa lg6777#6696
peggles2 wants to merge 10 commits intomainfrom
parissa-LG6777

Conversation

@peggles2
Copy link
Contributor

@peggles2 peggles2 commented Aug 5, 2022

Work in progress not ready for review.

-- What
We are saving progress, but still trying to figure out where to inject
the faile attempts check in order to trigger manual camera/upload flow.
Copy link
Contributor

Choose a reason for hiding this comment

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

While I'm glad to see this converted to TypeScript, what would you think of creating a separate pull request just for that porting (since it's a large changeset), to more easily distinguish the changes for supporting the work of this ticket?

Copy link
Contributor

Choose a reason for hiding this comment

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

I could certainly do that. Given the actual ticket level things we changed, I will have to update the JSDoc type annotations anyway in several places. But of course those will be smaller changes

Eric Gade and others added 4 commits August 11, 2022 13:17
-- What
For clarity in the FailedCaptureContext interface, we've added a
property called `forceNativeCamera` which is a boolean value that will
update in the FailedCaptureContextProvider whenever the
maxAttemptsBeforeNativeCamera is equal to or exceeds the current
failedCaptures value.

Additionally, we finally have some working tests for this. For the
moment, we only get results by forcing maxAttemptsBeforeNativeCamera
to be 0, then clicking the file input. This seems to do the trick.

But we need to figure out how to test a couple of other scenarios, and
how to force failures from that point in a test case.
changelog: Improvements, Acuant, updating max attempts before login
-- What
This commit updates various JSDoc type annotations so that they
accurately describe the new structure of the FailedCaptureAttempts
context. Specifically, we added maxAttemptsBeforeNativeCamera and
forceNativeCamera to this context in previous commits. Now the types
and provider components accurately reflect those changes.
eric-gade added 2 commits August 11, 2022 14:56
-- What
Adding a test to ensure that logging is *not* called in the case
where failed attempts is not equal or greater to the max attempts
before native camera is forced.

changelog: Improvements, Acuant Camera settings, updating max failures
before native camera is triggered
changelog: Improvements, Acuant native camera, linting fixes
@jmhooper
Copy link
Contributor

Looks like this was superseded by #6727. Closing this

@jmhooper jmhooper closed this Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants