bc502df48a
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>
14 lines
391 B
HTML
14 lines
391 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<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-CsQHDHWL.js"></script>
|
|
<link rel="stylesheet" crossorigin href="/assets/index-S1AyDjRq.css">
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
</body>
|
|
</html>
|