Skip to content

Fix check tracking permissions upfront#10

Merged
devdorn merged 2 commits intomainfrom
fix--check-Tracking-Permissions-upfront
Jan 15, 2026
Merged

Fix check tracking permissions upfront#10
devdorn merged 2 commits intomainfrom
fix--check-Tracking-Permissions-upfront

Conversation

@devdorn
Copy link
Owner

@devdorn devdorn commented Jan 15, 2026

This pull request introduces several improvements to the JiraTime app, focusing on enhancing user experience and reliability when tracking and logging time. The most significant updates are improved error handling and permission checks before allowing users to log work or start timers, as well as new UI feedback for errors and timer management.

User experience and error handling improvements:

  • Added in-component error display for time logging and timer actions in TicketItem, replacing disruptive alert dialogs with clear, user-friendly error messages. This includes retry options when saving fails. [1] [2] [3]
  • Introduced a "Discard Time" button to allow users to discard the currently tracked time with confirmation, improving control over timer management. [1] [2]

Permission checks before actions:

  • Implemented permission checks using the new checkWorklogPermission function before allowing users to start a timer or pin a ticket for time tracking. Users are notified if they lack the necessary permissions. [1] [2] [3] [4]

API and utility updates:

  • Added the checkWorklogPermission function to jira.ts to verify if the user has permission to log work on a given ticket, preventing unauthorized actions.
  • Updated imports and usages of the new permission check function in relevant components. [1] [2]

Version bump:

  • Incremented the version number to 1.5.0 in both manifest.json and package.json to reflect these new features and improvements. [1] [2]

@devdorn devdorn self-assigned this Jan 15, 2026
@devdorn devdorn merged commit 1d5acda into main Jan 15, 2026
1 check passed
@devdorn devdorn deleted the fix--check-Tracking-Permissions-upfront branch January 15, 2026 12:37
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