[Osmf-talk] Future of DWG work, copyright, vandalism

Mikel Maron mikel_maron at yahoo.com
Mon Jun 11 08:58:18 UTC 2012


From: Michal Palenik <michal.palenik at freemap.sk>
>> # Public option for user messaging
>> 
>> Add a column to messages, a boolean for public or private. Private is default. Create message view includes checkbox. Then modify user/*/inbox to allow anyone to view, and filter entries there with 
>> messages which are public. And link from user profile page.
>
>replies to public messages should be private by default
>


Replies are full messages in their own right, so private/public would work the same.

>> # Changeset comments
>> 
>> This would require a new Model I think, which would look much messaging. Rather than user-user, user-changeset. Add a controller action to comment, and modify the changeset view to add a comment box, and list of messages.
>
>what about just linking message to changeste based on url string of this
>changeset within message text? so when user sends a message to another
>user as public mentioning url of the changeset, this would appear on the
>changeset website (if i mention three changesets, it would appear on all
>three). 


Would need to search through the messages for changeset urls. Could be an inefficient query at display time. Searching when the message is created, and storing in the db, would still require a new Model, and I reckon it's cleaner to keep changeset comments and user messaging separate.


>tricky part will be threads: if a changeset is link to the first
>message, i want to see the whole thread (not just those messages that
>are explicitly linked to the changeset)


There's no concept of threading in messages currently. Would need to add a new column to messages.

-Mikel





More information about the osmf-talk mailing list