MathHubInfo / Frontend

A new MathHub Narration Frontend written in React.
GNU Affero General Public License v3.0
2 stars 0 forks source link

"report an issue" functionality #39

Closed kohlhase closed 3 years ago

kohlhase commented 5 years ago

There are two functionalities I would like:

this would great for content curation.

tkw1536 commented 5 years ago

@AiraComet the urls for this should not be hard-coded, instead they should be configurable in https://github.com/MathHubInfo/Frontend/blob/master/src/context/config.ts#L34.

kohlhase commented 5 years ago

The button for this could go next to the the new view source button.

kohlhase commented 5 years ago

@AiraComet It would be very good to have this functionality, and this seems easy to add to the front-end. In particular, the top-level "report an issue" functionality should be a five-minute fix and already helpful.

ghost commented 5 years ago

@kohlhase Except for the fact that every Report button links to https://github.com/MathHubInfo/Frontend/issues/new is that how you imagined it?

kohlhase commented 5 years ago

I am not sure, the top-level menu entry is good. But it does not advertise that the issue to be reported is content-specific. I think I would like to have a green "issue" button near "Statistics". for the individual content-specific issues. And that button should have a hover text

Report an issue with the contents of the current page on the archive issue tracker. 
ghost commented 5 years ago

I updated the button placement and added the hover text. @tkw1536 added the content issue urls. So @kohlhase if you don't have any further comments this issue can be closed.

kohlhase commented 5 years ago

The new archive-level button is very nice.

So @kohlhase if you don't have any further comments this issue can be closed.

Actually, there is more I want (this is a different design which should be discussed).

kohlhase commented 5 years ago

about the last point: There is an GitLab API for that: https://docs.gitlab.com/ee/api/issues.html#new-issue (for gl.mathhub.info). So that is just a post request away.

The pre-filling content is mentioned all the way on top here (second bullet point).

kohlhase commented 5 years ago

Also, I notice that https://beta.mathhub.info/library/group?id=MMT does not have a "report issue" button. But GitLab has group issues (here https://gl.mathhub.info/groups/MMT/-/issues) which can be used for that.

tkw1536 commented 3 years ago

Issue buttons now exist