Hi everyone
I’m new to Kirby and I’m starting a project to develop a project estimation tool. I’m currently using Kirby 4, but I’m not entirely sure if I’m leveraging the latest features correctly. I would greatly appreciate any feedback or suggestions from the community on my approach.
Project Overview
The project estimation tool will have a login area where different users have varying permissions to fill out an estimation form
Here’s a breakdown of the elements and permissions
- Task Title (Text)
- Permissions Admins can write and read, users can only read
- Task Description (Textarea)
- Permissions Admins can write and read, users can only read
- Style Dropdown or mouseover for more information on the frontend
- Number of Tasks (Text or Number)
- Permissions Both admins and users can write and read
- Planned Time per Task (Text or Number)
- Permissions Admins can write and read, users can only read
- Total Time for Task (Calculated field)
- Permissions Both admins and users can read
- Internal Comment (Textarea)
- Permissions Only admins
The task list consists of a large number of tasks (between 200-300), divided into various categories for better organization
Additional Features
- Dashboard Summarizes the total time and budget needed for the project with visual representations (e.g., charts and graphs)
- Notifications Admins can send notifications to users when new tasks are added or existing tasks are updated
- Export Functionality Option to export estimates as PDF
- Search and Filter To quickly find specific tasks or categories
- Logging A log system to track changes to the tasks
My Approach
- User Roles and Permissions
- I’ve defined two main roles Admin and User
- Using Kirby’s built-in user and permissions system to control access to fields and pages
- Page Structure
- A main page for the task list with each task as a subpage
- Categories are used to organize tasks
- Field Definitions
- Using blueprints to define fields and permissions for each task
- Dashboard
- Planning to use Chart.js or D3.js for visual representations
- Additional Features
- Implementing notifications, export functionality, search and filter, and logging features
Questions
- Am I using the latest Kirby 4 features correctly
- Is my approach to structuring pages and managing permissions optimal
- Are there any built-in Kirby functions or best practices that I might be missing
Thank you in advance for your help and suggestions
Samuel