Skip to content

Commit eab1a76

Browse files
committed
Merge branch 'main' of github.com:apache/answer-website
2 parents ca3d4e9 + 80483c1 commit eab1a76

28 files changed

+106
-31
lines changed

blog/answer-1.6.0-release/index.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
date: 2025-07-23
3+
title: "Apache Answer 1.6.0: Custom Suspensions, Smoother UI & Critical Fixes"
4+
authors: [Kumfo]
5+
category: Release
6+
featured: true
7+
image: 2025-07-23-cover@4x.png
8+
description: "Answer 1.6.0 Introduces a new feature allowing administrators to customize the pause duration & Key Bug Fixes"
9+
---
10+
11+
# Release Notes: Exciting Updates & Improvements
12+
13+
We're thrilled to announce our latest release, packed with new features, meaningful enhancements, and critical bug fixes! Here’s what’s new:
14+
15+
---
16+
17+
## ✨ New Features
18+
- **Customizable Suspension Durations**
19+
Admins can now define custom suspension periods for users, offering greater flexibility in moderation.
20+
*(Thanks @shuashuai, @LinkinStars | #1361)*
21+
22+
---
23+
24+
## ⚙️ Improvements
25+
- **Refined Search Results**
26+
Reduced ambiguity in search outputs for clearer navigation.
27+
*(Thanks @sy-records | #1351)*
28+
- **Streamlined Admin Interface**
29+
Relocated "Settings → Users" section to the "Interface" tab for better organization.
30+
*(Thanks @shuashuai, @LinkinStars | #1360)*
31+
- **Enhanced Content Styling**
32+
Improved visual design of `<hr>` tags within main content areas.
33+
*(Thanks @shuashuai | #1364)*
34+
35+
---
36+
37+
## 🐞 Bug Fixes
38+
- **System Stability Fix**
39+
Resolved an issue causing unexpected software halts during abnormal events.
40+
*(Thanks @LinkinStars | #1356)*
41+
- **UI Consistency Update**
42+
Fixed dark-themed dropdown menus in the navbar to align with UI standards.
43+
*(Thanks @shuashuai | #1355)*
44+
45+
---
46+
47+
## ❤️ Thanks to Our Contributors
48+
49+
A huge thank you to all the contributors who helped improve this release (sorted by GitHub ID):
50+
[@LinkinStars](https://github.com/LinkinStars), [@shuashuai](https://github.com/shuashuai), [@sy-records](https://github.com/sy-records)
51+
52+
Your contributions make this project better with every update! 🚀
53+
54+
---
55+
56+
These updates reflect our commitment to a smoother, more intuitive experience. Thank you to our contributors and users for your ongoing support! 🚀
57+
58+
*Stay tuned for more enhancements!*

blog/authors.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,9 @@ Luffy:
4545
title: Developer
4646
url: https://github.com/sy-records
4747
image_url: https://avatars.githubusercontent.com/u/33931153?v=4
48+
49+
Kumfo:
50+
name: Kumfo
51+
title: Developer
52+
url: https://github.com/kumfo
53+
image_url: https://avatars.githubusercontent.com/u/7692591?v=4

i18n/zh-CN/docusaurus-plugin-content-blog/authors.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,9 @@ Luffy:
4545
title: Developer
4646
url: https://github.com/sy-records
4747
image_url: https://avatars.githubusercontent.com/u/33931153?v=4
48+
49+
Kumfo:
50+
name: Kumfo
51+
title: Developer
52+
url: https://github.com/kumfo
53+
image_url: https://avatars.githubusercontent.com/u/7692591?v=4

src/css/custom.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ $primary: #0033ff;
5858
opacity: 0.75;
5959
}
6060

61-
.navbar__link.bi-translate {
61+
.bi-translate {
6262
svg {
6363
display: none;
6464
}
6565
}
66-
.navbar__link.bi::before {
66+
.bi-translate::before {
6767
font-size: 24px;
6868
margin-right: 0.25rem;;
6969
}

src/theme/NavbarItem/NavbarNavLink.tsx

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
import React from 'react';
8+
import React, { useEffect } from 'react';
99
import Link from '@docusaurus/Link';
1010
import useBaseUrl from '@docusaurus/useBaseUrl';
1111
import isInternalUrl from '@docusaurus/isInternalUrl';
@@ -40,11 +40,18 @@ export default function NavbarNavLink({
4040
const normalizedHref = useBaseUrl(href, {forcePrependBaseUrl: true});
4141
const isExternalLink = label && href && !isInternalUrl(href);
4242

43-
const clickLink = (e) => {
44-
if (e.target?.lang) {
45-
localStorage.setItem('_lang_user_', e.target.lang);
46-
}
47-
}
43+
useEffect(() => {
44+
const handleClick = (event) => {
45+
if (event.target.tagName === 'A' && event.target.lang) {
46+
localStorage.setItem('_lang_user_', event.target.lang);
47+
}
48+
};
49+
document.addEventListener('click', handleClick);
50+
51+
return () => {
52+
document.removeEventListener('click', handleClick);
53+
};
54+
}, [])
4855

4956
// Link content is set through html XOR label
5057
const linkContentProps = html
@@ -68,7 +75,6 @@ export default function NavbarNavLink({
6875
href={prependBaseUrlToHref ? normalizedHref : href}
6976
{...props}
7077
{...linkContentProps}
71-
onClick={clickLink}
7278
/>
7379
);
7480
}
@@ -85,7 +91,6 @@ export default function NavbarNavLink({
8591
})}
8692
{...props}
8793
{...linkContentProps}
88-
onClick={clickLink}
8994
/>
9095
);
9196
}

static/data/latest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"release": {
3-
"date": "2025-06-03",
4-
"version": "1.5.1",
5-
"url": "https://github.com/apache/answer/releases/tag/v1.5.1"
3+
"date": "2025-07-22",
4+
"version": "1.6.0",
5+
"url": "https://github.com/apache/answer/releases/tag/v1.6.0"
66
}
77
}

static/data/team.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,98 +5,98 @@
55
"users": [
66
{
77
"name": "chrisdutz",
8-
"avatar": "https://avatars.githubusercontent.com/u/651105",
8+
"avatar": "https://avatars.githubusercontent.com/u/651105?s=96&v=4",
99
"github": "https://github.com/chrisdutz",
1010
"role": "Mentor",
1111
"avatar_local": "/img/team/chrisdutz.jpg"
1212
},
1313
{
1414
"name": "fenbox",
15-
"avatar": "https://avatars.githubusercontent.com/u/360618",
15+
"avatar": "https://avatars.githubusercontent.com/u/360618?s=96&v=4",
1616
"github": "https://github.com/fenbox",
1717
"role": "Developer",
1818
"avatar_local": "/img/team/fenbox.png"
1919
},
2020
{
2121
"name": "jiangbonadia",
22-
"avatar": "https://avatars.githubusercontent.com/u/1227386",
22+
"avatar": "https://avatars.githubusercontent.com/u/1227386?s=96&v=4",
2323
"github": "https://github.com/jiangbonadia",
2424
"role": "DevRel",
2525
"avatar_local": "/img/team/jiangbonadia.jpg"
2626
},
2727
{
2828
"name": "joyqi",
29-
"avatar": "https://avatars.githubusercontent.com/u/59437",
29+
"avatar": "https://avatars.githubusercontent.com/u/59437?s=96&v=4",
3030
"github": "https://github.com/joyqi",
3131
"role": "Developer",
3232
"avatar_local": "/img/team/joyqi.png"
3333
},
3434
{
3535
"name": "justinmclean",
36-
"avatar": "https://avatars.githubusercontent.com/u/144504",
36+
"avatar": "https://avatars.githubusercontent.com/u/144504?s=96&v=4",
3737
"github": "https://github.com/justinmclean",
3838
"role": "Mentor",
3939
"avatar_local": "/img/team/justinmclean.jpg"
4040
},
4141
{
4242
"name": "kumfo",
43-
"avatar": "https://avatars.githubusercontent.com/u/7692591",
43+
"avatar": "https://avatars.githubusercontent.com/u/7692591?s=96&v=4",
4444
"github": "https://github.com/kumfo",
4545
"role": "Developer",
4646
"avatar_local": "/img/team/kumfo.jpg"
4747
},
4848
{
4949
"name": "LinkinStars",
50-
"avatar": "https://avatars.githubusercontent.com/u/19712692",
50+
"avatar": "https://avatars.githubusercontent.com/u/19712692?s=96&v=4",
5151
"github": "https://github.com/LinkinStars",
5252
"role": "Developer",
5353
"avatar_local": "/img/team/LinkinStars.jpg"
5454
},
5555
{
5656
"name": "mingcheng",
57-
"avatar": "https://avatars.githubusercontent.com/u/21816",
57+
"avatar": "https://avatars.githubusercontent.com/u/21816?s=96&v=4",
5858
"github": "https://github.com/mingcheng",
5959
"role": "Developer",
6060
"avatar_local": "/img/team/mingcheng.jpg"
6161
},
6262
{
6363
"name": "PrimmaAnna",
64-
"avatar": "https://avatars.githubusercontent.com/u/131739771",
64+
"avatar": "https://avatars.githubusercontent.com/u/131739771?s=96&v=4",
6565
"github": "https://github.com/PrimmaAnna",
6666
"role": "DevRel",
6767
"avatar_local": "/img/team/PrimmaAnna.png"
6868
},
6969
{
7070
"name": "robinv8",
71-
"avatar": "https://avatars.githubusercontent.com/u/12277531",
71+
"avatar": "https://avatars.githubusercontent.com/u/12277531?s=96&v=4",
7272
"github": "https://github.com/robinv8",
7373
"role": "Developer",
7474
"avatar_local": "/img/team/robinv8.jpg"
7575
},
7676
{
7777
"name": "shuashuai",
78-
"avatar": "https://avatars.githubusercontent.com/u/30591202",
78+
"avatar": "https://avatars.githubusercontent.com/u/30591202?s=96&v=4",
7979
"github": "https://github.com/shuashuai",
8080
"role": "Developer",
8181
"avatar_local": "/img/team/shuashuai.jpg"
8282
},
8383
{
8484
"name": "sy-records",
8585
"github": "https://github.com/sy-records",
86-
"avatar": "https://avatars.githubusercontent.com/u/33931153?v=4",
86+
"avatar": "https://avatars.githubusercontent.com/u/33931153?s=96&v=4",
8787
"role": "Developer",
8888
"avatar_local": "/img/team/sy-records.jpg"
8989
},
9090
{
9191
"name": "tisonkun",
92-
"avatar": "https://avatars.githubusercontent.com/u/18818196",
92+
"avatar": "https://avatars.githubusercontent.com/u/18818196?s=96&v=4",
9393
"github": "https://github.com/tisonkun",
9494
"role": "Mentor",
9595
"avatar_local": "/img/team/tisonkun.jpg"
9696
},
9797
{
9898
"name": "WillemJiang",
99-
"avatar": "https://avatars.githubusercontent.com/u/219644",
99+
"avatar": "https://avatars.githubusercontent.com/u/219644?s=96&v=4",
100100
"github": "https://github.com/WillemJiang",
101101
"role": "Mentor",
102102
"avatar_local": "/img/team/WillemJiang.jpg"
@@ -109,29 +109,29 @@
109109
"users": [
110110
{
111111
"name": "aichy126",
112-
"avatar": "https://avatars.githubusercontent.com/u/16996097",
112+
"avatar": "https://avatars.githubusercontent.com/u/16996097?s=96&v=4",
113113
"github": "https://github.com/aichy126",
114114
"role": "Developer",
115115
"avatar_local": "/img/team/aichy126.jpg"
116116
},
117117
{
118118
"name": "haitaojarvis",
119-
"avatar": "https://avatars.githubusercontent.com/u/344142",
119+
"avatar": "https://avatars.githubusercontent.com/u/344142?s=96&v=4",
120120
"github": "https://github.com/haitaojarvis",
121121
"role": "Developer",
122122
"avatar_local": "/img/team/haitaojarvis.jpg"
123123
},
124124
{
125125
"name": "hgaol",
126-
"avatar": "https://avatars.githubusercontent.com/u/11908658?v=4",
126+
"avatar": "https://avatars.githubusercontent.com/u/11908658?s=96&v=4",
127127
"github": "https://github.com/hgaol",
128128
"role": "Developer",
129129
"avatar_local": "/img/team/hgaol.jpg"
130130
},
131131
{
132132
"name": "zahash",
133133
"github": "https://github.com/zahash",
134-
"avatar": "https://avatars.githubusercontent.com/u/36153955?v=4",
134+
"avatar": "https://avatars.githubusercontent.com/u/36153955?s=96&v=4",
135135
"role": "Developer",
136136
"avatar_local": "/img/team/zahash.png"
137137
}
6.22 KB
Loading
13.8 KB
Loading

static/img/team/LinkinStars.jpg

-30.8 KB
Loading

0 commit comments

Comments
 (0)