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
chore: Adding missing function in cypress git sync helper and syncing the common file across the two repositories. #33360
Conversation
… the common file across the two repositories.
WalkthroughWalkthroughThe recent changes across various icon components focus on improving code readability by restructuring the SVG content within multi-line JSX blocks. These updates aim to enhance maintainability without altering the underlying functionality of the components. Changes
Tip 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 CommunicationShould the DevRel and Marketing teams inform users about this change?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
Out of diff range and nitpick comments (3)
app/client/README.md (1)
4-4
: Consider adding a preposition after the link to improve readability. For example, "This project was bootstrapped with Create React App. For more details on setting up your development machine, please refer to the Setup Guide."app/client/README.old.md (2)
15-17
: Consider varying the sentence structure to enhance readability. For example, "Click the README.md link from the list of files to start editing it directly."
16-17
: Add a comma before 'and' in the sentence: "The commit page will open, and you’ll see the change you just made."
// could return either boolean or string based on value | ||
const parseConfig = (config) => { | ||
if ( | ||
(config.startsWith("{") && config.startsWith("}")) || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the logical error in the condition.
- if (config.startsWith("{") && config.startsWith("}")) ||
+ if (config.startsWith("{") || config.endsWith("}")) ||
This change ensures that the function correctly identifies strings that start with "{" or end with "}".
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
(config.startsWith("{") && config.startsWith("}")) || | |
(config.startsWith("{") || config.endsWith("}")) || |
const CLOUD_HOSTING = parseConfig('{{env "APPSMITH_CLOUD_HOSTING"}}'); | ||
const ZIPY_KEY = parseConfig('{{env "APPSMITH_ZIPY_SDK_KEY"}}'); | ||
const AIRGAPPED = parseConfig('{{env "APPSMITH_AIRGAP_ENABLED"}}'); | ||
</script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace deprecated attachEvent
with addEventListener
for better compatibility with modern browsers.
- else if (w.attachEvent) {
- w.attachEvent("onload", l);
- } else {
+ else {
w.addEventListener("load", l, false);
}
This change ensures that the event listener is compatible with all modern browsers.
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
</script> | |
</script> |
… the common file across the two repositories. (#33368) Fixes GitSync spec in CE repo. Previous PR which got dirty due to prettier check : #33360 ## Description > [!TIP] > _Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team)._ > > _Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR._ Fixes #`Issue Number` _or_ Fixes `Issue URL` > [!WARNING] > _If no issue exists, please create an issue first, and check with the maintainers if the issue is valid._ ## Automation /ok-to-test tags="" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!CAUTION] > If you modify the content in this section, you are likely to disrupt the CI result for your PR. <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No
…
Description
Tip
Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team).
Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR.
Fixes #
Issue Number
or
Fixes
Issue URL
Warning
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.
Automation
/ok-to-test tags="@tag.Git"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/9034256269
Commit: 0a0e030
Cypress dashboard url: Click here!
Communication
Should the DevRel and Marketing teams inform users about this change?