Prerequisites
Problem Statement
Currently, instances in the Manager dashboard are displayed in UUID order (internal database ID), which appears completely random to users.
When managing 10+ instances, it's frustrating and time-consuming to find a specific instance because they're not organized in any logical way - not alphabetically, not by status, not by creation date.
I have to visually scan through all cards every time I need to find one specific instance.
Proposed Solution
Add a sorting dropdown next to the existing "Status" filter with these options:
- Name (A-Z) ← Default
- Name (Z-A)
- Status (Connected first)
- Creation Date (Newest first)
- Creation Date (Oldest first)
- Message Count (Most active first)
The user's preference should be saved in localStorage so it persists between sessions.
Alternative Solutions
- At minimum, just sort alphabetically by default - this alone would solve 90% of the problem
- Allow drag-and-drop manual reordering (more complex)
- Add a "favorites" or "pin" feature to keep important instances at top
Feature Category
UI/UX Improvement
Priority
Medium - Would be helpful
Use Case
I manage WhatsApp instances for different projects. Every time I need to configure or check a specific instance, Im lost when scanning through randomly ordered cards.
With alphabetical sorting, I could instantly locate them without hunting through the entire dashboard.
Mockups/Screenshots
No response
Technical Details
This can be implemented entirely in the frontend without backend changes:
- The
fetchInstances API already returns all necessary data (name, status, createdAt, message count)
- Simply sort the array client-side before rendering
- Store sort preference in localStorage
- Add a dropdown component next to the Status filter
Example implementation:
const sortedInstances = instances.sort((a, b) =>
a.name.localeCompare(b.name)
);
### Impact Assessment
- [x] This feature would benefit many users
- [x] This feature is backward compatible
- [ ] This feature requires breaking changes
- [ ] This feature affects security
- [ ] This feature affects performance
### Additional Context
This is a standard UX pattern in virtually every dashboard interface (AWS, Vercel, Netlify, etc.). Users expect to be able to sort lists.
The current UUID-based ordering makes the dashboard feel unpolished and difficult to use at scale.
### Contribution
- [ ] I would like to work on implementing this feature
- [ ] I can provide design mockups
- [x] I can help with testing
Prerequisites
Problem Statement
Currently, instances in the Manager dashboard are displayed in UUID order (internal database ID), which appears completely random to users.
When managing 10+ instances, it's frustrating and time-consuming to find a specific instance because they're not organized in any logical way - not alphabetically, not by status, not by creation date.
I have to visually scan through all cards every time I need to find one specific instance.
Proposed Solution
Add a sorting dropdown next to the existing "Status" filter with these options:
The user's preference should be saved in localStorage so it persists between sessions.
Alternative Solutions
Feature Category
UI/UX Improvement
Priority
Medium - Would be helpful
Use Case
I manage WhatsApp instances for different projects. Every time I need to configure or check a specific instance, Im lost when scanning through randomly ordered cards.
With alphabetical sorting, I could instantly locate them without hunting through the entire dashboard.
Mockups/Screenshots
No response
Technical Details
This can be implemented entirely in the frontend without backend changes:
fetchInstancesAPI already returns all necessary data (name, status, createdAt, message count)Example implementation: