Cheng Shi

Results 22 issues of Cheng Shi

## What this PR does / why we need it: In some cases, unexpected errors may occur in the application. To manage these effectively, we need a consistent error-handling mechanism...

Size: 3
pm.GREI-d-2.7.1
pm.GREI-d-2.7.2
UI
GREI Re-arch
FY25 Sprint 7
Original size: 3
SPA.Q4
FY25 Sprint 8

This issue is inspired by [this TODO](https://github.com/IQSS/dataverse-frontend/blob/9ec7a9d47f92205ff36b44b81c22ab1e25db8e6f/src/sections/file/file-action-buttons/access-file-menu/RequestAccessModal.tsx#L52), in the request access module. When the file is restricted, users other than the admin/contributor should request access to restricted file, and send...

SPA: File Page
GREI Re-arch

## What this PR does / why we need it: In file page, we need a version tab showing the file changes in each dataset version. File Page > Version...

Size: 3
SPA: File Page
GREI Re-arch
Original size: 3
FY25 Sprint 23
SPA.Q2.2
FY25 Sprint 24

Inspired from [these TODOs](https://github.com/IQSS/dataverse-frontend/blob/9ec7a9d47f92205ff36b44b81c22ab1e25db8e6f/src/dataset/infrastructure/mappers/JSDatasetMapper.ts#L69C5-L71C49), these three fields are missing from dataset related models. - hasValidTermsOfAccess - hasOneTabularFileAtLeast - isValid

SPA: Dataset View Page
GREI Re-arch

Inspired from[ this TODO](https://github.com/IQSS/dataverse-frontend/blob/9ec7a9d47f92205ff36b44b81c22ab1e25db8e6f/src/dataset/infrastructure/mappers/JSDatasetVersionMapper.ts#L24), the `isLatest` and `isInReview` in dataset version info from dataverse front-end repo are hard coded, and should be removed by connecting with js-dataverse functions. However, these...

SPA: Dataset View Page
GREI Re-arch

Inspired from [this issue/TODO ](https://github.com/IQSS/dataverse-frontend/issues/538)in front-end repo, in Dataset Permissions, it asked about adding canDownloadFiles and canManageFilesPermissions permission fields to js-dataverse. Based on [the dataset user permission model](https://github.com/IQSS/dataverse-client-javascript/blob/develop/src/datasets/domain/models/DatasetUserPermissions.ts) in js-dataverse...

SPA: Edit Dataset Page
GREI Re-arch

A [TODO](https://github.com/IQSS/dataverse-frontend/blob/64b83674447794f72dc707f474b7bf6970d9b820/src/settings/infrastructure/SettingJSDataverseRepository.ts#L8C4-L8C43) existing describes that the `SettingJSDataverseRepository` in front end repo currently has a `getByName` method that returns a mocked response, and this method should be implemented to fetch actual...

Size: 3
SPA: Dataset View Page
GREI Re-arch
Original size: 3

**Overview of the Feature Request** **What kind of user is the feature intended for?** (Example users roles: API User, Curator, Depositor, Guest, Superuser, Sysadmin) **What inspired the request?** **What existing...

Size: 30
GREI Re-arch
SPA
Original size: 30
SPA.Q2
FY25 Sprint 23
FY25 Sprint 24

**Overview of the Feature Request** **What kind of user is the feature intended for?** (Example users roles: API User, Curator, Depositor, Guest, Superuser, Sysadmin) **What inspired the request?** **What existing...

Size: 30
GREI Re-arch
Original size: 30
SPA.Q2
FY25 Sprint 23
FY25 Sprint 24

**What steps does it take to reproduce the issue?** When user access to a restricted file ![Image](https://github.com/user-attachments/assets/a9da5fb4-5fd8-4747-8f6d-67ab6c3e1f46) `http://localhost:8000/api/v1/files/4/dataTables` leads an error `{"status":"ERROR","message":"Insufficient permissions to access the requested information."}` `http://localhost:8000/api/v1/files/4` is...

bug
Size: 10
GREI Re-arch
Original size: 10
SPA.Q2