Skip to content

Commit

Permalink
docs: add release note link in homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Sep 3, 2023
1 parent 1b813f9 commit bd55fc0
Show file tree
Hide file tree
Showing 24 changed files with 42 additions and 21 deletions.
6 changes: 6 additions & 0 deletions website/i18n/zh-Hans/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -413,5 +413,11 @@
},
"Design with electron": {
"message": "使用 electron 技术开发"
},
"Current version": {
"message": "当前版本"
},
"release note": {
"message": "版本更新日志"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ keywords:
- tailchat
- 开源
- 开源聊天工具
tags: [版本发布]
tags: [Release Note]
---

`Tailchat` 是一款开源的,面向私域用户打造的即时通讯应用。在经历超过一年的开发之后,她终于迎来了第一个 `v1.0.0` 版本。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ keywords:
- tailchat
- 开源
- 开源聊天工具
tags: [版本发布]
tags: [Release Note]
---

经过几个月的努力,`Tailchat` 终于迎来了他的 `1.4.0` 版本。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.6.7
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

- 增强个人品牌定制,允许自定义服务器登录入口的名称与背景图(图片没有文件上传限制)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.6.8
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

- 优化表情面板性能,重构单个表情的渲染方式。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.7.0
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

- 增加了wxpusher插件用于消息通知
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.7.4
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

- 新版admin已发布,可以通过[部署文档](/docs/deployment/admin)抢先体验
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.7.5
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

- 修复权限逻辑检测,修复身份组设定后权限不生效的bug
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.7.6
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

- 增加了封禁/解除封禁用户功能
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.8.0
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

- 新版admin已经正式上线替换旧版admin系统
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.8.1
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

- 增加第三方登录插件(com.msgbyte.iam),目前支持`github`登录, 相关部署文档见 [iam - Third party login](https://tailchat.msgbyte.com/docs/advanced-usage/plugins/com.msgbyte.iam)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.8.2
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

:::info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.8.3
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

- 增加了离线图标插件并作为默认内置插件,现在在全内网环境下也可以正常使用tailchat了
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.8.4
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

### 特性更新
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.8.5
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

### 特性更新
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.8.6
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

- 增加了桌面端接收到消息后会闪烁提示
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.8.7
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

### 特性更新
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.8.8
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

### 特性更新
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.8.9
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

### 特性更新
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.8.10
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

### 特性更新
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image: /img/logo.svg
slug: release-1.8.11
keywords:
- tailchat
tags: [版本发布]
tags: [Release Note]
---

### 特性更新
Expand Down
5 changes: 5 additions & 0 deletions website/src/components/HomepageHeader.less
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@

.link {
font-size: 1rem;
margin-bottom: 0.75rem;;
}

.version {
font-size: 0.8rem;
}
}

Expand Down
10 changes: 9 additions & 1 deletion website/src/components/HomepageHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import Head from '@docusaurus/Head';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Translate from '@docusaurus/Translate';
import { useColorMode } from '@docusaurus/theme-common';
import { inviteLink, nightlyUrl } from '../utils/consts';
import { inviteLink, nightlyUrl, releaseNoteUrl } from '../utils/consts';
import packageJson from '../../../package.json';
import './HomepageHeader.less';

const alternative = [
Expand Down Expand Up @@ -82,6 +83,13 @@ export const HomepageHeader: React.FC = React.memo(() => {
<Translate>Or direct visit Tailchat nightly version</Translate>
</Link>
</div>

<div className="version">
<Translate>Current version</Translate>: v{packageJson.version},{' '}
<Link to={releaseNoteUrl} data-umami-event="direct-nightly">
<Translate>release note</Translate>
</Link>
</div>
</div>
</div>
);
Expand Down
2 changes: 2 additions & 0 deletions website/src/utils/consts.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export const nightlyUrl = 'https://nightly.paw.msgbyte.com/';

export const inviteLink = 'https://nightly.paw.msgbyte.com/invite/8Jfm1dWb';

export const releaseNoteUrl = '/blog/tags/release-note';

0 comments on commit bd55fc0

Please sign in to comment.