firefox-scrapbook icon indicating copy to clipboard operation
firefox-scrapbook copied to clipboard

Improve deep capture window (sbCaptureWindow)

Open yfdyh000 opened this issue 8 years ago • 14 comments

I can't check/uncheck multiple items at once, in addition to using a filter.

In addition, column sorting, advanced filters (such as profiles, regular expressions, set as default) may also make the window better.

yfdyh000 avatar Jul 09 '16 21:07 yfdyh000

This feature request is like downThemAll but we are not downThemAll. Concerning the increasing functionality and coding burden, we are considering reworking the filter system to something like the new "download linked files" filter system in the beta version. I personally would like the simple and flexible approach, but I'm not sure whether others do. You can check the beta version here (currently 1.13.0b2 but it's likely to be updated) for a test and further feedback.

danny0838 avatar Jul 10 '16 06:07 danny0838

I don't understand the interface. It seems to have abandoned granular organize.

yfdyh000 avatar Jul 10 '16 14:07 yfdyh000

要不要考慮用中文XDD

danny0838 avatar Jul 10 '16 17:07 danny0838

嗯…都可以啦。英文便于其他程序员参与。

yfdyh000 avatar Jul 10 '16 17:07 yfdyh000

老實說我看不懂你的上一句,在 beta 系列改了不少功能,其中一個是把擷取細節對話視窗的下載連結功能改寫為用 RegExp 組比對,好處是可以事先寫好多種組合再視需要用註解切換,由於設定值是字串,會比較容易移植;此外該設定也會儲存到使用者偏好,可透過匯入/匯出偏好保存。

如果這部分反應好,會考慮把多層擷取的篩選功能也改為類似做法,即是用一個多行的 RegExp 字串,每行代表一個加入或排除條件。如此只要把整段字串備份下來,未來就可以很快套用同樣的篩選條件。

danny0838 avatar Jul 10 '16 17:07 danny0838

有时的需求不是按类型或网址筛选,而是逐个选择(最好能多选和列排序,以及排序链接标题)。比如一个帖子列表(链接),只要其中几项。

yfdyh000 avatar Jul 10 '16 17:07 yfdyh000

這點技術上有困難,尤其像兩層以上的多層擷取會在擷取第一層頁面時動態增加新的項目;另外連結標題也是等開始擷取頁面時才能得知,既然無法事先得知,當然也不可能事先就用這些資訊排序。

況且既然資料最後都要下載,順序是沒有差別的,如果只是為了排序好勾,用 RegExp 也可以解決。

danny0838 avatar Jul 10 '16 18:07 danny0838

多层没考虑过;可以先获取并缓存。我指的是alt属性。是想减少空间消耗,获取列表中的多个链接。

yfdyh000 avatar Jul 10 '16 18:07 yfdyh000

再试之后发现我理解错了,旧对话框还在,我以为被扩展名过滤取代了。

那个扩展名/标头过滤感觉不是很方便,没法列出查看和复制,对话框也是模态(Modal)。

yfdyh000 avatar Jul 20 '16 02:07 yfdyh000

這我瞭解,所以我希望你試試下載連結的篩選方式(一個文字對話框,每行一個 RegExp 篩選指令)用起來感覺如何?假如把它應用到多層擷取如何?

danny0838 avatar Jul 20 '16 04:07 danny0838

我目前只用单层(1)获取。获取需求是特定网站(域名)下仅获取url匹配的html,减少html文件量,这个域名限定的only规则可能不太好写,所以每次手动加包括=条件来取消勾选。

yfdyh000 avatar Jul 20 '16 04:07 yfdyh000

你覺得我們可以怎麼改進 UI?

danny0838 avatar Jul 20 '16 05:07 danny0838

如果列表过滤(包括/排除)可保存默认配置或多配置,可能方便一些(对于批量)。 以及,那里的规则好像不能优先级和同时生效,比如两个包括,比如包括A并排除B(优先级按顺序)。

yfdyh000 avatar Jul 20 '16 05:07 yfdyh000

One thing we'll implement is adding a context menu to check/uncheck selected items at once.

Check/uncheck selected items

We currently have no good idea for improving the UI of the capture dialog. Further improvements could be deferred.

danny0838 avatar Aug 05 '16 19:08 danny0838