zuul/web/src/reducers
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
..
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 UI: Avoid empty state being shown before data is fetched 2020-11-04 09:19:07 +01:00
change.js web: refactor change page to use a reducer 2018-12-14 05:36:21 +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
index.js Use tenant-status endpoint to show the bell 2023-11-28 09:47:14 -08:00
info.js web UI: user login with OpenID Connect 2021-11-18 16:39:17 +01:00
initialState.js Set logfile isFetching initial state to true 2022-05-05 15:03:09 -07:00
job.js web: use spread operator in JOB_FETCH_SUCCESS reducer 2021-08-13 15:51:45 +10:00
jobgraph.js Add job graph support to web UI 2022-08-02 08:03:30 -07:00
jobs.js UI: remove immutability-helper dependency 2021-09-20 14:57:02 +02:00
labels.js UI: remove immutability-helper dependency 2021-09-20 14:57:02 +02:00
logfile.js PF4: Rework of log viewer page 2020-11-04 09:19:07 +01:00
nodes.js UI: remove immutability-helper dependency 2021-09-20 14:57:02 +02:00
notifications.js Support authz for read-only web access 2022-10-25 20:22:42 -07: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 web: add dark mode and theme selection 2023-04-21 11:23:56 +00:00
project.js UI: remove immutability-helper dependency 2021-09-20 14:57:02 +02:00
projects.js UI: remove immutability-helper dependency 2021-09-20 14:57:02 +02:00
semaphores.js Add semaphore support to web UI 2022-09-21 06:50:12 -07:00
status.js web: clear status when changing tenant 2019-02-02 03:49:36 +00:00
tenant.js Support authz for read-only web access 2022-10-25 20:22:42 -07: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 Consolidate js/jsx indentation 2020-11-20 09:39:31 +00:00
user.js Support authz for read-only web access 2022-10-25 20:22:42 -07:00