feat: [WIP] javascript libraries
Description
-
Copy and paste the URL of a library of your choice into Appsmith to have the library downloaded and ready to use. This statement comes with some limitation though, and is listed below
- The library URL that you paste should point to a valid UMD build of the library. Libraries bundled in other module definitions are disallowed.
- Evaluations that power Appsmith, run on web worker, and the APIs on the worker are a subset of the ones you find on the main thread. Here's the list of APIs that web workers support.
-
Libraries that use APIs that are not on web worker are unsupported.
-
Additionally, libraries that rely on
XMLHttpRequestare unsupported. -
Installed libraries get autocomplete support.
-
Additionally, this comes with Appsmith's recommended libraries, which are chosen based on community feedback and popularity
Fixes #2430 Fixes #17310 Fixes #17966 Fixes #17309
Type of change
- New feature (non-breaking change which adds functionality)
- This change requires a documentation update
How Has This Been Tested?
- Manual
- Jest
- Cypress
Test Plan
Add Testsmith test cases links that relate to this PR
Issues raised during DP testing
- [ ] https://github.com/appsmithorg/appsmith/pull/17895#issuecomment-1314782428
Checklist:
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
| Name | Status | Preview | Updated |
|---|---|---|---|
| appsmith | ⬜️ Ignored (Inspect) | Dec 21, 2022 at 3:08PM (UTC) |
Deployment failed with the following error:
Resource is limited - try again in 9 seconds (more than 100, code: "api-deployments-free-per-day").
-
[x] Clicking on
+adds a scroll bar to the screen since the libraries pop-up window overflows outside the window boundary on the bottom -
[x] Download icon needs a hover and clicked state - design change
-
[ ] List libraries alphabetically

-
[x] When a page containing custom libraries is clone and these libraries are deleted from one page, then they get deleted from the other (cloned/original) page too - not relevant since libraries are app level entities https://www.loom.com/share/c20addfbb5264b369cb48037e8122faf
-
[ ] Hitting
enterafter dropping a library URL does not initiate installation - this needs to be configured -
[x]
report issuelink does not work
-
[x] Hovering over the exclamation icon changes cursor to click icon but it's not a CTA

-
[x] Hovering over the link icon changes cursor to click icon but it's not a CTA

-
[x] Hovering over the username icon changes cursor to click icon but it's not a CTA

-
[ ] Error message should be cleared once link is removed from the input box

-
[x] Version number is clickable and leads to an empty page

-
[x] Copying text from here incorrectly copies a second handle

/ok-to-test sha=207fb36
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3530263513.
Workflow: Appsmith External Integration Test Workflow.
Commit: 207fb36.
PR: 17895.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-63465d4789020c7ac296d08d?pr=17895&runId=3530263513_1
Deployment failed with the following error:
Resource is limited - try again in 8 minutes (more than 100, code: "api-deployments-free-per-day").
/ok-to-test sha=e2af8e4
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3530554184.
Workflow: Appsmith External Integration Test Workflow.
Commit: e2af8e4.
PR: 17895.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-63465d4789020c7ac296d08d?pr=17895&runId=3530554184_1
Deployment failed with the following error:
Resource is limited - try again in 40 minutes (more than 100, code: "api-deployments-free-per-day").
Deployment failed with the following error:
Resource is limited - try again in 35 minutes (more than 100, code: "api-deployments-free-per-day").
/ok-to-test sha=6161c30
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3568363678.
Workflow: Appsmith External Integration Test Workflow.
Commit: 6161c30.
PR: 17895.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-63465d4789020c7ac296d08d?pr=17895&runId=3568363678_1
/ok-to-test sha=2f5d6f6
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3569142672.
Workflow: Appsmith External Integration Test Workflow.
Commit: 2f5d6f6.
PR: 17895.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-63465d4789020c7ac296d08d?pr=17895&runId=3569142672_1
/ok-to-test sha=08bde86
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3571129271.
Workflow: Appsmith External Integration Test Workflow.
Commit: 08bde86.
PR: 17895.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-63465d4789020c7ac296d08d?pr=17895&runId=3571129271_1
Deployment failed with the following error:
Resource is limited - try again in 60 minutes (more than 100, code: "api-deployments-free-per-day").
Deployment failed with the following error:
Resource is limited - try again in 44 minutes (more than 100, code: "api-deployments-free-per-day").
Deployment failed with the following error:
Resource is limited - try again in 3 minutes (more than 100, code: "api-deployments-free-per-day").
/ok-to-test sha=9a60d44
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3715584662.
Workflow: Appsmith External Integration Test Workflow.
Commit: 9a60d44.
PR: 17895.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=17895&runId=3715584662_1
/ok-to-test sha=cb23f45
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3715787372.
Workflow: Appsmith External Integration Test Workflow.
Commit: cb23f45.
PR: 17895.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=17895&runId=3715787372_1
/ok-to-test sha=d2e1ef2
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3719817397.
Workflow: Appsmith External Integration Test Workflow.
Commit: d2e1ef2.
PR: 17895.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=17895&runId=3719817397_1
/ok-to-test sha=a6c5ab8
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3721222328.
Workflow: Appsmith External Integration Test Workflow.
Commit: a6c5ab8.
PR: 17895.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=17895&runId=3721222328_1
/ok-to-test sha=e0e95fe
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3723185104.
Workflow: Appsmith External Integration Test Workflow.
Commit: e0e95fe.
PR: 17895.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=17895&runId=3723185104_1
/ok-to-test sha=6c85b78