irff / iondashboard

Dashboard for data analytics
0 stars 0 forks source link

June 9 Revision #21

Closed irff closed 9 years ago

irff commented 9 years ago

A few revisions from Kak Faldo (regarding the dashboard):

  1. Related articles: Add an option to sort related article by latest published time (including from newest first & oldest first)
  2. Related articles: download article snapshots is not working
  3. General: sometimes it the application logouts itself randomly
  4. Related articles: sometimes the article modal window doesn't contain the full content (only the first few sentences)
  5. Related articles: add pagination at the bottom of related articles (so the users don't need to scroll up again)

What do you think @kandito @zakazai ?

kandito commented 9 years ago

karena duplicate issues, gw bales disini aja ya.

Buat no 2: Emang masih masalah, proses PhantomJS nya jalan terus akibatnya service-nya mati, dan banyak issue kaya gitu (https://github.com/fzaninotto/screenshot-as-a-service/issues/32)

Buat no 3: Itu bukan random sih, tapi umur token-nya yang terlalu pendek, sedangkan session flask itu seumur hidup. Jadi ada kemungkinan login satu jam, tapi tiba2 API nya gak bisa diakses. Harus login lagi buat bisa akses. Jadi gw emang kemarin lusa bilang ke Zaka kalo lagi trail-error. Gw lagi nyobain kalo dashboard di logout otomatis saat token expire-nya gimana.

Buat yang bakal gw handle duluan sih no 3 (karena masih lingkup API), tapi kalo no 3 udah bisa, gw bakal bikin screenshoot sendiri pake PhantomJS tanpa 3rd party.

kandito commented 9 years ago

@irff no 3, udah gw buat jadi 2 jam masa aktif token-nya. Jadi user (harusnya) bisa login maksimal 2 jam, sampai nanti harus login lagi. Dicobain ya experience-nya gimana, nanti di-revisi lagi.

zakazai commented 9 years ago

Untuk nomor 1. Berarti tinggal ganti request ajax nya aja jadi dibalik. Nanti gua ganti fan Untuk nomor 4. Itu memang cuma segitu fan contentnya, sepertinya content artikelnya cuma segitu atau scrappernya ga nangkep semua Untuk nomor 5. Oke, nanti gua ganti yak

kandito commented 9 years ago

serius banget, gw udah buat script buat screenshoot sendiri, masih tetep berat. Waktu gw deploy : 504 Gateway Time-out

kandito commented 9 years ago

@irff coba login, terus buka URL ini: http://128.199.120.29/snapshot?url=http://www.rmol.co/read/2015/05/21/203538/Demo-Kritik-dan-Bela-Presiden-Jokowi-Warnai-Jakarta-