mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
♻️ Refactor dashboard bootstrap
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
"~:modified-at": "~m1714045654874",
|
||||
"~:name": "New File 2",
|
||||
"~:revn": 1,
|
||||
"~:thumbnail-id": "~u95d6fdd8-48d8-8148-8004-38af910d2dbe",
|
||||
"~:is-shared": false
|
||||
},
|
||||
{
|
||||
@@ -15,6 +16,7 @@
|
||||
"~:modified-at": "~m1713519762931",
|
||||
"~:name": "New File 1",
|
||||
"~:revn": 1,
|
||||
"~:thumbnail-id": "~u95d6fdd8-48d8-8148-8004-38af910d2dbe",
|
||||
"~:is-shared": false
|
||||
}
|
||||
]
|
||||
|
||||
BIN
frontend/playwright/data/dashboard/thumbnail.png
Normal file
BIN
frontend/playwright/data/dashboard/thumbnail.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
@@ -110,6 +110,10 @@ export class DashboardPage extends BaseWebSocketPage {
|
||||
"get-project-files?project-id=*",
|
||||
"dashboard/get-project-files.json",
|
||||
);
|
||||
|
||||
await this.mockRPC(/assets\/by-id/gi, "dashboard/thumbnail.png", {
|
||||
contentType: "image/png",
|
||||
});
|
||||
}
|
||||
|
||||
async setupNewProject() {
|
||||
|
||||
Reference in New Issue
Block a user