Customize home screen (#250)

* Customize home screen

* remove logs

* Lint fix

* move func

* Fix for checklist

* Fix save state

* open api

* Fix spec

* Changelog

* Add TODO

* Button size

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
Brahim Hadricheandgithub-action linter authored and GitHub committed 2024-01-06 18:17:29 -05:00
1 parent e7324495fe
commit fd7bdde733
21 files changed
+638 -16

No files matched your search

+6
View File
@@ -13,6 +13,12 @@ export class PlayletApi {
return await response.json();
}
// Home layout is the home layout file, but with the user's preferences applied.
static async getHomeLayout() {
const response = await fetch(`${PlayletApi.host()}/api/home-layout`);
return await response.json();
}
static async getHomeLayoutFile() {
const response = await fetch(`${PlayletApi.host()}/config/default_home_layout.yaml`);
return await response.json();