[Draft] refactor: refactored code #93
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several updates to the frontend application, focusing on dependency management, UI enhancements, and code refactoring. Key changes include updating dependencies in
package.json
, introducing new components for error handling and batch history, and replacing inline styles with SCSS files for better maintainability and consistency.Dependency Updates:
@azure/msal-browser
and@azure/msal-react
to dependencies and updated@types/node
in devDependencies. Removed duplicate entries for@azure/msal-browser
and@azure/msal-react
. [1] [2]sass-embedded
to devDependencies for SCSS compilation.UI Enhancements:
PanelRight
) with toggle functionality for viewing batch history, including integration with Redux for state management.ErrorContent
,ErrorComponent
, andFileError
) with accordion-style UI for error logs and detailed file-specific errors. [1] [2] [3]Content
,Header
,ConfirmationDialog
, and others to improve styling consistency. [1] [2] [3]Code Refactoring:
App.jsx
to use consistent directory structures (e.g.,./pages/landingPage/landingPage
)..landing-page
and added new styles for.panelRight
inApp.css
.New SCSS Files:
confirmationDialogue.scss
,errorContent.scss
,errorsComponent.scss
,fileError.scss
,content.scss
,Header.scss
) to centralize and simplify styling. [1] [2] [3] [4] [5] [6]These updates collectively improve the application's functionality, maintainability, and user experience.## Purpose
Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information