providing password reset services for a long while: circa 2025

feat: add close button on main signed in page

+16
+16
features/command.ts
··· 43 43 action_id: "reset-password", 44 44 style: "danger", 45 45 }, 46 + { 47 + type: "button", 48 + text: { 49 + type: "plain_text", 50 + text: "gutentag!", 51 + }, 52 + action_id: "bye", 53 + }, 46 54 ], 47 55 }, 48 56 { ··· 110 118 await context.respond({ 111 119 response_type: "ephemeral", 112 120 text: "No worries! If you change your mind just type `/hackatime` again ^-^", 121 + }); 122 + }); 123 + 124 + slackApp.action("bye", async ({ context }) => { 125 + if (context?.respond) 126 + await context.respond({ 127 + response_type: "ephemeral", 128 + text: "bye!!! :goodnight:", 113 129 }); 114 130 }); 115 131 };