Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#7002 Show activity preview on user profile

forge-jan-24
closed
Cory Johns
User
2
2014-01-22
2013-12-16
Dave Brondsema
No

User profile pages should show a few of the most recent activities (currently plenty of room on the right).

We could look at moving the SF-internal summary page's activity.js to Allura since it does basically the same thing.

Related

Chat: 52dfdd4b0594ca4db44ac663
Chat: 52dfdd4b0594ca4db44ac666
Chat: 52dfdd4b0594ca4db44ac669
Chat: 52dfdd4b0594ca4db44ac66c
Chat: 52dfdd4b0594ca4db44ac66f
Chat: 52dfdd4b0594ca4db44ac672
Chat: 52dfdd4c0594ca4db44ac675
Chat: 52dfdd4c0594ca4db44ac678
Chat: 52e04fae0594ca25f3afc393
Chat: 52e04fae0594ca25f3afc396
Chat: 52e0540f0594ca25f3afc3b1
Chat: 52e0540f0594ca25f3afc3b4

Discussion

  • Cory Johns
    Cory Johns
    2014-01-15

    allura:cj/7002
    sftheme:cj/7002

    The ProfileSection system supports disabling and ordering via config (disable_entry_points.allura.user_profile.sections and user_profile_sections.order, respectively). The existing data on the profile should eventually be refactored to use the same system so that the entire profile can be configured as desired.

    Edit: Improved caching and added docstring (force-push on allura:cj/7002)

     
    Last edit: Cory Johns 2014-01-16
  • Looks good, but there's a test failure on nosetests allura.tests.functional.test_user_profile:TestUserProfile.

    Also, do you think we should add the activitystream.enabled config check to check_display()? I guess personally I don't care whether it's visible before AS is turned on site-wide, but not sure if anyone else does.

     
    • Cory Johns
      Cory Johns
      2014-01-21

      I was assuming we'd disable the entry-point, but making it conditional so we can test it in prod would definitely be better. I'll do that.

       


Anonymous


Cancel   Add attachments