Make "share" link an actual link
Summary
The "share" link on the Schedule page is currently a <code>
element instead of an <a>
element. This means users can't click on the link directly; they must manually copy and paste if they want to share it. This is bad.
Change the element to an <a>
and update the JavaScript function that sets the URL.
Helpful Links
The element itself is located at https://git.gmu.edu/srct/schedules/blob/master/schedules/app/views/schedules/show.html.erb#L37
The JavaScript function is located at https://git.gmu.edu/srct/schedules/blob/master/schedules/app/javascript/packs/schedules.js#L39.
This will need to be updated to change the href
attribute on the element instead of just setting the innerText
property as it does now.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information