Issue #7225: Made repository URL not a link for student assignment view#7807
Merged
david-yz-liu merged 11 commits intoMarkUsProject:masterfrom Feb 6, 2026
Merged
Issue #7225: Made repository URL not a link for student assignment view#7807david-yz-liu merged 11 commits intoMarkUsProject:masterfrom
david-yz-liu merged 11 commits intoMarkUsProject:masterfrom
Conversation
Collaborator
|
Hi @Karl-Michaud, yes you can add a "Copy" button. Take a look at what we're doing to support text file copying in the |
Collaborator
Pull Request Test Coverage Report for Build 21736015739Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
david-yz-liu
reviewed
Feb 4, 2026
Contributor
Author
|
Hi @david-yz-liu, Here is an updated screenshot of the page after changes. Notably, switching from
|
david-yz-liu
approved these changes
Feb 6, 2026
Collaborator
david-yz-liu
left a comment
There was a problem hiding this comment.
Nice work, @Karl-Michaud!
Naragod
pushed a commit
that referenced
this pull request
Feb 6, 2026
* Made the URL not render as a link * Added copy functionality
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Proposed Changes
This PR addresses issue #7225. Specifically, this PR makes the repository URL not a link for student assignment view.
Problem
See link
Before Changes
Screen.Recording.2026-01-31.at.6.08.30.PM.mov
After Changes (updated)
Screen.Recording.2026-02-02.at.5.11.14.PM.mov
Additional additions
As requested, I've added "copy" buttons to easily copy the specific URL.
On top of that, I've taken the liberty to add a "Successfully copied to clipboard." notification to the top of the page. This change can be easily reverted if necessary.
Notification showcase
Final notes
navigator.clipboard, which would require Capybara (seems to be included in the gemfile) to test. This would be outside the scope of this task.Would love to get feedback on this ^^ :0
config/locales/views/groups/en.ymlunderstudent_interface, since that's where the other keys used by the repository URL section are located.Type of Change
(Write an
Xor a brief description next to the type or types that best describe your changes.)Checklist
(Complete each of the following items for your pull request. Indicate that you have completed an item by changing the
[ ]into a[x]in the raw text, or by clicking on the checkbox in the rendered description on GitHub.)Before opening your pull request:
After opening your pull request: