Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

feat: ui algolia plugin add link

shuaifaf6545f7ecf
diff --git a/i18n/en_US.yaml b/i18n/en_US.yaml
index 8efaa25b..39c8632c 100644
--- a/i18n/en_US.yaml
+++ b/i18n/en_US.yaml
@@ -1430,7 +1430,7 @@ ui:
fields:
users:
label: Bulk add user
- placeholder: "John Smith, [email protected], BUSYopr2 \nAlice, [email protected], fpDntV8q"
+ placeholder: "John Smith, [email protected], BUSYopr2\nAlice, [email protected], fpDntV8q"
text: Separate “name, email, password” with commas. One user per line.
msg: "Please enter the user's email, one per line."
display_name:
diff --git a/ui/src/plugins/builtin/Algolia/index.tsx b/ui/src/plugins/builtin/Algolia/index.tsx
index 416baede..83cea6bd 100644
--- a/ui/src/plugins/builtin/Algolia/index.tsx
+++ b/ui/src/plugins/builtin/Algolia/index.tsx
@@ -22,10 +22,14 @@ const Index: FC = () => {
if (!data?.icon) return null;
return (
- <div className="d-flex align-items-center">
+ <a
+ className="d-flex align-items-center"
+ href="https://www.algolia.com/"
+ target="_blank"
+ rel="noopener noreferrer">
<span className="small text-secondary me-2">{t('search_by')}</span>
<SvgIcon base64={data?.icon} />
- </div>
+ </a>
);
};