Improves reliability of link loading functionality:
- Adds error state and handling for failed API requests
- Implements retry mechanism with user-facing error message
- Prevents infinite loading when errors occur
- Defers search API call to mounted hook
These changes enhance user experience by providing clear feedback and recovery options when link loading fails.
Substitutes the existing search component with a lazy-loading version to improve performance and loading times.
Enhances user experience by ensuring that search functionality loads only when needed.
Moves undefined fallback from client to server side for cursor parameter
Ensures consistent pagination behavior when fetching links from KV storage
This prevents potential edge cases where undefined cursor values could be handled differently between client and server.
Replaces the cursor value in the API request with `undefined` if it is falsy. This prevents potential issues with null values being sent in the query, ensuring a more reliable API interaction.
Improves overall stability when fetching link data from the server.