Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(transforms): Add docs for string join transform #662

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

MisterMX
Copy link
Collaborator

No description provided.

Copy link

netlify bot commented Dec 19, 2023

Deploy Preview for crossplane ready!

Name Link
🔨 Latest commit 9d88c47
🔍 Latest deploy log https://app.netlify.com/sites/crossplane/deploys/65b2546c2dd7370008534e85
😎 Deploy Preview https://deploy-preview-662--crossplane.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 91 (🟢 up 2 from production)
Accessibility: 88 (🔴 down 3 from production)
Best Practices: 83 (no change from production)
SEO: 93 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@plumbis plumbis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new content looks good, however looks like your IDE may have chopped off all ending spaces which changes formatting in markdown. Can you restore the removed spaces?

Do we need to commit this to 1.14 as well or is this only in master today?

@@ -1654,6 +1655,25 @@ patches:
trim: `-north-1'
```

#### Join
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move this section to be before line 1601, the heading "Regular expression type" to make the type order alphabetical?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

#### Join

The {{<hover label="typeJoin" line="8">}}type: Join{{</hover>}} joins all
values in the input array into a string using the given separator.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
values in the input array into a string using the given separator.
values in the input array into a string using the given separator.

I'd suggest adding a line break to put the line "This transform only works..." on a new line.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added.

{{<hover label="string" line="7">}}types{{</hover>}}

* [Convert](#string-convert)
* [Format](#string-format)
* [Regexp](#regular-expression-type)
* [TrimPrefix](#trim-prefix)
* [TrimSuffix](#trim-suffix)
* [Join](#join)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move this to be the third item in the list so it's alphabetical?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved it up.

@plumbis
Copy link
Collaborator

plumbis commented Jan 12, 2024

_ping _ @MisterMX

@MisterMX
Copy link
Collaborator Author

@plumbis I applied your requested changes. Can you take a second look?

@MisterMX MisterMX requested a review from plumbis January 25, 2024 12:32
@plumbis plumbis merged commit be7876b into crossplane:master Jan 25, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants