Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【建议】镜像源可以设置下拉选泽 #51

Closed
184177677 opened this issue Jan 25, 2024 · 6 comments
Closed

【建议】镜像源可以设置下拉选泽 #51

184177677 opened this issue Jan 25, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@184177677
Copy link

【建议】镜像源可以设置下拉选泽

@1111mp
Copy link
Owner

1111mp commented Jan 25, 2024

你的意思是固定写死几个选项 还是追踪用户的使用记录(将使用过路径的历史记录作为下拉选项)

固定写死肯定体验不是很好 追踪记录的话需要校验url的合法性或者可用性

这个后续我会添加一下这个功能

@1111mp 1111mp added the enhancement New feature or request label Jan 25, 2024
@BG7ZAG
Copy link

BG7ZAG commented Jan 31, 2024

你的意思是固定写死几个选项 还是追踪用户的使用记录(将使用过路径的历史记录作为下拉选项)

固定写死肯定体验不是很好 追踪记录的话需要校验url的合法性或者可用性

这个后续我会添加一下这个功能

其实可以写一两个固定的,外加自定义。固定的可以是npm官网和npmmirror就行

@1111mp
Copy link
Owner

1111mp commented Jan 31, 2024

也可以,这个后续我会加上。

目前在对ui进行重构,迁移到esmodule的工作,有点东西要处理,不会那么快。

@BG7ZAG
Copy link

BG7ZAG commented Jan 31, 2024

也可以,这个后续我会加上。

目前在对ui进行重构,迁移到esmodule的工作,有点东西要处理,不会那么快。

要不是ui重构,我有空也提个pr
03BC2CD2

1111mp added a commit that referenced this issue Feb 5, 2024
Signed-off-by: The1111mp <The1111mp@outlook.com>
@1111mp
Copy link
Owner

1111mp commented Feb 6, 2024

该功能目前已经实现 但是因为目前没有设备所以发布不了 得等到年后了

commit e057d62

默认提供这两个镜像地址(可上下切换选择):
Screenshot 2024-02-06 at 11 58 45

也支持自定义,输入自己想要的镜像地址会保存到记录(点击设置弹窗的OK确认按钮之后才会保存),但是最多会保存5条记录(最近使用的5条记录):
Screenshot 2024-02-06 at 11 59 09

@1111mp
Copy link
Owner

1111mp commented Feb 18, 2024

这个功能目前已经在最新的 Release v3.1.0 中提供支持

那么我就先把这个issue给关掉了 当然后续如果有任何问题都可以随时重新打开 谢谢

@1111mp 1111mp closed this as completed Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants