app: open the clips grid
The clips screen lists the clips folder: one card per mp4 the user exported, newest first, with the clip's 16:9 stage, the champion it stars when its recording is in the loaded history, share, and a menu whose Delete removes the file. The folder read runs when the screen opens, and again when an export finishes on it. Computed highlights were the first plan for the grid, but a real history parses hundreds of timelines and some run to tens of MB, so the grid now reads only what the user actually exported.
This commit is contained in:
1 parent
fac1ec00da
commit
3f82f87a81
9 files changed
+577
-9
No files matched your search
@@ -43,6 +43,13 @@ pub static CHEVRON_RIGHT: Icon = Icon {
|
||||
body: r#"<path d="M6 3.6 10.6 8 6 12.4" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>"#,
|
||||
};
|
||||
|
||||
/// A box with an arrow out of the top: the button that will share a clip.
|
||||
pub static SHARE: Icon = Icon {
|
||||
name: "app-share",
|
||||
view: 16.0,
|
||||
body: r#"<path d="M8 9.4V2.4" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/><path d="M5.3 4.7 8 2l2.7 2.7" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M5.7 6.9H4.8c-1 0-1.8.8-1.8 1.8v3.5c0 1 .8 1.8 1.8 1.8h6.4c1 0 1.8-.8 1.8-1.8V8.7c0-1-.8-1.8-1.8-1.8h-.9" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>"#,
|
||||
};
|
||||
|
||||
/// Three vertical dots: the button that opens a card's menu of actions.
|
||||
pub static DOTS: Icon = Icon {
|
||||
name: "app-dots",
|
||||
|
||||
Reference in new issue
Block a user