Skip to content

[ADD] AwesomeOwl: OWL Tutorial PR #798

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 3 commits into
base: 18.0
Choose a base branch
from

Conversation

karygauss03
Copy link

In this PR, I managed to implement the following tasks as part of the web framework from Odoo's official documentation:

  • Introduce props validations and callbacks.
  • And more ... (in progress)

Added the base structure for the AwesomeOwl module.
Introduced main components and sub-components (Playground, Counter, and Card).
Implemented props validation and callback handling (e.g., sum case).
This commit covers the first chapter (tasks 1 to 6) of the Web Framework section from Odoo's official documentation.
@robodoo
Copy link

robodoo commented May 26, 2025

Pull request status dashboard

In this commit, I added the task list, task item, counter and cards.
I used hooks, event handling, and callbacks (between parent and child components).
This commit is related to the first chapter of web framework from Odoo's Official documentation (task 7:14)
@karygauss03 karygauss03 changed the title [ADD] AwesomeOwl: Add playground and base components [ADD] AwesomeOwl: OWL Tutorial PR May 30, 2025
…S Framework.

In this commit, I added the new custom module AwesomeDashboard. I:
- Integrated Layout component with custom styling and control panel buttons.
- Added navigation buttons for Customers and Leads using action service.
- Created reusable DashboardItem component with size prop and card layout.
- Fetched real statistics from server via rpc and display key business metrics.
- Implemented statistics caching with a reactive service to reduce network calls and auto-refresh every 10mins.
- Added PieChart component using lazy-loaded Chart.js to visualize t-shirt size distribution.
- Made dashboard generic by iterating over configurable dashboard items (NumberCard, PieChartCard).
- Introduced extensibility via registry for adding new dashboard items from other addons.
- Added user customization: settings dialog to add/remove dashboard items with persistence in localStorage.
- Further Improvements: Transaction support and responsive design (didn't managed to do the interactive charts and server-side user settings).
This commit is related to the second chapter of the Web Framework from Odoo's official documentation (OWL).
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants