-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$500] [MEDIUM] Bank account - Confirm button is not disabled when offline #36484
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @amyevans ( |
@MrMuzyk I believe you can address it in your PR |
Hey I'm Marcin from Callstack - expert contributor group - I'd like to work on this issue |
@Swor71 will address this issue this week |
Job added to Upwork: https://www.upwork.com/jobs/~0116b0e762d51b88bd |
Current assignee @akinwale is eligible for the External assigner, not assigning anyone new. |
ProposalPlease re-state the problem that we are trying to solve in this issue. Confirm button is not disabled when offline What is the root cause of that problem?We show the button even when user is offline What changes do you think we should make in order to solve the problem?Add a check in the confirm button : |
Proposal Please re-state the problem that we are trying to solve in this issue. What is the root cause of that problem? What changes do you think we should make in order to solve the problem?
import { useState, useEffect } from 'react';
import NetInfo, { NetInfoStateType } from '@react-native-community/netinfo';
interface NetworkManagerState {
networkType: NetInfoStateType | null;
isConnected: boolean | null;
isInternetReachable: boolean | null;
}
const useNetworkManager = (): NetworkManagerState => {
const [networkState, setNetworkState] = useState<NetworkManagerState>({
networkType: null,
isConnected: null,
isInternetReachable: null,
});
useEffect(() => {
const unsubscribe = NetInfo.addEventListener((state) => {
setNetworkState({
networkType: state.type,
isConnected: state.isConnected,
isInternetReachable: state.isInternetReachable ?? null,
});
});
return () => {
unsubscribe();
};
}, []);
return networkState;
};
export default useNetworkManager; Additional |
📣 @elemanhillary! 📣
|
And engineer is already assigned to this issue |
hey, sorry for a late response to this issue, I had some technical problems with my setup. fixed this issue along with the same cases for other substep confirmation pages here: #37025 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.41-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4312329
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Pre-requisite: the user must be logged in and have created a workspace
Expected Result:
The Confirm button should be grayed out and disabled
Actual Result:
Confirm button is not disabled
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: