curriculum icon indicating copy to clipboard operation
curriculum copied to clipboard

Feature: open an issue, edit on github buttons

Open SallyMcGrath opened this issue 1 year ago • 4 comments

Which module(s) and week(s) does this change affect? Module(s): all Week(s): all

What is the work that needs to be done?

On a previous version we had some nice edit on github buttons. We have them on the CYF+ site too.

I want them to be pretty discreet and not get in the way, so probably hidden in some kind of flyout on the block and not made super obvious.

Probably something like

{{ with .File.Path }}<a href="https://github.com/etc etc{{ . }}">Fix me</a>{{ end }}

It would have to go on the block I guess because the page doesn't have the file paths of all the blocks.

Why is this work important to do?

We are quite good at encouraging trainees and vols to open tickets but having a little boopy button right there on the block would probably help.

Additional context

We want to encourage more and more trainees to collaborate and co-create their learning journey.

Who might need to know about this change?

SallyMcGrath avatar Jan 26 '24 21:01 SallyMcGrath

Hi, Is this issue is still opened. If yes, Please provide me the details so that I can solve

vyshnaviJammi avatar Feb 12 '25 03:02 vyshnaviJammi

https://codepen.io/ayxddkap-the-looper/pen/NPWOQKw

Before proceeding, make sure to replace:

"YOUR-REPO/YOUR-PROJECT" with your actual GitHub repo URL.

"content/{{ . }}" matches your file structure.

Now, 1.Refresh your page.

2.Hover over a block—you should see a small "✏️ Edit" button appear.

3.Click it—it should open GitHub in edit mode for that file.

Would you like a flyout animation instead of a hover effect ..? Regards:- Mayank Raj

Inmaya27 avatar Mar 30 '25 23:03 Inmaya27

Hi, Is this issue is still open? If yes, please provide me the details so that I can solve

BharadwajSarma avatar Jul 14 '25 15:07 BharadwajSarma

I want to work on this issue. Let me implement the addition of 'open an issue' and 'edit on GitHub' buttons to the curriculum pages.

GOLLASAISREE avatar Oct 29 '25 06:10 GOLLASAISREE