Use new device event layout in Web UI#25355
Conversation
|
Ideally this lands after #25353 and https://github.com/gravitational/teleport.e/pull/1250, although there's little harm if it lands first. I'll be careful on merges and backports. |
194b6fa to
3b63c8f
Compare
|
I've reintroduced tests cases for old events and added a degree of backwards-compatibility to the code, so the Web UI behaves reasonably while "mixed" event formats exist. I didn't try to handle both formats of the "user" field as it won't break the UI or print the wrong success/failure message, but old events will print the user as "[object Object]" in the transition. I also retract myself, this should definitely land before we write new events, otherwise the UI breaks due to the lack of the "status" field. |
|
@codingllama See the table below for backport results.
|
* Use new device event layout in Web UI * Maintain compatibility with legacy/v12 events * Update snapshots
* Use new device event layout in Web UI * Maintain compatibility with legacy/v12 events * Update snapshots
Use the new device event layout, introduced by #25353, in the Web UI.
#25288