(done) Roadmap to 5.0 #1482
Replies: 4 comments 3 replies
-
Side note, I found out that the Vanilla-Calendar migration is actually increasing the build size (not decreasing), the build is larger and the reason was because the CSS file wasn't properly loaded which made it looks like it was smaller but in fact it is larger when the CSS file is properly loaded. I found that out after testing the bundle in Salesforce. Though I still prefer the new lib and the increase is maybe around 20Kb, there might be ways to decrease this in the future since Vanilla-Calendar uses Tailwind which is probably increasing the final CSS file. |
Beta Was this translation helpful? Give feedback.
-
@zewa666 I'm thinking to make DOM Purify optional by providing a Another reason is also because DOMPurify doesn't actually work in Salesforce, I had to use my own sanitizer (but actually the fact is that Salesforce does uses DOMPurify internally to sanitize templates, and we can't re-add DOMPurify because it removes itself in some ways). So my bundle includes DOMPurify even though it can't use it in SF, so removing it would help in the zip file size. Also note that I imagine most people will omit or forget to add it (which will actually make their build smaller) but will not help at all for CSP, but at least the user could choose between @zewa666 So what's your point of view on the subject? |
Beta Was this translation helpful? Give feedback.
-
@zewa666 As another topic, going back on the Themes lite/bare question that I asked you couple days ago, I think of adding the If the user wants to use his own font/SVG library, he would then use the "lite" theme and update the global grid options (e.g. GridMenu, HeaderMenu, ...). I'll also delete the "bare" version, because I don't think it's useful anymore, just a "lite" without any SVG icons is enough. I created the PR #1493 to address this, I need to test it with Angular-Slickgrid and Bootstrap and I'm assuming this should work without any problem. |
Beta Was this translation helpful? Give feedback.
-
@zewa666 just FYI, I'm pretty much done with code change and testing, I even found some small UI bugs (shown above) that existed in current release but I decided to only push commits going forward (so on the new major only). I have merged everything in the main branches for all other repos, I have decided to probably go forward for all repos next weekend except Angular-Slickgrid since I want to wait for Angular 18 but don't want to delay the other repos. I've done Beta for Slickgrid-Universal but won't publish Betas for downstream repos. |
Beta Was this translation helpful? Give feedback.
-
Tasks for next major 5.0
see Migration Guide 5.0 for more info
see if Temporal gets closer to a release(to replacemoment-mini
which is old and is CJS only)moment
tomoment-tiny
#1456recheck, I found Tempo and I am finally migrating away from Momentmoment-tiny
allowedCommonJsDependencies
should we drop CJS and only keep ESM?(probably not, since there's a ton of people still using CJS, but maybe in a couple of years)moment-mini
is CJS only, so that would have to be migrated firstmath.div
polyfill, this is probably a breaking change for next major (see remove-sass-polyfill branch)math.div
polyfill #1483content
fa
(Font-Awesome) fontsstop re-exporting ms-select interfaces (even if it is more convenient), which I think is discouraged by TypeScript and Linters, so let's stop doing thatslickgrid-universal/packages/common/src/index.ts
Lines 47 to 48 in 30be835
internalEditor
and renameswapInternalEditorToSlickGridFactoryEditor()
to something else since we no longer swap these propsnativeSelect
Filter since I would be surprised if anyone is using it, ms-select is so much better :) (ref PR feat(filters)!: remove nativeFilters.select
#1485)checkmarkFormatter
and any related Font Awesome code completely from the project (ref PR feat(styling)!: deletecheckmarkFormatter
and any Font-Awesome related #1484).slick-cell
with optional flex (tough we'll keep currentblock
as default)--slick-cell-display
CSS variable to optionally change display to flex for aligning middle but keepblock
as defaultslick-grid.scss
and keep onlyslick-bootstrap.scss
since they have a few styles in common (ref PR chore(style): merge slick-grid.scss & slick-bootstrap.scss into 1 file #1501).isomorphic-dompurify
which is strictly CJS (ref PR feat(common)!: make DOMPurify as optional sanitizer grid option #1503).append()
which is not supported in Salesforce (just use.appendChild
instead).replaceWith()
when destroying (e.g. toggling dark mode) which is not supported in Salesforce (not sure if we actually need that code or not, but if so we could use this SO answer)autoCommitEdit
for input editor and others (also remove Aurelia-Slickgridfocusout
trigger)next
branch intomaster
branch#ccc
especially for column headers)--slick-multiselect-item-line-height
should be20px
autoCommitEdit
and user clicks outside the viewport it will move to next available cell down!?!deepCopy
util with node-extend()
. ref PR chore: use node-extend()
from withindeepCopy
#1516After the new Release
version4
branch for possible last minute fixes in v4Beta Was this translation helpful? Give feedback.
All reactions