Use Google Antigravity with a workspace

Distinguish a pending state from a successful request returning no results.

Examples

Example 1

Input
The request has not completed
Expected output
Loading

Example 2

Input
The request succeeded and returned []
Expected output
No entries

Hints and solution

Hint 1

One state can end when the response arrives.

Reveal worked answer

Show a loading indicator while waiting. After a successful empty result, explain that there are no entries and show a relevant action when available.

Back to the lesson