Skip to content

Commit

Permalink
Merge pull request #4244 from signalco-io/next
Browse files Browse the repository at this point in the history
Next
  • Loading branch information
AleksandarDev authored Jan 4, 2024
2 parents e2895e2 + 84896a6 commit d9705d0
Show file tree
Hide file tree
Showing 19 changed files with 165 additions and 125 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.20.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.16.4" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.OpenApi" Version="1.5.1" />
<PackageReference Include="Octokit" Version="9.0.0" />
<PackageReference Include="Octokit" Version="9.1.0" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="7.0.3" />
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion infra/apps/cloud-primary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@pulumi/cloudflare": "5.17.0",
"@pulumi/command": "0.9.2",
"@pulumi/docker": "4.5.0",
"@pulumi/pulumi": "3.99.0",
"@pulumi/pulumi": "3.100.0",
"@pulumiverse/vercel": "1.0.1"
}
}
2 changes: 1 addition & 1 deletion infra/apps/remote-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@pulumi/cloudflare": "5.17.0",
"@pulumi/command": "0.9.2",
"@pulumi/docker": "4.5.0",
"@pulumi/pulumi": "3.99.0",
"@pulumi/pulumi": "3.100.0",
"@pulumiverse/vercel": "1.0.1"
}
}
2 changes: 1 addition & 1 deletion infra/apps/uier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@pulumi/cloudflare": "5.17.0",
"@pulumi/command": "0.9.2",
"@pulumi/docker": "4.5.0",
"@pulumi/pulumi": "3.99.0",
"@pulumi/pulumi": "3.100.0",
"@pulumiverse/vercel": "1.0.1"
}
}
2 changes: 1 addition & 1 deletion infra/packages/pulumi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@pulumi/cloudflare": "5.17.0",
"@pulumi/command": "0.9.2",
"@pulumi/docker": "4.5.0",
"@pulumi/pulumi": "3.99.0",
"@pulumi/pulumi": "3.100.0",
"@pulumiverse/vercel": "1.0.1"
}
}
34 changes: 17 additions & 17 deletions infra/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions web/apps/app/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import { Suspense } from 'react';
import { RootRedirect } from '../components/RootRedirect';
import { redirect } from 'next/navigation';
import { KnownPages } from '../src/knownPages';

export default function Dashboard() {
return (
<Suspense>
<RootRedirect />
</Suspense>
);
redirect(KnownPages.Spaces);
}
14 changes: 0 additions & 14 deletions web/apps/app/components/RootRedirect.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion web/apps/app/components/layouts/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function AppLayout(props: React.PropsWithChildren) {
)}
<div className={cx(
'relative w-full grow overflow-hidden',
isFullScreen ? '' : 'mt-[70px] sm:ml-[82px] sm:mt-0'
isFullScreen ? '' : 'mt-[70px] sm:ml-[66px] sm:mt-0'
)}>
<Stack>
<div className="hidden p-2 sm:block">
Expand Down
2 changes: 1 addition & 1 deletion web/apps/app/components/users/UserProfileAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function UserProfileAvatar() {

return (
<DropdownMenu>
<DropdownMenuTrigger>
<DropdownMenuTrigger asChild>
<UserProfileAvatarButton />
</DropdownMenuTrigger>
<DropdownMenuContent>
Expand Down
2 changes: 1 addition & 1 deletion web/apps/app/components/users/UserProfileAvatarButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const UserProfileAvatarButton = forwardRef<HTMLButtonElement>((props, ref) => {
const user = useCurrentUser();

return (
<Button variant="plain" className="relative py-6" ref={ref} {...props}>
<Button variant="plain" className="relative rounded-full p-0" ref={ref} {...props}>
<UserAvatar user={user} />
<div className="absolute -bottom-2 left-1/2 -translate-x-1/2">
<ApiBadge />
Expand Down
8 changes: 3 additions & 5 deletions web/apps/app/components/widgets/parts/WidgetState.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import React, { useMemo, useState } from 'react';
import dynamic from 'next/dynamic'
import { Typography } from '@signalco/ui-primitives/Typography';
import { Stack } from '@signalco/ui-primitives/Stack';
import { Button } from '@signalco/ui-primitives/Button';
import { showNotification } from '@signalco/ui-notifications';
import { Loadable } from '@signalco/ui/Loadable';
import { WidgetSharedProps } from '../Widget';
import TvVisual from '../../icons/TvVisual';
import LightBulbVisual from '../../icons/LightBulbVisual';
import FanVisual from '../../icons/FanVisual';
import { DefaultLabel, DefaultTargetWithValueMultiple } from '../../../src/widgets/WidgetConfigurationOptions';
import IWidgetConfigurationOption from '../../../src/widgets/IWidgetConfigurationOption';
import useWidgetOptions from '../../../src/hooks/widgets/useWidgetOptions';
Expand All @@ -32,10 +34,6 @@ const stateOptions: IWidgetConfigurationOption<ConfigProps>[] = [
{ name: 'visual', label: 'Visual', type: 'selectVisual', default: 'lightbulb' },
];

const TvVisual = dynamic(() => import('../../icons/TvVisual'));
const LightBulbVisual = dynamic(() => import('../../icons/LightBulbVisual'));
const FanVisual = dynamic(() => import('../../icons/FanVisual'));

export type StateAction = IContactPointer & {
valueSerialized?: string,
delay?: number
Expand Down
10 changes: 5 additions & 5 deletions web/apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
"@signalco/ui-primitives": "workspace:*",
"@signalco/ui-notifications": "workspace:*",
"@signalco/ui-icons": "workspace:*",
"@tanstack/query-sync-storage-persister": "5.17.0",
"@tanstack/react-query": "5.17.0",
"@tanstack/react-query-devtools": "5.17.0",
"@tanstack/react-query-persist-client": "5.17.0",
"@tanstack/query-sync-storage-persister": "5.17.1",
"@tanstack/react-query": "5.17.1",
"@tanstack/react-query-devtools": "5.17.1",
"@tanstack/react-query-persist-client": "5.17.1",
"@vercel/analytics": "1.1.1",
"@vercel/speed-insights": "1.0.2",
"@vvo/tzdb": "6.123.0",
Expand Down Expand Up @@ -74,7 +74,7 @@
},
"devDependencies": {
"@axe-core/playwright": "4.8.2",
"@ducanh2912/next-pwa": "10.0.2",
"@ducanh2912/next-pwa": "10.1.0",
"@next/bundle-analyzer": "14.0.4",
"@playwright/test": "1.40.1",
"@signalco/eslint-config-signalco": "workspace:*",
Expand Down
6 changes: 3 additions & 3 deletions web/apps/doprocess/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"@signalco/ui-icons": "workspace:*",
"@signalco/ui-notifications": "workspace:*",
"@signalco/ui-primitives": "workspace:*",
"@tanstack/react-query": "5.17.0",
"@tanstack/react-query-devtools": "5.17.0",
"@tanstack/react-query": "5.17.1",
"@tanstack/react-query-devtools": "5.17.1",
"@vercel/analytics": "1.1.1",
"classix": "2.1.35",
"drizzle-orm": "0.29.3",
Expand All @@ -63,7 +63,7 @@
"devDependencies": {
"@axe-core/playwright": "4.8.2",
"@babel/core": "7.23.7",
"@ducanh2912/next-pwa": "10.0.2",
"@ducanh2912/next-pwa": "10.1.0",
"@next/bundle-analyzer": "14.0.4",
"@playwright/test": "1.40.1",
"@signalco/eslint-config-signalco": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion web/apps/ui-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@signalco/tsconfig": "workspace:*",
"@storybook/addon-essentials": "7.6.7",
"@storybook/addon-links": "7.6.7",
"@storybook/addon-styling-webpack": "0.0.5",
"@storybook/addon-styling-webpack": "0.0.6",
"@storybook/addon-themes": "7.6.7",
"@storybook/addons": "7.6.7",
"@storybook/manager-api": "7.6.7",
Expand Down
6 changes: 3 additions & 3 deletions web/apps/uier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"@signalco/ui-icons": "workspace:*",
"@signalco/ui-notifications": "workspace:*",
"@signalco/ui-primitives": "workspace:*",
"@tanstack/react-query": "5.17.0",
"@tanstack/react-query-devtools": "5.17.0",
"@tanstack/react-query": "5.17.1",
"@tanstack/react-query-devtools": "5.17.1",
"@vercel/analytics": "1.1.1",
"classix": "2.1.35",
"next": "14.0.4",
Expand All @@ -45,7 +45,7 @@
"devDependencies": {
"@axe-core/playwright": "4.8.2",
"@babel/core": "7.23.7",
"@ducanh2912/next-pwa": "10.0.2",
"@ducanh2912/next-pwa": "10.1.0",
"@next/bundle-analyzer": "14.0.4",
"@playwright/test": "1.40.1",
"@signalco/eslint-config-signalco": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion web/apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"devDependencies": {
"@axe-core/playwright": "4.8.2",
"@babel/core": "7.23.7",
"@ducanh2912/next-pwa": "10.0.2",
"@ducanh2912/next-pwa": "10.1.0",
"@next/bundle-analyzer": "14.0.4",
"@playwright/test": "1.40.1",
"@signalco/eslint-config-signalco": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion web/packages/uier-toolbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"classix": "2.1.35",
"postcss": "8.4.32",
"postcss-preset-env": "9.3.0",
"@tanstack/react-query": "5.17.0",
"@tanstack/react-query": "5.17.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-timeago": "7.2.0",
Expand Down
Loading

8 comments on commit d9705d0

@vercel
Copy link

@vercel vercel bot commented on d9705d0 Jan 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on d9705d0 Jan 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on d9705d0 Jan 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

signalco-blog – ./web/apps/blog

signalco-blog.vercel.app
signalco-blog-signalco.vercel.app
blog.signalco.io
signalco-blog-git-main-signalco.vercel.app

@vercel
Copy link

@vercel vercel bot commented on d9705d0 Jan 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

signalco-slco – ./web/apps/slco

slco.signalco.io
slco.io
signalco-slco.vercel.app
signalco-slco-signalco.vercel.app
signalco-slco-git-main-signalco.vercel.app

@vercel
Copy link

@vercel vercel bot commented on d9705d0 Jan 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

signalco-app – ./web/apps/app

signalco-app.vercel.app
app.signalco.io
signalco-app-signalco.vercel.app
signalco-app-git-main-signalco.vercel.app

@vercel
Copy link

@vercel vercel bot commented on d9705d0 Jan 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

signalco-uier – ./web/apps/uier

signalco-uier.vercel.app
signalco-uier-signalco.vercel.app
next.uier.io
signalco-uier-git-main-signalco.vercel.app
uier.io

@vercel
Copy link

@vercel vercel bot commented on d9705d0 Jan 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on d9705d0 Jan 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

signalco-ui-docs – ./web/apps/ui-docs

signalco-ui-docs-signalco.vercel.app
signalco-ui-docs-git-main-signalco.vercel.app
signalco-ui-docs.vercel.app
ui.signalco.io

Please sign in to comment.