casparss / racket-meetup-mobile

Racket Meetup is a tennis social media app built in Typescript with Angular 5 on Ionic 4
0 stars 0 forks source link

All Games #26

Closed casparss closed 7 years ago

casparss commented 7 years ago

Summary

The show more button takes the user to a games screen consisting of a toolbar header with values: "Pending", "Upcoming", "Previous" and "Cancelled", the behaviour of each tabs as follows:

Technical implementation

Back-end considerations

The back-end API will use range querying, which requires all previously queried IDs to be stored as a list and used in every lazy load query to be used to signify the results which are not to be returned, so a list will need to be maintained in the query service, for each session of the all games component.

Filtering tabs

Filtering will now be done server side apart from the pending tab which will have some client side filtering for its sub-categories. 4 observables will be exposed for each filter category and it should be easy to switch the view to read from one or the other - a service will provide methods for querying each and will directly update the corresponding observable. As mentioned, 'pending' tab will use some filtering of its own to build the 'needs attention' and 'challenged others' categories - this should be easily achievable with some lodash magic.

Lazy loading implementation

Using HostListener decorator, it should be straight forward to build a lazy load trigger on the list container via a directive, example here.

Todos

Stretch goals

casparss commented 7 years ago

Further considerations

Badges

casparss commented 7 years ago
casparss commented 7 years ago

All completed for MVP