Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change copies #345

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Expand Up @@ -119,7 +119,7 @@ function TcHivemindDiscordAnswering({
<div className='flex items-center'>
<TcText text='Answering' variant='h6' />
<TcIconWithTooltip
tooltipText='select the channels in which community members can ask questions to Hivemind using slash command /question.'
tooltipText='select the channels in which community members can ask questions to AI assistant using slash command /question.'
data-testid='answering-tooltip'
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ function TcHivemindDiscordLearnings({
<div className='w-full md:w-1/2'>
<div className='flex items-center'>
<TcText text='Learnings' variant='h6' />
<TcIconWithTooltip tooltipText='select the channels and sources from which the Hivemind AI will gather information to answer questions.' />
<TcIconWithTooltip tooltipText='select the channels and sources from which the AI assistant will gather information to answer questions.' />
</div>
<div className='h-[23rem] overflow-y-scroll rounded-md border border-gray-400 bg-gray-50 p-4'>
<div className='mb-2 flex flex-col'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function TcHivemindGithub({
onChange={(e) => setIsActivated(e.target.checked)}
/>
}
label='Enable Hivemind to read public repositories of the selected organization on GitHub.'
label='Enable AI assistant to read public repositories of the selected organization on GitHub.'
/>
<TcIconWithTooltip
tooltipText='Only the pull requests, issues, comments, and commits of public repositories will be read.'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ function HivemindSettings() {
});

if (data) {
showMessage('Hivemind module updated successfully', 'success');
showMessage('AI assistant module updated successfully', 'success');
mehdi-torabiv marked this conversation as resolved.
Show resolved Hide resolved
await fetchPlatformsByType();
}
setLoading(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ function TcCommunityPlatforms() {
});

if (hivemindModules.results.length > 0) {
router.push('/community-settings/hivemind');
router.push('/community-settings/ai-assistant');
} else {
await createModule({ name: 'hivemind', community: communityId });
router.push('/community-settings/hivemind');
router.push('/community-settings/ai-assistant');
mehdi-torabiv marked this conversation as resolved.
Show resolved Hide resolved
}
setHivemindManageIsLoading(false);
} catch (error) {
Expand Down Expand Up @@ -236,7 +236,7 @@ function TcCommunityPlatforms() {
className='min-h-[6rem] max-w-[10rem]'
children={
<div className='flex flex-col items-center justify-center space-y-2 py-4'>
<TcText text='Hivemind' variant='subtitle1' fontWeight='bold' />
<TcText text='AI assistant' variant='subtitle1' fontWeight='bold' />
<TcButton
text={
hivemindManageIsLoading ? (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { withRoles } from '../../../utils/withRoles';
function Index() {
return (
<>
<SEO titleTemplate='Hivemind Settings' />
<SEO titleTemplate='AI assistant Settings' />
<div className='container flex flex-col space-y-3 px-4 py-4 md:px-12'>
<TcBreadcrumbs
items={[
Expand All @@ -22,8 +22,8 @@ function Index() {
path: '/community-settings',
},
{
label: 'Hivemind Settings',
path: '/community-settings/hivemind',
label: 'AI assistant Settings',
path: '/community-settings/ai-assistant',
},
]}
/>
Expand All @@ -32,14 +32,31 @@ function Index() {
<div className='space-y-4'>
<div className='space-y-4 px-4 pt-4 pb-[1rem] md:px-10'>
<TcText
text='Hivemind Settings'
text='AI Settings'
variant='h6'
fontWeight='bold'
/>
<div className='flex flex-col space-y-3 md:flex-row md:items-center md:justify-between md:space-y-0'>
<TcText
className='md:w-2/3'
text='Hivemind is a Q&A bot that retrieves answers from your documentation, website, and live chats, serving as a research assistant for team discussions or customer support inquiries. Learn More'
text={
<>
Our AI assistant retrieves answers from your
documentation, website, and live chats. It supports your
members by answering their questions.{' '}
<a
href='https://www.togethercrew.com/ai-assistant'
style={{
fontWeight: 'bold',
textDecoration: 'underline',
}}
target='_blank' rel="noreferrer"
>
Learn More
</a>
.
</>
}
variant='body2'
/>
<TcButton
Expand Down
Loading