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

docs: 📝 Update Bundle parameter syntax #230

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

heldrida
Copy link
Member

@heldrida heldrida commented Sep 19, 2024

Why?

The bundle parameter has changed in fleek-platform/cli#34, thus the documentation has to reflect the changes.

⚠️ Related to fleek-platform/cli#34

How?

  • Update guides

Tickets?

Contribution checklist?

  • The commit messages are detailed
  • The build command runs locally
  • Assets or static content are linked and stored in the project
  • Document filename is named after the slug
  • You've reviewed spelling using a grammar checker
  • For documentation, guides or references, you've tested the commands and steps
  • You've done enough research before writing

Security checklist?

  • Sensitive data has been identified and is being protected properly
  • Injection has been prevented (parameterized queries, no eval or system calls)
  • The Components are escaping output (to prevent XSS)

References?

Optionally, provide references such as links

Preview?

Optionally, provide the preview url here

Copy link

changeset-bot bot commented Sep 19, 2024

⚠️ No Changeset found

Latest commit: 82b010a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

heldrida added a commit to fleek-platform/cli that referenced this pull request Sep 19, 2024
## Why?

Most parameters take a value. The bundle parameter is optional but
shouldn't be a negation. It's confusing and counter-intuitive. Rather,
have the bundle parameter that defaults to true, e.g. defaults to
bundling. If the user wants to prevent bundling, it'd have to set the
bundle parameter to false, which is a similar flow as for other
parameters, e.g. name.

⚠️ Related to fleek-platform/website#230

## How?

- Replace the term in the types
- Replace the term in the command generator
- Create localized text

## Tickets?

-
[PLAT-1273](https://linear.app/fleekxyz/issue/PLAT-1273/the-bundle-parameter-is-not-intuitive-due-to-negation-eg-nobundle)

## Contribution checklist?

- [x] The commit messages are detailed
- [x] The `build` command runs locally
- [ ] Assets or static content are linked and stored in the project
- [ ] You have manually tested
- [ ] You have provided tests

## Security checklist?

- [ ] Sensitive data has been identified and is being protected properly
- [ ] Injection has been prevented (parameterized queries, no eval or
system calls)

## Preview?

> Bundle is Enabled by default
<img width="809" alt="Screenshot 2024-09-19 at 14 13 44"
src="https://github.com/user-attachments/assets/d064d4c8-0fdc-4c57-a3e5-4826e952b8ea">

> Bundle is Disabled if user sets it as false
<img width="811" alt="Screenshot 2024-09-19 at 14 14 05"
src="https://github.com/user-attachments/assets/093b07f5-8593-4d1d-8c33-fd32120d61fe">
@heldrida heldrida merged commit 65947d1 into develop Sep 19, 2024
6 of 7 checks passed
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