lordmatt / bp-report-stuff

A buddy press module to allow reporting of objectionable content, spammy users, etc. This is a free - no premium bits - community project.
GNU General Public License v3.0
1 stars 2 forks source link

[TODO] Integrate UI with BuddyPress elements #4

Open lordmatt opened 5 years ago

lordmatt commented 5 years ago

Integrate UI with BuddyPress elements

shadofficial commented 5 years ago

point me to the right direction regarding the UI i mean what type of ui we will be working on , front end or back end

lordmatt commented 5 years ago

The back end is a single REST endpoint. Which is in the controller class. The front end is in /ui/ and will, once finished, be a form running JQuery-UI that can be summoned front and centre (or center for US people) by a report button (populating some of the details as it does) with support from [/assets/](https://github.com/lordmatt/bp-report-stuff/tree/master/assets). I also hope to produce a widget that will serve to trigger the form when the user wants to report the entire page.

lordmatt commented 5 years ago

As far as this particular issue ticket is concerned we just need a single event/function trigger we can attach to a button and then (and this is the tricky bit) figure out how to get the report buttons into sensible locations.