You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: QA audit - scope reduction for production quality
Comprehensive QA audit and remediation following Zero Hassle philosophy.
BREAKING CHANGES:
- Removed support for log, JavaScript, and TypeScript files
- Removed analysis features (patterns, ranges, anomalies, timezone analysis)
- Removed format conversion features
- Simplified to JSON, YAML, and CSV extraction only
Changes:
- Deleted 7 files: analyze.ts, convert.ts, analysis.ts, convert.ts,
dateParsing.ts, dateValidation.ts, format.ts, configuration.ts
- Reduced configuration from 30+ settings to 11 essential ones
- Removed 2 commands from package.json (analyze, convert)
- Updated all documentation to match actual implementation
- Simplified extract command to output dates in original format
- Enabled exactOptionalPropertyTypes in tsconfig.json
Testing:
- All 39 tests passing (100%)
- Clean build with TypeScript
- Linter: no issues (Biome)
- Package: 1.56 MB VSIX created successfully
- Format coverage: 83.78% (json/yaml/csv)
What it does now:
- Extract dates from JSON, YAML, CSV in original format
- Support ISO 8601, RFC 2822, Unix timestamps, UTC, local, simple dates
- Smart deduplication
- Safety warnings for large files
- Clipboard integration
- Settings import/export/reset
Production ready for 1.0.0 release.
- Check the Output panel → "Dates-LE" for any error messages
213
208
214
209
**Performance issues with large files**
215
210
216
211
- Files over 10MB may take longer to process
217
-
-Consider using `dates-le.includeComments: false`to reduce processing time
218
-
-Enable `dates-le.sortByFrequency: false` for faster extraction
212
+
-Enable safety warnings to get alerts for large files
213
+
-Consider splitting very large files into smaller chunks
219
214
220
215
**Dates not appearing in results**
221
216
222
-
- Verify the date format is supported (ISO 8601, RFC 2822, Unix timestamps)
223
-
- Check if `dates-le.extractIso`, `dates-le.extractRfc2822`, etc. are enabled
224
-
- Ensure dates are not inside comments if `dates-le.includeComments` is disabled
225
-
226
-
**Timezone analysis issues**
227
-
228
-
- Enable `dates-le.timezoneAnalysis: true` for timezone insights
229
-
- Check that dates include timezone information for accurate analysis
230
-
- Some date formats may not support timezone analysis
217
+
- Verify the date format is supported (ISO 8601, RFC 2822, Unix timestamps, common date patterns)
218
+
- Ensure the file is a valid JSON, YAML, or CSV format
219
+
- Check if `dates-le.dedupeEnabled` is removing duplicates you want to see
231
220
232
221
**Extension crashes or freezes**
233
222
@@ -243,28 +232,25 @@ Dates-LE is built for speed across all supported formats:
243
232
244
233
## ❓ FAQ
245
234
246
-
**Q: What date formats are supported?**
247
-
A: ISO 8601 (2023-12-25T10:30:00Z), RFC 2822 (Mon, 25 Dec 2023 10:30:00 GMT), Unix timestamps (1703508600), and common date patterns (12/25/2023, 25-12-2023).
248
-
249
-
**Q: Can I extract dates from comments?**
250
-
A: Yes, enable `dates-le.includeComments: true` to include dates found in comments and documentation.
235
+
**Q: What file formats are supported?**
236
+
A: Dates-LE supports JSON, YAML (.yaml, .yml), and CSV files. We focus on structured data formats for 100% reliability.
251
237
252
-
**Q: How does timezone analysis work?**
253
-
A: When `dates-le.timezoneAnalysis: true` is enabled, Dates-LE analyzes timezone information in dates and provides insights about temporal data distribution.
238
+
**Q: What date formats can be extracted?**
239
+
A: ISO 8601 (2023-12-25T10:30:00Z), RFC 2822 (Mon, 25 Dec 2023 10:30:00 GMT), Unix timestamps (1703508600), UTC, local formats, and simple date patterns (2023-12-25).
254
240
255
-
**Q: Can I group dates by format type?**
256
-
A: Yes, enable `dates-le.groupByFormat: true` to organize results by date format (ISO, RFC, Unix, etc.).
241
+
**Q: Does Dates-LE work with log files or JavaScript/TypeScript?**
242
+
A: No. Dates-LE focuses exclusively on structured data formats (JSON, YAML, CSV) for reliability. Unstructured formats like logs can produce unreliable results.
257
243
258
-
**Q: Does Dates-LE work with log files?**
259
-
A: Absolutely! Dates-LE is perfect for analyzing log files, API responses, and temporal datasets to identify patterns and anomalies.
244
+
**Q: Can I deduplicate extracted dates?**
245
+
A: Yes, enable `dates-le.dedupeEnabled: true` to automatically remove duplicate dates from results.
260
246
261
247
**Q: What's the largest file size supported?**
262
-
A: Dates-LE can handle files up to 200MB, though performance may be reduced for very large files. Consider using streaming mode for large datasets.
248
+
A: Dates-LE can handle files up to 200MB. The extension includes safety warnings that alert you when processing large files (default: 1MB threshold).
263
249
264
250
## 📊 Test Coverage
265
251
266
252
- Tests powered by Vitest with V8 coverage.
267
-
- Runs quickly and locally: `npm run test` or `npm run test:coverage`.
253
+
- Runs quickly and locally: `bun run test` or `bun run test:coverage`.
268
254
- Coverage reports output to `coverage/` (HTML summary at `coverage/index.html`).
0 commit comments