epam / epam/statgpt-admin-frontend

Add upload mode selection with delete-absent-records option for Grade C dataset uploads

Closed
#245 0 comments 0 reactions 1 assignee Assigned to @VolhaBazhkova View on GitHub
enhancement
Dominant language
TypeScript
Stars
18
Forks
0
Avg merge
15h 5m
Merged PRs (30d)
19

Description

### StatGPT Admin Frontend version

0.0.0

### What is the problem this feature will solve?

Uploading a new Grade C dataset file always upserted records, with no way to also remove records that exist in the channel but are missing from the uploaded file. Users had no way to fully replace a dataset via upload.

### What is the feature you are proposing to solve the problem?

Add an upload mode selection to the Grade C dataset upload modal: after picking a file, show a "Also delete records not in this file" checkbox. Checking it uploads in "replace" mode (deletes absent records); leaving it unchecked keeps the existing "upsert" behavior.

### What alternatives have you considered?

N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.