gitea/web_src/js/components
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
..
ActionRunStatus.vue Refactor text utility classes to Tailwind CSS (#36703) 2026-02-22 22:56:33 +00:00
ActivityHeatmap.vue Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
ContextPopup.vue Refactor text utility classes to Tailwind CSS (#36703) 2026-02-22 22:56:33 +00:00
DashboardRepoList.vue Refactor text utility classes to Tailwind CSS (#36703) 2026-02-22 22:56:33 +00:00
DiffCommitSelector.vue Refactor text utility classes to Tailwind CSS (#36703) 2026-02-22 22:56:33 +00:00
DiffFileTree.vue Fix and enhance comment editor monospace toggle (#36181) 2026-01-26 14:19:47 +00:00
DiffFileTreeItem.vue Refactor text utility classes to Tailwind CSS (#36703) 2026-02-22 22:56:33 +00:00
PullRequestMergeForm.vue Replace CSRF cookie with `CrossOriginProtection` (#36183) 2025-12-25 12:33:34 +02:00
RepoActionView.test.ts Color command/error logs in Actions log (#36538) 2026-02-06 23:05:32 +08:00
RepoActionView.vue Replace index with id in actions routes (#36842) 2026-03-10 22:14:48 +01:00
RepoActivityTopAuthors.vue Remove and forbid `@ts-expect-error` (#36513) 2026-02-02 01:00:34 +08:00
RepoBranchTagSelector.vue Refactor text utility classes to Tailwind CSS (#36703) 2026-02-22 22:56:33 +00:00
RepoCodeFrequency.vue Refactor text utility classes to Tailwind CSS (#36703) 2026-02-22 22:56:33 +00:00
RepoContributors.vue Refactor text utility classes to Tailwind CSS (#36703) 2026-02-22 22:56:33 +00:00
RepoFileSearch.vue Add keyboard shortcuts for repository file and code search (#36416) 2026-02-23 17:20:56 +08:00
RepoRecentCommits.vue Refactor text utility classes to Tailwind CSS (#36703) 2026-02-22 22:56:33 +00:00
ViewFileTree.vue Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
ViewFileTreeItem.vue Show edit page confirmation dialog on tree view file change (#36130) 2025-12-20 02:29:39 +01:00
ViewFileTreeStore.ts Fix file-tree ui error when adding files to repo without commits (#36312) 2026-01-08 12:04:51 -08:00
WorkflowGraph.vue Replace index with id in actions routes (#36842) 2026-03-10 22:14:48 +01:00