Skip to content
Draft
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

This file was deleted.

201 changes: 0 additions & 201 deletions app/src/components/Home/components/ApiClientCard/index.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions app/src/components/Home/components/ApiClientCard/types.ts

This file was deleted.

22 changes: 0 additions & 22 deletions app/src/components/Home/components/ApiClientCard/utils.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions app/src/components/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import UserAvatar from "../../assets/images/illustrations/avatar.svg?react";
import { APIMockingCard } from "./components/APIMockingCard";
import { RulesCard } from "./components/RulesCard";
import { HomeScreenProvider } from "./contexts";
import ApiClientCard from "./components/ApiClientCard";
import "./home.scss";

export const Home: React.FC = () => {
Expand All @@ -25,7 +24,6 @@ export const Home: React.FC = () => {
</Row>
<Row className="homepage-primary-cards-wrapper">
<RulesCard />
<ApiClientCard />
<APIMockingCard />
</Row>
</Col>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import React, { useState } from "react";
import { Row, Layout, Col, Tooltip, Dropdown, Menu, Button } from "antd";
import { ExperimentOutlined, LockOutlined, UnlockOutlined } from "@ant-design/icons";
import { LockOutlined, UnlockOutlined } from "@ant-design/icons";
import { RQBreadcrumb, RQButton } from "lib/design-system-v2/components";
import { MockType } from "components/features/mocksV2/types";
import "./index.css";
import { trackMockEditorClosed, trackMockPasswordGenerateClicked } from "modules/analytics/events/features/mocksV2";
import { isFeatureCompatible } from "utils/CompatibilityUtils";
import FEATURES from "config/constants/sub/features";
import { useLocation } from "react-router-dom";
import PasswordPopup from "./PasswordPopup/PasswordPopup";
import { Conditional } from "components/common/Conditional";
Expand All @@ -20,7 +18,6 @@ interface HeaderProps {
savingInProgress: boolean;
handleClose: Function;
handleSave: () => void;
handleTest: () => void;
setPassword: (password: string) => void;
password: string;
isEditorReadOnly: boolean;
Expand All @@ -32,7 +29,6 @@ export const MockEditorHeader: React.FC<HeaderProps> = ({
savingInProgress,
handleClose,
handleSave,
handleTest,
setPassword,
password,
isEditorReadOnly,
Expand Down Expand Up @@ -116,15 +112,6 @@ export const MockEditorHeader: React.FC<HeaderProps> = ({
</div>
</Conditional>

{!isNewMock && isFeatureCompatible(FEATURES.API_CLIENT) && (
<RQButton
icon={<ExperimentOutlined />}
onClick={handleTest}
type={isEditorReadOnly ? "primary" : "secondary"}
>
Test
</RQButton>
)}
<RQButton
type="secondary"
onClick={() => {
Expand Down
Loading