docs-v2/assets/js
Jason Stirnaman db06cd769c feat(askai): add Kapa.ai source group filtering for InfluxDB v3
- Add ai_source_group_ids field to all InfluxDB v3 products in data/products.yml
- Add getProductSourceGroupIds() function to retrieve source group IDs from product data
- Enables filtered AI responses using Kapa source groups for documentation pages
- Follows existing pattern for dynamic product configuration
- Implement version-specific config support (__v1, __v2 suffixes)
- Append version hints to example questions for InfluxDB database products only
- Make example questions generic (remove product-specific names)
- Tools (Telegraf, Chronograf, Kapacitor, Flux, Explorer) display questions without version hints
- Pre-fills chat input with [version: /path/] for InfluxDB database products
- Users can easily edit or remove the pre-filled text
- Works for manual opens (Cmd+K) and programmatic opens
- Converts module to TypeScript
2025-11-10 17:50:22 -06:00
..
components chore(js): Format fixes 2025-06-09 14:42:38 -05:00
services chore(js): Extract Hugo params imports to single-purpose modules, fix environment-specific Hugo configs, use Hugo environments instead of specifying the config file, configure source maps and ESM for development and testing 2025-06-09 16:46:26 -05:00
utils chore(js): Format fixes 2025-06-09 14:42:38 -05:00
api-libs.js chore(js): Extract Hugo params imports to single-purpose modules, fix environment-specific Hugo configs, use Hugo environments instead of specifying the config file, configure source maps and ESM for development and testing 2025-06-09 16:46:26 -05:00
ask-ai-trigger.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
ask-ai.ts feat(askai): add Kapa.ai source group filtering for InfluxDB v3 2025-11-10 17:50:22 -06:00
code-controls.js hotfix(analytics): typo 2025-07-14 13:11:24 -05:00
code-placeholders.js chore(code-placeholders): Support path-like patterns: 2025-04-23 10:27:20 -05:00
content-interactions.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
custom-timestamps.js InfluxDB 3 Explorer 1.2 (#6350) 2025-08-29 08:44:59 -06:00
datetime.js Update assets/js/datetime.js 2025-06-09 17:17:34 -05:00
feature-callouts.js chore(js): Extract Hugo params imports to single-purpose modules, fix environment-specific Hugo configs, use Hugo environments instead of specifying the config file, configure source maps and ESM for development and testing 2025-06-09 16:46:26 -05:00
flux-group-keys.js Merge pull request #6079 from influxdata/chore-js-refactor-footer-scripts-modules 2025-06-09 14:40:37 -05:00
flux-influxdb-versions.js fix(flux-influxdb-versions): Fixes modal trigger for flux-influxdb-versions and refactors the trigger to a component. 2025-03-27 20:10:13 -05:00
helpers.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
influxdb-url.js feat(sample-data): add new wind sample dataset (#6440) 2025-10-06 12:08:35 -06:00
influxdb-version-detector.ts feat(influxdb): Version detector shortcode triggers a modal 2025-09-30 19:01:21 -05:00
jquery-3.5.0.min.js groundwork for influxdb url select 2020-04-16 09:59:35 -06:00
keybindings.js Merge pull request #6079 from influxdata/chore-js-refactor-footer-scripts-modules 2025-06-09 14:40:37 -05:00
list-filters.js chore(js): Cleanup and add note about list-filters 2025-06-09 17:45:36 -05:00
main.js feat(influxdb): Version detector shortcode triggers a modal 2025-09-30 19:01:21 -05:00
modals.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
notifications.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
page-context.js chore(js): Extract Hugo params imports to single-purpose modules, fix environment-specific Hugo configs, use Hugo environments instead of specifying the config file, configure source maps and ESM for development and testing 2025-06-09 16:46:26 -05:00
page-feedback.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
release-toc.js chore(js): Extract Hugo params imports to single-purpose modules, fix environment-specific Hugo configs, use Hugo environments instead of specifying the config file, configure source maps and ESM for development and testing 2025-06-09 16:46:26 -05:00
search-button.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
sidebar-toggle.js chore(js): Extract Hugo params imports to single-purpose modules, fix environment-specific Hugo configs, use Hugo environments instead of specifying the config file, configure source maps and ESM for development and testing 2025-06-09 16:46:26 -05:00
tabbed-content.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
theme-switch.js Merge pull request #6079 from influxdata/chore-js-refactor-footer-scripts-modules 2025-06-09 14:40:37 -05:00
theme.js hotfix: minor change to invalidate JS 2025-09-02 14:17:41 -05:00
v3-wayfinding.js chore(js): Extract Hugo params imports to single-purpose modules, fix environment-specific Hugo configs, use Hugo environments instead of specifying the config file, configure source maps and ESM for development and testing 2025-06-09 16:46:26 -05:00
version-selector.js chore(js): Format fixes 2025-06-09 14:42:38 -05:00