zuul/web/src/actions
James E. Blair a9688d6185 Use tenant-status endpoint to show the bell
We currently fetch all of the config errors in order to decide whether or
not to show the bell icon in the web ui (which indicates that there are
errors).  We recently added a tenant-status endpoint which returns a simple
error count instead of the entire data structure.  Use that to decide
whether to show the bell instead.

This builds on the previous change that fetches the config errors on-demand
rather than storing them in the redux store.  With that change and this
combined, we no longer need to store the errors in redux.  Instead we will
store the error count in redux so we only have to fetch it once when
switching tenants.

Change-Id: I3dfd911af9ba55dd55ca3649ee5ecf6edaa3581a
2023-11-28 09:47:14 -08:00
..
actionTypes.js UI: Add actions and reducers to retrieve components 2021-10-20 17:17:02 +02:00
adminActions.js Web UI: Add "Create Autohold Request" form, improve API error messages 2021-11-23 11:36:57 +00:00
auth.js Add support for Microsoft login 2022-02-11 13:53:37 -08:00
autoholds.js Web UI: add Autoholds, Autohold page 2021-11-18 16:41:23 +00:00
build.js Don't bail on fetchBuildAllInfo if fetchBuildManifest fails 2021-02-02 17:06:16 -08:00
build.test.js Update to create-react-app 3.4.1 2020-05-21 10:55:29 -05:00
change.js Consolidate js/jsx indentation 2020-11-20 09:39:31 +00:00
component.js UI: Add actions and reducers to retrieve components 2021-10-20 17:17:02 +02:00
freezejob.js Add freeze job to web UI 2022-08-02 08:03:31 -07:00
info.js web UI: user login with OpenID Connect 2021-11-18 16:39:17 +01:00
job.js Consolidate js/jsx indentation 2020-11-20 09:39:31 +00:00
jobgraph.js Add job graph support to web UI 2022-08-02 08:03:30 -07:00
jobs.js Update to create-react-app 3.4.1 2020-05-21 10:55:29 -05:00
labels.js Consolidate js/jsx indentation 2020-11-20 09:39:31 +00:00
logfile.js web: remove optional match on systemd regex 2020-11-19 10:19:01 +11:00
nodes.js Consolidate js/jsx indentation 2020-11-20 09:39:31 +00:00
notifications.js web UI: allow a privileged user to re-enqueue a change 2021-11-18 16:40:47 +00:00
openapi.js web: add OpenAPI documentation 2019-06-12 22:35:13 +02:00
pipelines.js Add freeze job to web UI 2022-08-02 08:03:31 -07:00
preferences.js Add user preferences dialog 2020-07-30 13:51:09 +01:00
project.js Add config metadata to identify project-templates 2023-06-07 03:24:03 +00:00
projects.js Consolidate js/jsx indentation 2020-11-20 09:39:31 +00:00
semaphores.js Add semaphore support to web UI 2022-09-21 06:50:12 -07:00
status.js Update to create-react-app 3.4.1 2020-05-21 10:55:29 -05:00
tenant.js web: refactor info and tenant reducers action 2018-12-02 05:43:25 +00:00
tenantStatus.js Use tenant-status endpoint to show the bell 2023-11-28 09:47:14 -08:00
tenants.js web: refactor tenants page to use a reducer 2018-12-06 08:06:06 +00:00
timezone.js Add new timezone selector in web interface 2020-05-20 16:54:54 -05:00
user.js Support authz for read-only web access 2022-10-25 20:22:42 -07:00