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

Move command bar out of experiments and into 6.0 #3138

Merged
merged 9 commits into from
Oct 20, 2017
Merged

Move command bar out of experiments and into 6.0 #3138

merged 9 commits into from
Oct 20, 2017

Conversation

micahgodbolt
Copy link
Member

This has been sitting in experiments far too long. Initial integration into outlook seemed quite good. I'd like to get this moving now that the dust is starting to settle with 5.0.

@micahgodbolt
Copy link
Member Author

Apologies for the file diffs. It's similar enough that git tries to show what changed, but its so completely different that the diffs are almost meaningless

Copy link
Contributor

@MLoughry MLoughry left a comment

Choose a reason for hiding this comment

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

A couple minor things from scanning over it, but my main concern is that we're breaking an API (even if mildly, it's still breaking it) in a minor version update.

contextualMenuProps?: IContextualMenuProps;
contextualMenuTarget?: HTMLElement;
renderedFarItems?: IContextualMenuItem[];
export interface ICommandBarData {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not put this in the props file? As it is, you have a circular dependency between this file and the props file.

data={ commandBardata }
onReduceData={ onReduceData }
onGrowData={ onGrowData }
// tslint:disable-next-line:jsx-no-lambda
Copy link
Contributor

Choose a reason for hiding this comment

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

Rather than disable TSLint, why not refactor this out to a function or a functional component?

@micahgodbolt micahgodbolt changed the base branch from master to 6.0 October 19, 2017 22:56
@micahgodbolt micahgodbolt changed the title Moved command bar out of experiments and into oufr Move command bar out of experiments and into 6.0 Oct 19, 2017
@dzearing
Copy link
Member

It looks like there are actual visual regressions here; I don't think you intended to change paddings?

@micahgodbolt
Copy link
Member Author

Padding is the same, image is just zoomed since it's shorter. no search bar.

@dzearing dzearing merged commit 470237a into microsoft:6.0 Oct 20, 2017
@micahgodbolt micahgodbolt deleted the command-bar-into-oufr branch October 20, 2017 15:10
@microsoft microsoft locked as resolved and limited conversation to collaborators Aug 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants