Skip to content
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
53 changes: 53 additions & 0 deletions blog/answer-1.5.0-release/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
date: 2025-04-30
title: "Answer 1.5.0: New Sidebar Layout & Tag Merge Feature"
authors: [shuai]
category: Release
featured: true
image: 2025-04-30-cover@4x.png
description: "Answer 1.5.0 introduces full-width layout with sticky left menu, tag merging, and optimized mobile navigation UI."
---

## 🎉 New Features

### Full-Width Layout with Sticky Left Menu

This update introduces a brand-new full-width layout. The left menu now supports sticky positioning, and the admin panel menu maintains consistency with the main site while adding icons to distinguish between different navigation levels, providing users with a smoother browsing experience.

![site](./layout-1.jpg)

![admin](./layout-2.jpg)

### Tag Merge Feature

Added a tag merge feature for administrators and moderators. After merging, questions and followers associated with the source tag will be transferred to the new tag.


![merge-tag01](./merge-tag1.png)

![merge-tag02](./merge-tag2.png)

## 🔧 Improvements

- **Unified Admin Panel Left Menu Style**: The left menu in the admin panel now matches the site's style, improving visual consistency.
- **Optimized Mobile Search & Question Layout**: Enhanced the search and question page layouts on mobile devices for easier navigation.
- **Prevent Suspended Users from Logging In**: The system now blocks suspended users from logging in, improving security.
- **Auto-Set Server Time Zone as Default**: Automatically detects the server's location during installation and sets the default time zone, reducing manual configuration.
- **Search Plugin for Similar Questions on Ask Page**: Allows using a search plugin to quickly find similar questions when posting, avoiding duplicates.
- **Optimized Reaction Button Style in Dark Theme**: Improved the visual design of reaction buttons in dark mode.

## 🐞 Bug Fixes
- **Username Minimum Length Set to 2**: Fixed a bug where the username minimum length was set to 2 but still prompted for a minimum of 4 characters.
- **Suspended Users Receiving Email Notifications**: Resolved an issue where suspended users could still receive email notifications.
- **Duplicate Questions in Tag Search**: Fixed a bug where searching by tag could return duplicate questions.
- **answer build --output Relative Path Not Working**: Corrected an issue where using relative paths for build output was ineffective.
- **Nil Pointer Error When Fetching Tags**: Fixed a nil pointer error that could occur when retrieving tags under certain conditions.
- **Duplicate Security Requirements in Swagger Docs**: Removed redundant security requirement declarations in Swagger documentation.


## ❤️ Thanks You Contributions

A big thanks to all contributors who helped develop this release (sorted by GitHub ID):
[@hgaol](https://github.com/hgaol), [@LinkinStars](https://github.com/LinkinStars), [@seiyab](https://github.com/seiyab), [@shuashuai](https://github.com/shuashuai), [@sy-records](https://github.com/sy-records), [@xuthus5](https://github.com/xuthus5)

Your contributions made this release even better! 🚀
Binary file added blog/answer-1.5.0-release/layout-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added blog/answer-1.5.0-release/layout-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added blog/answer-1.5.0-release/merge-tag1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added blog/answer-1.5.0-release/merge-tag2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
date: 2025-04-30
title: "Answer 1.5.0: 全新侧边栏布局与标签合并功能"
authors: [shuai]
category: Release
featured: true
image: 2025-04-30-zh-cover@4x.png
description: "Answer 1.5.0 支持全宽布局与粘性左侧菜单、标签合并功能,优化了移动端导航的 UI, 提升用户体验"
---

## 🎉 新功能

### 全宽布局与粘性左侧菜单

本次更新引入了全新的全宽布局,左侧菜单现在支持粘性定位,管理后台菜单保持跟主站一致同时添加了图标用于区分不同级别的导航,为用户提供更流畅的浏览体验。

![site](./layout-01.png)

![管理后台](./layout-02.png)

### 标签合并功能

为管理员和版主添加了标签合并功能。标签合并后,源标签的问题和关注者也将在新标签下传输。

![merge-tag01](./merge-tag1.png)

![merge-tag02](./merge-tag2.png)

## 🔧 改进

- **管理员面板左侧菜单样式统一**:管理员面板的左侧菜单现在与站点风格保持一致,提升整体视觉一致性。
- **移动端搜索与提问布局优化**:改进了移动设备上的搜索和提问页面布局,使操作更加便捷。
- **禁止已封禁用户登录**:系统现在会阻止已被封禁的用户登录,增强安全性。
- **自动设置服务器所在时区为默认时区**:安装时自动检测服务器位置并设置默认时区,减少手动配置需求。
- **提问页面支持搜索插件查找相似问题**:在提问页面可使用搜索插件快速查找相似问题,避免重复提问。
- **暗黑主题下反应按钮样式优化**:优化了暗黑主题下的反应按钮样式,提升视觉效果。

## 🐞 Bug 修复
- **用户名最小长度为 2**: 修正了用户名最小长度为 2 但是校验仍然提示最小长度为 4 的 bug。
- **已封禁用户接收邮件通知**: 修复了已封禁用户仍能接收邮件通知的问题。
- **按标签搜索时问题重复**: 解决了按标签搜索时可能返回重复问题的 bug。
- **answer build --output 相对路径无效**: 修正了使用相对路径输出构建结果时无效的问题。
- **获取标签时页面空指针错误**: 修复了在某些情况下获取标签时可能出现的空指针错误。
- **Swagger 文档中重复的安全需求**: 移除了 Swagger 文档中重复的安全需求声明。


## ❤️ 感谢贡献

感谢所有参与本次版本开发的贡献者(按 GitHub ID 排序):
[@hgaol](https://github.com/hgaol), [@LinkinStars](https://github.com/LinkinStars), [@seiyab](https://github.com/seiyab), [@shuashuai](https://github.com/shuashuai), [@sy-records](https://github.com/sy-records), [@xuthus5](https://github.com/xuthus5)

你们的贡献让这个版本更加完善!🚀
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions static/data/latest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"release": {
"version": "1.4.5",
"url": "https://github.com/apache/answer/releases/tag/v1.4.5"
"version": "1.5.0",
"url": "https://github.com/apache/answer/releases/tag/v1.5.0"
}
}
Binary file added static/img/blog/2025-04-30-cover@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog/2025-04-30-cover@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog/2025-04-30-zh-cover@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog/2025-04-30-zh-cover@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.