summaryrefslogtreecommitdiff
path: root/web/src/reducers/index.js
Commit message (Collapse)AuthorAgeFilesLines
* Add new timezone selector in web interfaceAndy Ladjadj2020-05-201-5/+7
| | | | | | | | - the default value keep UTC - the timezone is saved in cookie in zuul_timezone_string - the render format is YYYY-MM-DD HH:mm:ss Change-Id: Ib4ac2af4194ac2722c5574577661f4ddda8cc398
* Add log browsing to build pageJames E. Blair2019-07-241-0/+2
| | | | | | | | | | | | | This looks for a zuul_manifest artifact, and if it is present, it fetches it and shows a tree view of logs. Text logs are displayed in-app with some basic line anchoring. Part of the implementation of https://zuul-ci.org/docs/zuul/developer/specs/logs.html es6 added to .eslint to allow use of Promise. Change-Id: Ib04d013b4118005ba66a91d2bec0b0c429d12863
* web: add OpenAPI documentationTristan Cacqueray2019-06-121-0/+2
| | | | | | | This change adds a swagger description of the REST API. The description is rendered in the sphinx user documentations and in the web interface. Change-Id: I753524f40a09874dab5952f14ab17025525bbab9
* web: refactor build page to use a reducerTristan Cacqueray2018-12-141-0/+2
| | | | | | | | | This change updates the build page component to dispatch reducer action instead of direct axios call. This enables using the generic error reducers as well as keeping the builds in the store to avoid repeated query. Change-Id: I705514e5fa32ec2d81a5b0ca9c5ebb7d8ac6ac2a
* web: refactor nodes page to use a reducerTristan Cacqueray2018-12-141-0/+2
| | | | | | | | This change updates the nodes page to dispatch reducer action instead of direct axios call. This enables using the generic error reducers as well as keeping the nodes in the store to avoid repeated query. Change-Id: I452c2ea50ae036ba059c18a4973914d100f2a07f
* web: refactor labels page to use a reducerTristan Cacqueray2018-12-141-0/+2
| | | | | | | | This change updates the labels page to dispatch reducer action instead of direct axios call. This enables using the generic error reducers as well as keeping the tenant labels in the store to avoid repeated query. Change-Id: I6f8d63a710155b9df3abe3cdbd1271f7b3e02ac2
* web: refactor job page to use a reducerTristan Cacqueray2018-12-141-0/+2
| | | | | | | | | This change updates the project page component to dispatch reducer action instead of direct axios call. This enables using the generic error reducers as well as keeping the tenant projects in the store to avoid repeated query. Change-Id: Ib91e0f338fd87c57534a90d7168f0dab98f2df62
* web: refactor projects page to use a reducerTristan Cacqueray2018-12-141-0/+2
| | | | | | | | | This change updates the projects page to dispatch reducer action instead of direct axios call. This enables using the generic error reducers as well as keeping the jobs list in the store to avoid repeated query. Change-Id: Ie9d5694649df515388f2f5e606887451ccdcf769
* web: refactor change page to use a reducerTristan Cacqueray2018-12-141-0/+2
| | | | | | | | This change updates the change page component to dispatch reducer action instead of direct axios call. This enables using the generic error reducers. Change-Id: If5fedff89e55eddfd08ea224c0124f3b2f9255c4
* web: refactor tenants page to use a reducerTristan Cacqueray2018-12-061-0/+2
| | | | | | | | | This change updates the tenants page component to dispatch reducer action instead of direct axios call. This enables using the generic error reducers as well as keeping the tenants list in the store to avoid repeated query. Change-Id: Ie1e16ce417f4ba6785b2f9efceddd2004e2203b0
* web: refactor job page to use a reducerTristan Cacqueray2018-12-061-0/+2
| | | | | | | | | This change updates the job page component to dispatch reducer action instead of direct axios call. This enables using the generic error reducers as well as keeping the tenant jobs in the store to avoid repeated query. Change-Id: I142493c3a89379a75d97d247fbe1fcc0858e9723
* web: refactor jobs page to use a reducerTristan Cacqueray2018-12-061-0/+2
| | | | | | | | | | This change updates the jobs page component to dispatch reducer action instead of direct axios call. This enables using the generic error reducers as well as keeping the jobs list in the store to avoid repeated query. This change also refactor the Job list into a container and extends the common refresh component. Change-Id: I7f44e83d6bea8ee915c81d7ba9afd6d9a4c89d38
* web: refactor status page to use a reducerTristan Cacqueray2018-12-021-0/+2
| | | | | | | | | This change updates the status page component to use a fetchStatusAction instead of direct axios call. This enables using the generic error reducers. This change also refactors the refresh button into a parent component to enable re-use on the other pages. Change-Id: Iac8a317263f84f14f28d2ea015f918268b903407
* web: add error reducer and info toast notificationTristan Cacqueray2018-12-021-0/+2
| | | | | | | This change adds a new error reducer to manage error from API calls. The info actions retries failed info request after 5 seconds. Change-Id: Ieb2b66a2847650788d9bf68080ab208855941f24
* web: break the reducers module into logical unitsTristan Cacqueray2018-12-021-0/+27
This change applies best practices to split the current reducers module in logical unit. Each reducer and its actions are moved into different modules to ease further refactor and follow-up tests. Change-Id: I75cc41ca3d31a61046868aafbc84505de661a99d