Skip to content

Conversation

@Kiwumulo-Nickson
Copy link
Contributor

@Kiwumulo-Nickson Kiwumulo-Nickson commented Dec 9, 2025

Brief summary of the change made

Resolves: #130

#Created MiniGridDashboard.vue component — similar to AgentDashboard.vue:

Metrics boxes: Total Mini-Grids, Total Clusters, Total Cities, Total Agents

Searchable table listing all mini-grids
Columns: Name, Cluster, Created At, Cities, Agents

Clickable rows navigate to the detail page

#Refresh button to reload data

#Updated pages/Dashboard/MiniGrid/index.vue:

#Replaced the redirect logic with the new MiniGridDashboard component which matches the Agents overview page structure.

#Added translation keys to en.json:
miniGridDashboard: "Mini-Grid Overview"
miniGridList: "Mini-Grid List"
totalMiniGrids: "Total Mini-Grids"
totalClusters: "Total Clusters"
totalCities: "Total Cities"

#The component handles missing API data (e.g., cities_count, agents_count, cluster) and displays "-" or 0 when unavailable. The overview page now shows a list of mini-grids in a table format, matching the Agents overview page pattern, instead of using a dropdown menu.

Are there any other side effects of this change that we should be aware of?

Describe how you tested your changes?

-I used es-linters to test it out for any errors , and first run the setup locally on my machine before pushing the code to the remote repo .

Pull Request checklist

Please confirm you have completed any of the necessary steps below.

  • Meaningful Pull Request title and description
  • Changes tested as described above
  • Added appropriate documentation for the change.
  • Created GitHub issues for any relevant followup/future enhancements if appropriate.

Copy link
Member

@dmohns dmohns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Kiwumulo-Nickson

thanks a lot for your contribution 🙏 . Dropping a couple of comments here!

Comment on lines +1 to +7
<!-- 03949af4-ca3a-4720-b787-615eb4092417 5ecdb199-cae5-46c6-91d9-1d52781cedc3 -->
# Restructure Mini-Grid Routes to Match Agents Pattern

## Overview

Restructure Mini-Grid routes to match the Agents pattern with a top-level sidebar item and expandable submenu, moving from `/dashboards/mini-grid` to `/mini-grids`.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't add generated files like this one to the repo.

Comment on lines 50 to -54

![Short code from Africanstalking](images/africanstalking-sms-shortcode.png)

### Step 4: Register SMS Delivery Callback URL

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somehow you have changes in sms.md but your changes are unrelated right? It's causing merge conflicts. Could you resolve these?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Mini-Grid List Page

2 participants