mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 22:08:30 +02:00
♻️ Refactor dashboard bootstrap
This commit is contained in:
parent
b31afcfb47
commit
b17d7c0289
45 changed files with 1684 additions and 1500 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue