Altinn / Altinn/app-frontend-react

Close tab instead of returning to inboks when closing receipt

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

Description

### Description

Currently the 'x' shown in the upper right corner of the receipt closes the receipt and takes you back to the inbox.

When triggering a new form instance to be opened in a new tab it would be better to close the tab instead and return to the tab/window responsible for opening the tab in the first place.

![Image](https://github.com/user-attachments/assets/aaeccf32-e184-4197-9f61-1ef82349ec2e)

### Additional Information

The case here is from Brønnøysundregistrene and the Konkursbo app where multiple forms will be opened in a new tab, but keeping the main instance open.

Contributor guide

Open the contributing guide

Research direction

Start by locating the receipt view's upper-right close control and the flow that opens a new form instance in a new tab. Trace how the receipt currently returns to the inbox, then verify that closing a newly opened tab returns to the originating tab while preserving the main instance.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.