Comments (4)
Managers should be able to report a validation they find strange or abusive. Especially if they have checked the responsive
checkbox.
For example, you're sharing a guitar lesson, an user validate you, but you've never seen her or him... straaannge...
from antilope.
Things that can be reported:
- sharable
- validation
- interest
- question
- answer
there could be a parent class report
class Report
id int
rule rule_id (int)
comment text
creation dateTime
user user_id (int)
And child classes like ReportSharable
class ReportSharable extends Report
sharable int
from antilope.
Mmmhh,
I'm thinking again of how should Reports be stored.
I wanted to to a ReportReport
entity allowing moderators to report a report 😄
But these would need to allow report ReportSharable
, ReportInterest
, ReportUserProfile
.... etc... so I should create a ReportReportSharable
!!! That's horrible.
So I'm wondering if, from the begining, I could have done things differently by using a lot of columns that won't be used at the same time.
class Report
V2
id int
rule rule_id (int)
comment text
creation dateTime
user user_id (int)
sharable sharable_id (default: NULL)
interest interest_id (default: NULL)
validation validation_id (default: NULL)
I can manage to only allow one of thoose parameter to be filled.
But of course that would create many empty columns.
But I like the idea of each report sharing the same ID count.
from antilope.
As said @n-peugnet , it correspond to problems resolved by Doctrine Inheritance.
Maybe the easiest way could be to use the single table inheritance strategy.
from antilope.
Related Issues (20)
- open shrable filtered results in map
- Parse sharables / users (+ questions) in texts
- Show instance parameters
- Set prefered locale per user
- show anonymous managers answers as anonymous
- allow or not an userclass to be selected as visibleBy
- internal Blog HOT 1
- admin: send mail to users HOT 1
- Validation rich text
- open sharable filtered list in the map HOT 1
- publication / drafts
- image gallery in sharables
- allow user to create sharable without contact info if they aven't set any
- moderators
- really disable sharable when no managers are activited
- categories HOT 1
- add the possibility to let a message while a sharable is deactivated
- add price in sharable parameters
- add ability to upload files associated to sharable
- associate antilope to a private bittorrent tracker
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antilope.