clairo 0.5.0 → 0.6.0

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.
Files changed (2) hide show
  1. package/dist/cli.js +4 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -573,12 +573,13 @@ ${title}
573
573
  entry += "\n";
574
574
  appendToLog(today, entry);
575
575
  }
576
- function logJiraStatusChanged(ticketKey, oldStatus, newStatus) {
576
+ function logJiraStatusChanged(ticketKey, ticketName, oldStatus, newStatus) {
577
577
  const timestamp = formatTimestamp();
578
578
  const today = getTodayDate();
579
579
  const entry = `## ${timestamp} - Updated Jira ticket
580
580
 
581
- ${ticketKey}: ${oldStatus} \u2192 ${newStatus}
581
+ ${ticketKey}: ${ticketName}
582
+ ${oldStatus} \u2192 ${newStatus}
582
583
 
583
584
  `;
584
585
  appendToLog(today, entry);
@@ -1756,7 +1757,7 @@ function JiraView({ isFocused, onModalChange, onKeybindingsChange, onLogUpdated
1756
1757
  onComplete: (newStatus) => {
1757
1758
  const oldStatus = ticket.status;
1758
1759
  updateTicketStatus(repoPath, currentBranch, ticket.key, newStatus);
1759
- logJiraStatusChanged(ticket.key, oldStatus, newStatus);
1760
+ logJiraStatusChanged(ticket.key, ticket.summary, oldStatus, newStatus);
1760
1761
  onLogUpdated == null ? void 0 : onLogUpdated();
1761
1762
  setShowStatusModal(false);
1762
1763
  refreshTickets();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clairo",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",