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

Issue 763 - Changed relevant HTML anchors to use Button components instead #774

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

skberkeley
Copy link
Contributor

I tested the front end components corresponding to the modified files to make sure they all looked the same and all the buttons still downloaded the relevant files properly

@skberkeley skberkeley linked an issue Oct 6, 2021 that may be closed by this pull request
Copy link
Contributor

@srisainachuri srisainachuri left a comment

Choose a reason for hiding this comment

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

Missing some imports and issues with variable names, but the general construction of the components looked fine

href={gradedHrefData}
download={gradedName}
download={gradedFileName}
Copy link
Contributor

Choose a reason for hiding this comment

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

The variable gradedFileName is not defined, did you mean to rename gradedName?

"button-blue": true,
"rounded-small": true,
})}
<Button
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing import to Button at the top of the file

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think line 8 const { Button } = require("components/core/Button"); should work, since other Button components from previous commits use that

"button-green": true,
"rounded-small": true,
})}
<Button
Copy link
Contributor

Choose a reason for hiding this comment

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

also missing Button import I believe, but looks good otherwise

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.

Change all html anchors to Button components
2 participants