Refactor HTML templates for improved readability and consistency

- Updated search_results_table.html to enhance formatting and maintain consistent indentation.
- Refined search_results.html layout for better structure and clarity.
- Improved upload.html for better organization and readability of the upload form and data source table.
- Removed unnecessary lines in package.json and streamlined devDependencies section.
This commit is contained in:
2025-05-17 21:45:50 +02:00
parent 6b19cbcb51
commit e8f2d2adc2
35 changed files with 3406 additions and 3588 deletions

86
TODO.md
View File

@ -1,31 +1,57 @@
# TODO List
# LiveGraphs Project TODO
- When I zoom into the dasboard page, the graphs don't scale/adjust to fit the window until I completely refresh the page, can we solve that?
- Add export functionality to the dashboard:
- File formats:
- CSV
- Excel
- JSON
- XML
- HTML
- PDF
- Make the export button a dropdown with the following options:
- Export as CSV
- Export as Excel
- Export as JSON
- Export as XML
- Export as HTML
- Export as PDF
- Make the export data section folded by default and only show the export button.
- Adjust the downloaded file name to include the company name, date and time of the export.
- Add a button to download the CSV file for the selected company.
- Make it possible to modify the column names in the CSV file through the admin interface.
- Add possibility to add a company logo in the admin interface.
- Add periodic download from <https://proto.notso.ai/XY/chats> possibility for the XY company.
- Authentication: Basic Auth
- URL: <https://proto.notso.ai/XY/chats>
- Username: xxxx
- Password: xxxx
- Reduce amount of rows in the table to fit the screen.
- Add dark mode/theming to the dashboard.
- Add Notso AI branding to the dashboard.
## Dashboard UI Improvements
### Responsiveness
- [ ] Fix dashboard graphs scaling/adjustment when zooming (currently requires page refresh)
### Theming
- [ ] Add dark mode/light mode toggle
- [ ] Add Notso AI branding elements
- [ ] Implement responsive table design (reduce rows to fit screen)
### Data Export
- [ ] Implement multi-format export functionality
- [ ] CSV format
- [ ] Excel format
- [ ] JSON format
- [ ] XML format
- [ ] HTML format
- [ ] PDF format
- [ ] Create dropdown menu for export options
- [ ] Make export data section collapsible (folded by default)
- [ ] Add company name, date and timestamp to exported filenames
## Admin Interface Enhancements
### Company Management
- [ ] Add company logo upload functionality
- [ ] Add direct CSV download button for each company (superusers only)
- [ ] Include company name, date and timestamp in filename
- [ ] Add UI for customizing CSV column names
## Data Integration
### External Data Sources
- [ ] Implement periodic data download from external API
- [ ] Source: <https://proto.notso.ai/XY/chats>
- [ ] Authentication: Basic Auth
- [ ] Credentials: [stored securely]
- [ ] Add scheduling options for data refresh
## Technical Debt
### Performance Optimization
- [ ] Profile and optimize dashboard rendering
- [ ] Implement lazy loading for dashboard elements
### Testing
- [ ] Add unit tests for export functionality
- [ ] Add integration tests for data import process