Altinn / Altinn/app-frontend-react

Components in table/`Grid`: Should be possible to paste from Excel

Open
#1,212 2 comments 1 reaction 0 assignees View on GitHub
area/table kind/feature-request
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

### Description

This is possibly a tricky/impossible one, but #107 mentions that it should be possible to "import" data via pasting from Excel (or other HTML tables, Word, etc) into our forms. That means, we should analyze the pasted data and see if it could be represented as a table that matches our structure, and allow for the user to paste their data into our table (and in the process, we should automatically create the needed rows), and possibly warn the user if a `Grid` ran out of rows to paste into.

### Additional Information

- #107

Contributor guide

Open the contributing guide

Research direction

Read #107 and inspect the existing table/Grid component to establish current paste and row behavior. Define how Excel or other HTML-table clipboard data should map to the Grid, how rows are created, and how exhaustion is reported; done means the agreed paste scenarios work with appropriate warning behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.