-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
fix: Moved expires_in field after scope in OAuth2 DatasourceForm #31059 #31863
fix: Moved expires_in field after scope in OAuth2 DatasourceForm #31059 #31863
Conversation
…guring oauth2 datasource Updated RestAPIDatasourceForm.tsx
Welcome to the Appsmith community! Thank you for your first pull request and making this project better. 🤗 Please make sure that you raise a review request so your code change does not go unnoticed. |
WalkthroughWalkthroughThe update involves refining the OAuth2 authorization code flow within a specific application's datasource configuration UI. A new method, Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
app/client/src/pages/Editor/DataSourceEditor/RestAPIDatasourceForm.tsx
Outdated
Show resolved
Hide resolved
This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected. |
/build-deploy-preview skip-tests=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/8504946084. |
Deploy-Preview-URL: https://ce-31863.dp.appsmith.com |
@theAravinthM Hi I tested the PR using this link https://ce-31863.dp.appsmith.com/ I don't see the expires_in field at all even when I select |
@sneha122 Hi ! That was by mistake, since I could not test my code like the link that you provided. I have modified a little chunk of my code from the previous commits. |
On client side as well there is a linting failure in file src/pages/Editor/DataSourceEditor/RestAPIDatasourceForm.tsx, can you please format this file using prettier formatter? These should fix all of your linting errors and we can merge the PR as quickly as we can |
Hi @sneha122 Thanks for the review! I have formatted the code with Prettier code formatter. |
/build-deploy-preview skip-tests=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/8510071936. |
Deploy-Preview-URL: https://ce-31863.dp.appsmith.com |
Hi @sneha122 |
Hi @theAravinthM Thanks for checking back, but there is some issue in running automated tests on this PR, let me investigate this and get back to you |
Hi @theAravinthM The original repo of appsmith is a little ahead of your forked repo, hence I would request you to kindly sync the forked repo and then merge latest release into the branch, with this we can further proceed ahead with the PR. |
Hi @sneha122 |
@theAravinthM Can you please pull latest release branch in your forked repo and merge it into this branch? |
Oh my bad! I just mistakenly synced the release branch of my forked repo before. |
This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected. |
Hi @sneha122 I am really unsure why that |
This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected. |
This PR has been closed because of inactivity. |
Moved the
expires_in
field afterscope
field while configuring OAuth2 datasource - for better user experiencePR for the issue: #31059
Description
While configuring the OAuth2 Datasource, when the
Grant_type
field is selected asAuthorization Code
, theauthorization_expires_in
is placed right after thescope
field.This is to help users find all the related fields at one place. This improves User Experience.
fixes #31059
1
appsmith/app/client/src/pages/Editor/DataSourceEditor/RestAPIDatasourceForm.tsx
The image representing the change:
Automation
/ok-to-test tags="@tag.All"
🔍 Cypress test results
Caution
If you modify the content in this section, you are likely to disrupt the CI result for your PR.
Summary by CodeRabbit
Summary by CodeRabbit