Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Conversation

@grokys
Copy link
Contributor

@grokys grokys commented May 4, 2016

Fix for #276

Makes groups in the clone dialog collapsible. If there is only a single
group, then it will be expanded; as more groups are created, the first
group is collapsed and further groups will be added collapsed.

Only problem with this is that you can see an initial flash of expanded
items when loading with multiple groups, however I felt this was
preferable to everything being collapsed until the whole list is
loaded...

Makes groups in the clone dialog collapsible. If there is only a single
group, then it will be expanded; as more groups are created, the first
group is collapsed and further groups will be added collapsed.

Only problem with this is that you can see an initial flash of expanded
items when loading with multiple groups, however I felt this was
preferable to everything being collapsed until the whole list is
loaded...
@grokys
Copy link
Contributor Author

grokys commented May 4, 2016

This will obviously need a pass by @donokuda too because it's fugly as sin ;)

@donokuda
Copy link
Contributor

donokuda commented May 5, 2016

@grokys I can polish this up today!

Currently it looks like:

image

I did a quick mockup and thinking of moving towards something closer to this:

clone repo new

I'm going to start on this, but I am also open to feedback in the meantime.

@grokys
Copy link
Contributor Author

grokys commented May 5, 2016

Looks great Don!

@shana
Copy link
Contributor

shana commented May 5, 2016

I like it! ✨

@donokuda donokuda mentioned this pull request May 5, 2016
@grokys
Copy link
Contributor Author

grokys commented May 5, 2016

Merged @donokuda polish and think this is now ready for review 💎 :octocat:

}

static ListCollectionView CreateRepositoryListCollectionView(IEnumerable<IRepositoryModel> repositories)
ListCollectionView CreateRepositoryListCollectionView(IEnumerable<IRepositoryModel> repositories)
Copy link
Contributor

Choose a reason for hiding this comment

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

This could be a static method, right?

Copy link
Contributor Author

@grokys grokys May 6, 2016

Choose a reason for hiding this comment

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

It was static before, but now RepositoryGroupDescription needs a reference to the RepositoryCloneControl (i.e. this) in order to collapse the existing group when a second group is added.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah! How did I not see this? 😆
Ok, carry on.

@haacked
Copy link
Contributor

haacked commented May 6, 2016

Looks good! I just had some really minor nitpicky feedback. Probably need to update this branch from master (or rebase it if you're feeling funky).

@haacked
Copy link
Contributor

haacked commented May 6, 2016

🍵

Reformat xaml and set proper capitalization on style keys (we're using
lower case for local styles).
Set `readonly` and kill `private` with 🔥
@shana shana merged commit 86bb5a8 into master May 12, 2016
@shana shana deleted the 276-collapse-clone-groups branch May 12, 2016 15:47
@shana
Copy link
Contributor

shana commented May 12, 2016

I fixed some nitpicks regarding private and readonly and formatting xaml things on the way to merging this to master. Great job! ✨

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.

5 participants