Altinn / Altinn/app-frontend-react

If file upload fails from app-frontend the user should be presented with a more instructive error message

Open
#104 2 comments 0 reactions 0 assignees View on GitHub
area/attachments area/validation kind/user-story
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

## Description
If a file upload fails in app frontend we present a generic error message to the end-user. If we have a concrete reason the file is rejected this error message should be presented to the user.
Related to Altinn/altinn-studio#4383.

## Screenshots
![image](https://user-images.githubusercontent.com/10416981/94422205-04f04500-0187-11eb-8207-e7828c08911e.png)

## Considerations
- How to support multiple languages?

## Acceptance criteria
- If we have a concrete reason for rejecting the file this should be returned to app frontend and presented to the user

## Specification tasks

- [ ] Development tasks are defined
- [ ] Test design / decide test need

## Development tasks
> Add tasks here

## Definition of done
Verify that this issue meets [DoD](https://confluence.brreg.no/display/T3KP/Definition+of+Done#DefinitionofDone-DoD%E2%80%93utvikling) (Only for project members) before closing.

- [ ] Documentation is updated (if relevant)
- [ ] Technical documentation (docs.altinn.studio)
- [ ] User documentation (altinn.github.io/docs)
- [ ] QA
- [ ] Manual test is complete (if relevant)
- [ ] Automated test is implemented (if relevant)
- [ ] All tasks in this userstory are closed (i.e. remaining tasks are moved to other user stories or marked obsolete)

Contributor guide

Open the contributing guide

Research direction

Start by tracing the file-upload rejection path in app-frontend and review the related Altinn/altinn-studio#4383 issue; no files or tests are named in the report. Done means concrete rejection reasons reach the frontend and are shown to users, with multiple-language handling and appropriate verification addressed.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.