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

0.17.0-alkemio-4 merge to develop #6

Closed
wants to merge 176 commits into from
Closed

0.17.0-alkemio-4 merge to develop #6

wants to merge 176 commits into from

Conversation

ccanos
Copy link

@ccanos ccanos commented Apr 24, 2024

Describe the background of your pull request

What does your pull request do? Does it solve a bug (which one?), add a feature?

Additional context

Add any other context

Governance

  • Documentation is added
  • Test cases are added or updated

By submitting this pull request I confirm that:

vjeux and others added 30 commits June 29, 2023 12:14
* ci: add bundle size limit action

* chore: fix lint

* ci: fix

* ci: fix workflow

* ci: fix workflow

* add size limit deps

* use node 18

---------

Co-authored-by: Nitin Kumar <[email protected]>
…raw#6785)

* ci: update bundle size limit

* change the size script to track bundle size on the package excalidraw

* fix build command

* fix

* remove

* fix

* update script

* fix
…aw#6787)

* fix: use subdirectory for @excalidraw/excalidraw size limit

* fix

* update yml

* update path

* fix

* fix

* better
* ci: better build output from size-limit

* add size-limit.json

* try with pull request target

* fix

* revert pull request target
* chore: remove size-limit deps from root package.json

* add size limit preset
…s.changeViewBackgroundColor` is false (excalidraw#6781)

* fix(components/main-menu): not show canvasBackground

* chore(components/main-menu): add data-testid attr to canvasBackground label

* test(tests/packages/excalidraw): check whether canvasbackground label is rendered when changeviewbackground is false

* test: update snapshots

* fix(tests/packages/excalidraw): change to lowercase canvas background test id

* change to pull request target for size-limit

* Revert "change to pull request target for size-limit"

This reverts commit baf1ca2.

* Add test

---------

Co-authored-by: Aakansha Doshi <[email protected]>
…idraw#6799)

* fix: use pull request in semantic workflow for security

* add types
* init

* add: vite dev build working

* fix: href serving from public

* feat: add ejs plugin

* feat: migrated env files and ejs templating

* chore: add types related to envs

* chore: add vite-env types

* feat: support vite pwa

* chore: upgrade vite pwa

* chore: pin node version to 16.18.1

* chore: preserve use of nodejs 14

* refactor: preserve REACT_APP as env prefix

* chore: support esm environment variables

* fix ts config

* use VITE prefix and remove vite-plugin-env-compatible

* introduce import-meta-loader for building pacakge as webpack isn't compatible with import.meta syntax

* lint

* remove import.meta.env in main.js

* set debug flag to false

* migrate to vitest and use jest-canvas-mock 2.4.0 so its comp
atible with vite

* integrate vitest-ui

* fix most of teh test

* snaps

* Add script for testing with vite ui

* fix all tests related to mocking

* fix more test

* fix more

* fix flip.test.tsx

* fix contentxmenu snaps

* fix regression snaps

* fix excalidraw.test.tsx and this makes all tests finally pass :)

* use node 16

* specify node version

* use node 16 in lint as well

* fix mobile.test.tsx

* use node 16

* add style-loader

* upgrade to node 18

* fix lint package.json

* support eslint with vite

* fix lint

* fix lint

* fix ts

* remove pwa/sw stuff

* use env vars in EJS the vite way

* fix lint

* move remainig jest mock/spy to vite

* don't cache locales

* fix regex

* add fonts cache

* tweak

* add custom service worker

* upgrade vite and create font cache again

* cache fonts.css and locales

* tweak

* use manifestTransforms for filtering locales

* use assets js pattern for locales

* add font.css to globIgnore so its pushed to fonts cache

* create a separate chunk for locales with rollup

* remove manifestTransforms and fix glob pattern for locales to filter from workbox pre-cache

* push sourcemaps in production

* add comments in config

* lint

* use node 18

* disable pwa in dev

* fix

* fix

* increase limit of bundle

* upgrade vite-pwa to latest

* remove public/workbox so workbox assets are not precached

* fon't club en.json and percentages.json with manual locales chunk to fix first load+offline mode

* tweak regex

* remove happy-dom as its not used

* add comment

* use any instead of ts-ignore

* cleanup

* remove jest-canvas-mock resolution as vite-canvas-mock was patched locking deps at 2.4.0

* use same theme color present in entry point

---------

Co-authored-by: Weslley Braga <[email protected]>
Co-authored-by: dwelle <[email protected]>
Revert "build: Migrate to Vite 🚀 (excalidraw#6713)"

This reverts commit e93bbc5.
* init

* add: vite dev build working

* fix: href serving from public

* feat: add ejs plugin

* feat: migrated env files and ejs templating

* chore: add types related to envs

* chore: add vite-env types

* feat: support vite pwa

* chore: upgrade vite pwa

* chore: pin node version to 16.18.1

* chore: preserve use of nodejs 14

* refactor: preserve REACT_APP as env prefix

* chore: support esm environment variables

* fix ts config

* use VITE prefix and remove vite-plugin-env-compatible

* introduce import-meta-loader for building pacakge as webpack isn't compatible with import.meta syntax

* lint

* remove import.meta.env in main.js

* set debug flag to false

* migrate to vitest and use jest-canvas-mock 2.4.0 so its comp
atible with vite

* integrate vitest-ui

* fix most of teh test

* snaps

* Add script for testing with vite ui

* fix all tests related to mocking

* fix more test

* fix more

* fix flip.test.tsx

* fix contentxmenu snaps

* fix regression snaps

* fix excalidraw.test.tsx and this makes all tests finally pass :)

* use node 16

* specify node version

* use node 16 in lint as well

* fix mobile.test.tsx

* use node 16

* add style-loader

* upgrade to node 18

* fix lint package.json

* support eslint with vite

* fix lint

* fix lint

* fix ts

* remove pwa/sw stuff

* use env vars in EJS the vite way

* fix lint

* move remainig jest mock/spy to vite

* don't cache locales

* fix regex

* add fonts cache

* tweak

* add custom service worker

* upgrade vite and create font cache again

* cache fonts.css and locales

* tweak

* use manifestTransforms for filtering locales

* use assets js pattern for locales

* add font.css to globIgnore so its pushed to fonts cache

* create a separate chunk for locales with rollup

* remove manifestTransforms and fix glob pattern for locales to filter from workbox pre-cache

* push sourcemaps in production

* add comments in config

* lint

* use node 18

* disable pwa in dev

* fix

* fix

* increase limit of bundle

* upgrade vite-pwa to latest

* remove public/workbox so workbox assets are not precached

* fon't club en.json and percentages.json with manual locales chunk to fix first load+offline mode

* tweak regex

* remove happy-dom as its not used

* add comment

* use any instead of ts-ignore

* cleanup

* remove jest-canvas-mock resolution as vite-canvas-mock was patched locking deps at 2.4.0

* use same theme color present in entry point

* remove vite-plugin-eslint as it improves DX significantly

* integrate vite-plugin-checker for ts errors

* add nabla/vite-plugin-eslint

* use eslint from checker only

* add env variable VITE_APP_COLLAPSE_OVERLAY for collapsing the checker overlay

* tweak vite checker overlay badge position

* Enable eslint behind flag as its not working well with windows with non WSL

* make port configurable

* open the browser when server ready

* enable eslint by default

---------

Co-authored-by: Weslley Braga <[email protected]>
Co-authored-by: dwelle <[email protected]>
* fix: refresh sw when browser refreshed

* dummy test

* enable immediate reload

* test

* fix

* autoupdate

* don't immediate

* test

* testing testing

* test

* test

* its same

* revert logs

* fix types

---------
FilBot3 and others added 23 commits November 10, 2023 15:29
* build: support preact

* add log

* Simplify the config and generate prod and dev builds for preact

* update changelog

* remove logs

* use env variable so its available during build time

* update cl

* fix
* chore: update changelog

* fix

* Update CHANGELOG.md
* chore: update release scripts

* update docs
* feat: add docs for getCommonBounds

* docs: add docs for frames api support

* docs: update docs for regenerateIds opts in convertToExcalidrawElements

* add docs for ref removal

* add docs for lock support and insertOnCanvasDirectly in setActiveTool

* fix broken links

* update docs for next js support

* update docs for Preact

* add faq

* docs: add `onChange`, `onPointerDown`, `onPointerUp` docs

* docs: update `useDevice` docs

* update docs for disabling image tool

* add docs for withinBounds helpers

* fix lint

* upgrade excal

* add docusaurus2-dotenv for expose env vars

* fix env variable and upgrade excal

* Update dev-docs/docs/@excalidraw/excalidraw/api/excalidraw-element-skeleton.mdx

Co-authored-by: David Luzar <[email protected]>

* update docs

Co-authored-by: David Luzar <[email protected]>

* update docs for process.env

---------

Co-authored-by: dwelle <[email protected]>
…mToolbar

Hide library button & Lock elements from toolbar
@CLAassistant
Copy link

CLAassistant commented Apr 24, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 20 committers have signed the CLA.

✅ ccanos
❌ dwelle
❌ alex-kim-dev
❌ barnabasmolnar
❌ mazijian-pp
❌ dependabot[bot]
❌ excalibot
❌ mvaibhav77
❌ lakshz
❌ ad1992
❌ are
❌ s1lverfish
❌ fsefidabi
❌ zsviczian
❌ GabiRepare
❌ janpeterd
❌ SahilNagpure07
❌ FilBot3
❌ dantehemerson
❌ pshihn
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 73.59% (🎯 70%) 44897 / 61004
🟢 Statements 73.59% (🎯 70%) 44897 / 61004
🟢 Functions 69.73% (🎯 68%) 1433 / 2055
🟢 Branches 81.02% (🎯 70%) 5633 / 6952
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/analytics.ts 62.5% 25% 100% 62.5% 15-16, 21-28, 30-31
src/appState.ts 98.14% 90% 71.42% 98.14% 16, 247-248, 255-256
src/charts.ts 36.3% 79.16% 38.46% 36.3% 72-75, 87-88, 92, 97-98, 141-142, 148-152, 158-159, 183-187, 190-213, 216-243, 246-304, 308-353, 356-389, 392-481, 484-493
src/clipboard.ts 57.41% 72.05% 61.53% 57.41% 51-53, 79-80, 91-92, 94-95, 106-109, 111-112, 133-137, 142-145, 153, 155-160, 171-180, 231-235, 238-290, 322-323, 351-352, 374-401, 404-436, 440-479
src/colors.ts 99.41% 100% 75% 99.41% 168
src/constants.ts 99.42% 42.85% 100% 99.42% 11-12
src/cursor.ts 50.47% 54.54% 75% 50.47% 39-76, 83-84, 88, 90-93, 95-99, 103-104
src/emitter.ts 85.1% 63.63% 83.33% 85.1% 29-33, 37-38
src/errors.ts 50% 100% 33.33% 50% 5-11, 25-34
src/frame.ts 65.03% 71.62% 73.07% 65.03% 40-55, 60-74, 89-96, 99-101, 127-128, 149-166, 169-188, 196-209, 255, 273-284, 287-300, 321-330, 338-345, 358-360, 412, 414-415, 446-460, 463-470, 511-520, 530-531, 535, 554-555, 560-565, 581, 599, 617-621, 623-652
src/groups.ts 87.53% 91.93% 94.11% 87.53% 36-47, 80, 82-83, 236-250, 340-341, 349-361
src/i18n.ts 85.46% 72% 11.66% 85.46% 96, 100-102, 119-120, 125-132, 138-148
src/keys.ts 100% 77.77% 100% 100%
src/math.ts 71.81% 87.87% 84% 71.81% 70, 86-146, 180-205, 223-228, 232-262, 271-275, 298-300, 308-309, 366-367, 384-385, 448-449, 489-491
src/polyfill.ts 18.18% 33.33% 33.33% 18.18% 3-24, 27-31
src/snapping.ts 36.37% 58.33% 72% 36.37% 126-127, 154-155, 157-160, 167-257, 278-391, 394-561, 577, 595-596, 603-633, 646, 656-695, 759-770, 780-794, 797-811, 815-824, 828-837, 843-857, 860-1056, 1083-1094, 1099-1133, 1211-1236, 1281-1341, 1344-1345
src/types.ts 100% 100% 100% 100%
src/utils.ts 77.07% 79.72% 71.83% 77.07% 80, 92-93, 121-127, 129-131, 145-155, 162-167, 171-173, 175-177, 182-184, 267-268, 302, 314-316, 322-325, 330-343, 346-353, 356-360, 389, 397, 400, 410-413, 461, 485-490, 498-499, 516-517, 583-599, 602-606, 610-623, 637-639, 641-642, 645-646, 649-657, 660-663, 697-703, 743-744, 756-757, 771, 791, 794-800, 825-835, 842-855, 906-907, 914-921, 930-940
src/zindex.ts 92.4% 90% 100% 92.4% 88-89, 96-97, 123-124, 185-187, 200, 338-340, 347-348, 357-359, 366-367, 377-378, 450-459, 470-477
src/actions/actionAddToLibrary.ts 75.8% 83.33% 100% 75.8% 19-26, 52-58
src/actions/actionAlign.tsx 100% 96.66% 75% 100%
src/actions/actionBoundText.tsx 97.7% 84.61% 100% 97.7% 104-105, 124, 126-127, 227, 229
src/actions/actionCanvas.tsx 71.2% 65.95% 62.85% 71.2% 30-34, 36-40, 88, 124-125, 161-162, 175-189, 198-199, 207, 253-269, 307-313, 318-320, 327-333, 337-339, 347, 350-352, 361-362, 391-417, 425-452
src/actions/actionClipboard.tsx 28.9% 72.72% 45.45% 28.9% 21-42, 52-99, 109-111, 120-156, 167-214, 226-243, 247-252
src/actions/actionDeleteSelected.tsx 84.78% 70% 83.33% 84.78% 35-36, 40, 42-43, 86-87, 93-94, 98-114, 120, 141
src/actions/actionDistribute.tsx 65.34% 81.81% 50% 65.34% 27-43, 49-57, 79-87
src/actions/actionDuplicateSelection.tsx 87.27% 84.84% 85.71% 87.27% 41-52, 158, 173-182, 184-196
src/actions/actionElementLock.ts 94.23% 86.2% 100% 94.23% 27-28, 35-36, 44, 62
src/actions/actionExport.tsx 33.21% 61.53% 26.31% 33.21% 27-28, 30-38, 46-50, 52-88, 95-99, 101-106, 114-118, 120-128, 139, 143-175, 185-211, 215-224, 237-261, 269-273, 275-290
src/actions/actionFinalize.tsx 74.64% 87.8% 66.66% 74.64% 30-55, 61, 64-65, 108-117, 148-153, 203-211
src/actions/actionFlip.ts 100% 81.25% 100% 100%
src/actions/actionFrame.ts 39.84% 100% 44.44% 39.84% 21-47, 57-77, 88-99, 108-127
src/actions/actionGroup.tsx 88.68% 83.78% 83.33% 88.68% 71-73, 91-93, 105-114, 185-186, 193-194, 200-201, 223, 227-234
src/actions/actionLinearEditor.ts 100% 100% 100% 100%
src/actions/actionMenu.tsx 57.74% 100% 33.33% 57.74% 12-17, 19-25, 33-38, 59-69
src/actions/actionProperties.tsx 94.64% 86.17% 91.22% 94.64% 174-176, 211-212, 245, 388-390, 405-414, 644, 775, 808-809, 857, 889-890, 936, 960, 963, 1020-1052
src/actions/actionSelectAll.ts 94.44% 66.66% 100% 94.44% 15-16, 46
src/actions/actionStyles.ts 68.98% 52.17% 100% 68.98% 40-42, 67-68, 79-80, 82-83, 98-99, 103-129, 133, 135-139, 142-146
src/actions/actionToggleGridMode.tsx 100% 85.71% 100% 100%
src/actions/actionToggleObjectsSnapMode.tsx 67.85% 80% 60% 67.85% 12-20
src/actions/index.ts 100% 100% 100% 100%
src/actions/manager.tsx 96.84% 90.69% 100% 96.84% 37-38, 99-100, 107-108
src/actions/shortcuts.ts 97.82% 66.66% 100% 97.82% 64, 69
src/components/Actions.tsx 94.11% 92.18% 37.5% 94.11% 168-172, 242-243, 265-268, 274-277, 399-407
src/components/App.tsx 72.91% 75.85% 72.45% 72.91% 420-421, 605-606, 632-692, 695-701, 704-707, 710-782, 785-804, 812-824, 829-830, 834-836, 855-957, 1017-1018, 1049-1054, 1059-1103, 1108, 1132, 1142, 1149-1152, 1187-1188, 1266-1272, 1364-1369, 1372-1402, 1405-1445, 1491-1492, 1510-1511, 1548-1549, 1553-1554, 1570-1577, 1582-1595, 1601-1602, 1607-1615, 1617-1625, 1637, 1667-1671, 1684-1685, 1707-1708, 1715, 1776-1778, 1781-1786, 1791-1792, 1827-1835, 1912-1914, 1975-1976, 1989-1992, 1995, 1997-1998, 2005-2006, 2012-2013, 2021-2022, 2025-2026, 2029-2032, 2035-2038, 2049-2057, 2062-2063, 2119-2120, 2134-2140, 2146-2154, 2158-2166, 2170-2171, 2174-2211, 2214-2226, 2237-2238, 2252, 2254-2255, 2267-2271, 2275-2278, 2285-2287, 2305-2312, 2315, 2317-2322, 2326-2328, 2344-2345, 2347-2356, 2382, 2388, 2427-2428, 2445-2447, 2469-2470, 2476-2479, 2485-2560, 2632-2633, 2638-2641, 2690-2711, 2714-2732, 2735-2741, 2744-2745, 2751-2764, 2850-2851, 2853-2854, 2859-2861, 2868-2869, 2890-2904, 2909-2928, 2951-2952, 2985-2987, 3012, 3031-3035, 3046-3047, 3050-3054, 3056-3057, 3059-3062, 3087-3088, 3097-3099, 3101, 3176-3179, 3201-3203, 3213-3214, 3216-3236, 3239-3245, 3262-3265, 3271-3274, 3284-3291, 3295-3296, 3301, 3329-3333, 3337, 3342-3343, 3348-3352, 3384-3385, 3388-3389, 3397-3401, 3405-3415, 3420-3447, 3452-3463, 3522, 3548-3549, 3640, 3817-3818, 3821-3822, 3830, 3842, 3844-3845, 3886-3890, 3941-3947, 3953-4016, 4058, 4107, 4165, 4213-4216, 4219-4225, 4227-4230, 4245-4254, 4257-4258, 4339-4340, 4343, 4345-4346, 4352-4354, 4356, 4365, 4387-4392, 4394-4397, 4401-4402, 4412-4499, 4502-4503, 4517-4518, 4569-4570, 4597-4598, 4628-4654, 4661-4662, 4685-4686, 4706, 4708-4709, 4725-4726, 4732-4733, 4737-4740, 4743-4744, 4759-4786, 4794, 4796, 4798-4802, 4861-4866, 4868-4870, 4886, 4888-4899, 4924-4927, 4986-4987, 4989-5012, 5027-5028, 5140-5169, 5234-5238, 5261-5262, 5282-5283, 5376, 5382-5383, 5406-5425, 5440, 5573, 5596-5647, 5662, 5671, 5705-5711, 5726-5728, 5869-5873, 5897-5925, 5961, 5963-5970, 5977-5980, 5993, 6016-6017, 6020-6021, 6026-6028, 6031-6032, 6057-6058, 6086-6087, 6169-6170, 6219-6232, 6292-6295, 6321-6322, 6367, 6385-6391, 6398-6401, 6424-6429, 6500-6503, 6509, 6524-6531, 6534-6541, 6597, 6671-6672, 6692-6694, 6697, 6711-6735, 6797-6800, 6841-6860, 6870-6909, 6922-6923, 6932-6939, 6953-6965, 6978-6983, 7035-7063, 7065-7066, 7140-7144, 7151, 7153-7189, 7218, 7268, 7287-7289, 7314-7319, 7321-7322, 7327-7358, 7361-7385, 7399-7400, 7406-7415, 7420, 7424-7428, 7437-7438, 7441-7446, 7450-7457, 7487, 7489-7493, 7495-7505, 7521-7523, 7534-7542, 7546-7582, 7585-7656, 7664, 7682-7689, 7691-7707, 7722-7744, 7763-7765, 7810-7811, 7841-7842, 7858, 7935-7938, 7940-7956, 7958-7962, 7974-7975, 7985-8001, 8035-8036, 8040-8052, 8062, 8064-8067, 8069-8070, 8110, 8131-8132, 8158, 8161, 8201, 8212-8219, 8235-8236, 8268-8271, 8340-8350, 8352-8362, 8393-8400, 8426-8427, 8468-8522, 8566-8567, 8576-8579, 8584-8585, 8606-8608, 8610-8614, 8652
src/components/ContextMenu.tsx 99.21% 94.44% 66.66% 99.21% 118
src/components/Dialog.tsx 84.61% 75% 75% 84.61% 44, 67-85
src/components/ExcalidrawLogo.tsx 100% 100% 100% 100%
src/components/EyeDropper.tsx 18.72% 100% 0% 18.72% 45-235
src/components/HelpDialog.tsx 6.18% 100% 0% 6.18% 12-40, 44-47, 51-58, 61-70, 73-74, 77-103, 106, 110-453
src/components/HintViewer.tsx 93.1% 91.04% 100% 93.1% 30-31, 48-49, 52-53, 64-65, 94-95
src/components/ImageExportDialog.tsx 73.54% 61.53% 23.07% 73.54% 44-53, 101-102, 108-134, 166-172, 180-191, 201-207, 219-225, 238-244, 255-257, 270-272, 282-284, 291-302
src/components/JSONExportDialog.tsx 37.5% 50% 50% 37.5% 24-95, 115, 121-132
src/components/LayerUI.tsx 82.05% 86.27% 46.42% 82.05% 292-294, 328, 368-373, 417-462, 465-469, 476-484, 527-535, 541-544, 568-577, 584-598
src/components/LibraryMenu.tsx 82.27% 92.3% 100% 82.27% 67-94, 169-172, 193-194, 199-203
src/components/LibraryMenuBrowseButton.tsx 100% 100% 100% 100%
src/components/LibraryUnit.tsx 79.43% 50% 16.66% 79.43% 37-38, 52, 75-81, 84-90, 94-98
src/components/LockElementButton.tsx 100% 100% 100% 100%
src/components/MermaidToExcalidraw.tsx 87.24% 90.9% 83.33% 87.24% 30-32, 42-44, 81-93, 123-125, 172-180
src/components/MobileMenu.tsx 83.01% 40% 50% 83.01% 135-140, 161-169, 181-189, 194-205
src/components/PublishLibrary.tsx 8.18% 100% 0% 8.18% 37-46, 49-60, 63-129, 132-222, 225-560
src/components/Section.tsx 100% 100% 100% 100%
src/components/ToolButton.tsx 83.41% 73.68% 25% 83.41% 66-84, 132-134, 140-142, 154-156, 158-161
src/components/Trans.tsx 91.71% 69.23% 100% 91.71% 51-54, 76-79, 90-93, 102-103
src/components/icons.tsx 97.28% 86.66% 100% 97.28% 1160-1172, 1291-1301, 1306-1316, 1321-1331
src/components/ColorPicker/ColorInput.tsx 77.94% 62.5% 16.66% 77.94% 42-49, 58-59, 83-84, 87-88, 92-98, 116-124
src/components/ColorPicker/ColorPicker.tsx 78.61% 68.42% 42.85% 78.61% 25-28, 31-43, 92-93, 101-104, 113-115, 117-123, 141, 146, 172-191, 193-200, 208-209
src/components/ColorPicker/PickerColorList.tsx 100% 80% 100% 100%
src/components/ColorPicker/TopPicks.tsx 95.38% 85.71% 50% 95.38% 41-43
src/components/LaserTool/LaserPathManager.ts 34.3% 81.81% 44.44% 34.3% 13-44, 52-54, 65-80, 109-112, 115-119, 122-127, 130-135, 164, 171-183, 189-245, 249-308
src/components/LaserTool/LaserPointerButton.tsx 100% 100% 100% 100%
src/components/LaserTool/LaserTool.tsx 100% 100% 100% 100%
src/components/Sidebar/Sidebar.tsx 88.94% 100% 66.66% 88.94% 92, 98-104, 111-119, 126-132
src/components/Sidebar/SidebarHeader.tsx 100% 100% 100% 100%
src/components/canvases/InteractiveCanvas.tsx 89.03% 100% 100% 89.03% 82-106
src/components/canvases/StaticCanvas.tsx 98.42% 94.44% 100% 98.42% 28-29
src/components/canvases/index.tsx 100% 100% 100% 100%
src/components/dropdownMenu/DropdownMenuContent.tsx 96.82% 50% 100% 96.82% 29, 47
src/components/dropdownMenu/DropdownMenuItem.tsx 100% 100% 100% 100%
src/components/dropdownMenu/DropdownMenuItemContent.tsx 100% 100% 100% 100%
src/components/dropdownMenu/DropdownMenuItemCustom.tsx 100% 50% 100% 100%
src/components/dropdownMenu/DropdownMenuItemLink.tsx 100% 100% 100% 100%
src/components/dropdownMenu/DropdownMenuTrigger.tsx 100% 100% 100% 100%
src/components/dropdownMenu/common.ts 100% 80% 100% 100%
src/components/footer/Footer.tsx 92.63% 83.33% 50% 92.63% 62-68
src/components/main-menu/DefaultItems.tsx 89.41% 96.29% 70.58% 89.41% 50-67, 90-100, 233-234
src/components/main-menu/MainMenu.tsx 91.56% 88.88% 50% 91.56% 58-64
src/components/welcome-screen/WelcomeScreen.Center.tsx 94.84% 85.71% 83.33% 94.84% 95-102, 153-154
src/data/blob.ts 58.71% 62.31% 67.85% 58.71% 26-34, 37, 57-65, 76-80, 82, 86, 94-99, 102-105, 108-110, 133-140, 153, 168-174, 192-193, 203-204, 222-223, 226-232, 236-237, 244-255, 270-280, 283-329, 332-335, 338-360, 375-385, 413, 415-416, 442-453, 460-461, 469-470, 476-477
src/data/index.ts 39.34% 71.42% 50% 39.34% 54-59, 79-183
src/data/library.ts 77.93% 77.58% 89.47% 77.93% 45-57, 115-116, 147, 152-153, 183-184, 196-200, 203-207, 215-216, 218-219, 254-255, 258-262, 379, 400-449, 451-463, 476-477
src/data/resave.ts 15% 100% 0% 15% 7-40
src/data/restore.ts 90.26% 84.07% 78.57% 90.26% 81-84, 150, 163-164, 167-168, 204-206, 233-234, 246-250, 298-300, 374, 404-414, 457-458, 471-480, 489-498, 516-521
src/data/transform.ts 92.11% 83.63% 100% 92.11% 243-246, 277-282, 318-321, 351-356, 387-389, 404-406, 441-442, 534-541, 552-554, 557-563, 665-666, 672-673, 677-678, 684-687
src/data/url.ts 42.85% 50% 33.33% 42.85% 6-7, 12-13, 20-35
src/element/Hyperlink.tsx 21.47% 61.53% 37.5% 21.47% 63-315, 318-329, 334-347, 366, 382-384, 386, 392-422, 425-442, 445-462, 466-476, 479-518, 521-522, 524-526, 530-568
src/element/binding.ts 87.95% 88.31% 93.54% 87.95% 122-126, 163-167, 178-179, 246-247, 330-331, 336-337, 405-407, 424, 433-435, 551-552, 604-605, 610-625, 634-641, 653-656, 665-677, 697-698, 700-701, 708-713, 736-737, 740-747
src/element/bounds.ts 83.25% 90.51% 89.28% 83.25% 172-253, 272-276, 299-300, 432-435, 480-481, 543-549, 558-560, 585-586, 611-622, 678-688, 721-724, 768-769
src/element/collision.ts 88.03% 90.11% 95.12% 88.03% 281-284, 307, 447-456, 464, 468-495, 497-503, 528-529, 532-543, 602-612, 772-774, 810-815, 861-862, 884-885, 937-939, 1010-1044, 1095-1099
src/element/dragElements.ts 81.55% 75.86% 100% 81.55% 40-47, 162-186, 192-196
src/element/embeddable.ts 37.67% 33.33% 50% 37.67% 71-72, 75-202, 208-209, 213-214, 220-248, 254-273, 291-299, 309-310, 314-315, 318-319, 323-324, 333-334, 336-358
src/element/linearElementEditor.ts 76.24% 81.67% 89.18% 76.24% 130, 134-183, 198-199, 203-204, 214-215, 217-236, 260-263, 286-294, 329-330, 348-357, 369, 387-395, 472-473, 589-590, 599, 620-621, 627-628, 643-680, 772-773, 777-778, 785-786, 792-794, 796-831, 878, 972-1037, 1051-1058, 1073-1082, 1146-1147, 1186-1187, 1250-1274, 1282-1283, 1382-1414
src/element/mutateElement.ts 100% 100% 100% 100%
src/element/newElement.ts 94.21% 89.24% 94.44% 94.21% 135-144, 179, 314-315, 422, 428-429, 444-461, 498-499, 650-651
src/element/resizeElements.ts 93.95% 85.36% 92.3% 93.95% 167, 180-188, 225-226, 297-301, 308-309, 455-456, 508-509, 605-611, 684-685, 719-720, 830-831, 843-844, 910, 931-940, 983-993
src/element/resizeTest.ts 97.67% 91.11% 100% 97.67% 54-55, 150, 158
src/element/showSelectedShapeActions.ts 100% 100% 100% 100%
src/element/sizeHelpers.ts 56.61% 80.95% 66.66% 56.61% 68, 81-82, 87-124, 127-159, 177-180, 183-186
src/element/textElement.ts 91.96% 94.25% 92.68% 91.96% 178-179, 227, 323-326, 345-357, 408-409, 621-628, 640-661, 672-673, 693-694, 726-732, 765-776, 839-840, 851-852
src/element/textWysiwyg.tsx 85.45% 80.39% 84.21% 85.45% 60-61, 63-64, 149-150, 260-264, 343-366, 391-397, 399-401, 405, 512-514, 528-529, 538-543, 570-571, 579-580, 603, 609-637, 654, 656, 659-664, 691-694
src/element/transformHandles.ts 99.31% 95.91% 100% 99.31% 124, 135
src/element/typeChecks.ts 82.27% 89.39% 86.36% 82.27% 22-32, 166-168, 196, 204-206, 211-213, 215-219, 222-237
src/hooks/useCreatePortalContainer.ts 93.47% 62.5% 100% 93.47% 27, 31-32
src/hooks/useLibraryItemSvg.ts 88.46% 62.5% 60% 88.46% 38, 52-57, 70-71
src/hooks/useStable.ts 42.85% 100% 0% 42.85% 4-7
src/packages/bbox.ts 35.38% 100% 0% 35.38% 7-13, 16-17, 20-21, 24-25, 30-36, 39-43, 46-56, 60-65
src/packages/utils.ts 72.07% 82.6% 75% 72.07% 62-83, 117-124, 134-135, 141-153, 191-207
src/packages/withinBounds.ts 89.04% 81.57% 100% 89.04% 31-37, 49-50, 174-175, 189-190, 194-195, 198-205
src/packages/excalidraw/index.tsx 78.51% 88.88% 75% 78.51% 80-84, 138-187
src/packages/excalidraw/publicPath.js 25% 0% 100% 25% 3-8
src/renderer/renderElement.ts 71.86% 68.82% 100% 71.86% 87-89, 148-149, 153-154, 207-208, 255, 302-303, 316-322, 333-336, 350, 366-367, 369-370, 391, 545, 547-559, 621-622, 635-645, 683-690, 696-697, 701-762, 767-769, 820-822, 832-833, 849-850, 882-892, 919-922, 933-935, 955-1053, 1056-1146, 1148-1181, 1211, 1213-1214, 1287-1289, 1304, 1306, 1311, 1313, 1339-1341, 1362, 1365, 1392-1393
src/renderer/renderScene.ts 72.93% 80.83% 87.09% 72.93% 106-107, 120-138, 252-253, 289-296, 347-348, 351-352, 365-388, 421-422, 432-433, 455-456, 497-498, 597-605, 622, 708, 731-865, 870-893, 912-913, 954-956, 958-961, 982-983, 993-994, 1001-1042, 1129-1140, 1216, 1259-1270, 1344-1346, 1361-1384, 1393-1438, 1462-1463, 1486-1487, 1495-1509
src/renderer/renderSnaps.ts 17.98% 14.28% 16.66% 17.98% 16-23, 33-57, 60-74, 77-85, 88-106, 109-117, 120-189
src/scene/Fonts.ts 67.02% 85.71% 100% 67.02% 42-47, 52-68, 82-89
src/scene/Renderer.ts 98.47% 92.3% 100% 98.47% 62-63
src/scene/Scene.ts 85.88% 84.21% 86.95% 85.88% 80-81, 88-91, 133-134, 201, 217-231, 264-265, 271-272, 289-290, 300-303, 313-325, 329
src/scene/Shape.ts 79.79% 73.52% 85.71% 79.79% 55, 96-101, 107-108, 118-120, 122-128, 250, 276-277, 281-291, 294-314, 320-322, 334-341, 345-346, 364-369, 384-389
src/scene/ShapeCache.ts 93.24% 100% 83.33% 93.24% 28-32
src/scene/comparisons.ts 94.25% 94.44% 100% 94.25% 55-56, 79-81
src/scene/export.ts 87.36% 83.67% 80% 87.36% 65-90, 115, 168-169, 193-197, 325-326, 348-358, 442-451
src/scene/index.ts 100% 100% 100% 100%
src/scene/scroll.ts 93.5% 83.33% 100% 93.5% 52-56
src/scene/scrollbars.ts 26.61% 33.33% 50% 26.61% 13-99, 116-119
src/scene/selection.ts 94.34% 91.52% 100% 94.34% 31-32, 37-38, 57-63, 84-85
src/tests/test-utils.ts 89.6% 88.88% 73.91% 89.6% 36-38, 74-75, 102-103, 108-109, 113-125, 245-248
src/tests/fixtures/elementFixture.ts 100% 100% 100% 100%
src/tests/helpers/api.ts 94.47% 92.06% 100% 94.47% 58-61, 199-204, 257-261, 284, 306-307
src/tests/helpers/polyfills.ts 89.01% 86.66% 76.92% 89.01% 35-38, 44, 53, 60-61, 75-76
src/tests/helpers/ui.ts 94.94% 90.21% 93.18% 94.94% 100-106, 109-111, 305-306, 335-338, 372-373, 381-382, 482-483, 523-527
src/tests/queries/dom.ts 100% 100% 100% 100%
Generated in workflow #6

@hero101 hero101 changed the base branch from develop to 0.17.6-alkemio-1 October 9, 2024 15:11
@hero101 hero101 changed the base branch from 0.17.6-alkemio-1 to develop October 9, 2024 15:12
@ccanos
Copy link
Author

ccanos commented Oct 10, 2024

Not needed anymore

@ccanos ccanos closed this Oct 10, 2024
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.