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
Simone Gotti
972da7d7d3
user: move user settings to navbar user dropdown
2019-05-23 14:09:08 +02:00
Simone Gotti
05b338c9bc
add agola build config
2019-05-22 17:09:57 +02:00
Simone Gotti
453299f5c7
task: add missing properties to rundetails
2019-05-21 18:11:02 +02:00
Simone Gotti
fd24f02780
run: unify run status and classes logic
2019-05-21 18:05:34 +02:00
Simone Gotti
26d5247846
createproject: improve remote repos selection
...
Use a select to choose the remote source and fetch remote repos only for that
remote source
2019-05-21 17:43:15 +02:00
Simone Gotti
5b13083861
*: move settings to dropdown menu
...
and show them in the tab bar only when active
2019-05-21 14:55:43 +02:00
Simone Gotti
2891b62b6c
*: move to tailwind css
...
I really like it!
TODO: Extract more components
2019-05-21 12:13:21 +02:00
Simone Gotti
e47c3b977c
register: move api to data/auth.js and handle errors
2019-05-21 11:06:38 +02:00
Simone Gotti
6d0899681c
projectsettings: add update project repo linked account
2019-05-19 17:34:53 +02:00
Simone Gotti
449096c0a3
logs: handle line feed and always use streaming
...
remove the use of http server sent events, just use the streaming api
handle line feeds by rewriting the current line. This isn't perfect since it
won't handle subtle cases where the colors are change between lines but will
work in all standard cases
Now commands that writes a progess will work correctly without adding a new line
every time and users will see the progress in realtime.
2019-05-19 14:17:12 +02:00
Simone Gotti
da8e3b9b5c
up log stream
2019-05-18 14:13:16 +02:00
Simone Gotti
5aa383f23a
usersettings: add new linked account setup
2019-05-17 23:45:20 +02:00
Simone Gotti
4862c6103e
update runs.vue to be consistent with other components for user runs
...
Don't use the "username" property but just the ownername when projectref is
undefined like all the other components already do.
2019-05-17 17:28:11 +02:00
Simone Gotti
a3918d9672
rundetail: show new restarted run
2019-05-17 17:22:11 +02:00
Simone Gotti
3232d6db45
*: add click away detection for dropdowns
2019-05-17 17:00:46 +02:00
Simone Gotti
e25510e026
auth: update api auth endpoints
2019-05-16 10:04:33 +02:00
Simone Gotti
969cdb5182
createproject: keep only remote source with related linked account
2019-05-16 00:35:11 +02:00
Simone Gotti
f85243acfe
rundetail: handle api errors
2019-05-15 14:59:52 +02:00
Simone Gotti
336869fe73
rundetail: set run phase to cancelled on cancelRun call
2019-05-15 14:55:00 +02:00