好的,我還是沒寫完 spec (跪)今天大家可以做的事情是:
1.
@cstsai 會先上傳我們上週五在白板上整理好的 user story 和 feature 照片(雖然我覺得其他人應該看不懂)
2. 我列了三個主要的 feature,也算是 Django Admin 需要看到的 View,第一個審核照片的部分幾乎算是寫完了,還有缺一些細節,第二個自動產生公文的部分
@cstsai 今天要補上。第三個 feature 我還沒寫。超大的 epic spec 我放在這裡,之後會再把每一個小 task 都切出去開新的 issue 或是說放棄不要做:
https://github.com/Disfactory/Disfactory/issues/312。 我希望
@tobyliu 要不要看一下「審核照片」那個部分,有沒有什麼能先做的。然後第二個自動產生公文的部分,目前是
@loooffy 負責,我希望至少再有一個後端能去幫他,
@sonia8715 @momopeng @darrenhsu2015 看你們有沒有興趣。
3. 前端的部分,
@yukai @yoyo930021 請 review imgur 的那個 PR,然後請
@cstsai 測一下 dev 上面的東西都沒問題的話,把座標輸入和 imgur 的改動推到正式版。以及首頁前端的部分可以開始動工啦~~可以自己先開 issue
4. 設計的部分,
@jnleyan 應該做 design system 要做一段時間,
@sandrahtlin 如果來的話,可以協助 deeper 釐清一下後台權限他要怎麼切
5.
@yellowsoar 好像輪不到我跟你說你要做什麼 XD
#312 Admin Page Spec v0.2 (not completed yet)
Past discussion is in <https://github.com/Disfactory/Disfactory/issues/268|#268> Admin Page Design. This issue is the epic issue for the new spec.
Three main views on Django Admin:
☐ 1. Determine which factory to officially report(審核照片)
☐ 2. Send official documents to government agencies(寄送公文)
☐ 3. Follow-up government responses(進度追蹤)
def. of Views:
• not different tables in DB but different views to show on Django Admin
• One table view for one purpose as listed
*1. Determine which factory to officially report(審核照片)*
*User story*
As a CET staff,
When I retrieve factory report records
I want to
```
1. Check quality and authenticity of photos attached to factories
2. Mark new factories built after 2016.5.20
```
So that I can
```
1. Determine which factories to report on official documents
2. Add qualified photos by myself or contributors/volunteers
```
*Success Criteria*
*Table View*
☐ Browse all important table columns without horizontal sliding
☐ Filter:
☐ customized time-frame to view => enter starting date and ending date to view
☐ data sources from Users or Government
☐ `cet_report_status`:want to filter out those factories that are not processed yet (地公尚未處理) #
☐ `factory_type` :工廠類型(nice to have):方便未來篩選出中高污染之工廠
• [ ]
☐ Fields showed on the table (待補詳細)
☐ Use `factory_no` as first column instead of `name` because there is no names in many factories report records (There is no such field yet, please add that field `factory_no` in <https://github.com/Disfactory/Disfactory/issues/224|#224>)
*Factory single page view*
Must have
☐ Select which reviewer is responsible (目前只會有兩個研究員,到時候產生公文時需要配合填入聯絡用 email)
☐ Mark `new_factory`: Yes/No/Unclear; `highly_polluted`: Yes/No/Unclear, `report_ready`: Yes/No/Pending. (`new_factory` field now is boolean, but we need `unclear` status. The later two fields have not been added in DB)
☐ Add notes and tags on factories that are No/Pending in `report_ready`. The tags and notes should be showed on frontend UI to general users.
☐ Timestamp records for each edit from CET => to track reporting status and history
☐ Directly upload image on Django Admin (Because CET staffs sometimes need to supplement screenshots from Google Map or other sources)
☐ Select which images to be used in official documents to government agencies (not all images are qualified to be attached in the official documents)
[nice to have]
☐ Embedded or a link to satellite/aerial images of that location on or slightly after 2016.5.20
☐ Photo authenticity alert. Using EXIF (done in <https://github.com/Disfactory/Disfactory/issues/281|#281> ) extracting from photos to alert which photos may be faked
*Out of scope*
1. Directly edit cells on table view
*2. Sent out official documents to government agencies(產生公文)*
(blank so far)
Past discussion on <https://github.com/Disfactory/Disfactory/issues/283|#283>
*3. Follow-up reporting status(公文進度追蹤)*
*User Story*
As a CET staff or a volunteer,
When I follow-up the reporting process, including government responses and CET action,
I want to
1. See the past process and current status of each factory I am in charge
2. Update status and add notes to track government's responses
3. Update government agency contacts
So that I can
1. Communicate with government agencies with all the evidences and information I need and push them for next actions
2. Collect materials and data for advocacy and social media marketing and when to followup again
3. Know who to talk to (government agency contact updates)
*Success Criteria*
*Table view*
☐ Filter
*Factory Single Page View*
☐ Add new fields in DB to track government responses and CET actions <https://github.com/deeper747|@deeper747> 待補
• 農
• 地
• 違建
• 工廠
• 中央
• `gov_response_summary`
• `cet_report_status`: existing fields but new list of status ( 待補)
☐ Add new field: `followup_person` => should link to access management system
• *[ ] `followup_memo` (待補)*
☐ change status of ``(待補)
☐ Upload jpg or pdf of government's responding official documents, which will be showed on frontend UI as well
*Out of Scope*
對不起超混亂的,Happy Hacking。還有, @oriyaroriyar ,你的心得文呢(敲碗)
如果今天 @f46284628 和 @tungen0972721905 有來,我建議 @cstsai 可以跟他們討論一下複雜的 government response 在 DB 應該要怎麼存和列哪些狀態比較好
我今天會提早一點抵達地公跟deepr釐清後台,但會提早走,有其他的線上會議要參與XD
1
1