Altinn / Altinn/app-frontend-react

"Back to stateless"-button on page 1

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

Description

### Description

**Description**
Currently, the button “Back to inbox” is shown at the top of the form, even when the user is on page 1 after completing the stateless step. This creates an unintuitive navigation experience, because the user arrives directly from the stateless view and expects to navigate back there — not to the inbox.

**Request**
Replace the existing “Back to inbox” button with a “Back to stateless” button when the user is on page 1 after the stateless step.

Image

### Additional Information

**Acceptance Criteria**

Given that the user completes the stateless step and lands on page 1 of the form,
then the button at the top of the form should display “Back to stateless”.

Given that the user is on page 1 after stateless,
then clicking “Back to stateless” should return the user to the stateless view.

Given that the user is on any page beyond page 1 (page 2 and onwards),
then the existing logic for “Back to inbox” or standard back-navigation should behave as normal.

Contributor guide

Open the contributing guide

Research direction

Locate the form's top navigation and the transition from the stateless view to page 1. Trace how the current “Back to inbox” button and back-navigation are selected, then verify the page-1 stateless path returns to the stateless view while later pages retain their existing behavior.

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
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.