Comments (11)
Moving to 4.0.1.
from wordpress-ios.
Moving to 4.1.
from wordpress-ios.
@aerych - thoughts on tackling this for an upcoming release?
from wordpress-ios.
Moved to 4.2. There are several things in front of this but we'll get to it.
from wordpress-ios.
@aerych - is this on the radar for 4.2?
from wordpress-ios.
Pushing to 4.3
from wordpress-ios.
Moving to 4.4
from wordpress-ios.
Heya, @koke @astralbodies and @jleandroperez :)
As a part of the solution for this issue I want to simplify our core data schema for comments. AbstractComment
and ReaderComment
should go away in favor of making Comment
the definitive model. I'd really appreciate an early set of eyes on my working branch so I can squash any issues with core data sooner than later.
In particular:
- Dropping
AbstractComment
andReaderComment
from the schema requires a mapping mapping model to keep core data happy when upgrading. I've created the mapping model and tested upgrading via the simulator. It seems to be working but I'm not sure I haven't missed something important. - On the
Comment
model, I've made theblog
relationship optional, and changed thepost
relationship to point toBasePost
. Relations do not have to be homogenous and this lets a comment belong to either aPost
orReaderPost
model. - On the
CommentService
I really was trying to keep the post centric methods more generic but I don't see away around referencingReaderPost
directly. Its probably fine, but I'm open to a different approach.
Thanks guys!
from wordpress-ios.
Less class'ess. Less code, simplier Data Model. +1 Love the idea!
from wordpress-ios.
On the CommentService I really was trying to keep the post centric methods more generic but I don't see away around referencing ReaderPost directly. Its probably fine, but I'm open to a different approach.
I think it's OK as it is, but if you want to, you could extract the merging into a mergeComments:withExistingComments:completionHandler:
, then pass either blog.comments
or post.comments
. Then replace the findComment*
methods with findCommentWithID:inExistingComments:
from wordpress-ios.
but if you want to, you could extract the merging
I like that. :) The more generalized the better!
from wordpress-ios.
Related Issues (20)
- Selected notification row displays incorrect background color when device is in landscape orientation HOT 1
- Comment likes count becomes inaccurate when the notification like action is tapped in quick succession HOT 1
- [iPad] Back Button Incorrectly Visible on Reader Details Screen When Accessed from Notifications HOT 1
- EXC_BAD_ACCESS: Exception 1, Code 1, Subcode 0 > HOT 1
- NSRangeException: *** -[__NSArray0 objectAtIndex:]: index 0 beyond bounds for empty NSArray HOT 1
- Reader: Swap blogs and tags pill order HOT 2
- EXC_BREAKPOINT: Exception 6, Code 1, Subcode 7075442140 HOT 1
- EXC_BREAKPOINT: view HOT 3
- Stats: Crash in remote service when accessing date formatter HOT 3
- SIGABRT: _outputInternal->figCaptureSession == NULL > -[AVCaptureOutput attachToFigCaptureSession:]_block_... HOT 1
- EXC_BAD_ACCESS: , category = > , message = > [] reason = Cannot allocate memory (12 from category: generic), nu... HOT 3
- SIGABRT: Assertion failed: (0 && "vm_allocate failed"), function vm_allocate_bytes, file Allocator.cpp, li... HOT 3
- Test issue (will delete) HOT 1
- [iPad] Liking Comments in Notifications Screen isn't Reflected in Detail Screen HOT 2
- [Reader] Make sure the Application Closed event is correctly tracked HOT 1
- Reader: Expand the filter bottom sheet's height as the user scrolls the list HOT 1
- Improve navigation bar hide animation HOT 1
- Stats Insights: Total Comments details shows a different value HOT 1
- [Reader] Rename the Edit button label to Manage HOT 1
- Cannot comment on blogs I follow HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpress-ios.