Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(resources): significant refactor and improvements #177

Merged
merged 45 commits into from
Oct 5, 2023

Conversation

chrismclarke
Copy link
Collaborator

@chrismclarke chrismclarke commented Sep 20, 2023

Description

Improvements to the resources tool to make it easier to include downloadable resources in other app tools, such as upcoming direct-to-farmer pages. It also includes considerable refactor to the resources tool itself to integrate the newer picsa database format providing better code maintainability and features, and several UI enhancements. Additional changes:

  • Refactor resources module to make it easier to add custom layouts for different resource types
  • Add custom layout for video resources that uses integrated video player (previously opened externally)
  • Add support for video preview thumbnails
  • Add support for downloading resources on web (previously could only open in new tab, requiring browser to download each time)
  • Improved internal system to handle resource downloads on web and native, tracking in a more reliable way what has and hasn't been downloaded
  • New download manager page to allow user to manage file downloads
  • Resources tool visual improvements and code tidying

Discussion

No specific feedback required, just some general information that might be good to be aware of:

  • Resources can now be downloaded on web for easier display during workshops
  • Video resources can be played directly from within the application

Preview

Link to app preview if relevant

Screenshots / Videos

Resources home now has link to download manager
localhost_4200_(PICSA-Tablet) (2)

Download manager tracks all resources and allow resource download or delete to free up storage
localhost_4200_(PICSA-Tablet) (3)

Resource collection pages separate out child collection, file and link resources
localhost_4200_(PICSA-Tablet) (4)

Video resources can now be downloaded and played directly within the app (demo download, play and delete)

Resources.webm

@chrismclarke chrismclarke changed the title Refactor(resources): videos and custom layouts Feat(resources): significant refactor and improvements Oct 5, 2023
@chrismclarke chrismclarke marked this pull request as ready for review October 5, 2023 00:49
@chrismclarke chrismclarke merged commit ee37eb1 into main Oct 5, 2023
2 checks passed
@chrismclarke chrismclarke deleted the refactor/resources-2 branch October 5, 2023 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant