Altinn / Altinn/app-frontend-react

Display Org.no on invalid actor error page

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

Description

## What needs to be solved?
After starting a service as an actor that is not the correct type (virksomhet/underenhet , main-entity/sub-entity), the error page only shows the name of currently represented actor in a text paragraph. Below the paragraph is a list of valid actors, with name and org.nr.. In production main-entities and sub-entities often have the same name. This causes confusion.

## How do you want it solved?
In the text paragraph, in a parenthesis after the current-actor-name the current-actor-orgNo should be displayed.

## Additional context
The image below shows the error message in question in TT02 env. In this example the name of the two entities are different, but that is not always the case in production.
![image](https://user-images.githubusercontent.com/7303555/170242086-e37128b4-946b-4c83-821e-0a715cdb742d.png)

Contributor guide

Open the contributing guide

Research direction

Locate the invalid-actor error page and the paragraph that currently displays the represented actor's name. Reproduce the scenario in the TT02 environment or use the linked image for context, then verify that the paragraph also shows the current actor's org.nr. in parentheses and that the valid-actor list remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.