Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Show empty state if user has no ratings #58

Merged
merged 1 commit into from
Jul 30, 2015
Merged

Show empty state if user has no ratings #58

merged 1 commit into from
Jul 30, 2015

Conversation

nlitwin
Copy link
Contributor

@nlitwin nlitwin commented Jul 30, 2015

@parthshah @tladendo let me know what you think!

@@ -9,7 +9,7 @@ header
section.challenges(ng-hide="vm.loading")
challenge-tile.tile(ng-repeat="challenge in vm.myChallenges", challenge="challenge", domain="vm.domain")

challenge-tile.tile.spotlight(challenge="vm.spotlightChallenge", domain="vm.domain", spotlight)
challenge-tile.tile.spotlight(spotlight, challenge="vm.spotlightChallenge", domain="vm.domain")
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we refactor this to be its own spotlight directive?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup yup, we can definitely do that. I thought we were going to use challenge-tile.directive.js's templateUrl function to swap different templates, but keep the same base directive. I don't think it's a huge difference in functionality so either way works for me!

nlitwin added a commit that referenced this pull request Jul 30, 2015
Show empty state if user has no ratings
@nlitwin nlitwin merged commit 9141bd2 into dev Jul 30, 2015
@nlitwin nlitwin deleted the rank-empty-state branch July 30, 2015 17:15
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.

2 participants