Skip to content

Adjust display of error messages in TableCellLink for improved usability #2013

Description

@silverkszlo

Adjust this code in loadResultsForProvider(providerId, term) in TableCellLink.vue:

let res = null
	try {
		res = await axios.get(generateOcsUrl('/search/providers/' + providerId + '/search?term=' + term))
	} catch (e) {
		displayError(e, t('tables', 'Could not load link provider results.'))
		this.setProviderLoading(providerId, false)
		return
	}

consider combining errors from multiple providers—right now each failure (like network issues or provider unavailability) pops up its own message, which could get a bit much for users. A single, combined error might feel smoother

Originally posted by @silverkszlo in #1977 (comment)

Yeah, makes sense. And right now that I have added the link validation, trying to save several times by hitting enter multiple times with an invalid link leads to multiple popups with the same message. Could be improved for sure

Originally posted by @enjeck in #1977 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions