Bookmarks in web app (#177)

* Bookmarks api

* Lint fix

* first pass

* Lint fix

* comment

* bookmarks, loading feedSources, and pagination

* comment

* null check

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
Brahim Hadricheandgithub-action linter authored and GitHub committed 2023-10-23 20:39:44 -04:00
1 parent 58ce2d6396
commit 57fa1c5c3f
23 files changed
+510 -192

No files matched your search

@@ -73,16 +73,15 @@ function SetRowListContent(bookmarksContent as object)
feeds = []
for each bookmarkGroupNode in bookmarkGroupNodes
bookmarkNodes = bookmarkGroupNode.getChildren(-1, 0)
feed = {
title: bookmarkGroupNode.title,
feedSources: []
}
feedSources = []
for each bookmarkNode in bookmarkNodes
feed.feedSources.push(bookmarkNode.feedSource)
feedSources.push(bookmarkNode.feedSource)
end for
feeds.push(feed)
feeds.push({
"title": bookmarkGroupNode.title,
"feedSources": feedSources
})
end for
m.rowList.feeds = feeds