docs-v2/content
Jason Stirnaman 68f00e6805
fix(version-detector): centralize Grafana links and DRY up host examples (#6693)
* fix(version-detector): use centralized getGrafanaLink for all Grafana URLs

Refactor handleAuthorizationHelp to use getGrafanaLink() instead of
hardcoded URLs, ensuring all Grafana links come from a single source.

Also fix incorrect URLs in getGrafanaLink mapping:
- InfluxDB OSS 2.x: /visualize-data/ → /tools/
- InfluxDB Enterprise: /influxdb/enterprise/ → /enterprise_influxdb/v1/
- InfluxDB Cloud (TSM): /visualize-data/ → /tools/
- InfluxDB Cloud v1: now links to Enterprise v1 docs (Cloud v1 is
  Enterprise under the hood)

* refactor(version-detector): DRY up localhost:8086 references

Extract HOST_EXAMPLES to a class-level constant and add DEFAULT_HOST
and DEFAULT_HOST_PORT constants to eliminate duplicate localhost:8086
strings throughout the code.

- Move hostExamples from local variable to class constant
- Use DEFAULT_HOST for URL placeholder and comparison checks
- Use DEFAULT_HOST_PORT for docker curl command examples

* feat(ask-ai): Support source group IDs in Ask AI trigger links

* feat(version-detector): Present context-aware links

- Add ai_source_group_ids fields to ProductConfig interface
- Improve SCSS for doc and Ask AI links
- Update Grafana docs to add aliases and context param for detector
- Update modal partial to include AI source group IDs in config
- Remove custom Cypress commands for version detector
- Update E2E tests to use direct Cypress commands
2026-01-26 18:42:09 -06:00
..
chronograf/v1 docs(chronograf): add instructions for use with InfluxDB3 products (#6730) 2026-01-15 13:24:09 -06:00
enterprise_influxdb/v1 fix(version-detector): centralize Grafana links and DRY up host examples (#6693) 2026-01-26 18:42:09 -06:00
flux/v0 fix: broken links 2025-06-04 17:05:46 -05:00
influxdb fix(version-detector): centralize Grafana links and DRY up host examples (#6693) 2026-01-26 18:42:09 -06:00
influxdb3 Update Azure Blob Storage access key parameter (#6753) 2026-01-20 12:04:14 -06:00
kapacitor/v1 Release Kapacitor v1.8.2 2025-09-29 14:24:11 +02:00
platform dar issue 563 - Cloud 1 documentation, support, and migration (#6729) 2026-01-15 14:55:06 -06:00
resources fix: links containing hostname 2025-08-24 21:32:26 -05:00
shared fix(version-detector): centralize Grafana links and DRY up host examples (#6693) 2026-01-26 18:42:09 -06:00
telegraf Telegraf v1.37.1 (#6728) 2026-01-13 17:03:02 -06:00
.remarkrc.yaml Jts contrib and linting fixes (#6494) 2025-10-27 20:24:25 -05:00
CLAUDE.md Update content/CLAUDE.md 2025-09-23 10:40:39 -05:00
_index.md
create.md chore(docs): Redesign docs CLI tools for creating and editing content, add content/create.md tutorial page for the How to creat… (#6506) 2025-11-03 10:18:15 -06:00
example.md Ask AI group filters (#6529) 2025-11-18 16:43:02 -06:00
test-version-detector.md feat(influxdb): Version detector shortcode triggers a modal 2025-09-30 19:01:21 -05:00