vaadin / directory

Directory 4 Vaadin
Apache License 2.0
1 stars 1 forks source link

UX issue with API Key generation for upload #74

Open appreciated opened 3 months ago

appreciated commented 3 months ago

Description

I encountered an issue with the API key generation process in the Vaadin Directory. Pressing "Generate API key" only generates the key but when sending requests, it will not be accepted as authentication directly. The key seems only to accepted after saving the component.

Expected Behaviour

Automatically save and publish the new API key upon generation.

samie commented 3 months ago

This is a known problem in the edit section UI architecture: no edits to add-on data are saved before save button is pressed. This is especially confusing in this case when the key is generated in a popup window and you would expect it to save on close.