Commit Graph

3669 Commits

Author SHA1 Message Date
7059cd7265 feat: update runner status 2022-11-25 17:48:47 +08:00
0c3f283a84 fix(runner-view): missing runner delete modal and routing 2022-11-25 17:48:47 +08:00
8c3ed11ed9 feat(runner-view): add task list in runnder details page, in admin 2022-11-25 17:48:47 +08:00
6a0614f4a5 feat(runner): add repo runners ui pages 2022-11-25 17:48:46 +08:00
888b4c8313 feat(runner): finish org runners ui 2022-11-25 17:48:46 +08:00
e5b835cf52 current page 2022-11-25 17:48:46 +08:00
44ee3fe550 remove termdemo 2022-11-25 17:48:46 +08:00
ea5e769428 fix build view ui 2022-11-25 17:48:46 +08:00
b5520f098f Some improvements 2022-11-25 17:48:46 +08:00
8ec691f3ce Almost finished 2022-11-25 17:48:46 +08:00
da60ae69be delete modal 2022-11-25 17:48:46 +08:00
08b463a308 Fix duplicated alert 2022-11-25 17:48:46 +08:00
5b55fd0d36 org secrets 2022-11-25 17:48:46 +08:00
8dc263c6ed fix show add secret panel 2022-11-25 17:48:46 +08:00
fa5b8e9eba org secrets 2022-11-25 17:48:46 +08:00
da981db596 finish adding and deleting secret for repository settting 2022-11-25 17:48:46 +08:00
e43e3f9518 improve UI 2022-11-25 17:48:46 +08:00
ab4f539453 add models and services 2022-11-25 17:48:46 +08:00
d4e84c0433 Add simple master key provider for secret encryption 2022-11-25 17:48:46 +08:00
6531738b2e fix: builds UI 2022-11-25 17:48:46 +08:00
dee4f2470b feat: inner build view UI 2022-11-25 17:48:46 +08:00
3d4d44dadf fix: use index of run 2022-11-25 17:48:46 +08:00
9292e9ebdb fix: add methods of status 2022-11-25 17:48:46 +08:00
25fe4f6d9e feat(runner): make admin runner template as common template, use for org runners setting 2022-11-25 17:48:46 +08:00
b65e263f92 Fix filter count 2022-11-25 17:48:45 +08:00
38b36edc5c feat(runner): add runner page in repo and org settings 2022-11-25 17:48:45 +08:00
c3530bf47c feat(runner): fix create runner dropdown ui 2022-11-25 17:48:45 +08:00
3518c098b9 Improve ui for builds 2022-11-25 17:48:45 +08:00
d69423a3b0 UI improvement 2022-11-25 17:48:45 +08:00
57cc7bf823 improve UI 2022-11-25 17:48:45 +08:00
7e01f8ce66 Fix bug 2022-11-25 17:48:45 +08:00
dd5b2c5dfd feat: optimize log indexes 2022-11-25 17:48:45 +08:00
f633ec9704 feat(runner): create new token for creating new runner 2022-11-25 17:48:45 +08:00
243c1e5134 Add workflow 2022-11-25 17:48:45 +08:00
1cba52376a feat: use run id and job id in page view 2022-11-25 17:48:45 +08:00
fbb9f437a6 feat(runner): delete runner from admin html page 2022-11-25 17:48:45 +08:00
5b989e2a11 feat(bots): update runner data in html page 2022-11-25 17:48:45 +08:00
dff0d4b907 feat(runner): update edit.html 2022-11-25 17:48:45 +08:00
206b2a104e feat(runner): begin runner view ui 2022-11-25 17:48:44 +08:00
4f2330623e view logs 2022-11-25 17:48:44 +08:00
b84aa84a0f Fix template 2022-11-25 17:48:44 +08:00
92d15afd18 database-filesystem, demo log tailing in term 2022-11-25 17:48:43 +08:00
931d8c2c21 add runners management ui 2022-11-25 17:48:43 +08:00
2ea693cdd2 update template 2022-11-25 17:48:43 +08:00
2c4f6fd42f add most tables 2022-11-25 17:48:43 +08:00
5a479bb034 Add builds UI 2022-11-25 17:48:43 +08:00
b91167b772 fix(web): keep the pages of the navigation in the center (#21867)
Keep the pages of the navigation in the center

<table>
  <tr>
    <th>Before</th>
    <th>After</th>
  </tr>

  <tr>
    <td>
<img width="200" alt="image"
src="https://user-images.githubusercontent.com/45708948/202838756-d6d57b3f-8144-4a43-a33b-ea7c8ab3a495.png">
</td>
    <td>
<img width="192" alt="image"
src="https://user-images.githubusercontent.com/45708948/202838740-bbae1e86-b14c-421d-92d4-d0e53d5952a2.png">
</td>
  </tr>
</table>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2022-11-25 14:37:02 +08:00
26f941fbda Fix button in branch list, avoid unexpected page jump before restore branch actually done (#21562)
This patch:
- Use `<button>` replace anchor link `<a>` in **_Delete/Restore
Branch_** button to avoid unexpected page jump before restore branch
actually done.
- Also replace right side buttons with `<button>` in branch list, let
some screen readers know they are buttons.


## Before
click restore branch -> restore triggered -> page refreshed, but branch
status not update -> manually refresh page

<details>


https://user-images.githubusercontent.com/76462613/197389108-5a0bd259-0455-40b2-92ac-4326900276f8.mp4

</details>

## After
waiting restore done -> page refresh -> branch status update

<details>


https://user-images.githubusercontent.com/76462613/197428683-616fcbd2-70f9-4572-bf76-e0b7f77b6dd7.mp4

</details>

Signed-off-by: baronbunny <its@baronbunny.cn>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2022-11-24 20:29:43 +08:00
b97548a2ee Fix table misalignments and tweak webhook and githook lists (#21917)
- Fix regression from #21893 which had misaligned a few tables like repo
lists and e-mails
- Bring githooks list in line with webhooks list for styling
- Change webhook list icons to just colored dots, like githook list
- Increase size of dot in webhook and githook list from 16 to 22px
2022-11-24 00:43:07 -06:00
09b7d8198c Fix flex layout for repo list icons (#21896)
#20241 Added a tooltip, which does not satisfy the flex layout, and the
icons are not aligned

Signed-off-by: Xinyu Zhou <i@sourcehut.net>
2022-11-23 22:01:30 -06:00