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

dimension measure panel divider resize #196

Merged
merged 14 commits into from
Oct 24, 2018

Conversation

adrianmroz
Copy link
Collaborator

@adrianmroz adrianmroz commented Oct 10, 2018

Closes #48
Closes #49

@adrianmroz adrianmroz added the enhancement New feature label Oct 10, 2018
@adrianmroz adrianmroz added this to the 1.9.0 milestone Oct 10, 2018
@adrianmroz adrianmroz force-pushed the feature/dimension-measure-resize branch from 663fd0f to 11529d2 Compare October 15, 2018 12:45
cursor: pointer;

svg {
width: $toggle-width - 3;
Copy link

Choose a reason for hiding this comment

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

magic number - do not know why 3 ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I eyeballed it. I think I could leave 3 but should name this expression as $toggle-icon-width

@@ -407,27 +428,60 @@ export class CubeView extends React.Component<CubeViewProps, CubeViewState> {
}

getStoredLayout(): CubeViewLayout {
return localStorage.get("cube-view-layout") || { dimensionPanelWidth: 240, pinboardWidth: 240 };
return localStorage.get("cube-view-layout-ver2") || defaultLayout;
Copy link
Member

Choose a reason for hiding this comment

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

v2 seems to be enough

}

const defaultLayout: CubeViewLayout = {
dimensionPanel: { width: 240 },
Copy link
Member

Choose a reason for hiding this comment

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

This is rather factPanel (dims + measurements)

@adrianmroz adrianmroz merged commit c0a1669 into master Oct 24, 2018
@adrianmroz adrianmroz deleted the feature/dimension-measure-resize branch October 24, 2018 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants