Create visual reporting pages and dashboards with widgets in Timill Platform.
Creating Pages#
- Navigate to Group Settings → Pages
- Click Create Page
- Configure:
- Name
- Layout (grid columns)
- Permissions
- Add widgets
- Save
Page Layouts#
Available Layouts#
| Layout | Description |
|---|---|
| Single Column | Full-width layout |
| Two Column | 50/50 split |
| Three Column | 33/33/33 split |
| Custom Grid | Custom widget sizing |
Widget Sizing#
Widgets can be sized using the grid system:
- Width: 1-12 columns
- Height: Small, Medium, Large, Full
Widget Types#
Built-in Widgets#
| Widget | Description |
|---|---|
| Item List | Filterable list of items |
| Pie Chart | Distribution chart |
| Burndown Chart | Progress tracking |
| Stats | Key metrics display |
| Scripted | Custom HTML/JS widgets |
Scripted Widgets#
Create custom widgets with Go templates:
<div class="bg-white rounded-lg shadow">
{{$items := queryItems (printf "type='%s'" .itemType)}}
<h3>{{.title}} ({{len $items}})</h3>
{{range $items}}
<div>{{.Title.Get}}</div>
{{end}}
</div>
Scripted Charts#
Create custom charts with JavaScript:
function generateChart(api, params, context) {
const items = api.queryItems("type = 'task'");
return echarts.createPieChart(items, {
title: 'Status Distribution'
});
}
Dashboard Templates#
Common Dashboard Types#
Project Status Dashboard#
Widgets:
- Item count by status (Stats)
- Burndown chart (Burndown Chart)
- Recent items (Item List)
- User workload (Scripted Chart)
Team Performance Dashboard#
Widgets:
- Items completed this week (Stats)
- Team burndown (Burndown Chart)
- Overdue items (Item List)
- Priority distribution (Pie Chart)
Using Templates#
- Navigate to Group Settings → Pages
- Click Import Template
- Select template type
- Customize as needed
Permissions#
Page-Level Permissions#
Set who can view each page:
| Role | Access |
|---|---|
| All Members | View all pages |
| Specific Roles | View selected pages |
| Specific Users | View selected pages |
Widget Permissions#
Widgets inherit page permissions. Additional restrictions:
- Data Access: Based on user’s item permissions
- Script Access: Based on script execution rights
Embedding Pages#
Public Pages#
Enable public access for external sharing:
- Go to Group Settings → Pages
- Select page
- Enable Public Access
- Copy public link
Warning
Public pages expose data to anyone with the link. Ensure sensitive data is not included.
Embedding in External Sites#
Use iframe to embed pages:
<iframe
src="https://your-domain.com/group/pages/public/page-id"
width="100%"
height="600">
</iframe>
Best Practices#
Organization#
- Use descriptive page names
- Group related widgets together
- Use consistent layouts across pages
- Document page purposes
Performance#
- Limit widget queries to necessary data
- Use specific filters instead of broad queries
- Cache frequently accessed data
- Monitor widget load times
User Experience#
- Keep dashboards uncluttered
- Use meaningful charts (avoid pie charts with too many slices)
- Provide context for metrics
- Make pages mobile-responsive
See also: