xh / toolbox

🧰 Hoist React reference app
https://toolbox.xh.io
Other
8 stars 1 forks source link

Port over PIQ news feed as full-stack demo #49

Closed amcclain closed 6 years ago

amcclain commented 6 years ago

(In general we plan to collapse the PIQ application into Toolbox, supplementing the current top-level Toolbox "component library" tabs with a few tabs that show more full-featured demos. I suggest this ticket as an initial project.)

The Sencha-toolkit version of PIQ has a NewsService that fetches real-world news articles from newsapi.org - see:

https://github.com/exhi/piq/blob/d88c450b6f023a23f7e5204d93e5b958c2764955/grails-app/services/io/xh/piq/app/NewsService.groovy#L11

Would like to bring this same server-side support to Toolbox (with any updates that seem prudent or desirable). It could then be paired with a client-side "News Demo" tab that presents all available articles in a grid, potentially with a master/detail view, a set of relevant filters by source, and a simple search feature.

The overall goal is to present a realistic full-stack example of fetching data from a remote API, providing caching and data-processing on the Grails server, and then presenting the data in a nice-looking client-side example of well-integrated components and best practices.

Add-ons

lbwexler commented 6 years ago

Closing this, as the core of the work is done! See that the new ticket relating to Status Monitors refers to it.