From 21713dfe53f91a4ce1669c6d884bba353b8fa872 Mon Sep 17 00:00:00 2001 From: sylenien Date: Fri, 8 Jul 2022 10:14:23 +0200 Subject: [PATCH] fix(ui): fix revId position, fix issue icons on timeline --- .../Session_/EventsBlock/UserCard/UserCard.js | 8 ++--- .../Session_/Player/Controls/Timeline.js | 30 +++++++++++-------- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/frontend/app/components/Session_/EventsBlock/UserCard/UserCard.js b/frontend/app/components/Session_/EventsBlock/UserCard/UserCard.js index e663be9cc..9045491ac 100644 --- a/frontend/app/components/Session_/EventsBlock/UserCard/UserCard.js +++ b/frontend/app/components/Session_/EventsBlock/UserCard/UserCard.js @@ -87,7 +87,8 @@ function UserCard({ } label={countries[userCountry]} value={{formatTimeOrDate(startedAt)} } /> - + + {revId && } )} position="bottom center" @@ -104,11 +105,6 @@ function UserCard({ - {revId && ( -
- Rev ID: {revId} -
- )} User Sessions } diff --git a/frontend/app/components/Session_/Player/Controls/Timeline.js b/frontend/app/components/Session_/Player/Controls/Timeline.js index 6d75bfec6..01b6d8351 100644 --- a/frontend/app/components/Session_/Player/Controls/Timeline.js +++ b/frontend/app/components/Session_/Player/Controls/Timeline.js @@ -310,19 +310,22 @@ export default class Timeline extends React.PureComponent {
- - { "Failed Fetch" } + Failed Fetch
{ e.name }
} - /> + > + + )) } @@ -332,19 +335,22 @@ export default class Timeline extends React.PureComponent {
- - { "Stack Event" } + Stack Event
{ e.name }
} - /> + > + + )) }