kibana/x-pack/plugins/observability/public/pages
Andrew Goldstein 4d92dafa9e
[Observability RAC] Alerts table post-EuiDataGrid style updates (#106349)
## [Observability RAC] Alerts table post-`EuiDataGrid` style updates

This PR updates styles in the Observability `Alerts` table, as a follow-up to the [TGrid migrating to use `EuiDataGrid` for rendering](https://github.com/elastic/kibana/pull/106199), and [this PR](https://github.com/elastic/kibana/pull/105446), which improved the alerts table columns.

- The `Reason` column uses up the remaining width, a follow-up task from https://github.com/elastic/kibana/pull/105446
  - This task was originally tracked by https://github.com/elastic/kibana/issues/105227
- Increased the font weight and vertically aligned the `Actions` header with the other columns
- ~Removed the `Status` column~ (EDIT: we won't remove this, per a discussion w/ UX)
- Increased the width of the `Triggered` column
- ~Renamed the `Duration` column to `Alert duration`~ (EDIT: we won't rename this, per a discussion w/ UX)
- Eliminated the gap between actions
- Added truncation to the `Reason` column

### Before

![before](https://user-images.githubusercontent.com/4459398/126430458-89440150-c10b-43b1-b0b4-2044ddfc22a8.png)

### After

<img width="1280" alt="after" src="https://user-images.githubusercontent.com/4459398/126716690-be310fdf-3760-4014-998b-3c89099c2564.png">

### Desk testing

- To desk test the `Observability > Alerts` page, add the following settings to `config/kibana.dev.yml`:

```
xpack.observability.unsafe.cases.enabled: true
xpack.observability.unsafe.alertingExperience.enabled: true
xpack.ruleRegistry.write.enabled: true
```

cc @mdefazio
2021-07-27 14:41:19 -06:00
..
alerts [Observability RAC] Alerts table post-EuiDataGrid style updates (#106349) 2021-07-27 14:41:19 -06:00
cases Observability side navigation for cases and alerts (#102556) 2021-06-28 11:48:32 -05:00
home [Exploratory View] Mobile experience (#99565) 2021-06-18 17:30:53 +02:00
landing Storybook EUI theme decorator (#103582) 2021-07-09 08:54:48 -05:00
overview [Observability] Obs Overview cleanup & Metrics section layout fix (#104577) 2021-07-15 11:56:53 -06:00