docs-v2/content/influxdb/v1
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
..
about_the_project dar issue 563 - Cloud 1 documentation, support, and migration (#6729) 2026-01-15 14:55:06 -06:00
additional_resources Version restructure (#5133) 2023-09-12 23:33:31 -06:00
administration fix: update compact-throughput default values, closes influxdata/DAR#568 (#6573) 2025-11-25 18:14:17 -07:00
concepts feat: InfluxDB OSS and Enterprise 1.12.1 (#6250) 2025-07-28 10:47:31 -05:00
data_sources Version restructure (#5133) 2023-09-12 23:33:31 -06:00
flux fix: links with old hostname and path 2025-08-24 21:29:26 -05:00
guides Chore: update dependencies and fix frontmatter (#6556) 2025-11-20 15:27:40 -06:00
high_availability Version restructure (#5133) 2023-09-12 23:33:31 -06:00
introduction dar issue 563 - Cloud 1 documentation, support, and migration (#6729) 2026-01-15 14:55:06 -06:00
query_language Add v1.12.2 limitation callout for PAST LIMIT and FUTURE LIMIT (#6607) 2025-12-15 12:31:56 -06:00
supported_protocols feat: InfluxDB OSS and Enterprise 1.12.1 (#6250) 2025-07-28 10:47:31 -05:00
tools fix(version-detector): centralize Grafana links and DRY up host examples (#6693) 2026-01-26 18:42:09 -06:00
troubleshooting Jts/obsolete monitor enterprise with cloud (#6453) 2025-10-10 22:17:09 -05:00
write_protocols InfluxDB 3 Core & InfluxDB 3 Enterprise alpha release (#5760) 2025-01-13 07:21:11 -07:00
_index.md dar issue 563 - Cloud 1 documentation, support, and migration (#6729) 2026-01-15 14:55:06 -06:00