Files
meshcore-bot/package.json
agessaman c4d7fe6fd3 feat(contacts): implement pagination, search, and sorting for contacts API
- Enhanced the `/api/contacts` endpoint to support pagination, allowing users to specify `page` and `page_size` parameters.
- Added search functionality to filter contacts based on a search term.
- Implemented sorting options for the contacts list, enabling users to sort by various fields.
- Updated the frontend to reflect these changes, including a new pagination UI and improved loading states.
- Introduced caching for multibyte hop chunks to optimize performance when retrieving contact badge evidence.
- Added tests to ensure the new features work as expected and maintain existing functionality.
2026-07-23 08:26:00 -07:00

18 lines
559 B
JSON

{
"name": "meshcore-bot-frontend",
"version": "0.0.1",
"private": true,
"description": "Frontend linting for meshcore-bot web viewer templates",
"scripts": {
"lint:html": "htmlhint \"modules/web_viewer/templates/**/*.html\"",
"lint:js": "eslint \"modules/web_viewer/templates/**/*.html\"",
"lint:frontend": "npm run lint:html && npm run lint:js",
"test:contacts": "node --test tests/js/contacts_manager.test.mjs"
},
"devDependencies": {
"eslint": "^8.57.0",
"eslint-plugin-html": "^8.1.1",
"htmlhint": "^1.1.4"
}
}