puneet739 / SocietyFocus-Android

1 stars 6 forks source link

Notice Board #7

Open puneet739 opened 8 years ago

puneet739 commented 8 years ago

Notice Board should be there at homepage, also should be available in left side navigation.

1) View Notice board 2) Add Notice
3) Notice Detail Page

puneet739 commented 8 years ago

View Notice board should be list view,

1) Notice Title. 2) Posted by 3) Created date. 4) Comment Count. 5) Upvote Count

puneet739 commented 8 years ago

2) Add Notice

This page will contain form,

Title: Description: List of Image Upload:

Submit button.

puneet739 commented 8 years ago

3) View Notice This will have option to view Notice details

Title Description Created Date Author Images Comment box to view comment and add comment. Upvote button.

puneet739 commented 8 years ago

@laherajmani This is under development..

SagarKhurana commented 8 years ago

@puneet739 can you please provide us information , about the apis and the UI design...

puneet739 commented 8 years ago

@SagarKhurana @laherajmani This is under development.

Get All Notices. /services/society/noticeboard/getall

Add Notice /services/society/noticeboard/add

Add Comment On Notice /services/society/noticeboard/{notice-id}/addcomment

SagarKhurana commented 8 years ago

@puneet739 kindly provide us some more details for the above apis.. Method(Post or Get) Inputs Outputs Headers? Yes/No?

puneet739 commented 8 years ago

Add Method. complete API URL http://societyfocus.com/service/society/noticeboard/add Post Method: Data JSON: { "title": "Title Notice1", "description":"Test Description", "imageurl1":"http://www.mattmillman.com/wp-content/uploads/2011/08/709px-Db-schild.svg.png", "imageurl2":"http://www.mattmillman.com/wp-content/uploads/2011/08/709px-Db-schild.svg.png" }

puneet739 commented 8 years ago

Get All Notices: : Get Request. http://societyfocus.com/service/society/noticeboard/getall

Response: { "body": [ { "id": 1, "title": "Title Notice1", "description": "Test Description", "user": { "userid": 1, "firstname": "Puneet", "lastname": "Solank", "occupation": "Engineer", "email": "puneet@gmail.com", "contact_no": "9711616135", "profile_pic": "http://www.societyfocus.com/society/images/hQr6c5K8rN4053432539580675.png", "description": "software enginee", "address": "Super Admin", "userRoleses": [ { "id": 2, "userRole": "USER" }, { "id": 1, "userRole": "SOCIETY_ADMIN" } ], "keyValuePairs": {} }, "score": 0, "status": 0, "isPinned": false, "imageurl1": "http://www.mattmillman.com/wp-content/uploads/2011/08/709px-Db-schild.svg.png", "imageurl2": "http://www.mattmillman.com/wp-content/uploads/2011/08/709px-Db-schild.svg.png", "creationdate": "2016-10-22T10:31:45 +0000", "modifieddate": "2016-10-22T10:31:45 +0000" } ], "status": 0 }

SagarKhurana commented 8 years ago

@puneet739 kindly suggest the layout desgins for below:

-- View Notice Board (ListView) -- View Single Notice -- Add New Notice (form)

puneet739 commented 7 years ago

View notice should be similar to this. viewnotice

puneet739 commented 7 years ago

On clicking on any notice, Notice details should be visible in given format. This should not have Video play button and symbols. Only back button would suffice the task youtube_detail

puneet739 commented 7 years ago

Lets leave add notice as of now for this release.

puneet739 commented 7 years ago

@laherajmani Kindly look into this

laherajmani commented 7 years ago

@puneet739 will be done today