Frontmatter
| id | 9117 |
| title | Refactor Grid Footer Toolbar for Store Integration |
| state | Closed |
| labels | airefactoringcore |
| assignees | tobiu |
| createdAt | Feb 12, 2026, 7:54 PM |
| updatedAt | Feb 12, 2026, 8:11 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9117 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 9106 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 12, 2026, 8:11 PM |
Refactor Grid Footer Toolbar for Store Integration
tobiu assigned to @tobiu on Feb 12, 2026, 7:55 PM

tobiu
Feb 12, 2026, 8:11 PM
Input from Gemini 3 Pro:
✦ I have refactored
Neo.grid.footer.ToolbarandStatusToolbarto implement a robust, reusable store integration pattern.Refactoring Highlights:
Neo.grid.footer.Toolbar(Base):
- Added native
store_config andbeforeSetStorelogic.- Automatically binds to
load,filter, andprogressstore events using thescope: meconfiguration pattern (cleaner than manual binding).- Handles both instantiated
Storeobjects and config objects.- Added placeholder methods (
onStoreLoad,onStoreFilter,onStoreProgress) with intent-driven JSDoc to guide future implementations.
DevIndex.view.home.StatusToolbar(Implementation):
- Removed redundant store boilerplate (
store_,beforeSetStore).- Simplified logic to override the base class placeholders.
- Used
getReference().set()for atomic, efficient updates of the progress bar.- Added comprehensive JSDoc explaining its role in visualizing progressive loading.
This establishes a solid foundation for any future grid footers (like pagination) while cleaning up the DevIndex implementation.
tobiu closed this issue on Feb 12, 2026, 8:11 PM
tobiu added parent issue #9106 on Feb 12, 2026, 8:11 PM
Refactor
Neo.grid.footer.Toolbarto handle store integration natively.Changes:
store_config andbeforeSetStorelistener management fromDevIndex.view.home.StatusToolbartoNeo.grid.footer.Toolbar.onStoreFilter,onStoreLoad, andonStoreProgressif they are defined on the instance.StatusToolbarto rely on the inherited store management.Benefit: This makes
Neo.grid.footer.Toolbara robust base class for any grid footer requiring store awareness (e.g., PagingToolbar, StatusBars), reducing boilerplate in subclasses.