HGustavs / LenaSYS

Code Viewer and Course Organization System used in some courses at University of Skövde
57 stars 31 forks source link

Sectioneditor button for generating embedding code for canvas for assignment #11230

Open HGustavs opened 2 years ago

HGustavs commented 2 years ago

Currently we connect assignments to lenasys using iframes.

<p><iframe src="https://dugga.iit.his.se/sh?c=webbprog&amp;a=steg%201" width="800" height="1200"></iframe></p>

When logged in as a teacher we want to be able to click a button to have this link generated for us, that we can then paste into canvas.

Screenshot 2022-04-01 at 09 36 41

A good position to put this icon would be near/beside the trashcan and cog wheel.

a17nikjo commented 2 years ago

In DuggySys\sectioned.js we can find the definition of the other 3 buttons.

(started researching to find information of how it works)

a20behta commented 2 years ago

Removing branch with issue- used pre merge code as base.

a17nikjo commented 2 years ago

@HGustavs Should the link pasted to clipboard include the iframe part like below:

or should it only paste the link itself to the clipboard like below: https://dugga.iit.his.se/sh?c=webbprog&amp;a=steg%201

a20behta commented 2 years ago

placed on hold untill url shorterner is complete