Skip to content

feat(jira): add due date support and actor-based search in Jira integration / refactoring - #7

Merged
MrCheater merged 13 commits into
mainfrom
chore/refactoring
Jul 23, 2026
Merged

feat(jira): add due date support and actor-based search in Jira integration / refactoring#7
MrCheater merged 13 commits into
mainfrom
chore/refactoring

Conversation

@MrCheater

Copy link
Copy Markdown
Contributor

No description provided.

…timezone handling

- Added date-fns and date-fns-tz for timezone-aware date operations
- Extended prettyDate to support "last monday", "last tuesday", etc. in multiple languages
- Implemented proper UTC <-> local timezone conversion
- Added comprehensive unit tests with snapshots
- Updated dependencies and removed unused undici imports

refactor(jira): simplify issue fetching logic in multiple APIs
- Replaced manual deduplication with direct smartSearch usage
- Removed redundant Set operations for keys and parent/child lookups
- Added early return in smartSearch when queries array is empty
- Cleaned up getUserActivity by removing unnecessary issue mapping

test(utils): add full test suite for prettyDate function
- Added 450+ lines of unit tests covering all date periods
- Included timezone-aware snapshot testing
- Verified edge cases for last weekday calculations
… handling

- Remove redundant formatDate function and update imports
- Handle empty events with fallback message
- Support optional content and new 'other' type in search results
- Added .yarn/install-state.gz to .npmignore, .prettierignore, and .gitignore
- Removed stylelint from lint-staged config for CSS files
- Enabled sourceMap in tsconfig.json
- Verify date formatting for various time periods and weekdays
…ration

- Added dueDate field propagation in issue hierarchy and reports
- Implemented actor/actors filter in smart search for creator, assignee, status changes
- Enhanced getUserActivity with actor filtering and improved event logging
- Introduced state management via WeakMap for context isolation
- Refactored JiraClient to use function syntax and proper typing
- Introduce state management via WeakMap to store Jira client
- Update type definitions for stricter context validation
- Enhance user activity report with issue summary display
- Centralize state access using getStateFromContext utility
- Only add comments section if comments exist
- Prevents empty "Comments" heading in output
- Implemented rehype plugin to transform ac:task-list to GitHub-style checkboxes
- Integrated plugin into html-to-md pipeline
- Configured remark-stringify with consistent list formatting
- Simplified string interpolation by removing unnecessary JSON.stringify
- Maintains same output format for consistency
- Improves code readability and performance slightly
- Introduce `diffWordsPaired` utility to show changed/added/removed words
- Enhance event log with formatted diff output for "Description updated" actions
- Clean up redundant JSON.stringify in activity log entries
- Removed redundant JSON.stringify in path generation
- Improved readability and performance
…culations

- Set default TZ to UTC via environment config in vitest
- Update pretty-date util to respect process.env.TZ
- Align snapshot tests with UTC-based timestamps
@MrCheater
MrCheater merged commit 6495644 into main Jul 23, 2026
4 checks passed
@MrCheater
MrCheater deleted the chore/refactoring branch July 23, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant