Skip to content

PSP-7782 : Document Manager: document selection and uploading -MP(UI ONLY)#5245

Open
eddherrera wants to merge 3 commits intobcgov:devfrom
eddherrera:psp-7782
Open

PSP-7782 : Document Manager: document selection and uploading -MP(UI ONLY)#5245
eddherrera wants to merge 3 commits intobcgov:devfrom
eddherrera:psp-7782

Conversation

@eddherrera
Copy link
Collaborator

image

@eddherrera eddherrera requested review from areyeslo and asanchezr March 6, 2026 18:35
@eddherrera eddherrera self-assigned this Mar 6, 2026
@eddherrera eddherrera added the enhancement New feature or request label Mar 6, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5245

@sonarqubecloud
Copy link

@github-actions
Copy link
Contributor

See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5245

Copy link
Collaborator

@asanchezr asanchezr left a comment

Choose a reason for hiding this comment

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

LGTM - just minor comments.
Also could you please confirm that the "replace" icons were approved by Jordan?
The story is talking about using a link with text "Replace File" so it would be good to update the story with ACs so FT team doesn't fail these changes

Image


// get the upload button
const uploader = getByTestId('upload-input');
console.log(uploader);
Copy link
Collaborator

Choose a reason for hiding this comment

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

please remove console.log

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

removed

<Col md="2">
<Button
title="cancel-replace"
variant={'secondary'}
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: please use regular strings here

Suggested change
variant={'secondary'}
variant="secondary"

<Col md="2">
<Button
title="confirm-replace"
variant={'primary'}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
variant={'primary'}
variant="primary"

data-testid="ok-replace-button"
disabled={!exists(file)}
>
{'Replace'}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
{'Replace'}
Replace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants