Web: code - gitcoin.co/activity

Created on 20 Apr 2018  ·  35Comments  ·  Source: gitcoinco/web

User Story

As a user, I want gitcoin.co/activity to show the recent activity on the platform, so I can see how active it is and follow the action.

Description

Type:
Feature

Current Behavior

no activity feed

Expected Behavior

activity feed that lists

  • opened issue
  • started work
  • stopped work
  • submitted work
  • accepted work
  • increaed funding
  • canceled bounty
  • new tip
  • tip received

items on gitcoin.co/activity

this will be used during livestream and also potentially asynchronously somewhere else.. it could live at gitcoin.co/activity

please see #notif-gitcoin on gitcoin.coslack for inspiriation

Recommended backend architecture

New django app - activityfeed

New DB model -- ActivityFeedItem, inserted in dashboard/notifications example of how the slack activity items are created now

  • type -- varchar, one of the above
  • related_profile (foreign key to profile)
  • related_item (foreign key to either a tip or a bounty)
  • payload (JSON)

Definition of Done

  • an activity feed is programmed into gitcoin.co/activity
  • the activity feed uses the referenced designs
  • responsive designs used (tablet, mobile, desktop)
  • pagination works
  • backend DB is used to store the infromation in a way thats queryable in a performant way

Additional Information

Designs
https://github.com/gitcoinco/web/issues/804#issuecomment-382916898
39023093-ea7adc9a-43f5-11e8-9d59-aafb01fa76ea

Most helpful comment

I'm currently stopped because my laptop dead. The new laptop arrives the tuesday so until then i'll get progress here 😔

All 35 comments

__This issue now has a funding of 0.2 ETH (117.54 USD @ $587.71/ETH) attached to it.__

  • If you would like to work on this issue you can claim it here.
  • If you've completed this issue and want to claim the bounty you can do so here
  • Questions? Get help on the Gitcoin Slack
  • $6066.03 more Funded OSS Work Available at: https://gitcoin.co/explorer

I will take a crack at this.

@mikeymicrophone looking fwd to working with you! design is being firmed up by @jakerockland on the other thread!

I've got the web site running locally and I'll be working on the migration next.

@mikeymicrophone are you still working on this issue?

  • [x] warning 1 (3 days)
  • [ ] warning 2 (6 days)
  • [ ] auto removal (10 days)

@mikeymicrophone are you still working on this issue?

  • [x] warning 1 (3 days)
  • [x] warning 2 (6 days)
  • [ ] auto removal (10 days)

@mikeymicrophone If you are still working on this -> could you leave a comment and open a WIP PR ^_^

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@mikeymicrophone has been removed for inactivity and the issue has been returned to an ‘Open’ Status. Let us know if you believe this has been done in error!

  • [x] warning (3 days)
  • [x] auto removal (6 days)

I'll create a PR if I can figure out the rest of the basic Django tools I need for this feature.

@darkdarkdragon Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] warning (3 days)
  • [ ] auto removal (6 days)

@darkdarkdragon looking forward to seeing this done!

@zoek1 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] warning (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@zoek1 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] warning (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@zoek1 Any update here?

Yes, i added a structure similar to slack notifications to collect activity. I just need to add the style and the pagination. :+1:

@zoek1 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] warning (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@zoek1 due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

  • [x] warning (3 days)
  • [x] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@zoek1 Is this one still in progress? cc @owocki I know a bounty on #1037 is also potentially available in relation to this one

I'm currently stopped because my laptop dead. The new laptop arrives the tuesday so until then i'll get progress here 😔

@zoek1 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] warning (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@zoek1 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] warning (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


__Work has been started__.

These users each claimed they can complete the work by 3 weeks, 1 day ago. Please review their questions below:

  1. darkdarkdragon has started work.

    • Q: no questions so far

@owocki am I missing something or this line
https://github.com/gitcoinco/web/blob/master/app/dashboard/helpers.py#L621
and this one
https://github.com/gitcoinco/web/blob/master/app/dashboard/helpers.py#L628
are the same and second one will never be processed?

yes you are right; my bad!

@darkdarkdragon im going to merge https://github.com/gitcoinco/web/pull/1420 on monday.. are you still interested in this bounty ? (925) is there a PR for it?

@owocki I'm interested. I was not starting to do that one till #1420 is fully approved. Will start now, anyway it will be just page that shows data from Activity table

Thanks i think #1420 is good to go; i just dont want to deploy on Friday

@darkdarkdragon hows this going? we are excited about this internally

@PixelantDesign i think this page could be a good fit to add some sort of 'issues im following' scope to

i wonder if adding some activity modules to the landing page, or to the /results page would help show off how active the platform is

@owocki probably I'll be able to make pr tomorrow

@owocki please review my pr #1732
it doesn't have pagination, but now I'm not sure I've going in the right direction - if you want to embed it in other pages probably I've should put templates into js and receive data through api

added pagination and shiped... https://gitcoin.co/activity

@jakerockland thanks for the design!

⚡️ A tip worth 0.20000 ETH (87.15 USD @ $435.74/ETH) has been granted to @darkdarkdragon for this issue. ⚡️

Nice work @darkdarkdragon! To redeem your tip, login to Gitcoin at https://gitcoin.co/explorer and select 'Claim Tip' from dropdown menu in the top right, or check your email for a link to the tip redemption page.

Issue Status: 1. Open 2. Cancelled


__The funding of 0.2 ETH (87.15 USD @ $435.74/ETH) attached to this issue has been cancelled by the bounty submitter__

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Skyge picture Skyge  ·  3Comments

Makondor2 picture Makondor2  ·  3Comments

thelostone-mc picture thelostone-mc  ·  4Comments

mbeacom picture mbeacom  ·  4Comments

abitrolly picture abitrolly  ·  4Comments