Jaw
038c23a2c8
feat(vcs): tint test files green in the changes tree ( #940 )
...
The changes tree in the Commit and Local Changes views now gives test files a light green background, so test changes stand out from production ones. A file counts as a test when it lies under a test source root (detected or marked by hand) or is named like a test (`*.test.ts`, `*Test.java`, …), the same check the project tree uses; folders under a test root get the tint too. Hover and selection still win.
The colour is a new `--bg-file-tests` token derived from `--success` and `--bg-island`, so every theme gets a matching tint, and it follows test roots as they are marked or unmarked.
Fixes #931 .
Co-authored-by: jaw52 <[email protected] >
2026-11-03 14:40:18 +08:00
..
2026-11-03 14:40:18 +08:00
2026-10-29 23:21:56 +08:00
2026-11-01 01:43:15 +08:00
2026-10-30 19:42:05 +08:00
2026-10-31 07:50:43 +08:00
2026-10-28 19:32:54 +08:00
2026-10-28 21:49:43 +08:00
2026-10-29 23:21:56 +08:00
2026-10-28 21:49:43 +08:00
2026-10-31 07:50:43 +08:00
2026-10-31 07:50:43 +08:00
2026-10-28 19:35:16 +08:00
2026-10-28 12:18:46 +08:00
2026-10-29 14:30:32 +08:00
2026-10-30 15:09:55 +08:00
2026-10-28 12:38:25 +08:00
2026-10-30 19:14:26 +08:00
2026-10-28 21:49:43 +08:00
2026-10-28 21:49:43 +08:00
2026-10-28 21:49:43 +08:00
2026-10-28 21:49:43 +08:00
2026-11-03 10:18:39 +08:00
2026-10-28 21:49:43 +08:00
2026-11-03 14:40:18 +08:00
2026-11-03 14:40:18 +08:00
2026-11-01 15:14:13 +08:00
2026-11-01 15:14:13 +08:00
2026-10-30 15:17:11 +08:00
2026-11-01 15:14:13 +08:00
2026-11-01 01:43:15 +08:00
2026-11-01 15:14:13 +08:00
2026-10-28 21:49:43 +08:00
2026-10-25 09:44:46 +08:00
2026-10-28 12:18:46 +08:00
2026-10-28 12:18:46 +08:00
2026-10-28 19:35:16 +08:00
2026-10-29 19:59:57 +08:00
2026-11-03 10:18:39 +08:00
2026-11-01 15:14:13 +08:00
2026-11-03 07:52:55 +08:00
2026-10-31 07:50:43 +08:00
2026-10-29 19:59:57 +08:00
2026-11-02 14:58:23 +08:00
2026-10-31 07:50:43 +08:00
2026-11-01 15:14:13 +08:00
2026-11-01 15:14:13 +08:00
2026-10-31 09:20:36 +08:00
2026-11-03 10:18:39 +08:00
2026-10-29 14:30:32 +08:00
2026-10-28 21:49:43 +08:00
2026-10-25 21:24:00 +08:00
2026-10-25 09:34:02 +08:00
2026-10-31 12:17:41 +08:00
2026-10-25 09:34:02 +08:00
2026-10-22 18:55:10 +08:00
2026-10-28 12:38:25 +08:00
2026-10-28 19:35:16 +08:00
2026-10-30 15:09:55 +08:00
2026-10-23 23:15:09 +08:00
2026-11-02 12:11:12 +08:00
2026-11-02 12:11:12 +08:00
2026-10-22 18:55:10 +08:00
2026-10-31 07:50:43 +08:00
2026-10-22 18:55:10 +08:00
2026-10-28 12:18:46 +08:00
2026-10-28 19:35:16 +08:00
2026-10-22 18:55:10 +08:00
2026-11-03 07:52:55 +08:00
2026-10-29 09:25:01 +08:00
2026-10-29 14:30:32 +08:00
2026-10-28 21:49:43 +08:00
2026-10-28 21:49:43 +08:00
2026-10-29 23:21:56 +08:00
2026-10-22 18:55:10 +08:00
2026-11-02 14:58:23 +08:00
2026-10-22 18:55:10 +08:00
2026-11-02 14:58:23 +08:00
2026-10-29 23:21:56 +08:00
2026-10-29 14:30:32 +08:00
2026-11-03 07:52:55 +08:00
2026-10-29 14:30:32 +08:00
2026-10-31 12:17:41 +08:00
2026-10-29 14:30:32 +08:00
2026-10-28 19:35:16 +08:00
2026-10-25 21:24:00 +08:00
2026-10-30 19:37:56 +08:00
2026-10-28 21:49:43 +08:00
2026-11-03 07:52:55 +08:00
2026-10-31 07:50:43 +08:00
2026-11-01 01:43:15 +08:00
2026-11-03 07:52:55 +08:00
2026-10-30 13:34:18 +08:00