docs-v2/assets/js
Jason Stirnaman 4cfff239f3 End-to-end testing, CI script, and JavaScript QoL improvements:
- **Environment variable formatting** - Updated environment variable configuration from array format to object format to comply with Lefthook schema validation requirements.
- **Unified link testing** - Consolidated multiple product-specific link testing commands into a single `e2e-links` command that processes all staged Markdown and HTML files across content directories.
- **Package script integration** - Modified commands to use centralized yarn scripts instead of direct execution, improving maintainability and consistency.
- **Source information extraction** - Enhanced to correctly extract and report source information from frontmatter.
- **URL and source mapping** - Improved handling of URL to source path mapping for better reporting.
- **Ignored anchor links configuration** - Added proper exclusion of behavior-triggering anchor links (like tab navigation) to prevent false positives.
- **Request options correction** - Fixed Cypress request options to ensure `failOnStatusCode` is properly set when `retryOnStatusCodeFailure` is enabled.
- **Improved error reporting** - Enhanced error reporting with more context about broken links.
- **New test scripts added** - Added centralized testing scripts for link checking and codeblock validation.
- **Product-specific test commands** - Added commands for each product version (InfluxDB v2, v3 Core, Enterprise, Cloud, etc.).
- **API docs testing** - Added specialized commands for testing API documentation links.
- **Comprehensive test runners** - Added commands to run all tests of a specific type (`test:links:all`, `test:codeblocks:all`).
- Fix Docker build command and update CONTRIBUTING.

chore(js): JavaScript QoL improvements:

- Refactor main.js with a componentRegistry object and clear initialization of components and globals
- Add a standard index.js with all necessary exports.
- Update javascript.html to use the index.js
- Remove jQuery script tag from header javascript.html (remains in footer)
- Update package file to improve module discovery.
- Improve Hugo and ESLint config for module discovery and ES6 syntax
2025-05-19 09:50:33 -05:00
..
api-libs.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
ask-ai-trigger.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
ask-ai.js chore(ai): Add reminder to update the script in template.hbs 2025-02-26 16:16:46 -06:00
code-controls.js fix(code-controls): Broken in code-blocks that contain the URL selector widget: Replace jQuery .prev() with .prevAll() to find all siblings (in case they include other elements like the URL selector widget), and then take the first pre element that has a code child. 2025-03-17 13:03:29 -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 Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
datetime.js Document v3 custom partitions (#5309) 2024-03-04 09:15:10 -07:00
feature-callouts.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
flux-group-keys.js InfluxDB get started (#4628) 2022-11-21 15:44:14 -07: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
home-interactions.js New home page layout (#3958) 2022-04-14 15:26:54 -06:00
index.js End-to-end testing, CI script, and JavaScript QoL improvements: 2025-05-19 09:50:33 -05:00
influxdb-url.js hotfix(urls): Partially reverts the previous change for setting URLs in code samples. Fixes a missing variable. 2025-03-17 10:55:22 -05:00
jquery-3.5.0.min.js groundwork for influxdb url select 2020-04-16 09:59:35 -06:00
keybindings.js Flux VS Code extension (#1858) 2020-11-19 13:41:21 -07:00
list-filters.js Flux restructure (#3141) 2021-09-16 16:19:21 -06:00
local-storage.js hotfix(urls): Partially reverts the previous change for setting URLs in code samples. Fixes a missing variable. 2025-03-17 10:55:22 -05:00
main.js End-to-end testing, CI script, and JavaScript QoL improvements: 2025-05-19 09:50:33 -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 fix(js): error if pageParams or its attributes are null 2025-03-16 22:44:39 -05:00
page-feedback.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
release-toc.js InfluxDB Clustered release notes (#5590) 2024-09-05 09:31:08 -06:00
search-button.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
search-interactions.js New home page layout (#3958) 2022-04-14 15:26:54 -06:00
sidebar-toggle.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
tabbed-content.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
theme-switch.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
theme.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
v3-wayfinding.js Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
version-selector.js InfluxDB 3 Core & InfluxDB 3 Enterprise alpha release (#5760) 2025-01-13 07:21:11 -07:00