Commit Graph

26 Commits

Author SHA1 Message Date
Sacha Al Himdani
324f4ce793 Add task priority enum and rename priority to rank
The existing integer priority field represents positional ordering
within a state, not semantic importance. Rename it to rank and
introduce a new priority field with enum values URGENT, HIGH,
MEDIUM and LOW across the entire stack.

Rank is now scoped to (state, priority) so tasks are ordered
within each priority group. A generated priority_rank column
combines both fields into a single sortable integer for cursor
pagination.

Dragging a task across priority groups updates its priority
automatically based on the drop position neighbors. The backend
first moves the task to the new group then repositions it at the
target rank.

The migration defaults existing rows to MEDIUM priority and
backfills ranks per (state, priority) group.

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-04-02 13:35:39 +02:00
Sacha Al Himdani
851e585b9b Add ISC license headers to Go, TypeScript, and SQL files
Add ISC license headers to all .go, .ts, .tsx, and .sql files
using each file's git history to determine the correct copyright
year or year range. Trademarked icons (brand logos, vendor logos,
compliance framework logos) are excluded.

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-03-31 13:31:30 +02:00
Sacha Al Himdani
4a2d308da0 Add task drag-and-drop reordering
Order tasks by priority (ASC) by default. Enable drag-and-drop
on the TODO and DONE tabs using native HTML5 drag events,
following the compliance external URLs pattern. The "All" tab
remains read-only since priority is scoped per state.

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-03-27 15:47:12 +01:00
Bryan Frimin
13ca50df68 Fix relay lint in components and pages
Remove unused GraphQL fields (createdAt, updatedAt, totalCount,
__id, sourceId, etc.) from queries and fragments across 50+ files.

Add TypeScript generics to useMutation, usePaginationFragment,
useRefetchableFragment, and useLazyLoadQuery calls to satisfy
relay/generated-typescript-types.

Add justified eslint-disable comments for fields needed by Relay
cache normalization (id) or consumed by sibling components through
fragment spreads.

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2026-03-15 13:32:43 +01:00
Émile Ré
f033338cda Keep both people and members pages
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-02-12 16:21:14 +04:00
Émile Ré
d235f4a86b Update frontend links to users
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-02-12 16:21:12 +04:00
Émile Ré
3b4f77c5e8 Change folder aliases
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 21:14:37 +04:00
Émile Ré
c168be6de0 Add import order sorting rules
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 20:38:37 +04:00
Émile Ré
aa5696b5d3 Add eslint-plugin-import
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 19:57:10 +04:00
Émile Ré
dd23449cc0 Fix apps/console lint issues
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 12:51:43 +04:00
Émile Ré
8d51888895 Fix measure tasks page permissions handling
Signed-off-by: Émile Ré <nemile.re@gmail.com>
2026-01-17 11:08:17 -08:00
Émile Ré
21353f35e7 Fix tasks page permissions handling
Signed-off-by: Émile Ré <nemile.re@gmail.com>
2026-01-17 11:08:17 -08:00
Émile Ré
6b2864e160 Move console to a relay multi project config
Signed-off-by: Émile Ré <nemile.re@gmail.com>
2026-01-17 11:02:51 -08:00
Sacha Al Himdani
3c2be844e4 Remove mandatory task from measure
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-01-15 18:15:45 +01:00
Sacha Al Himdani
6ab5ace353 Fix task display
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-01-09 15:47:13 +01:00
Émile Ré
c2d3a38057 Fix conditional hooks
Signed-off-by: Émile Ré <nemile.re@gmail.com>
2025-12-04 17:27:47 +04:00
Émile Ré
e65097f248 Fix permissions handling with react context
Signed-off-by: Émile Ré <nemile.re@gmail.com>
2025-12-02 18:40:38 +04:00
Sacha Al Himdani
21c4b7cd9d Add role management
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-11-13 17:11:22 +01:00
Sacha Al Himdani
288c59a5f2 Make descriptions nullable
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-11-05 17:58:50 +01:00
Sacha Al Himdani
9a33f7b771 Manage errors
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-10-31 15:14:56 +01:00
Sacha Al Himdani
611b549f08 Fix optional empty value update
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-10-22 15:42:05 +02:00
Sacha Al Himdani
8ee03b82b1 Update counter only on success
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-09-03 11:05:37 +02:00
Jonathan
4739c0533c Fix increment tab counters when linking nodes
Fix #171

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-09-03 10:39:13 +02:00
Jonathan
1240d2bb2e Add resets on forms
Fix #164

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-07-15 16:48:04 +02:00
Bryan Frimin
6da3de8376 Fix tasks deadline
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2025-06-29 21:25:05 +02:00
Sacha Al Himdani
d6ba8e1072 Remove old frontend
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-06-13 14:01:04 -07:00