Commit Graph

11 Commits

Author SHA1 Message Date
Richard Cox f707d5bd01 Ensure two list views of events and certs don't get muddled with singleton isTooManyItemsToAutoUpdate flag 2025-05-29 16:48:13 +01:00
Cody Jackson 9b829c55ea Ran `yarn lint --fix` 2024-08-22 16:05:36 -07:00
Richard Cox 4c542cc1b7 Add unit test for expiring
- had hoped to check text and row state but child components are stubbed
2024-05-07 17:25:36 +01:00
Richard Cox 3519248a82 Fix `ignore-filter` 2024-05-07 17:24:54 +01:00
Richard Cox cc8f64267c Make cluster dashboard certificates list ns filter agnostic
- We don't really have a pattern for filtering lists within overview pages (outside of detail pages)
- For this one, it felt weird going to the local cluster and seeing no certificates (as we default to only show resources in user namespaces)
2024-04-17 13:39:28 +01:00
Alexandre Alves 3df4e9dd53 Reintroduce "Replace `Vue.extend` with `defineComponent` in shell"
This reverts commit 1eacbdea40.
2024-03-13 10:10:26 -07:00
Alexandre Alves 64e20bb50f
Revert "Replace `Vue.extend` with `defineComponent` in shell" (#10344) 2024-01-29 17:22:06 +00:00
Phillip Rak 610b826319 Replace `Vue.extend` with `defineComponent` in shell
Replace the usage of `Vue.extend` with `defineComponent` throughout multiple components located under `shell/components/`. `defineComponent` provides better type inference, improved TypeScript support, and will be the recommended way to define components when Dashboard migrates to Vue 3.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-01-10 09:06:46 -07:00
Richard Cox 8271abadac Fixes and improvements
- Fix loop when searching by text
- Move function to fetch certs into fetch
- Add extra safety checks when missing certInfo
- Check sans.array as well as sans for additional domains
2023-11-22 13:27:54 +00:00
Richard Cox 732798fe56 One fix, one improvement
- Show a dash for `Expires In` for expired certs
- Cache `certInfo` to avoid multiple calls. The info one's change, and for the other use will always refresh (see dataPreview)
2023-11-13 18:08:58 +00:00
Richard Cox 4e3a282b79 Add certificates view to cluster dashboard
- Add a new tab, next to events, in the cluster dashboard
- Tab shows a list of all secrets of cert type
- List allows users to see which certs are expiring soon, how long they've lived etc
- Tab also shows a notification if certs are expiring or have expired
- Related fixes
  - plumb in option list paging params (so we can show X of Y Certificates in pagination controls)
  - fix usages of from = from || now
  - Count requests to kube steve as steve requests (alongside local steve requests)
2023-11-08 11:52:23 +00:00