Open Issues Need Help
View All on GitHubAI Summary: Refactor the error logging throughout the Next.js + GraphQL application to improve maintainability and consistency. This involves centralizing error handling, particularly for database operations, using a consistent logging format that includes the caller's location for easier debugging. The goal is to adhere to DRY principles and enhance the application's overall robustness.
AI Summary: Increase the character limit of the 'note' fields for setlists and songs from 20 to 100 and 200 characters respectively. This requires updating the frontend forms, backend validation, database schema (if necessary), and potentially adjusting the UI/UX to accommodate the increased character count, including adding a character counter. Consider the impact on the image generation layout.
AI Summary: Optimize the fetching policy in a Next.js application using Apollo Client. This involves classifying data types (static, near real-time, real-time, one-time) and assigning appropriate `fetchPolicy` and `nextFetchPolicy` options to GraphQL queries to improve performance and reduce server load. The changes will affect all components using GraphQL queries and the default Apollo Client configuration.
AI Summary: Implement prefetching for setlist detail pages in a Next.js application using Apollo Client to improve page load times after setlist creation or editing. This involves using `useApolloClient` to fetch data in the background before navigation, handling potential errors gracefully, and updating the `/setlists/new/page.tsx` and `/setlists/[id]/edit/page.tsx` components.