Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New feature: Database-driven flags and reports on any object (lose the mailto links) #32

Open
anildash opened this issue Mar 10, 2015 · 3 comments

Comments

@anildash
Copy link
Member

Any place that history is displayed on a product or maker, we should allow signed-in users to flag the action, and have a view to show all flagged actions.

On the flag list view, the flags can be removed by signed-in users. No need for acting upon the flags from that page -- users will just follow the links to fix whatever page is affected, at least until we have versioning.

@ginatrapani
Copy link
Member

Prereq: #37 so we don't expose internal IDs, we'll use the new unique hash instead

@ginatrapani
Copy link
Member

Few notes on flagging:

  • Multiple users can flag an action.
  • There will be a "flagged actions" view that displays actions with flags, ordered by most recent flag (I guess)
  • A user can archive their own flag.

... Profit? This is completely half-baked at the moment, but what we DO know is there should be a new flags table with a user_id and an action_id and we'll go from there.

@ginatrapani ginatrapani modified the milestone: 2. Data Entry Apr 10, 2015
@anildash anildash modified the milestone: 2. Populate database and finalize data entry mechanisms May 8, 2015
@ginatrapani ginatrapani modified the milestone: 2.5 Offer trust and safety features May 11, 2015
@ginatrapani ginatrapani added this to the Week ending August 14th milestone Aug 7, 2015
@ginatrapani ginatrapani self-assigned this Aug 7, 2015
@ginatrapani ginatrapani changed the title New feature: Flag any action New feature: Flag any object in the database (lose the mailto links) Aug 11, 2015
@ginatrapani
Copy link
Member

Flag object:

  • id - internal unique id
  • uid - unique id
  • creation_time - timestamp, auto-entered
  • user_id - int, fkey to users.id
  • object_type (action, maker, product) - varchar(20)
  • object_id - fkey to actions.id, makers.id, products.id
  • report_body - text, user-entered details
  • is_archived - int(1) bool

Questions:

  • Should we call this object flag or report?
  • Should the action of reporting something go into the project and/or maker's activity stream?

@ginatrapani ginatrapani changed the title New feature: Flag any object in the database (lose the mailto links) New feature: Database-driven flags and reports on any object (lose the mailto links) Aug 13, 2015
@ginatrapani ginatrapani removed this from the Week ending August 14th milestone Aug 13, 2015
@ginatrapani ginatrapani removed their assignment Nov 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants