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

feat: Recon screens #2052

Open
wants to merge 55 commits into
base: main
Choose a base branch
from
Open

feat: Recon screens #2052

wants to merge 55 commits into from

Conversation

susrithasabbini
Copy link
Contributor

@susrithasabbini susrithasabbini commented Jan 10, 2025

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Motivation and Context

How did you test it?

Where to test it?

  • INTEG
  • SANDBOX
  • PROD

Checklist

  • I ran npm run re:build
  • I reviewed submitted code
  • I added unit tests for my changes where possible

@susrithasabbini susrithasabbini requested a review from a team as a code owner January 10, 2025 08:53
Copy link

semanticdiff-com bot commented Jan 10, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  webpack.dev.js  4% smaller
  config/config.toml Unsupported file format
  src/components/InputFields.res Unsupported file format
  src/components/InputFields.resi Unsupported file format
  src/components/MultipleFileUpload.res Unsupported file format
  src/entryPoints/HSReconApp.res Unsupported file format
  src/hooks/AuthHooks.res Unsupported file format
  src/reconContainer/ReconReportsContainer.res Unsupported file format
  src/reconScreens/ReconAnalytics/ReconAnalytics.res Unsupported file format
  src/reconScreens/ReconAnalytics/ReconAnalyticsHelper.res Unsupported file format
  src/reconScreens/ReconAnalytics/ReconAnalyticsUtils.res Unsupported file format
  src/reconScreens/ReconAnalytics/TempAnalyticsData/AnalyticsData.res Unsupported file format
  src/reconScreens/ReconConfiguration/ConnectOrderData/ConnectOrderDataHelper.res Unsupported file format
  src/reconScreens/ReconConfiguration/ConnectProcessorData/ConnectProcessorData.res Unsupported file format
  src/reconScreens/ReconConfiguration/ConnectProcessorData/ConnectProcessorDataHelper.res Unsupported file format
  src/reconScreens/ReconConfiguration/ManualMapping/ManualMapping.res Unsupported file format
  src/reconScreens/ReconConfiguration/ManualMapping/ManualMappingHelper.res Unsupported file format
  src/reconScreens/ReconConfiguration/ReconConfiguration.res Unsupported file format
  src/reconScreens/ReconConfiguration/ReconConfigurationHelper.res Unsupported file format
  src/reconScreens/ReconConfiguration/ReconConfigurationUtils.res Unsupported file format
  src/reconScreens/ReconConfiguration/TempConfigData/ConfigUtils.res Unsupported file format
  src/reconScreens/ReconConfiguration/TempConfigData/TempAPIUtils.res Unsupported file format
  src/reconScreens/ReconOnboarding/ReconOnbdLanding.res Unsupported file format
  src/reconScreens/ReconReports/ReconReports.res Unsupported file format
  src/reconScreens/ReconReports/ReportsListMapper.res Unsupported file format
  src/reconScreens/ReconReports/ReportsTableEntity.res Unsupported file format
  src/reconScreens/ReconReports/ReportsTypes.res Unsupported file format
  src/reconScreens/ReconReports/TempReportsData/ReportsData.res Unsupported file format

@susrithasabbini susrithasabbini self-assigned this Jan 13, 2025
@susrithasabbini susrithasabbini added the S-in-progress Status: Implementation is underway label Jan 13, 2025
@susrithasabbini susrithasabbini linked an issue Jan 20, 2025 that may be closed by this pull request
@susrithasabbini susrithasabbini changed the title feat: Recon order data screen feat: Recon screens Jan 20, 2025
@@ -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"
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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 />
Copy link
Contributor

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 _ => {
Copy link
Contributor

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": {
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-in-progress Status: Implementation is underway
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Recon Screens
3 participants