Skip to content

Rename Datastar attributes from _ds prefix to _data prefix#18

Merged
andymeierdev merged 4 commits intomainfrom
claude/rename-data-star-attributes-Op85J
Feb 28, 2026
Merged

Rename Datastar attributes from _ds prefix to _data prefix#18
andymeierdev merged 4 commits intomainfrom
claude/rename-data-star-attributes-Op85J

Conversation

@andymeierdev
Copy link
Copy Markdown
Collaborator

The _ds shorthand was unclear. Renamed all Datastar attributes to use
the _data prefix (e.g., _dsShow -> _dataShow, _dsBind -> _dataBind)
for better consistency with the underlying data-* HTML attributes.
Removed the generic _ds helper from Datastar since Html._data already
provides the same functionality.

https://claude.ai/code/session_019s59KCRtbdgh6H3YMXfTxj

claude and others added 4 commits February 28, 2026 00:33
The _ds shorthand was unclear. Renamed all Datastar attributes to use
the _data prefix (e.g., _dsShow -> _dataShow, _dsBind -> _dataBind)
for better consistency with the underlying data-* HTML attributes.
Removed the generic _ds helper from Datastar since Html._data already
provides the same functionality.

https://claude.ai/code/session_019s59KCRtbdgh6H3YMXfTxj
Adds test coverage for all renamed Datastar attributes, verifying they
render the correct data-* HTML attributes. Also adds `open type Datastar`
to the test module imports.

https://claude.ai/code/session_019s59KCRtbdgh6H3YMXfTxj
F# triple-quoted strings cannot end with a `"` character before the
closing `"""`, as the parser greedily matches the first `"""` it finds.
Switched to regular escaped strings for assertions containing quoted
attribute values.

https://claude.ai/code/session_019s59KCRtbdgh6H3YMXfTxj
@github-actions
Copy link
Copy Markdown

🍹 preview on fsharp-view-engine/prod

Pulumi report

View in Pulumi Cloud

  Previewing update (prod)

View Live: https://app.pulumi.com/meiermade/fsharp-view-engine/prod/previews/9eaec78c-8a6b-4530-b5f6-3c8a512f772f

pulumi:pulumi:Stack: (same)
  [urn=urn:pulumi:prod::fsharp-view-engine::pulumi:pulumi:Stack::fsharp-view-engine-prod]
  ~ docker-build:index:Image: (update)
      [id=sha256:7dce1dac725cac480a57d3912a6d0747a6e506fead31a37c5d0e1cf2750b1959]
      [urn=urn:pulumi:prod::fsharp-view-engine::docker-build:index:Image::fsharpviewengine]
    - contextHash: "f773ed33bf1523bb91c3b9eb43af66bf13fd51b684e67368d52fd0b53a839a3e"
  ~ kubernetes:apps/v1:Deployment: (update)
      [id=fsharpviewengine/fsharpviewengine]
      [urn=urn:pulumi:prod::fsharp-view-engine::kubernetes:apps/v1:Deployment::fsharpviewengine]
    ~ spec: {
        ~ template: {
            ~ spec: {
                ~ containers: [
                    ~ [0]: {
                            ~ image: "941377122014.dkr.ecr.us-east-1.amazonaws.com/fsharpviewengine:latest@sha256:94dbdb4a65bf9a2b43e775fb0cab13a0e3881fb396f95e9f9d4a4c74a2461cc7" => [unknown]
                          }
                  ]
              }
          }
      }
Resources:
  ~ 2 to update
  10 unchanged
  

@andymeierdev andymeierdev merged commit 9fe6ff9 into main Feb 28, 2026
2 checks passed
@andymeierdev andymeierdev deleted the claude/rename-data-star-attributes-Op85J branch February 28, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants