mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-07-30 07:19:48 +00:00
- 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.
18 lines
559 B
JSON
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"
|
|
}
|
|
}
|