macports / macports-webapp

Web application to display information about ports, build history and installation statistics
https://ports.macports.org/
BSD 2-Clause "Simplified" License
56 stars 27 forks source link

Add "report an issue" button to port pages #331

Closed arjunsalyan closed 2 years ago

arjunsalyan commented 2 years ago

See https://github.com/macports/macports-webapp/issues/310

We have been receiving few port-related issues on macports-webapp GitHub repo. These buttons might help in directing users to the correct place for reporting issues with ports.

Clicking on the link takes you to https://trac.macports.org/newticket?port=<port-name>

Screenshot 2022-01-15 at 2 37 58 PM Screenshot 2022-01-15 at 2 38 38 PM

codecov[bot] commented 2 years ago

Codecov Report

Merging #331 (584bdfe) into main (78026bb) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #331   +/-   ##
=======================================
  Coverage   81.17%   81.17%           
=======================================
  Files         111      111           
  Lines        2762     2762           
  Branches      216      216           
=======================================
  Hits         2242     2242           
  Misses        474      474           
  Partials       46       46           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 78026bb...584bdfe. Read the comment docs.

arjunsalyan commented 2 years ago

Merging this now.

mojca commented 2 years ago

Awesome, thank you!

mascguy commented 2 years ago

Agreed, this is a great enhancement. Thanks!

bestlem commented 2 years ago

I think this needs improvement - the link does not show up as a link or a button.

Please make it standout and not just be plain text. It is not clear visually that it is clickable

Also from that page also allow a link to view trac for that port not just add a new issue - in fact wouldn't good workflow show the outstanding issues first so that you can see if your issue has already been reported rather than get a lot of duplicate new issues.