Skip to content

Commit e6b6d61

Browse files
committed
add discord link to side chat
1 parent 8881d59 commit e6b6d61

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/packages/frontend/chat/side-chat.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -238,14 +238,8 @@ function AddChatCollab({ addCollab, project_id }) {
238238
}
239239
return (
240240
<div>
241-
You can{" "}
242-
{redux.getProjectsStore().hasLanguageModelEnabled(project_id) && (
243-
<>chat with AI or notify a collaborator by typing @, </>
244-
)}
245-
<A href="https://github.com/sagemathinc/cocalc/discussions">
246-
join a discussion on GitHub
247-
</A>
248-
, and add more collaborators to this project below.
241+
@mention AI or collaborators, add more collaborators below, or{" "}
242+
<A href="https://discord.gg/EugdaJZ8">join the CoCalc Discord.</A>
249243
<AddCollaborators project_id={project_id} autoFocus where="side-chat" />
250244
<div style={{ color: COLORS.GRAY_M }}>
251245
(Collaborators have access to all files in this project.)

src/packages/frontend/collaborators/project-invite-tokens.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ export const ProjectInviteTokens: React.FC<Props> = React.memo(
300300
}
301301

302302
return (
303-
<Card style={{ width: "100%", overflowX: "auto" }}>
303+
<Card style={{ minWidth: "800px", width: "100%", overflow: "auto" }}>
304304
{heading}
305305
<br />
306306
<br />

0 commit comments

Comments
 (0)