Skip to content

DOCS: Test that subcolumns docs render cells#710

Merged
bantic merged 1 commit intoAddepar:masterfrom
bantic:bantic/docs/subcolumns-render
Jul 12, 2019
Merged

DOCS: Test that subcolumns docs render cells#710
bantic merged 1 commit intoAddepar:masterfrom
bantic:bantic/docs/subcolumns-render

Conversation

@bantic
Copy link
Copy Markdown
Contributor

@bantic bantic commented Jul 10, 2019

Builds on top of the acceptance tests added by #709 #714 and should not be merged until it lands.

Diff of changes unique to this PR.

Fix rendering of generated dummy rows. Cells with valuePaths longer than
a single character were being skipped over in the dummy row's unknownProperty
hook.
Fix by removing the length check in unknownProperty and explicitly adding
the needed properties to the class definition so that the only accesses
that hit unknownProperty should be valuePaths for rendering.

Before:
image

After:
image

@bantic bantic added the docs label Jul 10, 2019
@bantic bantic added this to the Prepare for 2.0 release milestone Jul 10, 2019
Fix rendering of generated dummy rows. Cells with valuePaths longer than
a single character were being skipped over in the dummy row's `unknownProperty`
hook.
Fix by removing the length check in `unknownProperty` and explicitly adding
the needed properties to the class definition so that the only accesses
that hit `unknownProperty` should be `valuePath`s for rendering.
@bantic bantic merged commit b92911d into Addepar:master Jul 12, 2019
@bantic bantic deleted the bantic/docs/subcolumns-render branch July 12, 2019 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants