Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Name and Logo to FoxBox #11

Merged
merged 5 commits into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 1 addition & 1 deletion benchmark/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const mainConfig = (env: unknown, argv: WebpackArgv): Configuration => {
<html>
<head>
<meta charset="utf-8">
<title>Foxglove Studio Benchmark</title>
<title>FoxBox Benchmark</title>
</head>
<script>
global = globalThis;
Expand Down
4 changes: 2 additions & 2 deletions packages/studio-base/src/components/AppBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { useTranslation } from "react-i18next";
import tc from "tinycolor2";
import { makeStyles } from "tss-react/mui";

import { FoxgloveLogo } from "@foxglove/studio-base/components/FoxgloveLogo";
import { FoxBoxLogo } from "@foxglove/studio-base/components/FoxBoxLogo";
import Stack from "@foxglove/studio-base/components/Stack";
import { useAppContext } from "@foxglove/studio-base/context/AppContext";
import {
Expand Down Expand Up @@ -207,7 +207,7 @@ export function AppBar(props: AppBarProps): JSX.Element {
setAppMenuEl(event.currentTarget);
}}
>
<FoxgloveLogo fontSize="inherit" color="inherit" />
<FoxBoxLogo fontSize="inherit" color="inherit" />
<ChevronDown12Regular
className={classes.dropDownIcon}
primaryFill={theme.palette.common.white}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import OsContextSingleton from "@foxglove/studio-base/OsContextSingleton";
import CopyButton from "@foxglove/studio-base/components/CopyButton";
import { ExperimentalFeatureSettings } from "@foxglove/studio-base/components/ExperimentalFeatureSettings";
import ExtensionsSettings from "@foxglove/studio-base/components/ExtensionsSettings";
import FoxgloveLogoText from "@foxglove/studio-base/components/FoxgloveLogoText";
import FoxBoxLogoText from "@foxglove/studio-base/components/FoxBoxLogoText";
import Stack from "@foxglove/studio-base/components/Stack";
import { useAppContext } from "@foxglove/studio-base/context/AppContext";
import {
Expand Down Expand Up @@ -315,12 +315,10 @@ export function AppSettingsDialog(
>
<Stack gap={2} alignItems="flex-start">
<header>
<FoxgloveLogoText color="primary" className={classes.logo} />
<FoxBoxLogoText color="primary" className={classes.logo} />
</header>
<Stack direction="row" alignItems="center" gap={1}>
<Typography variant="body2">
Foxglove Studio version {FOXGLOVE_STUDIO_VERSION}
</Typography>
<Typography variant="body2">FoxBox version {FOXGLOVE_STUDIO_VERSION}</Typography>
<CopyButton
size="small"
getText={() => FOXGLOVE_STUDIO_VERSION?.toString() ?? ""}
Expand Down
aneuwald-ctw marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import { AutocompleteRenderOptionState } from "@mui/material/Autocomplete";
import MenuItem from "@mui/material/MenuItem";
import { FzfResultItem } from "fzf";
import { useMemo, ReactNode } from "react";
import { ReactNode, useMemo } from "react";
import { FixedSizeList, ListChildComponentProps } from "react-window";
import { makeStyles } from "tss-react/mui";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import tinycolor from "tinycolor2";
import { makeStyles } from "tss-react/mui";

import { DataSourceDialogItem } from "@foxglove/studio-base/components/DataSourceDialog/DataSourceDialog";
import FoxgloveLogoText from "@foxglove/studio-base/components/FoxgloveLogoText";
import FoxBoxLogoText from "@foxglove/studio-base/components/FoxBoxLogoText";
import Stack from "@foxglove/studio-base/components/Stack";
import TextMiddleTruncate from "@foxglove/studio-base/components/TextMiddleTruncate";
import { useAnalytics } from "@foxglove/studio-base/context/AnalyticsContext";
Expand Down Expand Up @@ -479,7 +479,7 @@ export default function Start(): JSX.Element {
return (
<Stack className={classes.grid}>
<header className={classes.header}>
<FoxgloveLogoText color="primary" className={classes.logo} />
<FoxBoxLogoText color="primary" className={classes.logo} />
</header>
<Stack className={classes.content}>
<Stack gap={4}>
Expand Down
4 changes: 2 additions & 2 deletions packages/studio-base/src/components/DocumentTitleAdapter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ export default function DocumentTitleAdapter(): JSX.Element {

useEffect(() => {
if (!playerName) {
window.document.title = "Foxglove Studio";
window.document.title = "FoxBox";
return;
}
window.document.title = navigator.userAgent.includes("Mac")
? playerName
: `${playerName} – Foxglove Studio`;
: `${playerName} – FoxBox`;
}, [playerName]);

return <></>;
Expand Down
38 changes: 38 additions & 0 deletions packages/studio-base/src/components/FoxBoxLogo.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/

import { SvgIcon, SvgIconProps } from "@mui/material";

export function FoxBoxLogo(props: SvgIconProps): JSX.Element {
return (
<SvgIcon viewBox="0 0 512 512" {...props}>
<title>FoxBox</title>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="currentColor"
width="512"
height="512"
viewBox="-10 -10 150 150"
>
<g>
<path d="m113.27,84.59l-14.83-19.82,6.36-9.35-3.24-36.39-.75-1-26.33,26.54s-5.95-.62-11.06-.69c-5.11-.07-11.34,0-11.34,0l-24.68-25.83-1.25,1.25-3.37,37.39,5.98,8.1-18.07,22.31,24.93,6.85,3.37,4.41h5.39s9,9.55,9.48,10.21,2.97.79,3.85.66,1.97-.92,3.02-1.09c1.05-.17,2.8-.09,4.64,0s3.37-1.4,4.02-2.1,4.9-5.2,5.69-6.12c.79-.92,1.36-1.44,2.45-1.47,1.09-.02,9.7,0,9.7,0l4.74-5.36,21.94-5.11,1.87-.87-2.49-2.49Zm-62.37-7.57c-.7-.45-1.79-.56-2.56-.74-.77-.18-2.94-.91-5.61-1.7-2.67-.79-4.84-3.14-6.34-4.64s-4.16-4.39-4.16-4.39c0,0,5.62.58,7.34.86.99.16,3.32.94,5.12,1.56l2.13.65.07.13c.09.03.16.06.16.06l3.51,5.76s1.05,2.89.35,2.44Zm19.26,18.34l-1.24,3.1c.06,1.37-.17,2.74-.92,3.48-.92.9-1.72,1.15-2.52,1.65s-2.2.75-3.3.8c-1.1.05-2.5.25-3.6,0-1.1-.25-2.72-1.4-3.13-2.2s-.57-1.8-.57-2.55-.41-1.58-.16-2.09l-1.22-17.8s.04-2.97.02-4.61c-.01-1.64.7-.49,1.13,0s.47.74.67,1.28.48,2.6.48,2.6l.94,15.99h0c1.4-.49,3.2-.97,4.34-1.08,2.71-.24,4.93.59,5.92,1.01.4.17-.28-.27,0,0l.51-.17.74-13.8v-4.17s1.22-2.37,2.54-2.84l-.33,5.71-.31,15.69Zm12.6-21.37l-8.67,1.89s2.31-4.91,2.69-5.55c.38-.63.66-.98,1.53-1.33.86-.35,8.15-2.24,10.23-2.46,2.08-.22-5.78,7.44-5.78,7.44Z" />
<g>
<g>
<path d="m84.77,122.5c-1.56-.02-3.14-.03-4.71-.05.79.07,1.57.17,2.37.34,1.03.11,1.56-.1,2.33-.29Z" />
<path d="m75.7,122.4c-.28,0-.57,0-.83-.01-.25.03-.5.06-.71.09.51-.03,1.04-.05,1.55-.08Z" />
<path d="m67.51,122.65c1.45.05,2.84.02,4.17-.04-1.18-.07-2.56-.07-4.17.04Z" />
<path d="m74.04,122.88c-.5-.14-.75-.29.08-.4.01,0,.02,0,.03,0-.82.04-1.63.09-2.47.13.88.06,1.68.15,2.36.27Z" />
<path d="m74.04,122.88c.49.14,1.26.27,1.52.35-.44-.13-.95-.24-1.52-.35Z" />
<path d="m71.97,126.27c-.83.11-.63-.85-2.27-.64-3.84.27-7.12.7-10.71.7-1.63.22-4.21-.85-5.85-.63-3.85.27-13.67,1.56-7.88,1.5,8.7-.14,14.38-.4,22.18-.58,6.35-.39,12.45-.84,18.94-1.19,1.82-.05,3.52.03,5.23.09-2.23-.14-4.52-.28-7.06-.44-3.34-.26-7.37.97-12.6,1.18Z" />
<path d="m119.45,123.08c-.81.11-2.46.32-2.46.32-3.65-.69-7.49-.42-11.33-.15.56.16,1.13.32,1.7.48,2.2-.06,2.45-.32.5-.53,4.47.58,8.69.67,13.02.58-.27-.26-.21-.56-1.43-.69Z" />
<path d="m123.42,123.7c-.85.03-1.7.05-2.54.08.02.03.06.05.09.08.85-.05,1.7-.09,2.54-.14l-.09-.02Z" />
<path d="m50.12,123.53c-10.9.04-21.17,0-31.19-.1-.77.19-1.31.4-2.35.29-.78-.17-1.57-.27-2.35-.34-1.41-.02-2.81-.03-4.21-.05-.48.02-.97.05-1.46.08,0,0-.03,0-.04,0-.83.11-.73.26-.3.4.5.1.98.22,1.4.35-.27-.08-1-.21-1.4-.35-.61-.12-1.28-.22-2.08-.27h-.08c-.06-1.18-.09-2.5-.03-3.88.11,1.46.11,2.69.04,3.87.03,0,.05,0,.07,0,.83-.04,1.63-.09,2.42-.13.23-.03.46-.06.7-.09l-2.94-.04.09-6.17c-.03-.77-.06-1.5-.08-2.09-.13-2.41-.26-4.81.21-6.3,0-.59.02-1.19.03-1.79-.03.11-.06.23-.09.34.03-.27.06-.49.09-.67.04-2.51.08-5.03.12-7.55-.18-1.63-.41-3.32-.54-5,0,0,.32-1.14.48-1.7-.24-.69-.4-1.66-.48-2.81-.29,1.36-.6,2.6-.8,3.76-.48,1.7.96,3.79.06,5.79.91-2-.54-4.09-.06-5.79.2-1.16.51-2.39.8-3.76-.17-2.39,0-5.47.47-7.96.41,3.09.01,5.69-.47,7.96.08,1.15.24,2.13.48,2.81-.16.56-.48,1.7-.48,1.7.14,1.69.36,3.37.54,5,.08-4.93.16-9.92.25-15.01.25-13.2.38-25.98.47-38.82.09-12.2.18-24.45.27-37.19,5.36.07,11.17.14,17.11.21,18.42.28,36.11.69,53.47,1.25,7.75.25,15.34.38,22.86.46,3.76.03,7.5.06,11.22.09,1.75.01,3.49.02,5.23.03l1.92.03c-.04,3.25-.08,6.49-.11,9.75-.06,4.59-.13,9.2-.25,13.83-.23,9.27-.62,18.67-1.29,28.32-.85,13.42-.39,38.33-.29,51.27,1.59,17.33,5.71,8.35,5.95,7.53,3.51-10.66,1.56-18.99,3.62-40.7-1.17,14.79-2.26-10.91.15-24.88,1.24-6.86,1.73-14.7,1.86-23.05.07-4.18.05-8.48-.01-12.84-.04-2.18-.07-4.38-.11-6.59-.04-4-.08-8.02-.12-12.04-6,.05-12.01.1-17.95.14-4.15,0-8.26-.05-12.27-.2-6.23-.24-12.85-.07-20.31-.14C66.04.09,53.99-.02,41.97,0c-6.01.04-12.01.08-18.04.11C15.99.18,8.03.25,0,.32c.06,8.79.13,17.67.19,26.68.04,7.07.05,14.25,0,21.59.01,10.76.9,20.22,1.39,29.28.17,6.62-.31,13.69-.3,19.08,0,4.23.09,8.17.23,11.92.08,1.88.16,3.7.24,5.5.05.9.1,1.79.14,2.67l.04.66.04,1.06c.03.7.05,1.4.08,2.1-.02-1.38-.05-2.72-.07-4.03-.03-.92-.05-1.81-.07-2.7-.05-1.77-.1-3.48-.16-5.22-.1-3.48-.21-7.08-.28-11.43-.06-5.8,1.23,4.03,1.5,7.87.21,1.64-.85,4.22-.63,5.87,0,1.79.11,3.5.25,5.25.04.45.07.9.11,1.36.04.66.08,1.32.12,1.98.07,1.29.15,2.61.22,3.98.18,1.79-.44,2.49-.61,3.37.12.04.28.05.53.03,2.08-.05,4.06-.17,5.85-.31.88-.08,1.73-.15,2.56-.23l.57-.06.4-.06c.27-.04.53-.08.79-.12,2.08-.3,3.92-.54,5.59-.41,2.53.16,4.82.3,7.05.44,1.41.05,2.81.1,4.3.06.92-.08,1.88-.16,2.84-.24-.76-.29-1.03-.65-1.29-1.01,1.38.05,3.33.26,4.71.32-1.38-.05-3.33-.27-4.71-.32.25.36.53.72,1.29,1.01,6.88-.56,14.82-1.07,22.2-1.48-.03-.03-.07-.06-.1-.09-4.32.1-8.53,0-13.01-.57,1.94.21,1.7.48-.51.54-.57-.16-1.13-.32-1.69-.48,3.85-.27,7.69-.54,11.33.15,0,0,1.65-.22,2.46-.32,1.22.13,1.16.43,1.42.69.84-.03,1.69-.05,2.55-.08-1.8-.48-7.46-1.09-7.46-1.09Z" />
<path d="m6.09,123.48s0,.01,0,.02c.56-.02,1.26-.05,2-.08l-1.89-.03.1-5.89c-.47,1.39-.34,3.85-.21,5.98Z" />
</g>
</g>
</g>
</svg>
</SvgIcon>
);
}
Loading
Loading