Commit Graph

7616 Commits (ff4b8d4f2294978303977cbd8452b2a1d24e7d34)

Author SHA1 Message Date
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
Paul Dix df3e4ca014
Update content/influxdb3/enterprise/plugins.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-01-31 10:07:29 -05:00
Paul Dix 90775648cb
Update content/influxdb3/core/plugins.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-01-31 10:07:24 -05:00
Scott Anderson 43efe0c4c2
Add new influxdb3 show system commands (#5812)
* add new show system table commands

* Apply suggestions from code review

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

* Update content/shared/influxdb3-cli/show/system/summary.md

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

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-01-30 15:19:48 -07:00
Scott Anderson 80a523d921
InfluxDB 3 Core and Enterprise write guides (#5811)
* WIP influxdb3 write guides

* get based content for write guides

* fixed some lint issues

* ported write guides as shared content to enterprise

* Apply suggestions from code review

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

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-01-30 12:37:12 -07:00
Scott Anderson caa6164eee hotfix: fix hlevel bug in children shortcode 2025-01-29 08:56:17 -07:00
Jason Stirnaman 403b41ad19
Merge pull request #5810 from influxdata/fix-api-ref-paths
fix(api-ref): Update getswagger.sh destination paths to use the new d…
2025-01-29 09:55:11 -06:00
Paul Dix 9b57b1fb7a Update plugin docs 2025-01-28 20:24:36 -05:00
Jason Stirnaman 39d58222d0
Merge branch 'master' into fix-api-ref-paths 2025-01-28 12:34:37 -06:00
Jason Stirnaman 8509ea36d6 fix(api-ref): Update getswagger.sh destination paths to use the new directory structure when fetching spec files. Update the redocly plugin module path. 2025-01-28 12:31:47 -06:00
Jason Stirnaman 6b967530a4
Merge pull request #5809 from influxdata/fix-api-ref-paths
fix(api-docs): Update API reference directories and generation script…
2025-01-28 11:30:10 -06:00
Jason Stirnaman f1d82f4b00 fix(api-docs): Update API reference directories and generation script for influxdb3 URL paths, update links and names in reference content 2025-01-28 10:53:07 -06:00
Jason Stirnaman 5e9560d81a
Merge pull request #5790 from influxdata/jstirnaman/issue5781
Include the word `Bearer` or `Token`, a space, and your **token** value (all case-sensitive). Fix broken TOC links
2025-01-27 15:25:24 -06:00
Jason Stirnaman eb3ca6a4fc
Merge branch 'master' into jstirnaman/issue5781 2025-01-27 15:19:22 -06:00
Scott Anderson f4c3332fbc
Add new influxdb3 write and query input methods (#5807)
* add new influxdb3 write and query input methods

* Apply suggestions from code review

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

* updated table formatting

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-01-27 14:16:25 -07:00
Jason Stirnaman 17ce08db08
Merge branch 'master' into jstirnaman/issue5781 2025-01-27 15:13:03 -06:00
Scott Anderson 60a2268b96
Update content for 72 hour limit change (#5806)
* update content for 72 hour limit change

* Apply suggestions from code review

Co-authored-by: Paul Dix <paul@pauldix.net>

* updated query-file-limit content structure

---------

Co-authored-by: Paul Dix <paul@pauldix.net>
2025-01-27 08:30:19 -07:00
Dustin Eaton 3a398237fa
Merge pull request #5805 from influxdata/chore/fix-typo-in-clustered-bypass-identity-provider-section
chore: fix typo in Clustered bypass identity provider section
2025-01-24 17:08:34 -06:00
Jason Stirnaman d2c96a8795
Merge branch 'master' into jstirnaman/issue5781 2025-01-24 17:03:59 -06:00
Jason Stirnaman be2724ce7f
Merge branch 'master' into chore/fix-typo-in-clustered-bypass-identity-provider-section 2025-01-24 17:03:33 -06:00
Dustin Eaton 98d05870da
chore: fix typo in Clustered bypass identity provider section 2025-01-24 16:53:28 -06:00
Jason Stirnaman e6d13f2c6e
Merge pull request #5804 from influxdata/influxctl-v2.9.9
Release influxctl v2.9.9
2025-01-24 16:10:16 -06:00
Dane Strandboge 6e3aff19c3 Release influxctl v2.9.9 2025-01-24 12:21:58 -06:00
peterbarnett03 eda8ee6837
Merge pull request #5803 from influxdata/pbarnett/writer_to_node_id
fix: updating writer-id to node-id
2025-01-24 12:56:45 -05:00
Scott Anderson cdbdc0409c update all instances of writer-id to node-id 2025-01-24 10:49:09 -07:00
Scott Anderson 888263a6c7
Merge branch 'master' into pbarnett/writer_to_node_id 2025-01-24 10:45:12 -07:00
Peter Barnett d3625a52fb fix: updating writer-id to node-id 2025-01-24 12:40:08 -05:00
Jason Stirnaman 5f825101b9
Merge branch 'master' into jstirnaman/issue5781 2025-01-23 14:34:29 -06:00
Scott Anderson 86bee7caf6
Add InfluxDB 3 query guides (#5798)
* base content for influxdb3 query guides

* added enterprise versions of query guides

* Apply suggestions from code review

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

* update template titles to use .RenderString

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-01-23 10:18:45 -07:00
Jason Stirnaman 824b2f8e64
Merge pull request #5796 from JackieTien97/patch-1
Update _index.md
2025-01-23 10:30:53 -06:00
Jackie Tien ecb9487d84
Update _index.md 2025-01-22 11:02:33 +08:00
peterbarnett03 092a48d4da
fix: updating last values cache CLI and usage (#5795) 2025-01-21 19:58:49 -07:00
Paul Dix b78162d24c Add plugin documentation for Core and Enterprise 2025-01-19 18:07:40 -05:00
Jason Stirnaman b679b635b9 Include the word `Bearer` or `Token`, a space, and your **token** value (all case-sensitive). Fix TOC links.
Fixes #5781
2025-01-19 13:44:35 -06:00
Jason Stirnaman 92ebd7f238
Merge pull request #5789 from influxdata/pd/correct-install-info
Correct install info on Core and Enterprise
2025-01-19 11:33:40 -06:00
Paul Dix 07544cfa71 Correct install info on Core and Enterprise 2025-01-19 12:29:21 -05:00
Scott Anderson c0e3f4941f
Visualize data for InfluxDB 3 Core and Enterprise (#5785)
* add grafana for influxdb3 core and enterprise

* add superset docs for monolith

* added tableau to monolith

* mark tableau and superset as draft
2025-01-17 13:22:23 -07:00
Jason Stirnaman 895e104ad6
Merge pull request #5787 from influxdata/revert-5783-revert-5774-add_release_to_docs
Revert "Revert "docs: add dec 2024 clustered release notes""
2025-01-17 14:11:35 -06:00
Jennifer Moore a51603ef4c
Revert "Revert "docs: add dec 2024 clustered release notes"" 2025-01-17 13:40:18 -06:00
peterbarnett03 38b63ec51a
fix: remove incorrect licensing on Core (#5786) 2025-01-16 19:24:18 -07:00
Jason Stirnaman a0dff4a9eb
Merge pull request #5784 from yaahc/patch-1
update influxql cli example flag
2025-01-16 15:53:59 -06:00
Jane Losare-Lusby 865fda47c5
update influxql cli example flag 2025-01-16 13:49:09 -08:00
Jason Stirnaman 3887fb4961
Merge pull request #5783 from influxdata/revert-5774-add_release_to_docs
Revert "docs: add dec 2024 clustered release notes"
2025-01-16 11:35:55 -06:00
Jennifer Moore ab3dbc6ccb
Revert "docs: add dec 2024 clustered release notes (#5774)"
This reverts commit d5948dbfe5.
2025-01-16 10:02:10 -06:00
Jason Stirnaman 19eaf3c759
Merge pull request #5777 from influxdata/fix/issue5772
fix(monolith): get-started and broken install link:
2025-01-15 15:16:04 -06:00