Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const ContentElement = (props: Props) => {
key={`${telemetryName}-${idx}`}
data-testid={`link-${telemetryName}-${idx}`}
target="_blank"
variant="small-inline"
href={getUtmExternalLink(value.href, {
medium: UTM_MEDIUMS.Recommendation,
campaign: telemetryName,
Expand All @@ -97,6 +98,7 @@ const ContentElement = (props: Props) => {
key={`${telemetryName}-${idx}`}
data-testid={`link-sso-${telemetryName}-${idx}`}
target="_blank"
variant="small-inline"
onClick={(e) => {
ssoCloudHandlerClick?.(e, {
source: telemetryName as OAuthSocialSource,
Expand All @@ -121,6 +123,7 @@ const ContentElement = (props: Props) => {
key={`${telemetryName}-${idx}`}
data-testid={`code-link-${telemetryName}-${idx}`}
target="_blank"
variant="small-inline"
href={getUtmExternalLink(value.href, {
medium: UTM_MEDIUMS.Recommendation,
campaign: telemetryName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import AssistanceChat from '../assistance-chat'
import ExpertChat from '../expert-chat'

import styles from './styles.module.scss'
import sidePanelStyles from 'uiSrc/components/side-panels/styles.module.scss'

interface ChatWithTabs {
feature: Maybe<FeatureFlagComponent>
Expand Down Expand Up @@ -89,7 +90,7 @@ const ChatsWrapper = () => {
{chats.length > 1 && (
<Tabs
tabs={tabs}
className={styles.tabs}
className={sidePanelStyles.tabs}
value={activeTab}
onChange={selectTab}
data-testid="ai-tabs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ const LiveTimeRecommendations = () => {
className={styles.githubIcon}
aria-label="redis insight github repository"
type="GithubIcon"
size="s"
size="m"
data-testid="github-repo-icon"
/>
</a>
Expand Down
25 changes: 0 additions & 25 deletions redisinsight/ui/src/components/side-panels/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,31 +119,6 @@ $animation-duration: 300ms;
border-bottom: 1px solid var(--separatorColor);
align-items: center;
padding: 0 12px;

.tab {
margin-bottom: -1px;

:global {
.euiTab__content {
display: flex;
align-items: center;
justify-content: center;
}
}

.tabTotalUnread {
display: inline-block;
background-color: var(--euiTextSubduedColor);
color: var(--euiColorLightestShade);
height: 18px;
width: 18px;
font-size: 10px;
line-height: 17px;
font-weight: 500;
margin-left: 4px;
border-radius: 100%;
}
}
}

.assistantHeader {
Expand Down
Loading