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

Fixing Grist's API console #1373

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

Fixing Grist's API console #1373

wants to merge 3 commits into from

Conversation

berhalak
Copy link
Contributor

@berhalak berhalak commented Jan 9, 2025

Context

Fixing Grist's API console JavaScript error caused by recent addition of new scim endpoint documentation.

Proposed solution

Fix is simple, script that copies shared parameters across multiple endpoints just ignores external endpoints. Currently Grist doesn't share any parameters with scim endpoints so this solution is good enough.

Related issues

Additionally there is a fix to scim endpoints, that externalize endpoint parameters. It is not needed now (as no parameters are shared), but might be needed in future.

gristlabs/grist-help#467

Has this been tested?

manually only

Screenshots / Screencasts

image

Copy link
Collaborator

@fflorent fflorent left a comment

Choose a reason for hiding this comment

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

Hello @berhalak,

Could you give more details on how you reproduce the issue? On the SAAS instance apiconsole, I don't have either a JS error or an error popup like you share on your screenshot

2025-01-09_14-41

app/client/apiconsole.ts Outdated Show resolved Hide resolved
@berhalak
Copy link
Contributor Author

berhalak commented Jan 9, 2025

Hello @berhalak,

Could you give more details on how you reproduce the issue? On the SAAS instance apiconsole, I don't have either a JS error or an error popup like you share on your screenshot

You need to load a console from a running document, for example:
https://public.getgrist.com/apiconsole?docId=d1t1x4BvxuMKujgUa6m1An&workspaceId=15285&orgId=public

@berhalak berhalak requested a review from fflorent January 9, 2025 15:31
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