Commit Graph

7760 Commits (f4bb533e8066c2c38e01bc51bff3aa717e84d33e)

Author SHA1 Message Date
Jason Stirnaman dc0c9fe18f chore(monolith): Update installing and configuring plugins:
Updates the guide and examples for using the latest influxdb3 install command.
Provides more Docker-specific examples.
Cleanup.
2025-02-14 09:50:55 -06:00
Jason Stirnaman 3abf1c506d chore: resolve conflicts 2025-02-14 09:39:44 -06:00
David Rusnak 494b923582 docs: add release notes for 20250212 2025-02-14 09:47:57 -05:00
Jason Stirnaman cd3ad9e0a1 chore: Update and resolve yarn.lock 2025-02-12 13:52:06 -06:00
Paul Dix 338fcfec8b Add plugin documentation for Core and Enterprise 2025-02-12 13:52:04 -06:00
Scott Anderson c0436bd0f3 Add 'last_cache' and 'distinct_cache' SQL functions (#5828)
* add last_value and distinct_value sql functions

* fixed cache function names
2025-02-12 13:48:30 -06:00
Jason Stirnaman 6fb23ee1d4 Update content/shared/v3-core-get-started/_index.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2025-02-12 13:48:30 -06:00
Jason Stirnaman bb19446ea9 fix(v3): Core and Enterprise Get Started, problems and cleanup. 2025-02-12 13:48:30 -06:00
Scott Anderson 991bf462ca Add missing influxdb3 serve configuration options (#5822)
* add missing influxdb3 serve configuration options

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-02-12 13:48:30 -06:00
Scott Anderson 513c732540 hotfix: clarify that influxdb_v2 tokens for telegraf cannot be empty strings (#5824) 2025-02-12 13:48:30 -06:00
Jason Stirnaman 2232f6a0ef hotfix(ai): increase size (width) to fit the Additional Feedback form modal 2025-02-12 13:48:30 -06:00
Jason Stirnaman 04e2cade93 hotfix(ai): x modal position and question column span
hotfix(ai): x modal position and question column span
2025-02-12 13:48:30 -06:00
Jason Stirnaman 9947c72495 chore(e2e): Add Cypress for link checking and end-to-end tests. Fix broken links revealed by tests.
- Adds Cypress and a few basic tests for the global topnav, the home page, and link-checking.
- For link-checking, pass a comma-delimited list of URLs in an exported cypress_test_subjects environment variable. For examples, see the convenience commands in package.json
2025-02-12 13:48:30 -06:00
Jason Stirnaman e17fc86ea4 fix(ai): example button width 2025-02-12 13:48:30 -06:00
Jason Stirnaman 80e6bdb005 fix(3): Broken links to CLI reference 2025-02-12 13:48:29 -06:00
Jason Stirnaman 7004809570 Apply suggestions from code review
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2025-02-12 13:48:29 -06:00
Jason Stirnaman fcd6e02a1f fix(products): Match when extracting product name from the URL. Add more custom AI example questions. 2025-02-12 13:48:29 -06:00
Jason Stirnaman fe7a2e0739 fix(ai): Don't override default modalExampleQuestions unless they're defined in products.yml. 2025-02-12 13:48:29 -06:00
Jason Stirnaman c173edce68 Initial Kapa.ai chat integration.
Continue refactoring JavaScript into a component pattern and ESM.
Replaces some jQuery with native DOM API.

chore(ai): reference documentation and instructions for training AI

chore(ai): implement Kapa AI chat widget
- Move script tag to HTML template to make it obvious.
- Cleanup javascript to make it more component-like
- Set Kapa attributes, support setting userid

chore(js): add JS dependencies, previously referenced in script tags, to package.json for JS builds.

fix(api): indents

chore(js): package Mermaid diagram library

chore(js): refactor JS for AIChat and Theme as examples of using the component pattern for HTML/CSS/JS

chore(js): Use the new local-storage API in refactored module code and in code not yet ported. Cleanup syntax in local-storage and make functions available from window.LocalStorageAPI.

fix(js): theme.js name-change

chore(js): fix ai-chat.js file name

fix(js): refactor:
- componentNames are snakecase in HTML
- replace DOM selection method and jQuery eventhandler assignment
- remove old theme.js references

chore(ai): configure chat window overlay, size, and position:
- removes overlay and scroll lock
- positions chat to the right and bottom
- expands sample question width to 12 cols

chore(ai): edit disclaimer

fix(ai): size and position

chore(js): make ai-chat specific to configuration and and setting userid (for testing and future use).

fix(js): copy referrerHost variable to v3-wayfinding instead of relying on influxdb-url to assign it.

chore(ai): add a footer div at page bottom to contain modal triggers for custom-time and ask-ai. Still needs some CSS help. Moves tooltip text from CSS to HTML data attribute.

chore(ai): dynamically load AI script tag after DOMContentLoaded to avoid race conditions. Call initialization from the modal trigger module and pass the show trigger function to the onload handler.

fix(ai): fix modal triggers to viewport

fix(modal-triggers): stack the triggers into a single column.

restyle footer widgets

updated time selector modal to use correct storage term

minor style update

WIP(ai-chat): get product data

chore(js): Factor out pageContext module from influxdb-url.js

chore(js): Refactor helpers.js out of inflluxdb-url.js

WIP: refactor influxdburl - minimal changes for module conversions

feat(ai): Custom AI chat example questions product and version.
Ask AI example questions:
- Adds support for customizing example Ask AI questions per product or version.
- Configure questions in site `data/products.yml`; otherwise, it uses default questions from `ask-ai.js`

Context, page, and product data:
- Adds sample URLs for remaining versions in influxdb_urls
- `page-context.js` consolidates and exports constants for page context (protocol, host, path, referrer) and path-to-data mappings for product and influxdb_url site data

Module refactor:
- Refactors some JavaScript into ES6 modules, and refactors some of those further into a Component pattern--just vanilla JS and no shadow DOM stuff. The Component pattern that uses data attributes to "bind" JavaScript modules with CSS and HTML is a popular approach in modern web development. This pattern enhances modularity, reusability, and maintainability by associating behavior (JavaScript), structure (HTML), and style (CSS) through the use of data attributes.
- `assets/main.js` is the entrypoint
- Passes pageParams from the Hugo page to modules that import `@params`.
- Moves most external dependencies out of `script` tags and into package.json to be managed with `yarn`.
- Adds `eslint`.
- For modules that aren't yet components, wraps execution statements inside an `initialize()` function and calls the function from `main.js` on `DOMContentLoaded`.
- For components, if the page contains the `data-component="<component-name>"`, the matching element is passed to the component function on `DOMContentLoaded`.
- I tried to avoid changing logic where it wasn't necessary.

Update DOC_GPT_PROFILE.md

customize ai chat modal styles

fix(influxdb-url): Rename to cloud_dedicated in influxdb_urls.yml, remove newly added placeholder URL and use the extant default, refactor
- Rename  to  in influxdb_urls.yml
- Fix influxdb-url.js and data provision in local-storage.js to use the new name, mapping it to  to retain the existing local storage key

chore(api-lib): Use local-storage import instead of window global

chore(js): cleanup

fix(js): Ensure feature-callout initializes on page load

fix(theme): Load preferred theme before making the page visible. Execute a predefined function by specifying the function name in data-theme-callback

fix(search-toggle): Restores toggling the search field when sidebar is collapsed. Moves the event handler to a new search-button component

fix(ai): Fix custom attribute assignment. Rename property to ai_example_questions

Include the word `Bearer` or `Token`, a space, and your **token** value (all case-sensitive). Fix TOC links.
Fixes #5781

fix(api-docs): Update API reference directories and generation script for influxdb3 URL paths, update links and names in reference content

fix(api-ref): Update getswagger.sh destination paths to use the new directory structure when fetching spec files. Update the redocly  plugin module path.

hotfix: fix hlevel bug in children shortcode

Remove underline from custom time widget

add color to custom time widget styling
2025-02-12 13:48:29 -06:00
Jason Stirnaman a15f8c8154 chore: Update and resolve yarn.lock 2025-02-12 10:49:00 -06:00
Jason Stirnaman f7acce87c4
Merge pull request #5816 from influxdata/e2e-link-testing
chore(e2e): Add Cypress for link checking and end-to-end tests. Fix b…
2025-02-10 16:52:25 -06:00
Jason Stirnaman 76915fd855
Merge branch 'master' into e2e-link-testing 2025-02-10 16:50:16 -06:00
Jason Stirnaman b678215122
Merge pull request #5827 from influxdata/fix-get-started
fix(v3): Core and Enterprise Get Started, problems and cleanup.
2025-02-10 11:15:17 -06:00
Jason Stirnaman f61a46be64
Merge branch 'master' into fix-get-started 2025-02-10 10:43:10 -06:00
Scott Anderson 65faebb701
Add 'last_cache' and 'distinct_cache' SQL functions (#5828)
* add last_value and distinct_value sql functions

* fixed cache function names
2025-02-10 09:42:48 -07:00
Jason Stirnaman 67d8a6805b
Update content/shared/v3-core-get-started/_index.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2025-02-10 10:42:26 -06:00
Jason Stirnaman c831db4004 fix(v3): Core and Enterprise Get Started, problems and cleanup. 2025-02-05 18:06:10 -06:00
Scott Anderson a3f06ce722
Add missing influxdb3 serve configuration options (#5822)
* add missing influxdb3 serve configuration options

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-02-05 12:46:57 -07:00
Scott Anderson fb665e2393
hotfix: clarify that influxdb_v2 tokens for telegraf cannot be empty strings (#5824) 2025-02-05 12:44:35 -07:00
Jason Stirnaman 4ad663145e hotfix(ai): increase size (width) to fit the Additional Feedback form modal 2025-02-04 09:53:43 -06:00
Jason Stirnaman 22c655b58f
Merge pull request #5820 from influxdata/hotfix-ai-style
hotfix(ai): x modal position and question column span
2025-02-03 18:47:10 -06:00
Jason Stirnaman 281114280e hotfix(ai): x modal position and question column span
hotfix(ai): x modal position and question column span
2025-02-03 18:33:46 -06:00
Jason Stirnaman ef106dd3a1 chore(e2e): Add Cypress for link checking and end-to-end tests. Fix broken links revealed by tests.
- Adds Cypress and a few basic tests for the global topnav, the home page, and link-checking.
- For link-checking, pass a comma-delimited list of URLs in an exported cypress_test_subjects environment variable. For examples, see the convenience commands in package.json
2025-02-03 17:52:04 -06:00
Jason Stirnaman 3be6e79a76
Merge pull request #5729 from influxdata/ai-chat-widget
AI chat widget and JavaScript components
2025-02-03 17:20:23 -06:00
Jason Stirnaman 02352bf3a8 fix(ai): example button width 2025-02-03 13:48:47 -06:00
Jason Stirnaman e3af9360f4
Merge branch 'master' into ai-chat-widget 2025-02-03 10:42:02 -06:00
Jason Stirnaman ceff60ea08
Merge pull request #5818 from influxdata/fix-reference-links
fix(3): Broken links to CLI reference
2025-02-03 10:41:12 -06:00
Jason Stirnaman 22a689ca5d
Merge pull request #5817 from influxdata/staging/ai-chat-widget
Staging/ai chat widget
2025-02-03 10:40:27 -06:00
Jason Stirnaman 8319ba58d3
Apply suggestions from code review
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2025-02-03 10:36:50 -06:00
Jason Stirnaman 619e75767c
Merge branch 'master' into fix-reference-links 2025-02-03 10:32:53 -06:00
Paul Dix 2c66a5997f
Merge branch 'master' into pd/influxdb3-plugins-doc 2025-02-03 11:28:29 -05:00
Scott Anderson b51ece3aa7
Merge branch 'master' into ai-chat-widget 2025-02-03 09:28:25 -07:00
Scott Anderson d234e1ebda
influxctl 2.9.9 release notes and changes (#5815) 2025-02-03 09:27:50 -07:00
Scott Anderson ebf9b1bfd3
Add admin > database docs to Core and Enterprise (#5813)
* add influxdb3 database admin docs

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-02-03 09:25:41 -07:00
Jason Stirnaman dd8f78bb01 fix(3): Broken links to CLI reference 2025-02-03 10:11:26 -06:00
Jason Stirnaman 4e8481967d fix(products): Match when extracting product name from the URL. Add more custom AI example questions. 2025-02-03 09:34:10 -06:00
Jason Stirnaman dd7dc94694 fix(ai): Don't override default modalExampleQuestions unless they're defined in products.yml. 2025-02-03 09:33:56 -06:00
Jason Stirnaman f9f81ae8f9 Initial Kapa.ai chat integration.
Continue refactoring JavaScript into a component pattern and ESM.
Replaces some jQuery with native DOM API.

chore(ai): reference documentation and instructions for training AI

chore(ai): implement Kapa AI chat widget
- Move script tag to HTML template to make it obvious.
- Cleanup javascript to make it more component-like
- Set Kapa attributes, support setting userid

chore(js): add JS dependencies, previously referenced in script tags, to package.json for JS builds.

fix(api): indents

chore(js): package Mermaid diagram library

chore(js): refactor JS for AIChat and Theme as examples of using the component pattern for HTML/CSS/JS

chore(js): Use the new local-storage API in refactored module code and in code not yet ported. Cleanup syntax in local-storage and make functions available from window.LocalStorageAPI.

fix(js): theme.js name-change

chore(js): fix ai-chat.js file name

fix(js): refactor:
- componentNames are snakecase in HTML
- replace DOM selection method and jQuery eventhandler assignment
- remove old theme.js references

chore(ai): configure chat window overlay, size, and position:
- removes overlay and scroll lock
- positions chat to the right and bottom
- expands sample question width to 12 cols

chore(ai): edit disclaimer

fix(ai): size and position

chore(js): make ai-chat specific to configuration and and setting userid (for testing and future use).

fix(js): copy referrerHost variable to v3-wayfinding instead of relying on influxdb-url to assign it.

chore(ai): add a footer div at page bottom to contain modal triggers for custom-time and ask-ai. Still needs some CSS help. Moves tooltip text from CSS to HTML data attribute.

chore(ai): dynamically load AI script tag after DOMContentLoaded to avoid race conditions. Call initialization from the modal trigger module and pass the show trigger function to the onload handler.

fix(ai): fix modal triggers to viewport

fix(modal-triggers): stack the triggers into a single column.

restyle footer widgets

updated time selector modal to use correct storage term

minor style update

WIP(ai-chat): get product data

chore(js): Factor out pageContext module from influxdb-url.js

chore(js): Refactor helpers.js out of inflluxdb-url.js

WIP: refactor influxdburl - minimal changes for module conversions

feat(ai): Custom AI chat example questions product and version.
Ask AI example questions:
- Adds support for customizing example Ask AI questions per product or version.
- Configure questions in site `data/products.yml`; otherwise, it uses default questions from `ask-ai.js`

Context, page, and product data:
- Adds sample URLs for remaining versions in influxdb_urls
- `page-context.js` consolidates and exports constants for page context (protocol, host, path, referrer) and path-to-data mappings for product and influxdb_url site data

Module refactor:
- Refactors some JavaScript into ES6 modules, and refactors some of those further into a Component pattern--just vanilla JS and no shadow DOM stuff. The Component pattern that uses data attributes to "bind" JavaScript modules with CSS and HTML is a popular approach in modern web development. This pattern enhances modularity, reusability, and maintainability by associating behavior (JavaScript), structure (HTML), and style (CSS) through the use of data attributes.
- `assets/main.js` is the entrypoint
- Passes pageParams from the Hugo page to modules that import `@params`.
- Moves most external dependencies out of `script` tags and into package.json to be managed with `yarn`.
- Adds `eslint`.
- For modules that aren't yet components, wraps execution statements inside an `initialize()` function and calls the function from `main.js` on `DOMContentLoaded`.
- For components, if the page contains the `data-component="<component-name>"`, the matching element is passed to the component function on `DOMContentLoaded`.
- I tried to avoid changing logic where it wasn't necessary.

Update DOC_GPT_PROFILE.md

customize ai chat modal styles

fix(influxdb-url): Rename to cloud_dedicated in influxdb_urls.yml, remove newly added placeholder URL and use the extant default, refactor
- Rename  to  in influxdb_urls.yml
- Fix influxdb-url.js and data provision in local-storage.js to use the new name, mapping it to  to retain the existing local storage key

chore(api-lib): Use local-storage import instead of window global

chore(js): cleanup

fix(js): Ensure feature-callout initializes on page load

fix(theme): Load preferred theme before making the page visible. Execute a predefined function by specifying the function name in data-theme-callback

fix(search-toggle): Restores toggling the search field when sidebar is collapsed. Moves the event handler to a new search-button component

fix(ai): Fix custom attribute assignment. Rename property to ai_example_questions

Include the word `Bearer` or `Token`, a space, and your **token** value (all case-sensitive). Fix TOC links.
Fixes #5781

fix(api-docs): Update API reference directories and generation script for influxdb3 URL paths, update links and names in reference content

fix(api-ref): Update getswagger.sh destination paths to use the new directory structure when fetching spec files. Update the redocly  plugin module path.

hotfix: fix hlevel bug in children shortcode

Remove underline from custom time widget

add color to custom time widget styling
2025-02-03 08:31:55 -06:00
Scott Anderson d73e99dd41
Add CLI instructions for writing sample data (#5814)
* add cli instructions for writing sample data

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-01-31 08:50:05 -07:00
Paul Dix 9ed11bc770
Merge branch 'master' into pd/influxdb3-plugins-doc 2025-01-31 10:07:44 -05:00