Commit 1c5aec0
authored
Hide 'Cancel Run' Button on Runs that do not belong to the Current User (#1183)
## Description
<!-- Please provide a brief description of the changes made in this pull request. Include any relevant context or reasoning for the changes. -->
Users will no longer see the "cancel run" button for runs that are not theirs.
NOTE: uses a test API. Api should be finalized before shipping this PR.
## Related Issue and Pull requests
<!-- Link to any related issues using the format #<issue-number> -->
Closes Shopify/oasis-frontend#274
## Type of Change
<!-- Please delete options that are not relevant -->
- [x] Improvement
## Checklist
<!-- Please ensure the following are completed before submitting the PR -->
- [ ] I have tested this does not break current pipelines / runs functionality
- [ ] I have tested the changes on staging
## Screenshots (if applicable)
<!-- Include any screenshots that might help explain the changes or provide visual context -->

## Test Instructions
<!-- Detail steps and prerequisites for testing the changes in this PR -->
## Additional Comments
<!-- Add any additional context or information that reviewers might need to know regarding this PR -->1 parent 11d37bb commit 1c5aec0
File tree
4 files changed
+9
-2
lines changed- src
- components
- PipelineRun
- hooks
- utils
4 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
149 | 154 | | |
150 | 155 | | |
151 | 156 | | |
152 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
153 | 160 | | |
154 | 161 | | |
155 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
File renamed without changes.
File renamed without changes.
0 commit comments