appbaseio / appbaseio/dashboard

Validate: import data

Open
#109 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
31
Forks
14
PR merge metrics
No merged PRs in 30d

Description

When importing data, validate that the input JSON file is inside an array container. When it's not, show an error screen. Currently, there is no response being shown to the user.

The code for this functionality resides in the `importer` repo, but we primarily use it inside the dashboard.

We currently show it as a help message but it's hidden behind the help icon.

![](https://i.imgur.com/ystDG82.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the import flow in the dashboard and the related functionality in the `importer` repo. Read how invalid JSON input is currently surfaced as a help message, then verify the behavior for a file whose top-level value is not an array. Done means that case displays an error screen rather than leaving the user without a visible response.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.