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

Add reference and API docs for segments #1474

Merged
merged 31 commits into from
Apr 4, 2022

Conversation

thomasheartman
Copy link
Contributor

@thomasheartman thomasheartman commented Apr 2, 2022

This PR adds reference documentation and API documentation for the new segments feature.

It also adds some minor work with storybook to add the API request component and converts it to TS.

Points of attention

I'd like to ask @olav to pay special attention to the API documentation: are the return codes correct? Is the returned data correct? I've used the segments controller as reference, so I think it's all there, but I might have missed something.

Thank you! 😄

@vercel
Copy link

vercel bot commented Apr 2, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/unleash-team/unleash-docs/2KREHN4wxWcwUkpyEXMcvkriEvgo
✅ Preview: https://unleash-docs-git-docs-segments-reference-docs-unleash-team.vercel.app

@thomasheartman thomasheartman requested a review from olav April 2, 2022 14:35
@github-actions
Copy link

github-actions bot commented Apr 2, 2022

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 91.14% 5043/5533
🟡 Branches 79.67% 776/974
🟢 Functions 86.11% 1190/1382
🟢 Lines 91.08% 4929/5412

Test suite run success

834 tests passing in 120 suites.

Report generated by 🧪jest coverage report action from 35bd047

website/docs/api/admin/segments.mdx Outdated Show resolved Hide resolved
website/docs/api/admin/segments.mdx Show resolved Hide resolved
website/docs/api/admin/segments.mdx Outdated Show resolved Hide resolved
website/docs/api/admin/segments.mdx Outdated Show resolved Hide resolved
website/docs/api/admin/segments.mdx Outdated Show resolved Hide resolved
website/docs/reference/segments.mdx Outdated Show resolved Hide resolved
website/docs/reference/segments.mdx Outdated Show resolved Hide resolved
website/docs/reference/segments.mdx Outdated Show resolved Hide resolved
website/docs/api/admin/segments.mdx Outdated Show resolved Hide resolved
@thomasheartman thomasheartman merged commit f64d2cb into main Apr 4, 2022
@thomasheartman thomasheartman deleted the docs/segments-reference-docs branch April 4, 2022 13:06
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.

None yet

2 participants