René's URL Explorer Experiment


Title: new compact() method, tweak setColumn() by adumesny · Pull Request #1101 · gridstack/gridstack.js · GitHub

Open Graph Title: new compact() method, tweak setColumn() by adumesny · Pull Request #1101 · gridstack/gridstack.js

X Title: new compact() method, tweak setColumn() by adumesny · Pull Request #1101 · gridstack/gridstack.js

Description: Description new compact() method relayout grid items to reclaim any empty space update two.html demo to have a compact button, and test case also (separate PR) tweaks to setColumn() - #1098 part 2 improved code, now using gridEngine.addNode() instead of removeAll() + addWidget() which is much lighter now use a higher res layout when going up and cache is missing (better to down-sample say from 12 then up-sample from 1!) Checklist Created tests which fail without the change (if possible) All tests passing (yarn test) Extended the README / documentation, if necessary

Open Graph Description: Description new compact() method relayout grid items to reclaim any empty space update two.html demo to have a compact button, and test case also (separate PR) tweaks to setColumn() - #1098 part ...

X Description: Description new compact() method relayout grid items to reclaim any empty space update two.html demo to have a compact button, and test case also (separate PR) tweaks to setColumn() - #1098 part ...

Opengraph URL: https://github.com/gridstack/gridstack.js/pull/1101

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:18d3543d-97a9-3c13-cae7-b0cca51a681b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9F8E:1E1056:72A95C:8306CE:6AFF6292
html-safe-nonce16b34b182b1a7df3a41c6aef2cdef4f85d9d9438ba78534eac71081bed587714
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjhFOjFFMTA1Njo3MkE5NUM6ODMwNkNFOjZBRkY2MjkyIiwidmlzaXRvcl9pZCI6Ijg4OTIzOTg4OTA5OTc3MzYwODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac916336779cec4f5e9fb69c55e99df3cceca56aabdcf66f2700df650623c7ec18
hovercard-subject-tagpull_request:355435102
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/gridstack/gridstack.js/pull/1101/files
twitter:imagehttps://avatars.githubusercontent.com/u/3496166?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3496166?s=400&v=4
og:image:altDescription new compact() method relayout grid items to reclaim any empty space update two.html demo to have a compact button, and test case also (separate PR) tweaks to setColumn() - #1098 part ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None41b58589a1c4eda1e3c8904144a412b88ca4455f63ca2ad3629f2e9f3c3a1d12
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/gridstack/gridstack.js git https://github.com/gridstack/gridstack.js.git
octolytics-dimension-user_id31674162
octolytics-dimension-user_logingridstack
octolytics-dimension-repository_id26417283
octolytics-dimension-repository_nwogridstack/gridstack.js
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id26417283
octolytics-dimension-repository_network_root_nwogridstack/gridstack.js
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8968d6d6acc65d74e4df332d23932dd3fd0502a4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/gridstack/gridstack.js/pull/1101/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgridstack%2Fgridstack.js%2Fpull%2F1101%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgridstack%2Fgridstack.js%2Fpull%2F1101%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=gridstack%2Fgridstack.js
Reloadhttps://github.com/gridstack/gridstack.js/pull/1101/files
Reloadhttps://github.com/gridstack/gridstack.js/pull/1101/files
Reloadhttps://github.com/gridstack/gridstack.js/pull/1101/files
gridstackhttps://github.com/gridstack
gridstack.jshttps://github.com/gridstack/gridstack.js
Codehttps://github.com/gridstack/gridstack.js
Issues17 (17)https://github.com/gridstack/gridstack.js/issues
Pull requests3 (3)https://github.com/gridstack/gridstack.js/pulls
Actionshttps://github.com/gridstack/gridstack.js/actions
Projectshttps://github.com/gridstack/gridstack.js/projects
Wikihttps://github.com/gridstack/gridstack.js/wiki
Security and qualityhttps://github.com/gridstack/gridstack.js/security
Insightshttps://github.com/gridstack/gridstack.js/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fgridstack%2Fgridstack.js%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgridstack%2Fgridstack.js%2Fissues%2Fnew%2Fchoose
adumesnyhttps://github.com/adumesny
gridstack:develophttps://github.com/gridstack/gridstack.js/tree/develop
Conversation 1 https://github.com/gridstack/gridstack.js/pull/1101
Commits 3 https://github.com/gridstack/gridstack.js/pull/1101/commits
Checks 0 https://github.com/gridstack/gridstack.js/pull/1101/checks
Files changed https://github.com/gridstack/gridstack.js/pull/1101/files
Please reload this pagehttps://github.com/gridstack/gridstack.js/pull/1101/files
new compact() method, tweak setColumn() https://github.com/gridstack/gridstack.js/pull/1101/files#top
Show all changes 3 commits https://github.com/gridstack/gridstack.js/pull/1101/files
ebf6017 new compact() method Dec 20, 2019 https://github.com/gridstack/gridstack.js/pull/1101/commits/ebf6017a0da1acbf5eefcd33c26c4fddec6296f8
1b20ccf tweaks to setColumn() Dec 20, 2019 https://github.com/gridstack/gridstack.js/pull/1101/commits/1b20ccfc5a4ca769a12a698371a446362ca874dd
30dc3d2 more setColumn() tweaks Dec 20, 2019 https://github.com/gridstack/gridstack.js/pull/1101/commits/30dc3d234956403c39fb8e6cf97786aec681194a
Clear filters https://github.com/gridstack/gridstack.js/pull/1101/files
Please reload this pagehttps://github.com/gridstack/gridstack.js/pull/1101/files
Please reload this pagehttps://github.com/gridstack/gridstack.js/pull/1101/files
column.html https://github.com/gridstack/gridstack.js/pull/1101/files#diff-375e506eda6e23a8648655024e755c1818dc740b259bbacfbe07cec0d94da6f8
two.html https://github.com/gridstack/gridstack.js/pull/1101/files#diff-726b47191eb939cc3b55bbfd27cf90582ea7a78dad4cb9a938da0e87e0ae9e92
CHANGES.md https://github.com/gridstack/gridstack.js/pull/1101/files#diff-94424aecd97a5ecab8757f89441a9a0ffb8dcc2b97225160510673674e49deb2
README.md https://github.com/gridstack/gridstack.js/pull/1101/files#diff-a0842ea73f3a116eff7958fbf833dd2280c366c0d8985aa05f8e1403e0f39273
gridstack-spec.js https://github.com/gridstack/gridstack.js/pull/1101/files#diff-887c3df0d33ff0f224928c80f053732209a87650251bd8f3ab669e0b252cc990
gridstack.d.ts https://github.com/gridstack/gridstack.js/pull/1101/files#diff-ddf0d7db5aaa12721715f8cd9333686ba1f2fab742e6b130360e54e9e3b6e42e
gridstack.js https://github.com/gridstack/gridstack.js/pull/1101/files#diff-6ab653006eaef2edd57e41f51fc2634cbe690dcfb43b4965b303314a0ccc2b34
demo/column.htmlhttps://github.com/gridstack/gridstack.js/pull/1101/files#diff-375e506eda6e23a8648655024e755c1818dc740b259bbacfbe07cec0d94da6f8
View file https://github.com/gridstack/gridstack.js/blob/30dc3d234956403c39fb8e6cf97786aec681194a/demo/column.html
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/gridstack/gridstack.js/pull/1101/{{ revealButtonHref }}
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-375e506eda6e23a8648655024e755c1818dc740b259bbacfbe07cec0d94da6f8
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-375e506eda6e23a8648655024e755c1818dc740b259bbacfbe07cec0d94da6f8
demo/two.htmlhttps://github.com/gridstack/gridstack.js/pull/1101/files#diff-726b47191eb939cc3b55bbfd27cf90582ea7a78dad4cb9a938da0e87e0ae9e92
View file https://github.com/gridstack/gridstack.js/blob/30dc3d234956403c39fb8e6cf97786aec681194a/demo/two.html
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/gridstack/gridstack.js/pull/1101/{{ revealButtonHref }}
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-726b47191eb939cc3b55bbfd27cf90582ea7a78dad4cb9a938da0e87e0ae9e92
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-726b47191eb939cc3b55bbfd27cf90582ea7a78dad4cb9a938da0e87e0ae9e92
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-726b47191eb939cc3b55bbfd27cf90582ea7a78dad4cb9a938da0e87e0ae9e92
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-726b47191eb939cc3b55bbfd27cf90582ea7a78dad4cb9a938da0e87e0ae9e92
doc/CHANGES.mdhttps://github.com/gridstack/gridstack.js/pull/1101/files#diff-94424aecd97a5ecab8757f89441a9a0ffb8dcc2b97225160510673674e49deb2
View file https://github.com/gridstack/gridstack.js/blob/30dc3d234956403c39fb8e6cf97786aec681194a/doc/CHANGES.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/gridstack/gridstack.js/pull/1101/{{ revealButtonHref }}
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-94424aecd97a5ecab8757f89441a9a0ffb8dcc2b97225160510673674e49deb2
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-94424aecd97a5ecab8757f89441a9a0ffb8dcc2b97225160510673674e49deb2
doc/README.mdhttps://github.com/gridstack/gridstack.js/pull/1101/files#diff-a0842ea73f3a116eff7958fbf833dd2280c366c0d8985aa05f8e1403e0f39273
View file https://github.com/gridstack/gridstack.js/blob/30dc3d234956403c39fb8e6cf97786aec681194a/doc/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/gridstack/gridstack.js/pull/1101/{{ revealButtonHref }}
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-a0842ea73f3a116eff7958fbf833dd2280c366c0d8985aa05f8e1403e0f39273
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-a0842ea73f3a116eff7958fbf833dd2280c366c0d8985aa05f8e1403e0f39273
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-a0842ea73f3a116eff7958fbf833dd2280c366c0d8985aa05f8e1403e0f39273
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-a0842ea73f3a116eff7958fbf833dd2280c366c0d8985aa05f8e1403e0f39273
spec/gridstack-spec.jshttps://github.com/gridstack/gridstack.js/pull/1101/files#diff-887c3df0d33ff0f224928c80f053732209a87650251bd8f3ab669e0b252cc990
View file https://github.com/gridstack/gridstack.js/blob/30dc3d234956403c39fb8e6cf97786aec681194a/spec/gridstack-spec.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/gridstack/gridstack.js/pull/1101/{{ revealButtonHref }}
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-887c3df0d33ff0f224928c80f053732209a87650251bd8f3ab669e0b252cc990
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-887c3df0d33ff0f224928c80f053732209a87650251bd8f3ab669e0b252cc990
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-887c3df0d33ff0f224928c80f053732209a87650251bd8f3ab669e0b252cc990
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-887c3df0d33ff0f224928c80f053732209a87650251bd8f3ab669e0b252cc990
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-887c3df0d33ff0f224928c80f053732209a87650251bd8f3ab669e0b252cc990
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-887c3df0d33ff0f224928c80f053732209a87650251bd8f3ab669e0b252cc990
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-887c3df0d33ff0f224928c80f053732209a87650251bd8f3ab669e0b252cc990
src/gridstack.d.tshttps://github.com/gridstack/gridstack.js/pull/1101/files#diff-ddf0d7db5aaa12721715f8cd9333686ba1f2fab742e6b130360e54e9e3b6e42e
View file https://github.com/gridstack/gridstack.js/blob/30dc3d234956403c39fb8e6cf97786aec681194a/src/gridstack.d.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/gridstack/gridstack.js/pull/1101/{{ revealButtonHref }}
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-ddf0d7db5aaa12721715f8cd9333686ba1f2fab742e6b130360e54e9e3b6e42e
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-ddf0d7db5aaa12721715f8cd9333686ba1f2fab742e6b130360e54e9e3b6e42e
src/gridstack.jshttps://github.com/gridstack/gridstack.js/pull/1101/files#diff-6ab653006eaef2edd57e41f51fc2634cbe690dcfb43b4965b303314a0ccc2b34
View file https://github.com/gridstack/gridstack.js/blob/30dc3d234956403c39fb8e6cf97786aec681194a/src/gridstack.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/gridstack/gridstack.js/pull/1101/{{ revealButtonHref }}
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-6ab653006eaef2edd57e41f51fc2634cbe690dcfb43b4965b303314a0ccc2b34
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-6ab653006eaef2edd57e41f51fc2634cbe690dcfb43b4965b303314a0ccc2b34
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-6ab653006eaef2edd57e41f51fc2634cbe690dcfb43b4965b303314a0ccc2b34
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-6ab653006eaef2edd57e41f51fc2634cbe690dcfb43b4965b303314a0ccc2b34
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-6ab653006eaef2edd57e41f51fc2634cbe690dcfb43b4965b303314a0ccc2b34
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-6ab653006eaef2edd57e41f51fc2634cbe690dcfb43b4965b303314a0ccc2b34
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-6ab653006eaef2edd57e41f51fc2634cbe690dcfb43b4965b303314a0ccc2b34
https://github.com/gridstack/gridstack.js/pull/1101/files#diff-6ab653006eaef2edd57e41f51fc2634cbe690dcfb43b4965b303314a0ccc2b34
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.