3671 Commits

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