Project picker doesn't work until second attempt
Nobody has claimed this yet.
- 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
localhostit doesn't/shouldn't happen—I presume because there's no internet/large DB involved?
To Reproduce Steps to reproduce the behavior:
- Go to app.openfn.org
- Click on the project picker
- Type the first few letters of your project
- See that no results are returned
- Type a few more letters
- See that results are returned
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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