Altinn / Altinn/app-frontend-react

Possible to toggle "Dokumentet er en forhåndsvisning" on/off in PDFPreviewButton

Open
#3,484 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

In Konkursbehandling we use PDFpreview button for the possibility to print out one of the tabs content, so that the end user can have the information easily available.

### Additional Information

Proposed solution:
An optional boolean true or false for toggling: "Dette er en forhåndsvising" text in the PDFpreview button.

![Image](https://github.com/user-attachments/assets/6a4e2a6d-cd6b-4966-92b8-97178949e414)

Contributor guide

Open the contributing guide

Research direction

Start by locating the PDFPreviewButton component in the TypeScript frontend and inspect how it renders the “Dette er en forhåndsvising” text. Add the requested optional boolean behavior and verify that the text can be enabled or disabled without changing the button’s PDF preview function.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.