forgejo/web_src/js/components
Mathieu Fenniak f43d48d5c8 refactor: extract ActionJobStep from RepoActionView (#10366)
The `RepoActionView` Vue component attempts to do almost everything in the action log view in one Vue component, including data management & fetching new logs, rendering the list of jobs, rendering the list of steps, rendering the logs, etc.  As part of #9768, this view is expected to receive some significant new features to display nested jobs within steps.  Before that work commences, I'm refactoring the component.

This refactor step moves the rendering of the step header, expansion of the step, and rendering of the logs, into a smaller component `ActionJobStep`.  Tests for the functionality of the new component are added, and some tests have been moved from `RepoActionView` where they only touched log rendering.

## Checklist

The [contributor guide](https://forgejo.org/docs/next/contributor/) contains information that will be helpful to first time contributors. There also are a few [conditions for merging Pull Requests in Forgejo repositories](https://codeberg.org/forgejo/governance/src/branch/main/PullRequestsAgreement.md). You are also welcome to join the [Forgejo development chatroom](https://matrix.to/#/#forgejo-development:matrix.org).

### Tests

- I added test coverage for Go changes...
  - [ ] in their respective `*_test.go` for unit tests.
  - [ ] in the `tests/integration` directory if it involves interactions with a live Forgejo server.
- I added test coverage for JavaScript changes...
  - [x] in `web_src/js/*.test.js` if it can be unit tested.
  - [ ] in `tests/e2e/*.test.e2e.js` if it requires interactions with a live Forgejo server (see also the [developer guide for JavaScript testing](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/tests/e2e/README.md#end-to-end-tests)).

### Documentation

- [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs) to explain to Forgejo users how to use this change.
- [x] I did not document these changes and I do not expect someone else to do it.

### Release notes

- [x] I do not want this change to show in the release notes.
- [ ] I want the title to show in the release notes with a link to this pull request.
- [ ] I want the content of the `release-notes/<pull request number>.md` to be be used for the release notes instead of the title.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10366
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Mathieu Fenniak <mathieu@fenniak.net>
Co-committed-by: Mathieu Fenniak <mathieu@fenniak.net>
2025-12-08 15:58:49 +01:00
..
ActionJobStep.test.js refactor: extract ActionJobStep from RepoActionView (#10366) 2025-12-08 15:58:49 +01:00
ActionJobStep.vue refactor: extract ActionJobStep from RepoActionView (#10366) 2025-12-08 15:58:49 +01:00
ActionRunStatus.vue feat: ability to view previous logs for Actions runs that have been retried (#9017) 2025-09-04 22:46:22 +02:00
ActivityHeatmap.vue Enforce trailing comma in JS on multiline (#30002) 2024-03-26 19:04:27 +01:00
ContextPopup.test.js ui: update pull request icons 2024-08-22 17:06:10 +02:00
ContextPopup.vue ui: update pull request icons (#4455) 2024-07-16 14:38:46 +00:00
DashboardRepoList.vue feat(ui): lazy-load all Vue components (#9444) 2025-09-28 05:40:40 +02:00
DiffCommitSelector.vue chore: remove not working PREFERRED_TIMESTAMP_TENSE setting (#9490) 2025-10-01 15:16:01 +02:00
DiffFileTree.vue Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
DiffFileTreeItem.vue Enforce trailing comma in JS on multiline (#30002) 2024-03-26 19:04:27 +01:00
PullRequestMergeForm.test.js fix: Don't double escape delete branch text 2024-10-19 22:05:35 +02:00
PullRequestMergeForm.vue feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
RepoActionView.test.js refactor: extract ActionJobStep from RepoActionView (#10366) 2025-12-08 15:58:49 +01:00
RepoActionView.vue refactor: extract ActionJobStep from RepoActionView (#10366) 2025-12-08 15:58:49 +01:00
RepoActivityTopAuthors.vue feat(ui): lazy-load all Vue components (#9444) 2025-09-28 05:40:40 +02:00
RepoBranchTagSelector.vue feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
RepoCodeFrequency.vue Have time.js use UTC-related getters/setters (#30857) 2024-05-12 20:03:09 +02:00
RepoContributors.test.js fix: compare week as numbers and not as strings (#8882) 2025-08-13 22:28:12 +02:00
RepoContributors.vue fix: compare week as numbers and not as strings (#8882) 2025-08-13 22:28:12 +02:00
RepoRecentCommits.vue Have time.js use UTC-related getters/setters (#30857) 2024-05-12 20:03:09 +02:00
ScopedAccessTokenSelector.vue fix(ui): make "Token name"-input a real required-field (#8877) 2025-10-01 12:07:30 +02:00