You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Integration: Incorporate copy-to-clipboard functionality into the GithubUserLink component.
Configurability: Add a copyable prop to enable/disable the copy feature.
Component Upgrade: Use the enhanced GithubUserLink in the getCrossCheckPairsColumns module.
Tasks
Component Enhancement:
Add a copyable prop to GithubUserLink with a default value of false.
Integrate CopyToClipboardButton into GithubUserLink.
UI and UX Design:
Design an intuitive icon for the copy feature within the GithubUserLink component.
Ensure the copy icon is only visible when copyable is set to true.
Implementation in getCrossCheckPairsColumns:
Replace the existing GithubUserLink usage in getCrossCheckPairsColumns with the enhanced version.
Ensure the copyable prop is appropriately configured in the implementation.
Testing and Quality Assurance:
Test the enhanced component for both states of the copyable prop.
Validate the functionality across different browsers and screen sizes.
Expected Outcome
The GithubUserLink component will now have an optional copy-to-clipboard feature, improving user experience by facilitating easy copying of GitHub usernames. This feature, when enabled, will be integrated into the Cross Check Pairs module, enhancing its usability.
Additional Notes
The implementation should be mindful of the existing UI/UX design principles, ensuring that the addition of the copy feature does not disrupt the user interface. Adequate testing is required to maintain cross-browser compatibility and responsiveness.
The text was updated successfully, but these errors were encountered:
Description
The
GithubUserLink
component (located at https://github.com/rolling-scopes/rsschool-app/blob/master/client/src/components/GithubUserLink.tsx) in the Rolling Scopes School application requires an enhancement to include a copy-to-clipboard feature. This task involves integrating the existingCopyToClipboardButton
component (https://github.com/rolling-scopes/rsschool-app/blob/master/client/src/components/CopyToClipboardButton.tsx) into theGithubUserLink
component. Additionally, a new prop,copyable
(default valuefalse
), will be introduced inGithubUserLink
to control this functionality. This updated component will then be implemented in thegetCrossCheckPairsColumns
module (https://github.com/rolling-scopes/rsschool-app/blob/master/client/src/modules/CrossCheckPairs/data/getCrossCheckPairsColumns.tsx#L22).Objectives
GithubUserLink
component.copyable
prop to enable/disable the copy feature.GithubUserLink
in thegetCrossCheckPairsColumns
module.Tasks
Component Enhancement:
copyable
prop toGithubUserLink
with a default value offalse
.CopyToClipboardButton
intoGithubUserLink
.UI and UX Design:
GithubUserLink
component.copyable
is set totrue
.Implementation in
getCrossCheckPairsColumns
:GithubUserLink
usage ingetCrossCheckPairsColumns
with the enhanced version.copyable
prop is appropriately configured in the implementation.Testing and Quality Assurance:
copyable
prop.Expected Outcome
The
GithubUserLink
component will now have an optional copy-to-clipboard feature, improving user experience by facilitating easy copying of GitHub usernames. This feature, when enabled, will be integrated into the Cross Check Pairs module, enhancing its usability.Additional Notes
The implementation should be mindful of the existing UI/UX design principles, ensuring that the addition of the copy feature does not disrupt the user interface. Adequate testing is required to maintain cross-browser compatibility and responsiveness.
The text was updated successfully, but these errors were encountered: