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

studio: show a message or error component when there are no claimants #669 #924

Merged
merged 7 commits into from
Jun 27, 2024

Conversation

ishpaul777
Copy link
Contributor

@ishpaul777 ishpaul777 changed the title fixes the issue https://github.com/factly/dega/issues/669 fixes the issue #669 May 22, 2024
Copy link

cloudflare-workers-and-pages bot commented May 22, 2024

Deploying dega-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8fe848a
Status: ✅  Deploy successful!
Preview URL: https://a3722d3a.dega-docs.pages.dev
Branch Preview URL: https://fix-669.dega-docs.pages.dev

View logs

@@ -86,6 +116,8 @@ function Claims({ permission }) {
return { claims: [], total: 0, loading: state.claims.loading };
});

console.log(ratingsCount, loading)
Copy link
Contributor

Choose a reason for hiding this comment

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

@ishpaul777 remove logs

}
/>)
}

Copy link
Contributor

Choose a reason for hiding this comment

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

@ishpaul777 can the case when both ratings and claimants aren't present be handled?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you mean showing both at same time ?

Copy link
Contributor

Choose a reason for hiding this comment

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

we can refactor this to have create rating and create claimants button inside and then conditionally render both or one.

@ishpaul777 ishpaul777 requested a review from surajmn1 May 23, 2024 09:50
surajmn1
surajmn1 previously approved these changes May 23, 2024
surajmn1
surajmn1 previously approved these changes Jun 10, 2024
@ishpaul777 ishpaul777 dismissed surajmn1’s stale review June 10, 2024 09:11

The merge-base changed after approval.

surajmn1
surajmn1 previously approved these changes Jun 10, 2024
@ishpaul777 ishpaul777 dismissed surajmn1’s stale review June 10, 2024 09:16

The merge-base changed after approval.

@surajmn1 surajmn1 closed this Jun 10, 2024
@surajmn1 surajmn1 reopened this Jun 10, 2024
@surajmn1 surajmn1 changed the title fixes the issue #669 studio: show a message or error component when there are no claimants #669 Jun 10, 2024
@surajmn1
Copy link
Contributor

@shreeharsha-factly please merge.

@shreeharsha-factly shreeharsha-factly merged commit 9c46498 into develop Jun 27, 2024
1 of 3 checks passed
@shreeharsha-factly shreeharsha-factly deleted the fix/669 branch June 27, 2024 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants