Commit Graph

124 Commits

Author SHA1 Message Date
Simone Gotti 2878905257
Merge pull request #25 from sgotti/log_show_fetching_status
log: show log fetching status
2019-11-15 10:20:32 +01:00
Simone Gotti 84e413181f log: show log fetching status
* show a spinner while log is being fetched: while calling the api and while
streaming the log
* show when log doesn't exists
* show error when fetching the log fails (with retry button)
* show when there're no lines.
2019-11-14 15:08:34 +01:00
Simone Gotti 8aae84b354
Merge pull request #23 from sgotti/add_github_issue_template
Add github issue templates
2019-09-27 11:57:12 +02:00
Simone Gotti b1565c3b7f Add github issue templates
[ci skip]
2019-09-27 11:45:11 +02:00
Simone Gotti f57dac5df2
Merge pull request #22 from sgotti/login_redirect_previous_url
Redirect to previous url after login
2019-09-26 12:33:56 +02:00
Simone Gotti 4af98fb75b Redirect to previous url after login 2019-09-26 10:23:21 +02:00
Simone Gotti 1a582b5cff
Merge pull request #19 from sgotti/npm_update_deps
npm: update dependencies
2019-09-23 10:41:44 +02:00
Simone Gotti 1cba296470
Merge pull request #20 from sgotti/projects_fix_missing_variable
projects: fix missing variable
2019-09-23 10:23:55 +02:00
Simone Gotti c20fdcfbfb projects: fix missing variable 2019-09-23 10:17:58 +02:00
Simone Gotti e8c75db560 npm: update dependencies 2019-09-23 10:16:36 +02:00
Simone Gotti c441bae091
Merge pull request #17 from sgotti/abort_async_fetch_component_destroy
*: abort async fetch on component destroy
2019-09-20 10:53:57 +02:00
Simone Gotti 32bd112516 *: abort async fetch on component destroy
* Use AbortController to signal fetch to stop when component is destroyed
* Remove polling and just schedule a new fetch at the end of the current one
when not aborted.
2019-09-20 10:46:26 +02:00
Simone Gotti c6ab1ae54e
Merge pull request #16 from sgotti/step_show_command_shell_exitstatus
step: show command, shell and exit status on run steps
2019-09-20 10:19:19 +02:00
Simone Gotti 6916bcd497 step: show command, shell and exit status on run steps 2019-09-17 22:26:37 +02:00
Simone Gotti 07cc065174
Merge pull request #15 from sgotti/projects_add_loading
projects: add loading indicators
2019-09-05 11:05:25 +02:00
Simone Gotti 89798ae4b1 projects: add loading indicators 2019-09-05 09:59:12 +02:00
Simone Gotti 43640ec9a0
Merge pull request #14 from sgotti/tasks_skipped_color
tasks: show skipped tasks with dedicated color
2019-09-03 11:22:22 +02:00
Simone Gotti 8b0a3ea271 tasks: show skipped tasks with dedicated color 2019-09-03 10:21:45 +02:00
Simone Gotti ee60775243
Merge pull request #13 from sgotti/agola_run_fix_agola_image_name
agola run: fix agola-web image name
2019-08-29 16:39:13 +02:00
Simone Gotti dfe9e974cf agola run: fix agola-web image name 2019-08-29 16:33:54 +02:00
Simone Gotti f3e4306fa5
Merge pull request #12 from sgotti/tasksgraph_fix_parent_row
tasksgraphs: fix parent task row
2019-08-29 14:26:55 +02:00
Simone Gotti b2955f1704 tasksgraphs: fix parent task row
* Consider all the tasks from the current level + 1 when fetching the parents
tasks

* Exclude the child level when computing the parent row needed to create an edge
that don't overlaps with the tasks of greater level.
2019-08-29 12:08:42 +02:00
Simone Gotti 5af7f6169d
Merge pull request #11 from sgotti/runsummary_implement_tasks_graph
runsummary: tasks graph implementation
2019-08-22 11:33:27 +02:00
Simone Gotti 8e9d52b8e2 runsummary: tasks graph implementation
Add a tasks graph display in addition to the list display. A button will let the
user choose between the two display formats (defaulting to the tasks graph).

Since the graph is a DAG with many edges it's quite difficult to organize the
tasks and the edges without any overlap.

The current implementation uses a simpler approach where tasks are distributed
horizontally by their level and tasks at the same level are distributed in a way
that there's always space for an edge also if the child is some levels below.
In this way edges may overlap and in this case they will appear as a single
edge.

The user, when hovering over a task, will see the connections with the other
tasks since the related edges becomes bolder.
2019-08-21 13:30:05 +02:00
Simone Gotti f244ce02c8 rundetail: make cursor pointer in dropdown entries
since the anchor doesn't have an href it won't show as a pointer
2019-07-14 14:59:41 +02:00
Simone Gotti eb2453d46f use v-click-outside-x instead of v-click-outside
looks like v-click-outside doesn't work on mobile (tested with chrome and
firefox on android) since the dropdown menu is closed also when clicking a menu
entry.
2019-07-14 14:59:41 +02:00
Simone Gotti 3ffd81cc56 README: add initial description and run status badge 2019-07-14 14:59:41 +02:00
Simone Gotti 0f7c526b74 ci: add build docker image tasks
Always build a docker image to test if build works. When on a tag also publish
the image.
2019-07-14 14:59:41 +02:00
Simone Gotti bddb9e8d45 npm: update dependencies 2019-07-13 00:22:56 +02:00
Simone Gotti 9187efc9c9 user/project: show run/task tabelement only when loaded 2019-07-13 00:22:56 +02:00
Simone Gotti 3ff8a1350b runs: add loading spinner 2019-07-13 00:22:56 +02:00
Simone Gotti 1e3f9cd1d6 update favicon 2019-07-13 00:22:56 +02:00
Simone Gotti 4baabd6365 settings: show secrets 2019-07-13 00:22:55 +02:00
Simone Gotti 239f7ee516 vars: update displaying
Change some columns sizes
Show also tags/refs
2019-07-13 00:22:55 +02:00
Simone Gotti 42f7ce7eaa rundetail: rework item presentation
* Add duration and finish time
* Move type (branch/tag/PR) to the left
2019-07-13 00:22:54 +02:00
Simone Gotti aad3358498 user: load run on component creation 2019-07-13 00:21:53 +02:00
Simone Gotti c3950fbdd6 project: don't change "Runs" tab element on hover 2019-07-13 00:21:53 +02:00
Simone Gotti 5f86a7a776 runs: rework runs list item presentation
* Add duration and finish time
* Move type (branch/tag/PR) to the left
* Move commit message below run name
* Add run number
2019-07-13 00:21:52 +02:00
Simone Gotti 4c1e416a87 index: disable responsive viewport
We currently (due to no time) ignored ui responsiveness so just use a fixed
viewport until the ui is fully responsive.
2019-07-05 16:28:39 +02:00
Simone Gotti 83755c8a78 runs: show all branches/tags/PRs runs, not only last run
Do like "All runs" just filtered by branches/tags/PRs.

In future reintroduce a way to show only last N runs per type and additional
filtering
2019-07-05 16:20:18 +02:00
Simone Gotti 7c80b875f8 register/login: show only remotesources with register/login enabled 2019-07-05 13:49:16 +02:00
Simone Gotti 43e860d3c5 auth/data: avoid setting global errors when receiving a 401
If we do a router.push to the login view the previous component will receive
anyway the error and set the global error after the login view is mounted (!!!)
and so the main app will show the global error instead of the login view.

Not sure how to avoid this. As a really ugly workaround just return an empty
response on 401 so the components (since they are currently assumong the
response is always define) will throw an exception and not set the global error.
2019-07-05 13:41:43 +02:00
Simone Gotti fbed07059e *: rename user local run to user direct run 2019-06-11 12:06:06 +02:00
Simone Gotti 932e2346dd runs: use ref_type in place of event_type 2019-06-10 17:48:58 +02:00
Simone Gotti ae520b1d0c register: remove unneeded div 2019-06-07 11:06:44 +02:00
Simone Gotti 0680d9a9f9 log: make logs don't wrap and add overflow auto 2019-06-06 16:13:51 +02:00
Simone Gotti 6996917ff2 run/task: show live timer 2019-05-27 10:38:05 +02:00
Simone Gotti bcc00a3543 runs: use local error alert and not global alert
In this way it'll continuw polling the backend and restore when the error
condition ends.
2019-05-23 23:37:52 +02:00
Simone Gotti a5bd93ead4 fetch: return exception message
instead of returning the exception object
2019-05-23 23:37:11 +02:00
Simone Gotti 806bb45260 update dependencies 2019-05-23 16:22:17 +02:00