+
+
+
+
{header}
+
toggleSearch()}
+ className=" flex items-center justify-center bg-white cursor-pointer"
+ >
+
+
+
+ {showSearch && (
+
- :
- header
- }
+ )}
- { !showSearch &&
-
setShowSearch(!showSearch)}
- className="border rounded flex items-center justify-center bg-white cursor-pointer"
- style={{ height: '32px', width: '32px' }}
- >
-
-
- }
)
}
diff --git a/frontend/app/components/Session_/EventsBlock/EventsBlock.js b/frontend/app/components/Session_/EventsBlock/EventsBlock.js
index 8e82ecdd6..9fdc6a4f8 100644
--- a/frontend/app/components/Session_/EventsBlock/EventsBlock.js
+++ b/frontend/app/components/Session_/EventsBlock/EventsBlock.js
@@ -190,20 +190,20 @@ export default class EventsBlock extends React.PureComponent {
return (
<>
-
+
{ `User Events (${ events.size })` }
+
User Events { events.size }
}
/>
({
metadata: state.getIn([ 'sessions', 'current', 'metadata' ]),
}))(function Metadata ({ metadata }) {
- const [ visible, setVisible ] = useState(false);
+ metadata = {
+ test: 'a',
+ dealership: 'very test wow',
+ "bklajsdlkas-123": 123123,
+ test: 'a',
+ dealership: 'very test wow',
+ "bklajsdlkas-123": 123123,
+ test: 'a',
+ dealership: 'very test wow',
+ "bklajsdlkas-123": 123123,
+ test: 'a',
+ dealership: 'very test wow',
+ "bklajsdlkas-123": 123123,
+ test: 'a',
+ dealership: 'very test wow',
+ "bklajsdlkas-123": 123123,
+ test: 'a',
+ dealership: 'very test wow',
+ "bklajsdlkas-123": 123123,
+ }
+
const metaLenth = Object.keys(metadata).length;
- const toggle = useCallback(() => metaLenth > 0 && setVisible(v => !v), []);
-
+
+ if (metaLenth === 0) {
+ return (
+ (
Check how to use Metadata if you haven’t yet done so.)
+ )
+ }
return (
- <>
-
- Check how to use Metadata if you haven’t yet done so.
-
- }
- on="click"
- disabled={metaLenth > 0}
- size="tiny"
- inverted
- position="top center"
- >
-
-
- { visible &&
-
-
- { Object.keys(metadata).map((key) => {
- // const key = Object.keys(i)[0]
- const value = metadata[key]
- return
- }) }
-
-
- }
- >
+
+ { Object.keys(metadata).map((key) => {
+ // const key = Object.keys(i)[0]
+ const value = metadata[key]
+ return
+ }) }
+
);
});
diff --git a/frontend/app/components/Session_/EventsBlock/eventsBlock.module.css b/frontend/app/components/Session_/EventsBlock/eventsBlock.module.css
index f88cad313..d0243c967 100644
--- a/frontend/app/components/Session_/EventsBlock/eventsBlock.module.css
+++ b/frontend/app/components/Session_/EventsBlock/eventsBlock.module.css
@@ -1,15 +1,11 @@
.eventsBlock {
width: 270px;
- /* padding: 0 10px; */
margin-bottom: 5px;
}
.header {
- /* height: 40px; */
- /* margin-bottom: 15px; */
padding-left: 2px;
- /* padding-right: 0px; */
-
+
& .hAndProgress {
display:flex;
justify-content: space-between;
@@ -23,7 +19,7 @@
background: #ffcc99;
}
& :global(.progress) {
- font-size: 9px;
+ font-size: 9px;
}
}
}
@@ -70,5 +66,3 @@
color: $gray-medium;
justify-content: space-between;
}
-
-
diff --git a/frontend/app/components/Session_/Player/Player.js b/frontend/app/components/Session_/Player/Player.js
index 8d2665645..f4f894b95 100644
--- a/frontend/app/components/Session_/Player/Player.js
+++ b/frontend/app/components/Session_/Player/Player.js
@@ -59,9 +59,9 @@ export default class Player extends React.PureComponent {
{!live && !fullscreen &&
}
({
fullscreen: state.getIn([ 'components', 'player', 'fullscreen' ]),
bottomBlock: state.getIn([ 'components', 'player', 'bottomBlock' ]),
+ sessionId: state.getIn([ 'sessions', 'current', 'sessionId' ]),
+ disabled: state.getIn([ 'components', 'targetDefiner', 'inspectorMode' ]),
}))
export default class PlayerBlock extends React.PureComponent {
componentDidUpdate(prevProps) {
- if ([ prevProps.bottomBlock, this.props.bottomBlock ].includes(NONE) ||
+ if ([ prevProps.bottomBlock, this.props.bottomBlock ].includes(NONE) ||
prevProps.fullscreen !== this.props.fullscreen) {
scalePlayerScreen();
}
}
render() {
- const { fullscreen, bottomBlock } = this.props;
+ const { fullscreen, bottomBlock, sessionId, disabled } = this.props;
return (
+
}
- { bottomBlock === STACKEVENTS &&
+ { bottomBlock === STACKEVENTS &&
}
{ bottomBlock === STORAGE &&
@@ -72,10 +78,10 @@ export default class PlayerBlock extends React.PureComponent {
{ bottomBlock === PERFORMANCE &&
}
- { bottomBlock === GRAPHQL &&
+ { bottomBlock === GRAPHQL &&
}
- { bottomBlock === FETCH &&
+ { bottomBlock === FETCH &&
}
{ bottomBlock === EXCEPTIONS &&
diff --git a/frontend/app/components/Session_/PlayerBlockHeader.js b/frontend/app/components/Session_/PlayerBlockHeader.js
index eb656d50a..b84395a9a 100644
--- a/frontend/app/components/Session_/PlayerBlockHeader.js
+++ b/frontend/app/components/Session_/PlayerBlockHeader.js
@@ -124,33 +124,8 @@ export default class PlayerBlockHeader extends React.PureComponent {
-
{ isAssist &&
}
- { !isAssist && (
- <>
-
-
-
-
-
- }
- />
- >
- )}
- {/* { !isAssist && jiraConfig && jiraConfig.token &&
} */}
- {
}
+ { !isAssist && jiraConfig && jiraConfig.token &&
}