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

Task/discord slack bots #60

Merged
merged 45 commits into from
Jan 29, 2025
Merged
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
e5ca2c8
Merge migrations
aralyekta Jan 27, 2025
04ecc07
Add tooltip to integration list
aralyekta Jan 27, 2025
fd0e302
Add modal for integration disconnect
aralyekta Jan 27, 2025
5c9f2b7
Move access token revoke to signal
aralyekta Jan 27, 2025
74d5856
Add signal to manage channels on slack bot
aralyekta Jan 27, 2025
85cb773
Prevent test button clickability until save
aralyekta Jan 27, 2025
90d6acc
Only save the added channels in integration
aralyekta Jan 27, 2025
9721e85
Add guild disconnection for discord bots and merge integration deleti…
aralyekta Jan 27, 2025
8f55672
Remove unnecessary param (textPageHeader) from header
aralyekta Jan 27, 2025
25b0fb8
Remove conditional spacing when guru type is passed to header
aralyekta Jan 27, 2025
4e900d1
Fix header spacings
aralyekta Jan 27, 2025
9f06c98
Improve sidebar on mobile
aralyekta Jan 27, 2025
06c67a7
Fix mobile-desktop views
aralyekta Jan 27, 2025
6754fa8
Update sidebar to select "Integrations" when a specific integration i…
aralyekta Jan 27, 2025
179c711
Remove web widget headers
aralyekta Jan 27, 2025
df5df9e
Fix integration list padding on mobile
aralyekta Jan 27, 2025
ea96340
Fix paddings on mobile
aralyekta Jan 27, 2025
6410fda
Improve spacings
aralyekta Jan 27, 2025
ed7de12
Send final version
aralyekta Jan 27, 2025
0eabf56
Remove dev components
aralyekta Jan 27, 2025
29f27aa
Merge branch 'develop' of https://github.com/Gurubase/gurubase into t…
aralyekta Jan 27, 2025
840b385
Fix integration connection buttons
aralyekta Jan 27, 2025
9b293d2
Improve spacing and size
aralyekta Jan 27, 2025
b827d27
Fix loading skeletons
aralyekta Jan 27, 2025
242d634
Order channel list
aralyekta Jan 27, 2025
8e5e341
Fix dropdowns
aralyekta Jan 28, 2025
bdcea30
Add not found redirection on invalid integration types
aralyekta Jan 28, 2025
aee289f
Add error logs
aralyekta Jan 28, 2025
7523185
Update slack bot permissions in instruction
aralyekta Jan 28, 2025
fbb8170
Fix thread handling and channel validation on discord
aralyekta Jan 28, 2025
34518af
Make discord bot debuggable
aralyekta Jan 28, 2025
9d4f9ba
Update readme for minimal permissions
aralyekta Jan 28, 2025
5209f17
Update question admin page to link binge questions appropriately
aralyekta Jan 28, 2025
e719b5e
Implement logic for viewing bot questions on frontend
aralyekta Jan 28, 2025
dab960b
Merge migrations
aralyekta Jan 28, 2025
3515c48
Add unit tests for the updated question search
aralyekta Jan 28, 2025
ec44f3f
Add support for linking bot questions to the frontend
aralyekta Jan 28, 2025
cc3b58f
Order selected channels alphabetically
aralyekta Jan 28, 2025
0403c28
Fix ss for discord and minimize permissions for slack
aralyekta Jan 28, 2025
b87d870
Add info for discord
aralyekta Jan 28, 2025
02b9218
Add private channel support for slack
aralyekta Jan 28, 2025
c964006
Fix infos of integrations
aralyekta Jan 28, 2025
ae45b56
Fix sidebar while creating a guru
aralyekta Jan 29, 2025
f8aa58c
Hide slack/discord integrations on selfhosted
aralyekta Jan 29, 2025
a9d1867
Remove console logs
fatihbaltaci Jan 29, 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
Prev Previous commit
Next Next commit
Fix infos of integrations
  • Loading branch information
aralyekta committed Jan 28, 2025
commit c9640068792901f60d3358310f6b27c3ad9f8ad6
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ const IntegrationContent = ({ type, customGuru, error }) => {
"By connecting your account, you can easily share all your posts and invite your friends.",
iconSize: "w-5 h-5",
icon: SlackIcon,
extraText: ""
extraText:
'To subscribe to a <strong>private channel</strong> and send test messages to it, you need to invite the bot to the channel. You can do so from the Slack app using the <strong>"Add apps to this channel"</strong> command. This is not needed for public channels.'
},
discord: {
name: "Discord",
Expand All @@ -73,7 +74,8 @@ const IntegrationContent = ({ type, customGuru, error }) => {
iconSize: "w-5 h-5",
url: `https://discord.com/oauth2/authorize?client_id=1331218460075757649&permissions=8&response_type=code&redirect_uri=https%3A%2F%2F7eaf-34-32-48-186.ngrok-free.app%2Fintegrations%2Fcreate&integration_type=0&scope=identify+bot`,
icon: DiscordIcon,
extraText: "To subscribe to a private channel and send test messages to it, you need to invite the bot to the channel. You can do so from the channel settings in the Discord app. This is not needed for public channels."
extraText:
"To subscribe to a <strong>private channel</strong> and send test messages to it, you need to invite the bot to the channel. You can do so from the channel settings in the Discord app. This is not needed for public channels."
}
};
const config = integrationConfig[type];
Expand Down Expand Up @@ -200,9 +202,10 @@ const IntegrationContent = ({ type, customGuru, error }) => {
<strong>@gurubase</strong>.
</p>
{config.extraText && (
<p className="text-[#6D6D6D] font-inter text-[14px] font-normal">
{config.extraText}
</p>
<p
className="text-[#6D6D6D] font-inter text-[14px] font-normal"
dangerouslySetInnerHTML={{ __html: config.extraText }}
/>
)}
</div>
{/* Allowed Channels */}
Expand Down
Loading