zfile-dev / zfile-dev/zfile

希望将默认访问页进行修改

Open
#341 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
Java
Stars
10.8k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

概述

希望可以参考下ShareList的驱动器管理方法,在挂载单一驱动器时可以选择展开或者不展开驱动器内容。

详细解释

现在访问zfile默认是直接展开驱动器1的内容,希望可以添加个页面可以列出所有的驱动器供选择,在后台中添加相对应的开关,用于选择是否开启驱动器页为默认访问。将其设置为开启后将驱动器列表设置为默认访问页,也就是访问域名后不再自动跳转到/1/main 而是跳转到驱动器列表。设置为关闭时按照现有的方式跳转到/1/main 。
可以在左上角站点名称旁添加一个按钮用于直接返回到驱动器列表,保留右上角驱动器下拉列表用于快速切换。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the current site-root redirect to /1/main and locating the driver-list view, the backend setting, and the existing driver dropdown. Done means a configurable default driver-list page, the existing /1/main behavior when disabled, and a button that returns to the driver list.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
backend, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.