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

Vaadin-Spreadsheet issue #665 #696

Merged
merged 6 commits into from Mar 4, 2019
Merged

Vaadin-Spreadsheet issue #665 #696

merged 6 commits into from Mar 4, 2019

Conversation

WoozyG
Copy link
Contributor

@WoozyG WoozyG commented Feb 26, 2019

Fix cell width calculation to account for merged cells when deciding whether to display hashes instead of the value.

I've been running a workaround for a year or so, this is to finally propose a fix with unit test. Test passes in PhantomJS. Upload the test workbook to the Vaadin Demo app to see the problem - cell A2 displays as "##" in the demo, when the cell is merged and has room to display the full numeric content 123456.


This change is Reviewable

fix cell width calculation to account for merged cells when deciding
whether to display hashes instead of the value
@WoozyG
Copy link
Contributor Author

WoozyG commented Feb 26, 2019

Looks like the test failure was just a difference between PhantomJS on my Windows system and the test hub Linux config. Vaadin folks will need to verify and add/update correct master screenshots. The "failed" one there shows the proper cell content display (as opposed to loading the test file in the current release version of Spreadsheet).

Copy link
Contributor

@tulioag tulioag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 5 files at r1, 3 of 3 files at r2, 3 of 3 files at r3.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@alvarezguille alvarezguille merged commit 72ba1a4 into vaadin:master Mar 4, 2019
@WoozyG WoozyG deleted the bug665 branch March 14, 2019 17:52
manolo pushed a commit to vaadin/flow-components that referenced this pull request Apr 27, 2022
vaadin/spreadsheet#696

fix cell width calculation to account for merged cells when deciding
whether to display hashes instead of the value

Fixes: vaadin/spreadsheet#665
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.

None yet

3 participants