Creates an interactive InfluxDB version detector component in TypeScript and a shortcode that generates a button to trigger
the version detector modal.
The shortcode takes a parameter that displays a predefined set of links for results.
- Support URL pattern matching and ping header analysis
- Add questionnaire-based product identification logic
- Adds the shortcode in a note in /influxdb3/core/visualize-data/grafana/
- Set up TypeScript configuration for the project
- Configure automatic TypeScript compilation in pre-commit hooks
- Add to Grafana documentation pages
- Remove last remnants of old Cypress link checker
- Add Cypress tests, but many are still broken
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Apply suggestions from code review
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
Update layouts/shortcodes/influxdb-version-detector.html
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
Update assets/js/influxdb-version-detector.ts
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
Update assets/styles/components/_influxdb-version-detector.scss
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
Fixes:
- Fix Hugo template to include product names in detector config
- Change elimination scores from -100 to -1000 for proper filtering
- Add scoring logic for generic "InfluxDB" product (OSS v2.x)
- Exclude generic "InfluxDB" from results (too vague)
- Add comprehensive test scenario checklist to Cypress tests
- Free license now correctly excludes Enterprise, Clustered, Dedicated
- Self-hosted now correctly excludes all Cloud products
- SQL language now correctly excludes v1 and v2 products
- Results now show only specific products (OSS 1.x, OSS 2.x, etc.)
Changes:
- When users answer "I'm not sure" to all questions, show a helpful
message directing them to the reference table instead of showing
a weak ranking with low confidence.
- Detect when all questionnaire answers are "unknown"
- Display custom message explaining lack of information
- Auto-expand reference table for easy product identification
- Hide ranked results when insufficient information provided
- Make product names clickable in the quick reference table to allow
users to quickly navigate to product documentation after identifying
their InfluxDB version.
* fix iox ui details (#4660)
* fixed left nav for iox
* updated nav order
* one more nav fix
* added sql data types doc to iox
* removed, need to create separate branch
* IOx get started (#4676)
* WIP iox get started
* WIP iox get started
* WIP iox get started
* WIP iox get-started
* WIP get-started docs
* iox get started setup
* added custom times and datepicker to iox getting started
* finished sample data date picker
* WIP get started querying
* wrapped up new getting started content
* fixed unclosed shortcode
* fixed js bug, updated get started to address PR feedback
* removed influxdbu banner from iox-get-started
* fixed typos
* Migrate data to IOx (#4704)
* WIP iox get started
* WIP iox get started
* WIP iox get started
* WIP iox get-started
* WIP get-started docs
* iox get started setup
* added custom times and datepicker to iox getting started
* finished sample data date picker
* WIP get started querying
* wrapped up new getting started content
* fixed unclosed shortcode
* fixed js bug, updated get started to address PR feedback
* removed influxdbu banner from iox-get-started
* add tsm to iox migration guide
* WIP 1.x iox migration
* WIP iox migration guides
* iox migration landing page content
* updated migration docs to address PR feedback
* one last PR feedback update
* added sql reference for review
* moved reference to sql folder
* removed file
* Schema recommendations for IOx (#4701)
* WIP iox get started
* WIP iox get started
* WIP iox get started
* WIP iox get-started
* WIP get-started docs
* iox get started setup
* added custom times and datepicker to iox getting started
* finished sample data date picker
* WIP get started querying
* wrapped up new getting started content
* fixed unclosed shortcode
* fixed js bug, updated get started to address PR feedback
* removed influxdbu banner from iox-get-started
* schema design recommendations
* add heading color styles
* fixed typos and formatting
* fixed typos
* fixed line protocol descrepencies
* fixed typo
* IOx landing page and notification (#4717)
* updated cloud iox landing page
* added state of the docs notification, removed addition resources from nav
* updated iox page titles
* updated duplicate oss and product data
* add order by doc (#4710)
* add order by doc
* Update content/influxdb/cloud-iox/order-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/order-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/order-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/order-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/order-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/order-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/order-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/order-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/order-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/order-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/order-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/order-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/order-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/order-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* added select doc (#4708)
* added select doc
* Update content/influxdb/cloud-iox/select.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/select.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/select.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/select.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/select.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/select.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/select.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/select.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/select.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/select.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/select.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/select.md
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
* having clause (#4713)
* added having clause
* Update content/influxdb/cloud-iox/having.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/having.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/having.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/having.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/having.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/having.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/having.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* added sql-data-types branch and corresponding doc (#4700)
* added sql-data-types branch and corresponding doc
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
* Update content/influxdb/cloud-iox/sql-data-types.md
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
* added interval
* fixed formatting
* more format fixes
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
* add limit doc (#4711)
* add limit doc
* Update content/influxdb/cloud-iox/limit.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/limit.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/limit.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/limit.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/limit.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/limit.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/limit.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/limit.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/limit.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/limit.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/limit.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* added group by (#4721)
* added group by
* Update content/influxdb/cloud-iox/group-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/group-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/group-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/group-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* Update content/influxdb/cloud-iox/group-by.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
---------
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
* IOx SQL query guides (#4720)
* WIP basic sql query guide
* WIP query guides
* WIP query docs, updated query format
* fleshed out sql aggregate query doc
* updated aggregate query guide, added explore schema guide
* fixed getting started link
* IOx Grafana and Superset documentation (#4723)
* iox grafana and superset documentation
* updates to the superset and grafana docs
* chore(grafana): Rework the documentation for a release instead of from source. (#4724)
* chore(grafana): Rework the documentation for a release instead of from source.
* chore: Typo.
* chore: v0.1.0 will be the first release.
* updates to address PR feedback
* a few minor updates to the grafana doc
* another minor update to grafana
* fixed grafana archive name
---------
Co-authored-by: Brett Buddin <brett@buddin.org>
* rearranged docs
* fix order by description
* updated more sql reference doc descriptions
* Add SQL selector functions (#4725)
* WIP selector functions
* WIP selector fns
* wrapped up sql selector functions
* relocated function docs
* add iox regions doc
* add messaging to guide users to the correct docs (#4728)
* minor changes
* added Flux reference
* updated algolia tagging
* add delete information to iox docs (#4727)
* fixed typos
* Add write content to the IOx docs (#4729)
* ported telegraf write docs to iox
* write content and updated reference
* updated node deps
* added link to selectors reference
---------
Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
Co-authored-by: Brett Buddin <brett@buddin.org>
* automatically build flux version data file
* rendered modals on each stdlib page
* polish on flux-influxdb version support
* reverted modified frontmatter
* added new page that shows what flux versions are packaged with each InfluxDB version
* added comment to js file
* updated to address PR feedback
* moved flux build scripts into their own directory
* updated inject-flux-frontmatter script to work in subdirectory
* updated flux-versions script to work in nested directory
* fixed bug in flux-versions script