Altinn / Altinn/app-frontend-react

As a user I would like to reset prefill data I deleted/changed

Open
#132 0 comments 0 reactions 0 assignees View on GitHub
kind/feature-request org/brg status/for-consideration
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

## What needs to be solved?
In this case we have an app that can be changed after it has been submitted. When instantiating the app again after submitting it will be prefilled with the data that was submitted the last time. We wish to give the user the possibility to reset the app if they have changed or deleted something.

## How do you want it solved?
After something has been edited a button should be available for the user, giving him the option to start over / reseting the application.

## Alternative solutions
- The user can leave the application and instantiate a new one
- We can give the user warnings when trying to delete something. This will only be possible, useful if they delete a group. Not if the change something inside them.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the code that restores submitted data when an app is instantiated again, then trace how edits are tracked. Done should provide an available reset/start-over action after edits and restore the intended initial application state.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.