Skip to content

Commit 05d8980

Browse files
committed
add summary for heatmap in calender section
1 parent 6a50ee6 commit 05d8980

12 files changed

Lines changed: 845 additions & 62 deletions

File tree

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ Allows users to add new expense entries through a form. Input fields include:
3939
* 📅 **Date & Time**
4040
* 🏷️ **Category** (chosen from a dropdown list)
4141
* 💳 **Payment Mode**
42-
* 📍 **Location**
43-
* 📝 **Note**
42+
* 📍 **Location** (chosen from a dropdown list or manually typed)
43+
* 📝 **Note** (chosen from a dropdown list or manually typed)
4444
* 💡 **Extra Spending**
4545

4646
All expenses are stored in the device's **LocalStorage** and reflected immediately in graphs and listings.
@@ -52,6 +52,10 @@ All expenses are stored in the device's **LocalStorage** and reflected immediate
5252
* Users can view a **monthly calendar** to explore expenses on specific dates.
5353
* Tap any date to open a **popup modal** displaying all expenses for that day.
5454
* Navigate across **months and years** to view past or future expenses.
55+
* Toggle the Show HeatMap switch to highlight each day based on spending intensity.
56+
- Days are color-coded (e.g. No expense, < ₹300, ₹300–₹1000, > ₹1000) for quick insights.
57+
- A legend below the calendar explains each color category.
58+
- A summary table displays color, days count, and total amount for each category.
5559

5660
---
5761

@@ -87,7 +91,7 @@ All expenses are stored in the device's **LocalStorage** and reflected immediate
8791
Provides customization and utility options for better personalization:
8892

8993
* 🎨 **Theme Mode Toggle** (Dark / Light)
90-
* ⬇️ **Download Data** (export expenses data in pdf, json, excel formats)
94+
* ⬇️ **Download Data** (export expenses data in pdf, json, excel formats. between the selected date range)
9195
* 📤 **Import Data** (upload expense data)
9296
***Add Category** (custom categories for better organization)
9397
***Delete Category** (remove unused or incorrect categories)

documentation/components/CalendarComponent.html

Lines changed: 270 additions & 42 deletions
Large diffs are not rendered by default.

documentation/coverage.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@
517517
<td>CalendarComponent</td>
518518
<td align="right" data-sort="100">
519519
<span class="coverage-percent">100 %</span>
520-
<span class="coverage-count">(23/23)</span>
520+
<span class="coverage-count">(25/25)</span>
521521
</td>
522522
</tr>
523523
<tr class="very-good">
@@ -604,6 +604,18 @@
604604
<span class="coverage-count">(28/28)</span>
605605
</td>
606606
</tr>
607+
<tr class="very-good">
608+
<td>
609+
<!-- miscellaneous -->
610+
<a href="./interfaces/HeatmapSummary.html">src/app/models/heatMap-summary.service.ts</a>
611+
</td>
612+
<td>interface</td>
613+
<td>HeatmapSummary</td>
614+
<td align="right" data-sort="100">
615+
<span class="coverage-percent">100 %</span>
616+
<span class="coverage-count">(4/4)</span>
617+
</td>
618+
</tr>
607619
<tr class="very-good">
608620
<td>
609621
<!-- miscellaneous -->

documentation/index.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ <h3>2. <strong>Add Expense View</strong></h3>
147147
<li>📅 <strong>Date &amp; Time</strong></li>
148148
<li>🏷️ <strong>Category</strong> (chosen from a dropdown list)</li>
149149
<li>💳 <strong>Payment Mode</strong></li>
150-
<li>📍 <strong>Location</strong></li>
151-
<li>📝 <strong>Note</strong></li>
150+
<li>📍 <strong>Location</strong> (chosen from a dropdown list or manually typed)</li>
151+
<li>📝 <strong>Note</strong> (chosen from a dropdown list or manually typed)</li>
152152
<li>💡 <strong>Extra Spending</strong></li>
153153
</ul>
154154
<p>All expenses are stored in the device&#39;s <strong>LocalStorage</strong> and reflected immediately in graphs and listings.</p>
@@ -158,6 +158,12 @@ <h3>3. <strong>Calendar View</strong></h3>
158158
<li>Users can view a <strong>monthly calendar</strong> to explore expenses on specific dates.</li>
159159
<li>Tap any date to open a <strong>popup modal</strong> displaying all expenses for that day.</li>
160160
<li>Navigate across <strong>months and years</strong> to view past or future expenses.</li>
161+
<li>Toggle the Show HeatMap switch to highlight each day based on spending intensity.<ul>
162+
<li>Days are color-coded (e.g. No expense, &lt; ₹300, ₹300–₹1000, &gt; ₹1000) for quick insights.</li>
163+
<li>A legend below the calendar explains each color category.</li>
164+
<li>A summary table displays color, days count, and total amount for each category.</li>
165+
</ul>
166+
</li>
161167
</ul>
162168
<hr>
163169
<h3>4. <strong>List View</strong></h3>
@@ -199,7 +205,7 @@ <h3>6. <strong>Settings View</strong></h3>
199205
<p>Provides customization and utility options for better personalization:</p>
200206
<ul>
201207
<li>🎨 <strong>Theme Mode Toggle</strong> (Dark / Light)</li>
202-
<li>⬇️ <strong>Download Data</strong> (export expenses data in pdf, json, excel formats)</li>
208+
<li>⬇️ <strong>Download Data</strong> (export expenses data in pdf, json, excel formats. between the selected date range)</li>
203209
<li>📤 <strong>Import Data</strong> (upload expense data)</li>
204210
<li><strong>Add Category</strong> (custom categories for better organization)</li>
205211
<li><strong>Delete Category</strong> (remove unused or incorrect categories)</li>

0 commit comments

Comments
 (0)