feat: Implement a new links menu, consolidate the main action keyboard into a ui module, and update employee ID generation logic.

This commit is contained in:
Marco Gallegos
2025-12-15 09:49:50 -06:00
parent 24874da1c7
commit 8422a874d9
7 changed files with 120 additions and 24 deletions

13
modules/ui.py Normal file
View File

@@ -0,0 +1,13 @@
from telegram import ReplyKeyboardMarkup
def main_actions_keyboard() -> ReplyKeyboardMarkup:
"""Teclado inferior con comandos directos (un toque lanza el flujo)."""
return ReplyKeyboardMarkup(
[
["/welcome"],
["/vacaciones", "/permiso"],
["/links", "/start"],
],
resize_keyboard=True,
)