@qiaolei81/copilot-session-viewer 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/README.md +108 -549
- package/package.json +4 -2
- package/server.js +19 -513
- package/src/app.js +93 -0
- package/src/{config.js → config/index.js} +7 -4
- package/src/controllers/insightController.js +69 -0
- package/src/controllers/sessionController.js +162 -0
- package/src/controllers/uploadController.js +177 -0
- package/src/middleware/common.js +48 -0
- package/src/middleware/rateLimiting.js +36 -0
- package/src/routes/api.js +11 -0
- package/src/routes/insights.js +12 -0
- package/src/routes/pages.js +12 -0
- package/src/routes/uploads.js +14 -0
- package/src/{insightService.js → services/insightService.js} +2 -2
- package/src/{sessionRepository.js → services/sessionRepository.js} +31 -17
- package/src/services/sessionService.js +111 -0
- package/src/{fileUtils.js → utils/fileUtils.js} +87 -0
- package/src/{helpers.js → utils/helpers.js} +1 -1
- package/views/index.ejs +172 -31
- package/.eslintignore +0 -20
- package/AGENTS.md +0 -109
- package/RELEASE.md +0 -146
- package/eslint.config.mjs +0 -103
- package/scripts/release.sh +0 -43
- /package/src/{session.js → models/Session.js} +0 -0
- /package/src/{processManager.js → utils/processManager.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,51 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.1.3] - 2026-02-16
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- Infinite scroll functionality for homepage session list
|
|
12
|
+
- "Load More Sessions" button for manual session loading
|
|
13
|
+
- Seamless scroll-triggered loading when approaching bottom of page
|
|
14
|
+
- API endpoint `/api/sessions/load-more` for paginated session loading
|
|
15
|
+
- Comprehensive e2e test suite expansion (45 total tests, up from 17)
|
|
16
|
+
- New test files: `api-pagination.spec.js`, `infinite-scroll.spec.js`, `core-functionality.spec.js`
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
- Replaced traditional pagination with infinite scroll on homepage
|
|
20
|
+
- Homepage now loads initial 20 sessions instead of all sessions
|
|
21
|
+
- Session count display removed from homepage for cleaner UI
|
|
22
|
+
- Updated JavaScript to handle dynamic session loading and rendering
|
|
23
|
+
|
|
24
|
+
### Removed
|
|
25
|
+
- Session count display "(showing X of Y)" from homepage header
|
|
26
|
+
- Unused logger utility (`src/utils/logger.js`) - dead code cleanup
|
|
27
|
+
- Pagination parameters from homepage (legacy support maintained in API)
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
- Updated unit tests to reflect infinite scroll functionality
|
|
31
|
+
- Improved performance for sites with large numbers of sessions
|
|
32
|
+
- Memory usage optimization by loading sessions progressively
|
|
33
|
+
- E2E test reliability improvements - achieved 100% pass rate (45/45 tests)
|
|
34
|
+
- Fixed selector issues in session detail page tests
|
|
35
|
+
- Improved test resilience with better error handling and fallback selectors
|
|
36
|
+
|
|
37
|
+
## [0.1.2] - 2026-02-15
|
|
38
|
+
|
|
39
|
+
### Fixed
|
|
40
|
+
- Content Security Policy configuration (removed unsafe-inline and unsafe-eval)
|
|
41
|
+
- Missing repository URL in README installation instructions
|
|
42
|
+
- Version inconsistencies across documentation files
|
|
43
|
+
|
|
44
|
+
### Added
|
|
45
|
+
- Session pagination support for better performance with large session counts
|
|
46
|
+
- API endpoint pagination with backward compatibility
|
|
47
|
+
|
|
48
|
+
## [0.1.1] - 2026-02-15
|
|
49
|
+
|
|
50
|
+
### Internal
|
|
51
|
+
- Project improvements and bug fixes
|
|
52
|
+
|
|
8
53
|
## [0.1.0] - 2026-02-15
|
|
9
54
|
|
|
10
55
|
### Added
|
|
@@ -27,4 +72,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
27
72
|
- CORS restricted to localhost
|
|
28
73
|
- File upload size limits (50MB)
|
|
29
74
|
|
|
75
|
+
[0.1.3]: https://github.com/qiaolei81/copilot-session-viewer/releases/tag/v0.1.3
|
|
76
|
+
[0.1.2]: https://github.com/qiaolei81/copilot-session-viewer/releases/tag/v0.1.2
|
|
77
|
+
[0.1.1]: https://github.com/qiaolei81/copilot-session-viewer/releases/tag/v0.1.1
|
|
30
78
|
[0.1.0]: https://github.com/qiaolei81/copilot-session-viewer/releases/tag/v0.1.0
|