Skip to content

Commit

Permalink
Renaming package studio to suite
Browse files Browse the repository at this point in the history
  • Loading branch information
laisspportugal committed Aug 2, 2024
1 parent 0f08a6f commit ecc6498
Show file tree
Hide file tree
Showing 242 changed files with 338 additions and 338 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:

- run: yarn install --immutable

- run: npm publish ./packages/studio
- run: npm publish ./packages/suite
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@foxglove/tsconfig": "2.0.0",
"@lichtblick/den": "workspace:*",
"@lichtblick/log": "workspace:*",
"@lichtblick/studio": "workspace:*",
"@lichtblick/suite": "workspace:*",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.11",
"@types/react": "18.2.56",
"@types/react-dom": "18.2.7",
Expand Down
2 changes: 1 addition & 1 deletion benchmark/src/players/BenchmarkPlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import { filterMap } from "@lichtblick/den/collection";
import Log from "@lichtblick/log";
import { MessageEvent } from "@lichtblick/studio";
import { GlobalVariables } from "@lichtblick/studio-base/hooks/useGlobalVariables";
import { BlockLoader } from "@lichtblick/studio-base/players/IterablePlayer/BlockLoader";
import { IIterableSource } from "@lichtblick/studio-base/players/IterablePlayer/IIterableSource";
Expand All @@ -20,6 +19,7 @@ import {
SubscribePayload,
} from "@lichtblick/studio-base/players/types";
import delay from "@lichtblick/studio-base/util/delay";
import { MessageEvent } from "@lichtblick/suite";

import { toRFC3339String } from "@foxglove/rostime";

Expand Down
2 changes: 1 addition & 1 deletion benchmark/src/players/PointcloudPlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/

import Log from "@lichtblick/log";
import { MessageEvent } from "@lichtblick/studio";
import { GlobalVariables } from "@lichtblick/studio-base/hooks/useGlobalVariables";
import {
AdvertiseOptions,
Expand All @@ -16,6 +15,7 @@ import {
TopicStats,
} from "@lichtblick/studio-base/players/types";
import { RosDatatypes } from "@lichtblick/studio-base/types/RosDatatypes";
import { MessageEvent } from "@lichtblick/suite";

import * as rostime from "@foxglove/rostime";
import { Time } from "@foxglove/rostime";
Expand Down
2 changes: 1 addition & 1 deletion benchmark/src/players/SinewavePlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/

import Log from "@lichtblick/log";
import { MessageEvent } from "@lichtblick/studio";
import { GlobalVariables } from "@lichtblick/studio-base/hooks/useGlobalVariables";
import {
AdvertiseOptions,
Expand All @@ -16,6 +15,7 @@ import {
TopicStats,
} from "@lichtblick/studio-base/players/types";
import { RosDatatypes } from "@lichtblick/studio-base/types/RosDatatypes";
import { MessageEvent } from "@lichtblick/suite";

import * as rostime from "@foxglove/rostime";
import { Time } from "@foxglove/rostime";
Expand Down
2 changes: 1 addition & 1 deletion benchmark/src/players/TransformPlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/

import Log from "@lichtblick/log";
import { MessageEvent } from "@lichtblick/studio";
import { GlobalVariables } from "@lichtblick/studio-base/hooks/useGlobalVariables";
import {
AdvertiseOptions,
Expand All @@ -17,6 +16,7 @@ import {
} from "@lichtblick/studio-base/players/types";
import { RosDatatypes } from "@lichtblick/studio-base/types/RosDatatypes";
import { Quaternion } from "@lichtblick/studio-base/util/geometry";
import { MessageEvent } from "@lichtblick/suite";

import * as rostime from "@foxglove/rostime";
import { Time } from "@foxglove/rostime";
Expand Down
2 changes: 1 addition & 1 deletion benchmark/src/players/TransformPreloadingPlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/

import Log from "@lichtblick/log";
import { MessageEvent } from "@lichtblick/studio";
import { GlobalVariables } from "@lichtblick/studio-base/hooks/useGlobalVariables";
import { normalizeFrameTransform } from "@lichtblick/studio-base/panels/ThreeDeeRender/normalizeMessages";
import {
Expand All @@ -21,6 +20,7 @@ import {
} from "@lichtblick/studio-base/players/types";
import { RosDatatypes } from "@lichtblick/studio-base/types/RosDatatypes";
import delay from "@lichtblick/studio-base/util/delay";
import { MessageEvent } from "@lichtblick/suite";

import { Time, compare } from "@foxglove/rostime";
import { FrameTransform, Vector3 } from "@foxglove/schemas";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"dependencies": {
"@lichtblick/hooks": "workspace:*",
"@lichtblick/log": "workspace:*",
"@lichtblick/studio": "workspace:*",
"@lichtblick/suite": "workspace:*",
"@mui/material": "5.13.5",
"react-use": "17.5.1",
"rehype-raw": "6.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/studio-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@lichtblick/den": "workspace:*",
"@lichtblick/hooks": "workspace:*",
"@lichtblick/log": "workspace:*",
"@lichtblick/studio": "workspace:*",
"@lichtblick/suite": "workspace:*",
"@mcap/core": "2.0.2",
"@mui/icons-material": "5.15.5",
"@mui/material": "5.13.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
// found at http://www.apache.org/licenses/LICENSE-2.0
// You may not use this file except in compliance with the License.

import { Immutable } from "@lichtblick/studio";
import {
MessagePipelineContext,
useMessagePipeline,
Expand All @@ -21,6 +20,7 @@ import {
MessageBlock as PlayerMessageBlock,
SubscribePayload,
} from "@lichtblick/studio-base/players/types";
import { Immutable } from "@lichtblick/suite";
import memoizeWeak from "memoize-weak";
import { useCallback, useEffect, useMemo, useState } from "react";
import { v4 as uuidv4 } from "uuid";
Expand Down
2 changes: 1 addition & 1 deletion packages/studio-base/src/PanelAPI/useDataSourceInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
// found at http://www.apache.org/licenses/LICENSE-2.0
// You may not use this file except in compliance with the License.

import { Immutable, Time } from "@lichtblick/studio";
import {
MessagePipelineContext,
useMessagePipeline,
} from "@lichtblick/studio-base/components/MessagePipeline";
import { Topic } from "@lichtblick/studio-base/players/types";
import { RosDatatypes } from "@lichtblick/studio-base/types/RosDatatypes";
import { Immutable, Time } from "@lichtblick/suite";
import { useMemo } from "react";

function selectDatatypes(ctx: MessagePipelineContext) {
Expand Down
2 changes: 1 addition & 1 deletion packages/studio-base/src/components/ExtensionDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// 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 { Immutable } from "@lichtblick/studio";
import Stack from "@lichtblick/studio-base/components/Stack";
import TextContent from "@lichtblick/studio-base/components/TextContent";
import { useAnalytics } from "@lichtblick/studio-base/context/AnalyticsContext";
Expand All @@ -13,6 +12,7 @@ import {
} from "@lichtblick/studio-base/context/ExtensionMarketplaceContext";
import { AppEvent } from "@lichtblick/studio-base/services/IAnalytics";
import isDesktopApp from "@lichtblick/studio-base/util/isDesktopApp";
import { Immutable } from "@lichtblick/suite";
import ChevronLeftIcon from "@mui/icons-material/ChevronLeft";
import { Button, Link, Tab, Tabs, Typography, Divider } from "@mui/material";
import { useSnackbar } from "notistack";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/

import Log from "@lichtblick/log";
import { Immutable } from "@lichtblick/studio";
import { ExtensionDetails } from "@lichtblick/studio-base/components/ExtensionDetails";
import Stack from "@lichtblick/studio-base/components/Stack";
import { useExtensionCatalog } from "@lichtblick/studio-base/context/ExtensionCatalogContext";
import {
ExtensionMarketplaceDetail,
useExtensionMarketplace,
} from "@lichtblick/studio-base/context/ExtensionMarketplaceContext";
import { Immutable } from "@lichtblick/suite";
import {
Alert,
AlertTitle,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// 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 { Immutable } from "@lichtblick/studio";
import { Immutable } from "@lichtblick/suite";

import { MessagePathFilter } from "@foxglove/message-path";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
// found at http://www.apache.org/licenses/LICENSE-2.0
// You may not use this file except in compliance with the License.

import { Immutable } from "@lichtblick/studio";
import { isTypicalFilterName } from "@lichtblick/studio-base/components/MessagePathSyntax/isTypicalFilterName";
import { RosDatatypes } from "@lichtblick/studio-base/types/RosDatatypes";
import { assertNever } from "@lichtblick/studio-base/util/assertNever";
import naturalSort from "@lichtblick/studio-base/util/naturalSort";
import { Immutable } from "@lichtblick/suite";
import * as _ from "lodash-es";

import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// 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 { MessageEvent } from "@lichtblick/studio";
import { MessageEvent } from "@lichtblick/suite";

import { parseMessagePath } from "@foxglove/message-path";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// 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 { Immutable } from "@lichtblick/studio";
import { MessageEvent } from "@lichtblick/studio-base/players/types";
import { isTypedArray } from "@lichtblick/studio-base/types/isTypedArray";
import { Immutable } from "@lichtblick/suite";

import { MessagePath } from "@foxglove/message-path";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// 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 { Immutable } from "@lichtblick/studio";
import { Immutable } from "@lichtblick/suite";

import { MessagePathFilter, MessagePathPart, MessagePath } from "@foxglove/message-path";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import { filterMap } from "@lichtblick/den/collection";
import { useDeepMemo, useShallowMemo } from "@lichtblick/hooks";
import { Immutable } from "@lichtblick/studio";
import * as PanelAPI from "@lichtblick/studio-base/PanelAPI";
import useGlobalVariables, {
GlobalVariables,
Expand All @@ -24,6 +23,7 @@ import {
enumValuesByDatatypeAndField,
extractTypeFromStudioEnumAnnotation,
} from "@lichtblick/studio-base/util/enums";
import { Immutable } from "@lichtblick/suite";
import * as _ from "lodash-es";
import { useCallback, useMemo } from "react";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
// found at http://www.apache.org/licenses/LICENSE-2.0
// You may not use this file except in compliance with the License.

import { Metadata, ParameterValue } from "@lichtblick/studio";
import { freezeMetadata } from "@lichtblick/studio-base/players/IterablePlayer/freezeMetadata";
import {
PlayerCapabilities,
Expand All @@ -22,6 +21,7 @@ import {
AdvertiseOptions,
PlayerPresence,
} from "@lichtblick/studio-base/players/types";
import { Metadata, ParameterValue } from "@lichtblick/suite";

export default class FakePlayer implements Player {
#listener?: (arg0: PlayerState) => Promise<void>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// You may not use this file except in compliance with the License.

import { Condvar } from "@lichtblick/den/async";
import { Metadata, ParameterValue } from "@lichtblick/studio";
import {
FramePromise,
pauseFrameForPromises,
Expand All @@ -35,6 +34,7 @@ import {
TopicStats,
} from "@lichtblick/studio-base/players/types";
import { RosDatatypes } from "@lichtblick/studio-base/types/RosDatatypes";
import { Metadata, ParameterValue } from "@lichtblick/suite";
import { Immutable } from "immer";
import * as _ from "lodash-es";
import { MutableRefObject, useEffect, useMemo, useRef, useState } from "react";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/

import { useGuaranteedContext } from "@lichtblick/hooks";
import { Immutable } from "@lichtblick/studio";
import { AppSetting } from "@lichtblick/studio-base/AppSetting";
import CurrentLayoutContext, {
LayoutState,
Expand All @@ -16,6 +15,7 @@ import {
PlayerState,
SubscribePayload,
} from "@lichtblick/studio-base/players/types";
import { Immutable } from "@lichtblick/suite";
import * as _ from "lodash-es";
import {
createContext,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/

import { Condvar } from "@lichtblick/den/async";
import { Immutable, MessageEvent } from "@lichtblick/studio";
import {
makeSubscriptionMemoizer,
mergeSubscriptions,
Expand All @@ -17,6 +16,7 @@ import {
SubscribePayload,
} from "@lichtblick/studio-base/players/types";
import isDesktopApp from "@lichtblick/studio-base/util/isDesktopApp";
import { Immutable, MessageEvent } from "@lichtblick/suite";
import * as _ from "lodash-es";
import { MutableRefObject } from "react";
import shallowequal from "shallowequal";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// 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 { Immutable } from "@lichtblick/studio";
import { SubscribePayload } from "@lichtblick/studio-base/players/types";
import { Immutable } from "@lichtblick/suite";
import moize from "moize";
import * as R from "ramda";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// 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 { Immutable, MessageEvent, Metadata, ParameterValue } from "@lichtblick/studio";
import { BuiltinPanelExtensionContext } from "@lichtblick/studio-base/components/PanelExtensionAdapter";
import {
AdvertiseOptions,
Expand All @@ -12,6 +11,7 @@ import {
Topic,
} from "@lichtblick/studio-base/players/types";
import { RosDatatypes } from "@lichtblick/studio-base/types/RosDatatypes";
import { Immutable, MessageEvent, Metadata, ParameterValue } from "@lichtblick/suite";

import { Time } from "@foxglove/rostime";

Expand Down
2 changes: 1 addition & 1 deletion packages/studio-base/src/components/PanelContextMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// 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 { Immutable } from "@lichtblick/studio";
import { PANEL_ROOT_CLASS_NAME } from "@lichtblick/studio-base/components/PanelRoot";
import { Immutable } from "@lichtblick/suite";
import { Divider, Menu, MenuItem } from "@mui/material";
import { useCallback, useEffect, useRef, useState } from "react";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
// 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 ErrorBoundary from "@lichtblick/studio-base/components/ErrorBoundary";
import MockPanelContextProvider from "@lichtblick/studio-base/components/MockPanelContextProvider";
import PanelSetup from "@lichtblick/studio-base/stories/PanelSetup";
import {
Immutable,
PanelExtensionContext,
ParameterValue,
RenderState,
Time,
} from "@lichtblick/studio";
import ErrorBoundary from "@lichtblick/studio-base/components/ErrorBoundary";
import MockPanelContextProvider from "@lichtblick/studio-base/components/MockPanelContextProvider";
import PanelSetup from "@lichtblick/studio-base/stories/PanelSetup";
} from "@lichtblick/suite";
import { StoryObj } from "@storybook/react";
import { ReactElement, useLayoutEffect, useState } from "react";
import ReactDOM from "react-dom";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
/* eslint-disable jest/no-done-callback */

import { Condvar, signal } from "@lichtblick/den/async";
import { PanelExtensionContext, RenderState, MessageEvent, Immutable } from "@lichtblick/studio";
import MockPanelContextProvider from "@lichtblick/studio-base/components/MockPanelContextProvider";
import { AdvertiseOptions, PlayerCapabilities } from "@lichtblick/studio-base/players/types";
import PanelSetup, { Fixture } from "@lichtblick/studio-base/stories/PanelSetup";
import ThemeProvider from "@lichtblick/studio-base/theme/ThemeProvider";
import { PanelExtensionContext, RenderState, MessageEvent, Immutable } from "@lichtblick/suite";
import { render } from "@testing-library/react";
import { act } from "react-dom/test-utils";

Expand Down
Loading

0 comments on commit ecc6498

Please sign in to comment.