Restyle app grid with MUI and document app icons (#383)

This commit is contained in:
lenhanphung
2025-12-02 21:53:32 +07:00
committed by GitHub
parent 325d33caef
commit d8f5f9ae46
7 changed files with 143 additions and 23 deletions
+21 -7
View File
@@ -90,24 +90,38 @@ And then visit [https://localhost:5000](https://localhost:5000).
An applist is configurable in the public folder to setup the grid of app accessible within Twake Calendar.
Each app has three fields:
1. Copy `public/appList.example.js` to `public/appList.js`
2. Place your app icons in `public/assets/images/svg/` directory
3. Configure each app with three fields:
- name: the apps name
- icon: the link to the apps icon
- link: the apps link or URL
- name: the app's name
- icon: the path to the app's icon (relative to public folder, e.g., `/assets/images/svg/app-chat.svg`)
- link: the app's link or URL
Example:
```js
var appList = [
{
name: "My App",
icon: "https://myapp.com/myapp.png",
link: "https://myapp.com",
name: "Chat",
link: "/twake",
icon: "/assets/images/svg/app-chat.svg",
},
{
name: "Drive",
link: "/drive",
icon: "/assets/images/svg/app-drive.svg",
},
{
name: "Mail",
link: "/mail",
icon: "/assets/images/svg/app-mail.svg",
},
];
```
**Note**: `appList.js` is gitignored, so each environment can have its own configuration. The icon files in `public/assets/images/svg/` should be committed to the repository.
## Roadmap
The Minimum Viable Product involves all features currently used in production for **esn-frontend-calendar**.