Wp-calypso: Domain Search: Redux overrides network errors

Created on 7 Jun 2016  路  4Comments  路  Source: Automattic/wp-calypso

If you go to Domain Management -> Add domain and cut the network off; when you search for something you'll get the initial suggestions and nothing about the connection error.

I think this was introduced in #5738

/cc @gwwar

ps: I'm working on some refactoring around domain search (lib/components/domains/*), so if this change requires a lot of changes around those files, it might be a good idea to hold working on this until later this week :)

Domains [Type] Bug

All 4 comments

Thanks for ping. I'll keep this in mind when you're done refactoring. I was planning to refactor domains search to use the QueryDomainsSuggestions, versus the bare wpcomjs calls we make.

I'll see if I can find a simple fix in the meantime.

@gwwar: wondering what's the status of this issue? I see some work has been done in #5873 and closed without merging - was there something wrong with that approach or it just got stale? I wonder if we could resurrect it and merge :)

It was mostly closed out due to staleness, and since it was unrelated to the query component refactoring. It's a simple issue to fix, but we should update this issue with what the expected error state should look like.

Was this page helpful?
0 / 5 - 0 ratings