UUI icon indicating copy to clipboard operation
UUI copied to clipboard

[Plate Editor] Enhance content migration strategies

Open dimaanj opened this issue 1 year ago • 1 comments

Summary

  • enhance content migration strategy
  • made strictNullCheck ready
  • value prop update from outside now works faster than remounting via react keys
  • get rid of element mutations
  • get rid of circular deps
  • placeholder now renders simultaneously
  • improve plugin imports, types and config
  • resolves #1961

dimaanj avatar May 08 '24 15:05 dimaanj

Generated by: track-bundle-size
Generated at: Mon, 27 May 2024 09:22:32 GMT
Bundle size diff (in kBytes). Not gzipped. Both CSS & JS included.
Baseline: v5.7.2 (2024-05-14)
CI Status: ok

Module Baseline Size
(v5.7.2)
Size Diff Within
Threshold
Threshold
(min - max)
templateApp 743.35 745.06 +1.71
js:-0.23
css:+1.93
:ok: 669.01 - 817.68
@epam/app 6394.21 6335.39 -58.82
js:-128.78
css:+69.96
:ok: 5754.79 - 7033.63
@epam/draft-rte 53.77 53.77 0
js:0
css:0
:ok: 48.4 - 59.16
@epam/electric 4.52 4.57 +0.05
js:+0.05
css:0
:ok: 4.07 - 4.98
@epam/promo 48.11 49.56 +1.46
js:+0.01
css:+1.45
:ok: 43.29 - 52.91
@epam/uui-extra 0.21 0.21 0
js:0
css:0
:ok: 0.19 - 0.23
@epam/loveship 84 85.51 +1.51
js:+0.01
css:+1.5
:ok: 75.6 - 92.4
@epam/uui-components 256.9 257.09 +0.19
js:+0.19
css:0
:ok: 231.21 - 282.6
@epam/uui-core 329.26 329.66 +0.4
js:+0.4
css:0
:ok: 296.33 - 362.18
@epam/uui-db 44.7 44.7 0
js:0
css:0
:ok: 40.23 - 49.17
@epam/uui-docs 204.51 205.21 +0.7
js:+0.67
css:+0.04
:ok: 184.05 - 224.96
@epam/uui-editor 167.06 176.79 +9.74
js:+9.74
css:0
:ok: 150.35 - 183.77
@epam/uui-timeline 47.17 47.17 0
js:0
css:0
:ok: 42.45 - 51.89
@epam/uui 589.29 591.96 +2.68
js:+1.94
css:+0.74
:ok: 530.36 - 648.22
new sizes (raw)

To set the sizes as a new baseline, you can copy/paste next content to the uui-build/config/bundleSizeBaseLine.json and commit the file.

{
  "version": "5.7.2",
  "timestamp": "2024-05-27",
  "sizes": {
    "templateApp": {
      "css": 282498,
      "js": 480436
    },
    "@epam/app": {
      "css": 1520611,
      "js": 4966829
    },
    "@epam/draft-rte": {
      "css": 9774,
      "js": 45296
    },
    "@epam/electric": {
      "css": 2275,
      "js": 2409
    },
    "@epam/promo": {
      "css": 39818,
      "js": 10935
    },
    "@epam/uui-extra": {
      "css": 0,
      "js": 213
    },
    "@epam/loveship": {
      "css": 45015,
      "js": 42545
    },
    "@epam/uui-components": {
      "css": 22235,
      "js": 241028
    },
    "@epam/uui-core": {
      "css": 0,
      "js": 337569
    },
    "@epam/uui-db": {
      "css": 0,
      "js": 45769
    },
    "@epam/uui-docs": {
      "css": 3402,
      "js": 206731
    },
    "@epam/uui-editor": {
      "css": 12631,
      "js": 168409
    },
    "@epam/uui-timeline": {
      "css": 2253,
      "js": 46048
    },
    "@epam/uui": {
      "css": 270891,
      "js": 335281
    }
  }
}

Generated by: generate-components-api
CI Status: ok

Total amount of exported types/props without JSDoc comments

Amount
Types 285 (-1) :ok:
Props 236 (+0) :ok:

github-actions[bot] avatar May 08 '24 16:05 github-actions[bot]

Released in 5.8.0 ver.

NatalliaAlieva avatar Jun 06 '24 15:06 NatalliaAlieva