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(icons): Added @vibe/icons/meta to readme #2712

Merged
merged 4 commits into from
Jan 12, 2025

Conversation

shaharzil
Copy link
Contributor

@shaharzil shaharzil requested a review from a team as a code owner January 12, 2025 11:23
Comment on lines 34 to 39
#### Using Meta Information

```javascript
import iconsMetaData from "@vibe/icons/meta";
```

Copy link
Member

Choose a reason for hiding this comment

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

I think it worth mentioning what kind of metadata we provide

Copy link
Contributor Author

@shaharzil shaharzil Jan 12, 2025

Choose a reason for hiding this comment

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

I agree :) do you think we also need to explain for what use cases to use it?

Copy link
Member

Choose a reason for hiding this comment

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

Yeah that might be also helpful

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done :)

- `description`: A description of the icon's purpose or usage.
- `tags`: Associated tags as a comma-separated string.
- `category`: (Optional) Icon categories such as `Basic`, `Platform`, or `View`.
- `ignore`: (Optional) Indicates if the icon should be ignored.
Copy link
Member

Choose a reason for hiding this comment

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

I'd remove this as it's not relevant for the metadata but only for the catalog, no? @rivka-ungar

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The metadata contains this info...

Copy link
Member

Choose a reason for hiding this comment

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

Yes but how will it benefit the users who use this metadata? 😅

Copy link
Contributor

Choose a reason for hiding this comment

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

It is used internally to filter out icons we don't want to display in the catalog, so it probably doesn't need to be in the readme

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sababi, removing

Copy link
Member

@talkor talkor left a comment

Choose a reason for hiding this comment

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

Cool :)

@shaharzil shaharzil merged commit 68d783d into master Jan 12, 2025
14 checks passed
@shaharzil shaharzil deleted the add-icons-meta-to-readme branch January 12, 2025 13:10
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.

3 participants