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: API Playground #10376

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

Conversation

oliverqx
Copy link

/claim #10283

Copy link
Contributor

github-actions bot commented Feb 21, 2025

Welcome!

Hello there, congrats on your first PR! We're excited to have you contributing to this project.
By submitting your Pull Request, you acknowledge that you agree with the terms of our Contributor License Agreement.

Generated by 🚫 dangerJS against 169fff0

/>
<StyledSettingsApiPlaygroundCoverImage />
<PlaygroundSetupForm />
</Section>
Copy link
Member

@FelixMalfait FelixMalfait Feb 25, 2025

Choose a reason for hiding this comment

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

There are still padding issues.

For example the gap here is 4px:
Screenshot 2025-02-25 at 13 56 59

32px:
Screenshot 2025-02-25 at 14 00 04

16px:
Screenshot 2025-02-25 at 13 59 18

Copy link
Author

Choose a reason for hiding this comment

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

ah okay I thought you meant in playground. I noticed there were some differences as well which I fixed. Will fix these soon

Copy link
Member

Choose a reason for hiding this comment

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

Ah yes sorry I should have been more precise, I hadn't noticed the issue on the playground!

) !important`};
}
`;

Copy link
Member

Choose a reason for hiding this comment

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

Where are we passing the token?

Copy link
Member

Choose a reason for hiding this comment

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

(Scalar comes with Curl / playground so we want that to be prefilled)

Copy link
Author

Choose a reason for hiding this comment

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

oh yes i forgot

Copy link
Member

Choose a reason for hiding this comment

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

No problem! Thank you

@@ -355,6 +356,7 @@
"name": "twenty",
"packageManager": "yarn@4.4.0",
"resolutions": {
"@codemirror/state": "6.4.1",
Copy link
Member

Choose a reason for hiding this comment

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

Just for future reference, what was the conflict? Thanks

APIs = 'apis',
PlaygroundRouter = 'playground/:type/:schema',
DevelopersNewApiKey = 'apis/new',
DevelopersApiKeyDetail = 'apis/:apiKeyId',
Copy link
Member

Choose a reason for hiding this comment

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

Broken link now? Let's keep api-key/new and api-key/:apiKeyId
Screenshot 2025-02-25 at 14 25 46

@oliverqx
Copy link
Author

@FelixMalfait I just realized my message yesterday night didn't post on github, I'm not sure why. Sorry about that. But thank you for reviewing again. Will address the changes today

@FelixMalfait
Copy link
Member

Also FYI I removed the translations because they are automatically added by a Github Action CI. What you did was correct (lingui extract) but it creates conflicts so our process is to just let the CI do it

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