Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liking is sharing #208

Closed
wants to merge 13 commits into from
Closed

Liking is sharing #208

wants to merge 13 commits into from

Conversation

hsztul
Copy link
Member

@hsztul hsztul commented Nov 26, 2013

This touches the Frame Model, GT::Framer, Frame Controller, and all associated tests.

@iceberg901 can go over in person to run through it all after lunch?

@ghost ghost assigned iceberg901 Nov 26, 2013
@spinosa
Copy link
Member

spinosa commented Nov 26, 2013

please grab me after lunch @Sztul, i'll join you guys to understand and
review

danSpinosa.com
shelby.tv/spinosa learn about your world

On Tue, Nov 26, 2013 at 10:59 AM, Henry Sztul notifications@github.comwrote:

This touches the Frame Model, GT::Framer, Frame Controller, and all
associated tests.

@iceberg901 https://github.com/iceberg901 can go over in person to run

through it all after lunch?

You can merge this Pull Request by running

git pull https://github.com/ShelbyTV/shelby_gt liking-is-sharing

Or view, comment on, or merge it at:

#208
Commit Summary

  • adding a type to frames and starting to follow the trail down the
    river
  • passing option to add frame type throught to create frame in framer
  • fixing broken tests
  • Merged in 'master'
  • adding frame type to view and enabling light weight share when
    creating a frame as an option
  • adding a comment

File Changes

Patch Links:

@@ -10,7 +10,7 @@ end

if @include_frame_children

attributes :id, :score, :upvoters, :view_count, :frame_ancestors, :frame_children, :creator_id, :conversation_id, :roll_id, :video_id, :like_count
attributes :id, :score, :upvoters, :view_count, :frame_ancestors, :frame_children, :creator_id, :conversation_id, :roll_id, :video_id, :like_count, :type
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to find other places where the API is returning frames to the client and add in the :type attribute (definitely C code, but sometimes also you'll find funny rabl templates that don't re-use the canonical one for the object in question)

Settings::Channels['community_channel_user_id'] = @community_channel_user.id.to_s
@user = Factory.create(:user)
@roll = Factory.create(:roll, :roll_type => Roll::TYPES[:special_public_real_user], :creator => @user)
@frame = Factory.create(:frame, :roll => @roll, :creator => @user, :video => @video)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't see what we're using these new @ variables for, can you enlighten me @hsztul?

@hsztul hsztul closed this Nov 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants