Business Overview Page #35
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_biz#35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Business overview page should briefly explain what each area is for.
Example:
Contacts
People and business relationships we interact with.
Companies
Organizations linked to contacts, deals, contracts, HR, and finance.
Interactions
Calls, emails, meetings, notes, and follow-ups linked to contacts and companies.
Deals
Opportunities, investment discussions, sales opportunities, or commercial tracks.
Contracts
Agreements and legal/commercial documents linked to contacts and companies.
Finance
Amounts, invoices, payments, budgets, and financial records.
HR
Employees, contractors, advisors, and team-related records linked to contacts.
Tasks / Projects
Execution layer for work linked to business records.
Implementation Spec for Issue #35
Objective
Add a brief textual description beneath each section heading on the main overview/dashboard page (
/c/:context) so that users immediately understand what each area of the application is for. Descriptions are taken verbatim from the issue.Requirements
IndexTemplate::render()Files to Modify
crates/hero_biz_ui/src/web/templates/mod.rs— EditIndexTemplate::render()to add description blocks and add the missing HR section cardImplementation Plan
Step 1: Add description block to CRM section
Inside the CRM
<div class="card mb-4">, add after the card-header:Dependencies: none
Step 2: Add description block to Finance section
Inside the Finance
<div class="card mb-4">, add after the card-header:Dependencies: none
Step 3: Add HR section card (currently missing from overview)
After the Finance card, insert a new HR card section with description and a link tile. No new struct fields or handler changes needed — uses existing
contextandbpvariables already in scope.Dependencies: none
Step 4: Add description block to Projects section
Inside the Projects
<div class="card mb-4">, add after the card-header:Dependencies: none
Step 5: Build verification
Run
cargo build -p hero_biz_uito confirm no brace-escaping errors in the format! string.Dependencies: Steps 1–4
Acceptance Criteria
Notes
format!()with inline HTML — literal{and}in HTML must be escaped as{{and}}inside the format stringhero_biz_app)OverviewTabis out of scopepx-3 pt-2 pb-0 text-muted smallclass pattern for description blocks to match existing card stylingBuild Results
Status: PASS
Build succeeded with no errors or warnings.
Implementation Summary
All changes were made in
crates/hero_biz_ui/src/web/templates/mod.rswithin theIndexTemplate::render()method.Changes Made
CRM section — Added description block after the card-header:
Finance section — Added description block after the card-header:
Projects section — Added description block after the card-header:
HR section — Added a new HR card (previously missing from the overview dashboard, though present in the sidebar). Includes:
Build Result
Build passed with no errors or warnings (
cargo build -p hero_biz_ui).Acceptance Criteria