influxdata / influxdata/docs-v2

Custom date picker not updating lineprotocol timestamps with chosen date

Open
#6,424 0 comments 0 reactions 0 assignees View on GitHub
area:site-ui
Dominant language
JavaScript
Stars
82
Forks
326
Avg merge
1d 1h
Merged PRs (30d)
82

Description

While reviewing code examples for `influxdb3-go` in _Cloud Serverless_ I noticed two problems.

1. First the date selector feature is not updating the timestamp in the descriptive paragraph with the correct date. It seems to be one day earlier than the date selected.
2. The timestamps in the code samples are not being updated. This applies to the line protocol example under the heading _Home sensor data line protocol_ and to the line protocol string slice in the Go example.

An initial view.
Image

Open the date picker.
Image

Select the new date.
Image

The updated page
Image

##### Relevant URLs
- https://docs.influxdata.com/influxdb3/cloud-serverless/get-started/write/?t=Go

Also from local build of latest (commit 97c76d590c7925ce68a2811b147fdc0fc11960f3) in branch master started with `npx hugo server`.

http://localhost:1313/influxdb3/cloud-serverless/get-started/write/?t=Go

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the Cloud Serverless write page at the linked URL and run the local site with `npx hugo server` as described. Find the date-picker behavior and the Home sensor data line protocol and Go line protocol examples, then verify that selecting a date updates the descriptive date and every displayed timestamp to that date.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.