gitea/web_src/js
Zettat123 385994295d
Replace index with id in actions routes (#36842)
This PR migrates the web Actions run/job routes from index-based
`runIndex` or `jobIndex` to database IDs.

**⚠️ BREAKING ⚠️**: Existing saved links/bookmarks that use the old
index-based URLs will no longer resolve after this change.

Improvements of this change:
- Previously, `jobIndex` depended on list order, making it hard to
locate a specific job. Using `jobID` provides stable addressing.
- Web routes now align with API, which already use IDs.
- Behavior is closer to GitHub, which exposes run/job IDs in URLs.
- Provides a cleaner base for future features without relying on list
order.
- #36388 this PR improves the support for reusable workflows. If a job
uses a reusable workflow, it may contain multiple child jobs, which
makes relying on job index to locate a job much more complicated

---------

Signed-off-by: Zettat123 <zettat123@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-10 22:14:48 +01:00
..
components Replace index with id in actions routes (#36842) 2026-03-10 22:14:48 +01:00
features Replace index with id in actions routes (#36842) 2026-03-10 22:14:48 +01:00
markup Harden render iframe open-link handling (#36811) 2026-03-03 23:15:33 -08:00
modules Add “Copy Source” to markup comment menu (#36726) 2026-03-01 09:11:25 +00:00
render Misc typescript tweaks (#36523) 2026-02-10 05:09:56 +00:00
standalone Harden render iframe open-link handling (#36811) 2026-03-03 23:15:33 -08:00
utils Load `mentionValues` asynchronously (#36739) 2026-03-07 12:37:37 -08:00
vendor Show edit page confirmation dialog on tree view file change (#36130) 2025-12-20 02:29:39 +01:00
webcomponents Use `relative-time` to render absolute dates (#36238) 2026-02-16 10:58:04 +00:00
bootstrap.test.ts Adapt monaco error matching pattern to recent webpack config change (#36533) 2026-02-12 20:59:13 +00:00
bootstrap.ts Adapt monaco error matching pattern to recent webpack config change (#36533) 2026-02-12 20:59:13 +00:00
globals.d.ts Update JS deps (#36850) 2026-03-08 07:29:27 +01:00
globals.ts Merge index.js (#34963) 2025-07-06 04:55:16 +00:00
htmx.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
index-domready.ts Inline and lazy-load EasyMDE CSS, fix border colors (#36714) 2026-02-26 10:50:44 +00:00
index.ts Fix and enhance comment editor monospace toggle (#36181) 2026-01-26 14:19:47 +00:00
svg.test.ts Remove "class-name" from svg icon (#33540) 2025-02-09 22:39:54 +02:00
svg.ts Fix markup code block layout (#36578) 2026-02-11 03:22:33 +00:00
types.ts Load `mentionValues` asynchronously (#36739) 2026-03-07 12:37:37 -08:00
utils.test.ts Fix various bugs (#36446) 2026-01-24 11:30:47 +00:00
utils.ts Fix various bugs (#36446) 2026-01-24 11:30:47 +00:00
vitest.setup.ts Load `mentionValues` asynchronously (#36739) 2026-03-07 12:37:37 -08:00