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

Update README with warning message #19

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Update README with warning message #19

wants to merge 4 commits into from

Conversation

caetano1
Copy link

Add a warning message that this project is unfinished.

What problem is this solving?

Warns general developers that this is an unfinished project.

How should this be manually tested?

N/A

Checklist/Reminders

  • Updated README.md.
  • Updated CHANGELOG.md.
  • Linked this PR to a Jira story (if applicable).
  • Updated/created tests (important for bug fixes).
  • Deleted the workspace after merging this PR (if applicable).

Screenshots or example usage

Type of changes

✔️ Type of Change
_ ✔️ Bug fix
_ New feature
_ Breaking change
_ Technical improvements

Notes

Add a warning message that this project is unfinished.
@caetano1 caetano1 requested a review from a team as a code owner November 26, 2020 15:12
@vtex-io-ci-cd
Copy link

vtex-io-ci-cd bot commented Nov 26, 2020

Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖

Please select which version do you want to release:

  • Patch (backwards-compatible bug fixes)

  • Minor (backwards-compatible functionality)

  • Major (incompatible API changes)

And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.

  • No thanks, I would rather do it manually 😞

@vtex-io-docs-bot
Copy link

Beep boop 🤖

Thank you so much for keeping our documentation up-to-date ❤️

docs/README.md Outdated Show resolved Hide resolved
docs/README.md Outdated Show resolved Hide resolved
docs/README.md Outdated Show resolved Hide resolved
docs/README.md Outdated

## Customization

The first thing that should be present in this section is the sentence below, showing users the recipe pertaining to CSS customization in blocks:
The first thing that should be present in this section is the sentence below, showing users the recipe pertaining to CSS customization in apps:

Choose a reason for hiding this comment

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

This is an instruction to add customization info to the doc! If no Handles are currently available, this part should be removed - only keep the No CSS Handles are available yet for the app customization.

docs/README.md Outdated
Comment on lines 75 to 80
`In order to apply CSS customizations in this and other blocks, follow the instructions given in the recipe on [Using CSS Handles for store customization](https://vtex.io/docs/recipes/style/using-css-handles-for-store-customization).`

Thereafter, you should add a single column table with the available CSS handles for that block:
Thereafter, you should add a single column table with the available CSS handles for the app, like the one below. Note that the Handles must be ordered alphabetically.

| CSS Handles |
| ----------- |

Choose a reason for hiding this comment

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

This is an instruction to add customization info to the doc! If no Handles are currently available, this part should be removed - only keep the No CSS Handles are available yet for the app customization.

docs/README.md Outdated
Comment on lines 13 to 15
Under the app's name, you should explain the topic, giving a **brief description** of its **functionality** in a store when installed.

Next, **add media** (either an image of a GIF) with the rendered components, so that users can better understand how the app works in practice.

Choose a reason for hiding this comment

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

This is an instruction to clarify which info should be added to the doc - It should be replaced with real data!

docs/README.md Outdated
Comment on lines 21 to 63
In this section, you first must **add the primary instructions** that will allow users to use the app's blocks in their store, such as:

1. Adding the app as a theme dependency in the `manifest.json` file;
2. Declaring the app's main block in a given theme template or inside another block from the theme.

Remember to add a table with all blocks exported by the app and their descriptions. You can verify an example of it on the [Search Result documentation](https://vtex.io/docs/components/all/[email protected]/).

Next, add the **props table** containing your block's props.

If the app exports more than one block, create several tables - one for each block. For example:

### `block-1` props

| Prop name | Type | Description | Default value |
| ------------ | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| `XXXXX` | `XXXXXX` | XXXXXXXX | `XXXXXX` |


### `block-2` props

| Prop name | Type | Description | Default value |
| ------------ | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| `XXXXX` | `XXXXXX` | XXXXXXXX | `XXXXXX` |

Prop types are:

- `string`
- `enum`
- `number`
- `boolean`
- `object`
- `array`

Next, add the **block's props table**:
When documenting a prop whose type is `object` or `array` another prop table will be needed. You can create it following the example below:

- `propName` object:

| Prop name | Type | Description | Default value |
| ------------ | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| `XXXXX` | `XXXXXX` | XXXXXXXX | `XXXXXX` |


Remember to also **showcase any necessary disclaimer** related to the block in this section, such as the different behavior it may display during its configuration.
Remember to also use this Configuration section to **showcase any necessary disclaimer** related to the app and its blocks, such as the different behavior it may display during its configuration.

Choose a reason for hiding this comment

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

This is an instruction to clarify which info should be added to the doc - It should be replaced with real data!

docs/README.md Outdated Show resolved Hide resolved
docs/README.md Outdated Show resolved Hide resolved
docs/README.md Outdated
Next, **add media** (either an image of a GIF) with the rendered block, so that users can better understand how the block works in practice.
Under the app's name, you should explain the topic, giving a **brief description** of its **functionality** in a store when installed.

Next, **add media** (either an image of a GIF) with the rendered components, so that users can better understand how the app works in practice.

![Media Placeholder](https://user-images.githubusercontent.com/52087100/71204177-42ca4f80-227e-11ea-89e6-e92e65370c69.png)

Choose a reason for hiding this comment

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

This is an instruction to clarify which info should be added to the doc - It should be replaced with a real media!

Base automatically changed from master to main February 23, 2021 21:14
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