Altinn / Altinn/app-frontend-react

autoDeleteOnProcessEnd set to true will not affect custom Receipt page

Open
#859 1 comment 0 reactions 0 assignees View on GitHub
kind/feature-request org/nsm
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

### Description

Right now when we have the setting:
`"autoDeleteOnProcessEnd": true``

it will not trigger your own receipt layout file.

Could we have a option that if no receipt layout file exists, default receipt file will be shown, and with custom receipt file it will show that design.

Right now it will show:
![image](https://user-images.githubusercontent.com/60693409/214589216-a5071869-7245-4360-8fcd-2e54ce81bf4f.png)

whatever you choose todo.

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the handling for the autoDeleteOnProcessEnd setting and the entry point that selects the receipt layout. Reproduce the behavior with and without a custom receipt layout, then verify that the default receipt is shown only when no custom layout exists and the custom design is used when one is provided.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.