Content

Bug #605

Preware 2: implement feed management

Added by Achim Königs almost 5 years ago. Updated almost 5 years ago.

Status:Closed Start date:09/10/2014
Priority:Normal Due date:
Assignee:Brent Hunter % Done:

100% Total progress

Category:-
Target version:Black Tie

Description

Feed management is still missing in the UI (i.e. need to build dialog for that, in the menu there is already an entry that opens a stub dialog).

This is what is currently there: https://github.com/webOS-ports/preware/blob/master/source/ManageFeedsDialog.js

Backend should support feed management. The feeds dialog already get's signals, whenever the feed configuration is loaded from ipk service ( https://github.com/webOS-ports/preware/blob/master/source/ManageFeedsDialog.js#L53 ). So the UI should be filled in that cases (maybe use collections and datarepeaters for that?)

Configs can probably be enabled / disabled / added using https://github.com/webOS-ports/preware/blob/master/source/model/IPKGService.js#L63

After changing feeds the feed info should be updated: https://github.com/webOS-ports/preware/blob/master/source/model/feeds.js#L13
(maybe that also triggers stuff in main UI.. )
See also here: https://github.com/webOS-ports/preware/blob/master/source/UpdateFeeds.js
That is what (down-)loads feed information on startup / reload feeds press.


Issue Hierarchy ()

History

Updated by Brent Hunter almost 5 years ago

  • Assignee set to Brent Hunter

Updated by Simon Busch almost 5 years ago

  • Project changed from Apps to LuneOS

Updated by Brent Hunter almost 5 years ago

  • Target version set to Black Tie
  • % Done changed from 0 to 100
  • Status changed from New to Closed

I wound up re-implementing the manage feeds dialog using an AroundList instead of a DataRepeater and collections.
The reason for doing this is that DataRepeater does not support swipable at this point, so I needed to use an AroundList to implement swipe to delete functionality.

As a side effect, the new feed section is now at the top of the dialog. This is because aroundlist only supports content above the list. It looks like there is initial support for content below the list, but the list currently just renders over top of this content.

Also available in: Atom PDF