Menus with unread count: mark, unmark, open all unread

This commit is contained in:
relikd
2018-08-18 16:04:19 +02:00
parent aa173c59f8
commit a99688c7aa
12 changed files with 653 additions and 213 deletions

View File

@@ -31,6 +31,7 @@
<attribute name="subtitle" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="summary" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="title" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="unread" optional="YES" attributeType="Boolean" defaultValueString="YES" usesScalarValueType="YES" syncable="YES"/>
<relationship name="feed" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Feed" inverseName="items" inverseEntity="Feed" syncable="YES"/>
<relationship name="tags" optional="YES" toMany="YES" deletionRule="Cascade" ordered="YES" destinationEntity="FeedTag" inverseName="feedItem" inverseEntity="FeedTag" syncable="YES"/>
</entity>
@@ -41,7 +42,7 @@
<elements>
<element name="Feed" positionX="-209" positionY="-3" width="128" height="210"/>
<element name="FeedConfig" positionX="-20" positionY="-126" width="128" height="180"/>
<element name="FeedItem" positionX="-20" positionY="81" width="128" height="165"/>
<element name="FeedItem" positionX="-20" positionY="81" width="128" height="180"/>
<element name="FeedTag" positionX="187" positionY="171" width="128" height="75"/>
</elements>
</model>