Skip to content

Commit

Permalink
build file fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
otabek-memphis committed Dec 31, 2023
1 parent dc89360 commit 4afbd61
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 47 deletions.
11 changes: 11 additions & 0 deletions ui_src/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"compilerOptions": {
"baseUrl": "src"
},
"include": [
"src"
],
"exclude": [
"node_modules"
]
}
84 changes: 42 additions & 42 deletions ui_src/src/components/sideBar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import PersonOutlinedIcon from '@material-ui/icons/PersonOutlined';
import { BsFillChatSquareTextFill } from 'react-icons/bs';
import { useHistory } from 'react-router-dom';
import { Divider, Popover } from 'antd';
import CloudMoadl from '../cloudModal';
import CloudMoadl from 'components/cloudModal';
import {
LOCAL_STORAGE_ACCOUNT_NAME,
LOCAL_STORAGE_AVATAR_ID,
Expand All @@ -28,50 +28,50 @@ import {
LOCAL_STORAGE_USER_NAME,
LOCAL_STORAGE_SKIP_GET_STARTED,
USER_IMAGE
} from '../../const/localStorageConsts';
import { ReactComponent as IntegrationColorIcon } from '../../assets/images/integrationIconColor.svg';
import { ReactComponent as OverviewActiveIcon } from '../../assets/images/overviewIconActive.svg';
import { ReactComponent as StationsActiveIcon } from '../../assets/images/stationsIconActive.svg';
import { compareVersions, isCloud, showUpgradePlan } from '../../services/valueConvertor';
import { ReactComponent as FunctionsActiveIcon } from '../../assets/images/functionsIconActive.svg';
import { ReactComponent as SchemaActiveIcon } from '../../assets/images/schemaIconActive.svg';
import { ReactComponent as IntegrationIcon } from '../../assets/images/integrationIcon.svg';
} from 'const/localStorageConsts';
import { ReactComponent as IntegrationColorIcon } from 'assets/images/integrationIconColor.svg';
import { ReactComponent as OverviewActiveIcon } from 'assets/images/overviewIconActive.svg';
import { ReactComponent as StationsActiveIcon } from 'assets/images/stationsIconActive.svg';
import { compareVersions, isCloud, showUpgradePlan } from 'services/valueConvertor';
import { ReactComponent as FunctionsActiveIcon } from 'assets/images/functionsIconActive.svg';
import { ReactComponent as SchemaActiveIcon } from 'assets/images/schemaIconActive.svg';
import { ReactComponent as IntegrationIcon } from 'assets/images/integrationIcon.svg';
import { HiUsers } from 'react-icons/hi';
import { ReactComponent as FunctionsIcon } from '../../assets/images/functionsIcon.svg';
import { ReactComponent as OverviewIcon } from '../../assets/images/overviewIcon.svg';
import { ReactComponent as StationsIcon } from '../../assets/images/stationsIcon.svg';
import { ReactComponent as SupportIcon } from '../../assets/images/supportIcon.svg';
import { ReactComponent as SupportColorIcon } from '../../assets/images/supportColorIcon.svg';
import { ReactComponent as NewStationIcon } from '../../assets/images/newStationIcon.svg';
import { ReactComponent as NewSchemaIcon } from '../../assets/images/newSchemaIcon.svg';
import { ReactComponent as NewUserIcon } from '../../assets/images/newUserIcon.svg';
import { ReactComponent as NewIntegrationIcon } from '../../assets/images/newIntegrationIcon.svg';
import { ReactComponent as FunctionsIcon } from 'assets/images/functionsIcon.svg';
import { ReactComponent as OverviewIcon } from 'assets/images/overviewIcon.svg';
import { ReactComponent as StationsIcon } from 'assets/images/stationsIcon.svg';
import { ReactComponent as SupportIcon } from 'assets/images/supportIcon.svg';
import { ReactComponent as SupportColorIcon } from 'assets/images/supportColorIcon.svg';
import { ReactComponent as NewStationIcon } from 'assets/images/newStationIcon.svg';
import { ReactComponent as NewSchemaIcon } from 'assets/images/newSchemaIcon.svg';
import { ReactComponent as NewUserIcon } from 'assets/images/newUserIcon.svg';
import { ReactComponent as NewIntegrationIcon } from 'assets/images/newIntegrationIcon.svg';
import { BsHouseHeartFill } from 'react-icons/bs';
import { ReactComponent as EditIcon } from '../../assets/images/editIcon.svg';
import { ReactComponent as QuickActionBtn } from '../../assets/images/quickActionBtn.svg';
import { ReactComponent as AddUserIcon } from '../../assets/images/addUserIcon.svg';
import { GithubRequest } from '../../services/githubRequests';
import { ReactComponent as LogsActiveIcon } from '../../assets/images/logsActive.svg';
import { ReactComponent as SchemaIcon } from '../../assets/images/schemaIcon.svg';
import { LATEST_RELEASE_URL } from '../../config';
import { ReactComponent as LogsIcon } from '../../assets/images/logsIcon.svg';
import { ReactComponent as EditIcon } from 'assets/images/editIcon.svg';
import { ReactComponent as QuickActionBtn } from 'assets/images/quickActionBtn.svg';
import { ReactComponent as AddUserIcon } from 'assets/images/addUserIcon.svg';
import { GithubRequest } from 'services/githubRequests';
import { ReactComponent as LogsActiveIcon } from 'assets/images/logsActive.svg';
import { ReactComponent as SchemaIcon } from 'assets/images/schemaIcon.svg';
import { LATEST_RELEASE_URL } from 'config';
import { ReactComponent as LogsIcon } from 'assets/images/logsIcon.svg';
import { FaArrowCircleUp } from 'react-icons/fa';
import { ApiEndpoints } from '../../const/apiEndpoints';
import { httpRequest } from '../../services/http';
import Logo from '../../assets/images/logo.svg';
import AuthService from '../../services/auth';
import { sendTrace, useGetAllowedActions } from '../../services/genericServices';
import { Context } from '../../hooks/store';
import pathDomains from '../../router';
import { ApiEndpoints } from 'const/apiEndpoints';
import { httpRequest } from 'services/http';
import Logo from 'assets/images/logo.svg';
import AuthService from 'services/auth';
import { sendTrace, useGetAllowedActions } from 'services/genericServices';
import { Context } from 'hooks/store';
import pathDomains from 'router';
import Spinner from '../spinner';
import Support from './support';
import LearnMore from '../learnMore';
import GetStarted from '../getStartedModal';
import Modal from '../modal';
import CreateStationForm from '../createStationForm';
import { ReactComponent as StationIcon } from '../../assets/images/stationIcon.svg';
import CreateUserDetails from '../../domain/users/createUserDetails';
import UpgradePlans from '../upgradePlans';
import LearnMore from 'components/learnMore';
import GetStarted from 'components/getStartedModal';
import Modal from 'components/modal';
import CreateStationForm from 'components/createStationForm';
import { ReactComponent as StationIcon } from 'assets/images/stationIcon.svg';
import CreateUserDetails from 'domain/users/createUserDetails';
import UpgradePlans from 'components/upgradePlans';
import { FaBook, FaDiscord } from 'react-icons/fa';
import { BiEnvelope } from 'react-icons/bi';

Expand Down Expand Up @@ -111,7 +111,7 @@ function SideBar() {
const createStationRef = useRef(null);
const createUserRef = useRef(null);

const [avatarUrl, SetAvatarUrl] = useState(require('../../assets/images/bots/avatar1.svg'));
const [avatarUrl, SetAvatarUrl] = useState(require('assets/images/bots/avatar1.svg'));
const [popoverOpenSetting, setPopoverOpenSetting] = useState(false);
const [popoverOpenSupport, setPopoverOpenSupport] = useState(false);
const [popoverOpenSupportContextMenu, setPopoverOpenSupportContextMenu] = useState(false);
Expand Down Expand Up @@ -165,7 +165,7 @@ function SideBar() {
}, [state]);

const setAvatarImage = (avatarId) => {
SetAvatarUrl(require(`../../assets/images/bots/avatar${avatarId}.svg`));
SetAvatarUrl(require(`assets/images/bots/avatar${avatarId}.svg`));
};

const handleLogout = async () => {
Expand Down
4 changes: 2 additions & 2 deletions ui_static_files/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "/static/css/main.b1a44769.css",
"main.js": "/static/js/main.bd5f63fb.js",
"main.js": "/static/js/main.7f3a8def.js",
"static/js/617.6e5492a2.chunk.js": "/static/js/617.6e5492a2.chunk.js",
"static/js/2542.a7fbaad7.chunk.js": "/static/js/2542.a7fbaad7.chunk.js",
"static/js/1737.b5df2c4d.chunk.js": "/static/js/1737.b5df2c4d.chunk.js",
Expand Down Expand Up @@ -317,6 +317,6 @@
},
"entrypoints": [
"static/css/main.b1a44769.css",
"static/js/main.bd5f63fb.js"
"static/js/main.7f3a8def.js"
]
}
2 changes: 1 addition & 1 deletion ui_static_files/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Memphis.dev console is designed to simplify your work and give you a graphical user interface for controlling your stations, security, integrations, and observing your data and other vital metrics"/><link rel="manifest" href="/manifest.json"/><title>Memphis.dev Console</title><link rel="apple-touch-icon" sizes="57x57" href="/img/favicon/apple-icon-57x57.png"><link rel="apple-touch-icon" sizes="60x60" href="/img/favicon/apple-icon-60x60.png"><link rel="apple-touch-icon" sizes="72x72" href="/img/favicon/apple-icon-72x72.png"><link rel="apple-touch-icon" sizes="76x76" href="/img/favicon/apple-icon-76x76.png"><link rel="apple-touch-icon" sizes="114x114" href="/img/favicon/apple-icon-114x114.png"><link rel="apple-touch-icon" sizes="120x120" href="/img/favicon/apple-icon-120x120.png"><link rel="apple-touch-icon" sizes="144x144" href="/img/favicon/apple-icon-144x144.png"><link rel="apple-touch-icon" sizes="152x152" href="/img/favicon/apple-icon-152x152.png"><link rel="apple-touch-icon" sizes="180x180" href="/img/favicon/apple-icon-180x180.png"><link rel="icon" type="image/png" sizes="192x192" href="/img/favicon/android-icon-192x192.png"><link rel="icon" type="image/png" sizes="32x32" href="/img/favicon/favicon-32x32.png"><link rel="icon" type="image/png" sizes="96x96" href="/img/favicon/favicon-96x96.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/favicon/favicon-16x16.png"><meta name="msapplication-TileColor" content="#ffffff"><meta name="msapplication-TileImage" content="/img/favicon/ms-icon-144x144.png"><meta name="theme-color" content="#ffffff"><script defer="defer" src="/static/js/main.bd5f63fb.js"></script><link href="/static/css/main.b1a44769.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Memphis.dev console is designed to simplify your work and give you a graphical user interface for controlling your stations, security, integrations, and observing your data and other vital metrics"/><link rel="manifest" href="/manifest.json"/><title>Memphis.dev Console</title><link rel="apple-touch-icon" sizes="57x57" href="/img/favicon/apple-icon-57x57.png"><link rel="apple-touch-icon" sizes="60x60" href="/img/favicon/apple-icon-60x60.png"><link rel="apple-touch-icon" sizes="72x72" href="/img/favicon/apple-icon-72x72.png"><link rel="apple-touch-icon" sizes="76x76" href="/img/favicon/apple-icon-76x76.png"><link rel="apple-touch-icon" sizes="114x114" href="/img/favicon/apple-icon-114x114.png"><link rel="apple-touch-icon" sizes="120x120" href="/img/favicon/apple-icon-120x120.png"><link rel="apple-touch-icon" sizes="144x144" href="/img/favicon/apple-icon-144x144.png"><link rel="apple-touch-icon" sizes="152x152" href="/img/favicon/apple-icon-152x152.png"><link rel="apple-touch-icon" sizes="180x180" href="/img/favicon/apple-icon-180x180.png"><link rel="icon" type="image/png" sizes="192x192" href="/img/favicon/android-icon-192x192.png"><link rel="icon" type="image/png" sizes="32x32" href="/img/favicon/favicon-32x32.png"><link rel="icon" type="image/png" sizes="96x96" href="/img/favicon/favicon-96x96.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/favicon/favicon-16x16.png"><meta name="msapplication-TileColor" content="#ffffff"><meta name="msapplication-TileImage" content="/img/favicon/ms-icon-144x144.png"><meta name="theme-color" content="#ffffff"><script defer="defer" src="/static/js/main.7f3a8def.js"></script><link href="/static/css/main.b1a44769.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

Large diffs are not rendered by default.

0 comments on commit 4afbd61

Please sign in to comment.