Upload image interface doesn't work the first time it is used

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start at the Add media interface and trace how its Upload tab opens the file picker on the first Browse click; the issue does not name a file or test, so locate those entry points in the Svelte app. Reproduce the steps in Firefox on Windows and check how the interface changes on the first and second attempts. Done when the first Browse click opens the device file dialog.

Written by the indexing model from the issue text.

Description

To reproduce:

  1. click the "Add media" box
Image
  1. Click "Upload tab"
  2. At this point Click "Browse":
Image

Result: The interface goes back to the "Add media" box from step 1. If you start over, the second time you try step 3 it actually works by giving you the device's file upload dialog.

Expected: You shouldn't have to go through things twice.

System:
Win11, FireFox 159.0

Dominant language
Svelte
Stars
9
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NUKnightLab/timeline-ng

All issues in NUKnightLab/timeline-ng

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.