-
Notifications
You must be signed in to change notification settings - Fork 0
Tom/extend tile panel #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… for said values, sqlite queries for entire table
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request extends the tile panel component to support loading data from SQLite databases, in addition to the existing CSV file support. This addresses the issue of maintaining multiple sources of truth for data in transport modeling workflows.
Changes:
- Added SQLite database integration with three new data source formats: direct SQL queries, static key-value pairs, and dynamic SQL-based values
- Introduced configurable color palettes (pastel, vivid, monochrome) for tile styling
- Refactored dataset loading logic into a centralized
buildDatasetmethod with SQL injection protection
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
* Initial commit, re-target npm deploy and change tagline * Stop the deploy command trying (and failing) to set relative paths. Do it myself. * misc splash page reformatting * add aeq plugin, copied from xml viewer * Add to plugin repo * Flesh out reader.vue, add file system to extend http fs * Clean up sqlite calls * update templates, config access, add yaml parsing, etc * Successfully reading tables from spatialite database * remove comment * Complete architecture for dashboards etc * refine dashboard functionality * Remote hosted demo * hit s3 bucket files, not the aws console * Extend file system to support S3 * Drop custom map component, use the existing one * . * Trim comments * Refactor * Add style by param * Map centering and zoom * Adds ability to join another (results) database * many small fixes * Revert irrelevant changes * Dont track changes to package-lock.json, bloating PR * Did that last one wrong * Revert changes to scripts in package.json * drop erroneous notes * Refactor of styling * stop tracking changes on package-lock.json * . * Scaling by meters/pixels options * Main .vue refactor * tweaks * Add dataRange to colours * Add ability to filter sql query from yaml * Fix map resize bug * Manually defined legends * . * Fix S3 support for panels opening webworkers * revert changes to tile.vue * Remove localhost from datasources on splash * add manual linewidths to styling * Fix basemap and uncolour tiles * style tweaking in tile panel, plotly now supports fixed axis * Meter or pixels for radius units * Removed dark-matter, use internal options * Linting * Drop dark matter * rounding out styling, more careful loading and memory management, documentation and refactoring * Cleaning, add sqlfilter to joined db * cache database loading * Refactoring * Compacting code * Apply suggestions from code review Co-authored-by: Copilot <[email protected]> * Refactor aequlibrae plugin to sqlite-map to generalise * sqlite-map: avoid caching remote DBs; clear join-data cache and export clearAllCaches alias * sqlite-map: re-enable DB caching for all paths; deck: honor initialView and finalize overlay on destroy * revert: undo DeckMapComponent.vue edits (restore previous behavior) * refactoring, fixes to zoom. Issue with caching * More refactoring * Init. commit adding POLARIS features * Drop polaris again, extend db.ts for some better generality * Tom/extend tile panel (#4) * Extend tile.vue to support hard-coded key-value pairs, sqlite queries for said values, sqlite queries for entire table * Full SQL support, either individual queries or a full table * Add usage comment * Colour palette-ing, defaults to original pastel palette * Apply suggestions from review * Revert erroneous changes * Cleaning, renaming * Refactoring sqlite-map, mostly styling * . * Linting * Move docs out of comments * rename to aequilibrae-map * Tidy, replace filesystem with default * Rename map 'readers' to 'mapComponents' * Fix legend * Refactor * . --------- Co-authored-by: Copilot <[email protected]>
No description provided.