-
{safeStrMessage}
+
+
{safeStrMessage}
{props.note.tag ? (
) : null}
-
-
By
+
+
By
{props.userEmail},{' '}
{formatTimeOrDate(props.note.createdAt as unknown as number, timezone)}
- {!props.note.isPublic ? null : (
-
- )}
+
+ {!props.note.isPublic ? null :
}
diff --git a/frontend/app/components/shared/SessionListContainer/components/Notes/NoteTags.tsx b/frontend/app/components/shared/SessionListContainer/components/Notes/NoteTags.tsx
index 4af52d3ae..26e57cc58 100644
--- a/frontend/app/components/shared/SessionListContainer/components/Notes/NoteTags.tsx
+++ b/frontend/app/components/shared/SessionListContainer/components/Notes/NoteTags.tsx
@@ -34,9 +34,9 @@ function NoteTags() {
))}
-
);
}
diff --git a/frontend/app/components/shared/SessionListContainer/components/Notes/TeamBadge.tsx b/frontend/app/components/shared/SessionListContainer/components/Notes/TeamBadge.tsx
index 19e507efa..3ddab831e 100644
--- a/frontend/app/components/shared/SessionListContainer/components/Notes/TeamBadge.tsx
+++ b/frontend/app/components/shared/SessionListContainer/components/Notes/TeamBadge.tsx
@@ -4,8 +4,8 @@ import { Icon } from 'UI'
export default function TeamBadge() {
return (
-
- Team
+
+ Team
)
}
diff --git a/frontend/app/components/shared/SessionListContainer/components/SessionHeader/SessionHeader.tsx b/frontend/app/components/shared/SessionListContainer/components/SessionHeader/SessionHeader.tsx
index 1a8c43b03..ebf0ad48b 100644
--- a/frontend/app/components/shared/SessionListContainer/components/SessionHeader/SessionHeader.tsx
+++ b/frontend/app/components/shared/SessionListContainer/components/SessionHeader/SessionHeader.tsx
@@ -13,88 +13,87 @@ import SessionSettingButton from '../SessionSettingButton';
// @ts-ignore
const Tab = ({ addBorder, onClick, children }) => (
-
- {children}
-
-)
+
+ {children}
+
+);
interface Props {
- listCount: number;
- filter: any;
- activeTab: string;
- isEnterprise: boolean;
- applyFilter: (filter: any) => void;
- setActiveTab: (tab: any) => void;
+ listCount: number;
+ filter: any;
+ activeTab: string;
+ isEnterprise: boolean;
+ applyFilter: (filter: any) => void;
+ setActiveTab: (tab: any) => void;
}
function SessionHeader(props: Props) {
- const {
- filter: { startDate, endDate, rangeValue },
- activeTab,
- isEnterprise,
- } = props;
+ const {
+ filter: { startDate, endDate, rangeValue },
+ activeTab,
+ isEnterprise,
+ } = props;
- const period = Period({ start: startDate, end: endDate, rangeName: rangeValue });
+ const period = Period({ start: startDate, end: endDate, rangeName: rangeValue });
- const onDateChange = (e: any) => {
- const dateValues = e.toJSON();
- props.applyFilter(dateValues);
- };
+ const onDateChange = (e: any) => {
+ const dateValues = e.toJSON();
+ props.applyFilter(dateValues);
+ };
- return (
-
-
-
- props.setActiveTab({ type: 'all' })}
- addBorder={activeTab === 'all'}
- >
- SESSIONS
-
- props.setActiveTab({ type: 'bookmark' })}
- addBorder={activeTab === 'bookmark'}
- >
- {`${isEnterprise ? 'VAULT' : 'BOOKMARKS'}`}
-
- props.setActiveTab({ type: 'notes' })}
- >
- NOTES
-
-
-
-
- {activeTab !== 'notes' && activeTab !== 'bookmark' ? (
-
- ) : null}
- {activeTab === 'notes' && (
-
-
-
- )}
+ return (
+
+
+
+ props.setActiveTab({ type: 'all' })} addBorder={activeTab === 'all'}>
+ SESSIONS
+
+ props.setActiveTab({ type: 'bookmark' })}
+ addBorder={activeTab === 'bookmark'}
+ >
+ {`${isEnterprise ? 'VAULT' : 'BOOKMARKS'}`}
+
+ props.setActiveTab({ type: 'notes' })}
+ >
+ NOTES
+
- );
+
+
+ {activeTab !== 'notes' && activeTab !== 'bookmark' ? (
+
+ ) : null}
+
+ {activeTab === 'notes' && (
+
+
+
+ )}
+
+ );
}
export default connect(
- (state: any) => ({
- filter: state.getIn(['search', 'instance']),
- listCount: numberWithCommas(state.getIn(['sessions', 'total'])),
- activeTab: state.getIn(['search', 'activeTab', 'type']),
- isEnterprise: state.getIn(['user', 'account', 'edition']) === 'ee',
- }),
- { applyFilter, setActiveTab }
+ (state: any) => ({
+ filter: state.getIn(['search', 'instance']),
+ listCount: numberWithCommas(state.getIn(['sessions', 'total'])),
+ activeTab: state.getIn(['search', 'activeTab', 'type']),
+ isEnterprise: state.getIn(['user', 'account', 'edition']) === 'ee',
+ }),
+ { applyFilter, setActiveTab }
)(SessionHeader);
diff --git a/frontend/app/components/shared/XRayButton/xrayButton.module.css b/frontend/app/components/shared/XRayButton/xrayButton.module.css
index c94b9c2f1..d1c7ae6d9 100644
--- a/frontend/app/components/shared/XRayButton/xrayButton.module.css
+++ b/frontend/app/components/shared/XRayButton/xrayButton.module.css
@@ -2,7 +2,7 @@
text-align: center;
padding: 4px 14px;
border: none;
- border-radius: 6px;
+ border-radius: 3px;
font-weight: 500;
&.default {
diff --git a/frontend/app/components/ui/BackLink/BackLink.js b/frontend/app/components/ui/BackLink/BackLink.js
index b44737233..a150865bb 100644
--- a/frontend/app/components/ui/BackLink/BackLink.js
+++ b/frontend/app/components/ui/BackLink/BackLink.js
@@ -12,7 +12,7 @@ export default function BackLink ({
{ label &&
{ label }
}
);
- const verticalClassName = cn(className, cls.backLink, "flex justify-center items-center pr-4 color-gray-dark", { "flex-col": vertical });
+ const verticalClassName = cn(className, cls.backLink, "flex justify-center items-center pr-2 color-gray-dark", { "flex-col": vertical });
return to ?