Merged
Conversation
# Conflicts: # src/App.tsx
…nglish translation
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Release v1.2.5 introduces a larger “local-first” feature set (IndexedDB persistence, full-text search, PWA/workbox tuning, and new UI utilities) along with CI/CD hardening and documentation updates.
Changes:
- Migrate core app data storage from
localStorageto IndexedDB via a new DB wrapper + hook, plus related UX (storage usage, cleanup suggestions). - Add FlexSearch-backed full-text search and a centralized filtering hook (model/date range/workspace/tag/search).
- Add virtualization/batch export in the prompt list, template/preset tooling, improved PWA/workbox config, and CI CodeQL/build audit.
Reviewed changes
Copilot reviewed 23 out of 25 changed files in this pull request and generated 14 comments.
Show a summary per file
| File | Description |
|---|---|
| vite.config.ts | PWA/workbox runtime caching + build chunking/sourcemaps for release. |
| tsconfig.app.json | Tightens TS linting options (noImplicitAny). |
| src/utils/db.ts | New IndexedDB wrapper and schema creation. |
| src/hooks/useIndexedDB.ts | IndexedDB React hook with one-time migration + persistence. |
| src/services/SearchService.ts | New FlexSearch Document-index singleton service. |
| src/hooks/usePromptFilters.ts | Centralized filtering (search/workspace/tag/model/date). |
| src/App.tsx | Switch prompts/workspaces/history to IndexedDB; add new sidebar tools and filter bar; drag-drop workspace move. |
| src/components/PromptList.tsx | Prompt list refactor: virtualization + export options + drag support. |
| src/components/WorkspaceManager.tsx | Workspace list becomes a drag-and-drop target. |
| src/components/VariableInjector.tsx | Typed variables + presets saved in localStorage + improved accessibility hooks. |
| src/components/TemplateManager.tsx | New sidebar template CRUD and “create prompt from template”. |
| src/components/StorageUsage.tsx | New storage usage display + online/offline badge. |
| src/components/CleanupAssistant.tsx | New analysis widget for large/duplicate/stale prompt cleanup. |
| src/components/ErrorBoundary.tsx / src/main.tsx | Global error boundary added around the app root. |
| src/index.css | New styles for presets/variable types and drag-over feedback; comment language cleanup. |
| package.json / package-lock.json | Release version bump + new deps (flexsearch/react-window/types). |
| README.md / CHANGELOG.md | Updated release documentation/feature list. |
| .github/workflows/ci.yml | CI split into quality/security (CodeQL) and build-audit jobs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
…igration Agent-Logs-Url: https://github.com/NaviAndrei/PromptLibrary/sessions/bd54c7c0-8efd-40cd-91e7-952291a5c184 Co-authored-by: NaviAndrei <85543388+NaviAndrei@users.noreply.github.com>
…geUsage Agent-Logs-Url: https://github.com/NaviAndrei/PromptLibrary/sessions/d9681aa7-ace5-4a76-be9f-95084318ca04 Co-authored-by: NaviAndrei <85543388+NaviAndrei@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.