-
Notifications
You must be signed in to change notification settings - Fork 1
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
[52, 53, 126] Dashboard Component / Challenge Manager's Dashboard / Evaluator's Dashboard #136
Conversation
Co-authored-by: Stephen Chudleigh <[email protected]>
Co-authored-by: Stephen Chudleigh <[email protected]>
remove unused partial template
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple things to add, code looks good 👍
figma link for reference
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me, cleaned up the CSS a bit and added specs for the evaluator's dashboard and a11y (see: 5a87221)
def dashboard_cards_by_role | ||
{ | ||
challenge_manager: [ | ||
{ image_path: 'emoji_events', href: 'http://localhost:4000/', alt: 'challenges', title: 'Challenges', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note to self: update this URL and other hard-coded localhost:4000 when #128 merges
Creates a re-usable dashboard component which can be customized for different user roles.
Challenge Manager:
![Screen Shot 2024-09-10 at 10 13 30 AM](https://private-user-images.githubusercontent.com/51140224/366078264-6ecfe4dc-7f88-4b27-a18e-dfb6e5a5e239.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjMzMDQsIm5iZiI6MTczOTE2MzAwNCwicGF0aCI6Ii81MTE0MDIyNC8zNjYwNzgyNjQtNmVjZmU0ZGMtN2Y4OC00YjI3LWExOGUtZGZiNmU1YTVlMjM5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA0NTAwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM5M2Y1NmJkNDM4ZjVmNWE3NTZhOTViMDQwOWY3MzdjYmIyNDA4NWU4NWY4MzNlYmY2MjdkMzZmMzIxNjkwZGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.U-lwD1wcZPxDOsU1m0KNuj0sIV7xynTMW8wDQSSOIBw)
![Screen Shot 2024-09-10 at 10 13 46 AM](https://private-user-images.githubusercontent.com/51140224/366078369-0537c974-6da4-43d9-9124-e52d54796920.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjMzMDQsIm5iZiI6MTczOTE2MzAwNCwicGF0aCI6Ii81MTE0MDIyNC8zNjYwNzgzNjktMDUzN2M5NzQtNmRhNC00M2Q5LTkxMjQtZTUyZDU0Nzk2OTIwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA0NTAwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkyYmFhZWU0YTM4ZWY1MDVmNzFjNjdkMzhmMjRmNzA5NDkyOTM1YTRlMjlmZGQ2OWM4Nzk2YTIyZDJiNzE1M2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Nym29-3OGrpmAh7SVolwrSXNcIVfZPvUBy15yanIQCc)
Evaluator:
![Screen Shot 2024-09-10 at 10 14 11 AM](https://private-user-images.githubusercontent.com/51140224/366078552-566e7277-7bb5-49af-8d8a-56448b0a12be.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjMzMDQsIm5iZiI6MTczOTE2MzAwNCwicGF0aCI6Ii81MTE0MDIyNC8zNjYwNzg1NTItNTY2ZTcyNzctN2JiNS00OWFmLThkOGEtNTY0NDhiMGExMmJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA0NTAwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQxNDgwMzdhY2YwZWYyMmMyYmIwMjJlOGJlYjQ4MjhiNWY0MDVmMmVhYjJmOTkxMjYyMTAwNDhlZGJkYTgyMDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.LJ1LGWY7HO-_-voDd4-puqtHDirRh3cIMsUMGTaY95Y)