feat(kanban): tiempo maximo via popover con unidad (issue 0089 followup)
Replace the native window.prompt with a Popover that mirrors the deadline picker pattern: NumberInput + unit Select (minutos/horas/dias/semanas/meses). The selected unit converts to minutes at save time; the column's stored unit on the backend stays unchanged (max_time_minutes). On open the popover pre-selects the largest unit that yields a clean integer for the current value (e.g. 1440 -> 1 dia, 60 -> 1 hora). Includes a trash icon to clear the limit and a Guardar button. data-test selectors added for future e2e: - column-max-time, column-max-time-input, column-max-time-unit, column-max-time-save. Menu label now shows "(N dias)" / "(N semanas)" / etc. instead of "(N min)". Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
-1181
File diff suppressed because one or more lines are too long
+1181
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Kanban</title>
|
||||
<script type="module" crossorigin src="/assets/index-Cph8eYBP.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-CsQHDHWL.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-S1AyDjRq.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user