-
Notifications
You must be signed in to change notification settings - Fork 31
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
feat: Recon screens #2052
base: main
Are you sure you want to change the base?
feat: Recon screens #2052
Conversation
…center into recon-order-data-screen
…ch-control-center into recon-order-data-screen
…ch-control-center into recon-order-data-screen
…center into recon-order-data-screen
…yperswitch-control-center into recon-order-data-screen
@@ -3,7 +3,7 @@ primary_color="#006DF9" | |||
primary_hover_color="#005ED6" | |||
sidebar_color="#242F48" | |||
[default.endpoints] | |||
api_url="http://localhost:9000/api" | |||
api_url="http://localhost:8000/api" | |||
sdk_url="http://localhost:9050/HyperLoader.js" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this 9050
port number also need to point to local host port number right ??
@@ -16,14 +16,14 @@ dss_certificate_url="" | |||
[default.features] | |||
test_live_toggle=false | |||
is_live_mode=false | |||
email=false | |||
email=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't it be false by default
authorization={userHasAccess(~groupAccess=ConnectorsManage)} | ||
onClick={_ => setSelectedProcessor(_ => processorName)} | ||
key={i->string_of_int} | ||
className={`${selectedProcessor === processorName |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this conditional css can be stored in the external variable and used diresctly here
buttonType={Secondary} | ||
onClick={_ => setCurrentStep(prev => getPreviousStep(prev))} | ||
/> | ||
// <Button |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this commented code maybe removed if its not required
customButtonStyle="rounded w-90-px" | ||
buttonType={Secondary} | ||
onClick={_ => setCurrentStep(prev => getPreviousStep(prev))} | ||
text="Done" customButtonStyle="rounded w-90-px" buttonType={Primary} onClick={onSubmit} | ||
/> | ||
| (true, true) => <div /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
React.null also can be used in the place of empty div
let {userInfo: {merchantId}} = React.useContext(UserInfoProvider.defaultContext) | ||
let (url, body) = getReconReports(~merchantId) | ||
|
||
async _ => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be ()=>{} this form right is arguments are not passed
webpack.dev.js
Outdated
pathRewrite: { "^/api": "" }, | ||
changeOrigin: true, | ||
}, | ||
// "/recon-settlement-api": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this commented code
Type of Change
Description
Motivation and Context
How did you test it?
Where to test it?
Checklist
npm run re:build