Prompt Details
Model
Chat - (gpt-5.5)
Token size
353
Example input
[REPO_CONTEXT]: TypeScript SaaS dashboard. Maintainers prefer concise PR descriptions and clear manual test steps.
[CHANGE_TYPE]: Feature
[RAW_NOTES]: - added saved filters for customer table - files: src/features/customers/SavedFilters.tsx, src/api/customerFilters.ts - users can save current search/status/owner filters - added local optimistic update after save - API endpoint POST /api/customer-filters - no sharing between users yet - tested save, apply, delete in browser
[ISSUES]: #214
Example output
## Summary
Adds saved filters for the customer table so users can reuse common search, status, and owner filter combinations. The feature saves filters through the new customer-filters API and applies optimistic UI updates after save.
## Changes Made
- **Customer table**
- Adds a saved filters panel in `src/features/customers/SavedFilters.tsx`.
- Lets users save, apply, and delete filter presets for the current table view.
- **API client**
- Adds `src/api/customerFilters.ts` for `POST /api/customer-filters`.
- Applies an optimistic update after successful save so the new filter appears immediately.
- **Scope**
- Keeps filters user-specific.
- Does not add team sharing in this PR.
## Testing
- Saved a filter with search, status, and owner values.
- Applied the saved filter and confirmed the table updated correctly.
- Deleted the saved filter and confirmed it disappeared from the list.
## Risk / Rollback
- Risk is moderate because this adds new UI state around table filtering.
- Rollback: revert this PR to remove the saved filters UI and API client call.
## Additional Context
Fixes #214.
By purchasing this prompt, you agree to our terms of service
GPT-5.5
Turn messy implementation notes into a clear GitHub pull request description with summary, grouped changes, testing steps, risk notes, and maintainer-friendly context.
...more
Added 1 week ago
