AOSSIE-Org / AOSSIE-Org/OrgExplorer

[FEATURE]: Add a Back to Top button

未關閉
#170 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
JavaScript
星號
34
分支
92
平均合併
8 天 7 小時
30 天內合併 PR
12

描述

### Feature and its Use Cases

## Feature Description

Add a "Back to Top" button that appears when users scroll down the page.

The button should allow users to quickly return to the top of the page by clicking it. The page should scroll back to the top smoothly.

## Use Cases

- Users can quickly return to the top of long pages without manually scrolling.
- It improves navigation and overall user experience.
- It is especially useful on pages with a large amount of content.
- The button can appear after the user has scrolled down a certain distance and remain hidden when the user is already near the top.

### Additional Context

A reusable Back to Top component could be implemented so that it can be used across pages where long scrolling is required.

The button should follow the existing UI design and remain unobtrusive. It should also work properly on both desktop and mobile screens.

The scroll behavior should be smooth when the user clicks the button.

### Code of Conduct

- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have searched existing issues to avoid duplicates

貢獻指南

開啟貢獻指南

研究方向

Start by locating the page layout and existing UI components or styles used across OrgExplorer, then check how long pages behave on desktop and mobile. Add a reusable Back to Top component that appears after scrolling, stays hidden near the top, follows the existing design, and returns users smoothly to the top when clicked.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
frontend
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。