Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(frontend): Disabled loading indicator when getting featuers so screen doesn't flicker #2598

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

AphonicChaos
Copy link
Contributor

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

Removed the store.load line because that causes the entire page to not render while waiting on results. It also means that on a failed search, the input becomes unresponsive. It wasn't clear to me while looking through the code what the canonical way (in this code base) is to do local loading indicators, so I left it as a simple 1 line change.

How did you test this code?

Manually:

  1. Go to the features page
  2. Search for a feature that doesn't exist
  3. Notice that the whole screen doesn't flash, and the search box doesn't become unresponsive anymore

@vercel
Copy link

vercel bot commented Aug 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 15, 2023 6:12pm
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 15, 2023 6:12pm

@vercel
Copy link

vercel bot commented Aug 7, 2023

@Aspidites is attempting to deploy a commit to the Flagsmith Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added the front-end Issue related to the React Front End Dashboard label Aug 7, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Aug 15, 2023

Uffizzi Preview deployment-33484 was deleted.

@matthewelwell matthewelwell merged commit 830e899 into Flagsmith:main Aug 17, 2023
This was referenced Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front-end Issue related to the React Front End Dashboard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants