Autodesk / Autodesk/biomolecular-design-database

Viewing the "Upload New" page auto-saves an empty.

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
18
Forks
7
PR merge metrics
No merged PRs in 30d

Description

A new draft is saved every time the upload page is visited, even if the "Save Draft"-button isn't pushed and no information was entered.

It might be nice to save a draft automatically, if any data was entered, but probably a better solution to ask the user if a draft should be saved, if the user navigates away from the page without saving. Either way, saving multiple empty drafts is unnecessary.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by tracing the upload page's visit handling and the draft-save path, then reproduce a visit with no entered data. Done means visiting the page no longer creates empty drafts, with coverage for that behavior if the project has an existing test location.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.