Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
7452b9a
fix(40416667): create a chat participant list component
Enchu Nov 26, 2024
f292c66
Merge branch 'staging' of https://github.com/xi-effect/xi.app into 40…
Enchu Nov 26, 2024
7c6d2c6
feat(40416667): import update
Enchu Nov 26, 2024
81b30b5
fix(40416667): added skeleton, modal window, code split
Enchu Dec 16, 2024
1a0895c
fix: update versions of libs
unknownproperty Dec 27, 2024
8f14471
feat: add useTransition to SignIn
unknownproperty Dec 29, 2024
5b3554f
feat: add react-error-boundary for channels
unknownproperty Dec 29, 2024
b926c02
feat: update navbar in boards
unknownproperty Dec 29, 2024
a0f93ac
feat(pkg.module.call): change file structure to fsd and add token fro…
unknownproperty Jan 1, 2025
6b1132e
feat(pkg.module.call): add error screens for Calls
unknownproperty Jan 2, 2025
8148b89
fix(40416667): added the ability to add any role, change click from o…
Enchu Jan 3, 2025
be26439
feat(43051588): add navigation/headers text truncate
d9m0n4 Jan 7, 2025
75812cb
fix(43051588): merge staging into 43051588
d9m0n4 Jan 7, 2025
1858d12
fix(43051588): update package-lock
d9m0n4 Jan 7, 2025
93a1b1c
fix: build problem
unknownproperty Jan 10, 2025
513f282
fix(pkg.module.call): remove all unused buttons
unknownproperty Jan 11, 2025
ef15d71
fix(pkg.module.call): button in button error
unknownproperty Jan 11, 2025
211770a
fix(42380217): fix the wrong input value and add padding to the title
allexmorozovv Jan 12, 2025
16ce58b
feat(44117208): pin messages, get pinned messages list
d9m0n4 Jan 13, 2025
97ccf10
fix(43051588): merge staging into 43051588
d9m0n4 Jan 13, 2025
f86bc41
fix: change types for slate and editors for build fix
unknownproperty Jan 14, 2025
8fffe4e
Merge branch 'staging' of github.com:xi-effect/xi.app into 42380217
allexmorozovv Jan 15, 2025
ed77182
Merge branch 'staging' of https://github.com/xi-effect/xi.app into 40…
Enchu Jan 16, 2025
3aa30e1
feat(40416667): comment added
Enchu Jan 16, 2025
1cb0786
fix(44117208): merge branch staging into 43051588
d9m0n4 Jan 16, 2025
7df1141
fix(43051588): merge branch staging into 43051588
d9m0n4 Jan 16, 2025
557334a
fix(44117208): update package-lock
d9m0n4 Jan 16, 2025
8a26da2
Merge pull request #154 from xi-effect/42380217
unknownproperty Jan 17, 2025
3c31793
Merge pull request #153 from xi-effect/43051588
unknownproperty Jan 17, 2025
bf807ae
Merge pull request #148 from xi-effect/40416667
unknownproperty Jan 18, 2025
a223ce2
fix(44117208): merge staging into 44117208
d9m0n4 Jan 18, 2025
8d6fc8d
fix(44117208): fix package.json flag --turbopack, messagetools
d9m0n4 Jan 18, 2025
1c0f2f7
Merge pull request #155 from xi-effect/44117208
unknownproperty Jan 21, 2025
7302fea
feat: first part of udate calls
unknownproperty Feb 4, 2025
b01b42c
Merge branch 'staging' of github.com:xi-effect/xi.app into staging
unknownproperty Feb 4, 2025
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
Original file line number Diff line number Diff line change
@@ -1,40 +1,14 @@
'use client';

import { useMainSt } from 'pkg.stores';

import React, { use } from 'react';
import React from 'react';
import dynamic from 'next/dynamic';

const Call = dynamic(() => import('pkg.module.call').then((mod) => mod.Call));

export default function CallInCommunity({ params }: { params: Promise<{ vid: string }> }) {
const { vid } = use(params);
const getToken = useMainSt((state) => state.getToken);
const token = useMainSt((state) => state.token);

React.useEffect(() => {
getToken(vid);
}, []);

export default function CallInCommunity() {
return (
<div className="w-full md:w-[calc(100vw-350px)] md:min-h-screen md:h-screen md:overflow-auto">
{token === null ? (
<div className="h-full w-full flex flex-col bg-gray-0">
<div className="flex flex-auto flex-col justify-center items-center p-4 md:p-5">
<div className="flex justify-center">
<div
className="animate-spin inline-block size-6 border-[3px] border-current border-t-transparent text-brand-80 rounded-full"
role="status"
aria-label="loading"
>
<span className="sr-only">Loading...</span>
</div>
</div>
</div>
</div>
) : (
<Call token={token} />
)}
<Call />
</div>
);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
'use client';

import { ErrorPage } from 'pkg.error-page';
import { ReactNode } from 'react';
import { ErrorBoundary } from 'react-error-boundary';

export default function CommunityLayout({ children }: { children: ReactNode }) {
return (
<ErrorBoundary
fallback={
<ErrorPage
errorCode={500}
title="Ошибка"
text="Что-то сломалось в этой части приложения, попробуйте обновить страницу"
withLogo={false}
/>
}
>
{children}
</ErrorBoundary>
);
}
15 changes: 8 additions & 7 deletions apps/xi.front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"dependencies": {
"@hookform/resolvers": "3.9.1",
"@sentry/nextjs": "^8.26.0",
"@sentry/types": "8.26.0",
"@xipkg/avatar": "2.2.0",
"@xipkg/badge": "^1.2.0",
"@xipkg/button": "2.2.0",
Expand All @@ -20,7 +21,7 @@
"@xipkg/input": "1.2.0",
"@xipkg/label": "1.2.0",
"@xipkg/link": "^1.3.0",
"@xipkg/scrollarea": "1.3.0",
"@xipkg/scrollarea": "^1.5.0",
"@xipkg/tailwind": "0.5.0",
"@xipkg/userprofile": "3.3.0",
"crypto-js": "^4.1.1",
Expand All @@ -42,13 +43,13 @@
"pkg.logo": "*",
"pkg.modal.add-community": "*",
"pkg.models": "*",
"pkg.module.board": "*",
"pkg.module.call": "*",
"pkg.module.chat": "*",
"pkg.module.editor": "*",
"pkg.module.posts": "*",
"pkg.module.tasks": "*",
"pkg.module.chat": "*",
"pkg.module.tasks-admin": "*",
"pkg.module.call": "*",
"pkg.module.board": "*",
"pkg.navigation": "*",
"pkg.navigation.layout": "*",
"pkg.router.url": "*",
Expand All @@ -57,23 +58,23 @@
"pkg.utils.client": "*",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-error-boundary": "^5.0.0",
"socket.io": "4.7.5",
"socket.io-client": "4.7.5",
"sonner": "1.4.41",
"zod": "3.22.4",
"zustand": "^4.5.5",
"@sentry/types": "8.26.0"
"zustand": "^4.5.5"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
"eslint": "^9.17.0",
"@types/node": "^20.3.1",
"@types/react": "19.0.2",
"@types/react-dom": "19.0.2",
"@xipkg/eslint": "3.2.0",
"@xipkg/typescript": "latest",
"autoprefixer": "^10.4.20",
"eslint": "^9.17.0",
"eslint-config-custom": "*",
"ignore-loader": "^0.1.2",
"postcss": "^8.4.24",
Expand Down
2 changes: 1 addition & 1 deletion apps/xi.front/public/sw.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/xi.front/public/sw.js.map

Large diffs are not rendered by default.

Loading
Loading