OpenFn / OpenFn/lightning

Project picker doesn't work until second attempt

Open
#3,365 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

On most internet connections, the project picker doesn't work on your first attempt. I assume this is because the project list hasn't yet been loaded. The user opens OpenFn, clicks the picker, types their project, and nothing appears. If they then wait a few seconds and type again, then can get results.

First prize would be to somehow load that list of projects faster.

Second prize would be to stop the user from typing until it's loaded so we don't return a false negative.

Version number v2.13.3

I have reproduced this locally on main:

  • Yes
  • No - on localhost it doesn't/shouldn't happen—I presume because there's no internet/large DB involved?

To Reproduce Steps to reproduce the behavior:

  1. Go to app.openfn.org
  2. Click on the project picker
  3. Type the first few letters of your project
  4. See that no results are returned
  5. Type a few more letters
  6. See that results are returned

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start at the project picker on app.openfn.org and reproduce the first-search failure while observing when the project list loads. The issue is done when the first query returns matching projects reliably, or typing is prevented until the list is ready.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
frontend
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.