Skip to content

Commit

Permalink
feat(AriaNG): Add compact mode
Browse files Browse the repository at this point in the history
1. Add compact mode of UI
2. Add transition animation to improve UX
3. Update AriaNG to v1.3.7
  • Loading branch information
alexhua committed Dec 8, 2023
1 parent bb8ecb7 commit 670c7f8
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 12 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "__MSG_appName__",
"short_name": "AE",
"version": "2.2.4",
"short_name": "A2E",
"version": "2.3.0",
"manifest_version": 3,
"minimum_chrome_version": "100.0.0",
"default_locale": "en",
Expand Down
4 changes: 4 additions & 0 deletions ui/ariang/css/aria-ng-0a08be8d22.min.css

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions ui/ariang/css/aria-ng-49379b844c.min.css

This file was deleted.

2 changes: 1 addition & 1 deletion ui/ariang/index.html

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions ui/ariang/js/aria-ng-076e6918dc.min.js

This file was deleted.

5 changes: 5 additions & 0 deletions ui/ariang/js/aria-ng-e29c27f74f.min.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions ui/ariang/langs/zh_Hans.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Delete=删除任务
Select All=全部选中
Select None=全部不选
Select Invert=反向选择
Select All Paused Tasks=选择暂停的任务
Select All Failed Tasks=选择失败的任务
Select All Completed Tasks=选择已完成任务
Select All Tasks=全选所有任务
Expand Down Expand Up @@ -172,6 +173,7 @@ Light=浅色
Dark=深色
Follow system settings=跟随系统设置
Debug Mode=调试模式
Compact Mode=紧凑模式
Page Title=页面标题
Preview=预览
Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag to ignore the suffix, and "scale\=n" tag to set the decimal precision.=小提示: 您可以使用 "noprefix" 标签忽略前缀, "nosuffix" 标签忽略后缀, 以及 "scale\=n" 标签设置小数的精度.
Expand Down Expand Up @@ -224,6 +226,7 @@ Include Prefix When Copying From Task Details=任务详情页复制时包括前
Show Pieces Info In Task Detail Page=任务详情页显示区块信息
Pieces Amount is Less than or Equal to {value}=区块数量小于等于 {{value}}
RPC List Display Order=RPC 列表显示顺序
Each Task List Page Uses Independent Display Order=各任务列表页面使用独立显示顺序
Recently Used=最近使用
RPC Alias=RPC 别名
Default Tasks Page=默认任务列表页面
Expand Down
4 changes: 4 additions & 0 deletions ui/ariang/langs/zh_Hant.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Operation Succeeded=操作成功
is connected=已連線
settings have taken effect=設定已生效
settings are reset=設定已重設
Compact Mode=紧凑模式
Error=錯誤
OK=確定
Confirm=確認
Expand All @@ -31,6 +32,7 @@ Delete=刪除工作
Select All=全部選中
Select None=全部不選
Select Invert=反向選擇
Select All Paused Tasks=選擇暫停的工作
Select All Failed Tasks=選擇失敗的工作
Select All Completed Tasks=選擇已完成工作
Select All Tasks=全選所有工作
Expand Down Expand Up @@ -172,6 +174,7 @@ Light=淺色
Dark=深色
Follow system settings=跟隨系统設定
Debug Mode=偵錯模式
Compact Mode=緊凑模式
Page Title=頁面標題
Preview=預覽
Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag to ignore the suffix, and "scale\=n" tag to set the decimal precision.=小提示: 您可以使用 "noprefix" 標籤忽略前綴, "nosuffix" 標籤忽略副檔名, 以及 "scale\=n" 標籤設定小數的精度.
Expand Down Expand Up @@ -224,6 +227,7 @@ Include Prefix When Copying From Task Details=工作詳情頁複製時包括前
Show Pieces Info In Task Detail Page=工作詳情頁顯示區塊資訊
Pieces Amount is Less than or Equal to {value}=區塊數量小於等於 {{value}}
RPC List Display Order=RPC 清單顯示順序
Each Task List Page Uses Independent Display Order=各工作清單頁面使用獨立顯示順序
Recently Used=最近使用
RPC Alias=RPC 別名
Default Tasks Page=預設工作清單頁面
Expand Down

4 comments on commit 670c7f8

@Mikle-Bond
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, @alexhua
Can you please point me to the un-minified sources of AriaNG you use?
I see that this release comes with a file ui/ariang/js/aria-ng-e29c27f74f.min.js, but inside the archive from the 1.3.7 release page of AriaNG I see a file aria-ng-b48666dae5.min.js instead. The contents are different too. Do you use some other branch of AriaNG to build this project?

@alexhua
Copy link
Owner Author

@alexhua alexhua commented on 670c7f8 Dec 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, the AriaNG that we are using is a private build with our patches.
Just let me know if you want to learn some futher information. @Mikle-Bond

@Mikle-Bond
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see. That explains a lot.
IMO, that's not exactly the spirit of Open Source, but it doesn't seem to violate the MIT licence in any way. Maybe include this notice somewhere in acknowledgment.txt for folks like me? :)

Anyway, I tried to find any documentation on the aria2:// schema. I see that a "Open download folder" button is one of your additions. Can you point me to the right direction: what other options this schema has apart from aria2://browse and aria2://start?

@alexhua
Copy link
Owner Author

@alexhua alexhua commented on 670c7f8 Dec 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that you are advocating for the GPL. However, the GPL is not the entirety of the open-source world, is it? 🙃

You are quite knowledgeable about this project than I thought. Maybe you already have the answer. Yes, these two URL schemes are the only ones we use.

Please sign in to comment.