diff --git a/apps/dashboard/public/login-preview.png b/apps/dashboard/public/login-preview.png new file mode 100644 index 0000000..ffe5342 Binary files /dev/null and b/apps/dashboard/public/login-preview.png differ diff --git a/apps/dashboard/src/components/details/detail-sidebar.tsx b/apps/dashboard/src/components/details/detail-sidebar.tsx index f56e19f..a14e44f 100644 --- a/apps/dashboard/src/components/details/detail-sidebar.tsx +++ b/apps/dashboard/src/components/details/detail-sidebar.tsx @@ -64,7 +64,7 @@ export function DetailParticipantAvatars({ }>; }) { return ( -
+ {isDeleted ? (
+ <>
+ Branch{" "}
+
+ {branchName}
+ {" "}
+ has been deleted.
+ >
+ ) : (
+ <>
+ Branch{" "}
+
+ {branchName}
+ {" "}
+ has been merged.
+ >
+ )}
+
- Review workspace + Beta version
- DiffKit pulls together open pull requests, assigned issues, - and pending code reviews into one fast workspace so you can - move through GitHub work without tab sprawl. -
- -Simple now, room to layer more later.
+Your GitHub activity, one dashboard away.
- Developer workflow -
-- Use one dashboard for GitHub queues, detailed pull request - views, issue threads, and code review context. -
-
{label}
-{value}
-{children}
), - a: ({ children, href, ...props }) => ( + a: ({ node: _, children, href, ...props }) => ( ), - ul: ({ children, ...props }) => ( + ul: ({ node: _, children, ...props }) => (), - code: ({ children, className, ...props }) => { + code: ({ node: _, children, className, ...props }) => { const langMatch = className?.match(/language-(\w+)/); if (langMatch) { const code = String(children).replace(/\n$/, ""); @@ -263,27 +263,29 @@ const components: Components = { ); }, - hr: (props) =>
, - img: ({ alt, ...props }) => ( + hr: ({ node: _, ...props }) => ( +
+ ), + img: ({ node: _, alt, ...props }) => (), - table: ({ children, ...props }) => ( + table: ({ node: _, children, ...props }) => (
), - thead: ({ children, ...props }) => ( + thead: ({ node: _, children, ...props }) => ( {children} ), - th: ({ children, ...props }) => ( + th: ({ node: _, children, ...props }) => ({children}
), - td: ({ children, ...props }) => ( + td: ({ node: _, children, ...props }) => ( ), - input: ({ type, checked, ...props }) => { + input: ({ node: _, type, checked, ...props }) => { if (type === "checkbox") { return ( ; }, - strong: ({ children, ...props }) => ( + strong: ({ node: _, children, ...props }) => ( {children} ), - em: ({ children, ...props }) => ( + em: ({ node: _, children, ...props }) => ( {children} ), - del: ({ children, ...props }) => ( + del: ({ node: _, children, ...props }) => ( {children}), - details: ({ children, ...props }) => ( + details: ({ node: _, children, ...props }) => (), - summary: ({ children, ...props }) => ( + summary: ({ node: _, children, ...props }) => (-
{children} - + ); } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 66f30d1..43da355 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -183,6 +183,9 @@ importers: '@fontsource-variable/inter': specifier: ^5.2.8 version: 5.2.8 + '@m2d/react-markdown': + specifier: ^1.0.0 + version: 1.0.0(@types/react@19.2.14)(react@19.2.4) '@radix-ui/react-alert-dialog': specifier: ^1.1.6 version: 1.1.15(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) @@ -261,9 +264,6 @@ importers: react-hook-form: specifier: ^7.54.2 version: 7.72.1(react@19.2.4) - react-markdown: - specifier: ^10.1.0 - version: 10.1.0(@types/react@19.2.14)(react@19.2.4) react-resizable-panels: specifier: ^3.0.3 version: 3.0.6(react-dom@19.2.4(react@19.2.4))(react@19.2.4) @@ -1460,6 +1460,12 @@ packages: '@jridgewell/trace-mapping@0.3.9': resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} + '@m2d/react-markdown@1.0.0': + resolution: {integrity: sha512-CqbJTHi+SOLwF3JA4xVgMLSL2ZlSg1VIohaMwt/lHs1Wu+jzZ3eu6JZvDFtHSioSiEGYdlcrwbrpugutDSvL+Q==} + peerDependencies: + '@types/react': '>=16.8' + react: '>=16.8' + '@noble/ciphers@2.1.1': resolution: {integrity: sha512-bysYuiVfhxNJuldNXlFEitTVdNnYUc+XNJZd7Qm2a5j1vZHgY+fazadNFWFaMK/2vye0JVlxV3gHmC0WDfAOQw==} engines: {node: '>= 20.19.0'} @@ -3655,9 +3661,6 @@ packages: resolution: {integrity: sha512-CV9TW3Y3f8/wT0BRFc1/KAVQ3TUHiXmaAb6VW9vtiMFf7SLoMd1PdAc4W3KFOFETBJUb90KatHqlsZMWV+R9Gg==} engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0} - html-url-attributes@3.0.1: - resolution: {integrity: sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==} - html-void-elements@3.0.0: resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==} @@ -4204,12 +4207,6 @@ packages: react-is@17.0.2: resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} - react-markdown@10.1.0: - resolution: {integrity: sha512-qKxVopLT/TyA6BX3Ue5NwabOsAzm0Q7kAPwq6L+wWDwisYs7R8vZ0nRXqq6rkueboxpkjvLGU9fWifiX/ZZFxQ==} - peerDependencies: - '@types/react': '>=18' - react: '>=18' - react-refresh@0.18.0: resolution: {integrity: sha512-QgT5//D3jfjJb6Gsjxv0Slpj23ip+HtOpnNgnb2S5zU3CB26G/IDPGoy4RJB42wzFE46DRsstbW6tKHoKbhAxw==} engines: {node: '>=0.10.0'} @@ -5669,6 +5666,18 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.5 + '@m2d/react-markdown@1.0.0(@types/react@19.2.14)(react@19.2.4)': + dependencies: + '@types/react': 19.2.14 + hast-util-to-jsx-runtime: 2.3.6 + react: 19.2.4 + remark-parse: 11.0.0 + remark-rehype: 11.1.2 + unified: 11.0.5 + unist-util-visit: 5.1.0 + transitivePeerDependencies: + - supports-color + '@noble/ciphers@2.1.1': {} '@noble/hashes@2.0.1': {} @@ -7933,8 +7942,6 @@ snapshots: transitivePeerDependencies: - '@noble/hashes' - html-url-attributes@3.0.1: {} - html-void-elements@3.0.0: {} htmlparser2@10.1.0: @@ -8665,24 +8672,6 @@ snapshots: react-is@17.0.2: {} - react-markdown@10.1.0(@types/react@19.2.14)(react@19.2.4): - dependencies: - '@types/hast': 3.0.4 - '@types/mdast': 4.0.4 - '@types/react': 19.2.14 - devlop: 1.1.0 - hast-util-to-jsx-runtime: 2.3.6 - html-url-attributes: 3.0.1 - mdast-util-to-hast: 13.2.1 - react: 19.2.4 - remark-parse: 11.0.0 - remark-rehype: 11.1.2 - unified: 11.0.5 - unist-util-visit: 5.1.0 - vfile: 6.0.3 - transitivePeerDependencies: - - supports-color - react-refresh@0.18.0: {} react-remove-scroll-bar@2.3.8(@types/react@19.2.14)(react@19.2.4):