avniproject / avni-media Goto Github PK
View Code? Open in Web Editor NEWNext.js application to view Media files for an organization
License: GNU General Public License v3.0
Next.js application to view Media files for an organization
License: GNU General Public License v3.0
On the Image Viewer listing page user should be able to filter image. Image can be filtered on the following parameters:
For rules-server, ensure that required properties that are given as CLI args are setup in a cong file and used while initializing pm2 env.
Configure avni-media-user to be able to have commands executed without this hack in .bashrc files of avni-media-user and ubuntu.
Setup separate config file to be used by PM2 for running avni-media client, server and rules-server apps
It can be achieving by creating ecosystem.config.js as Jinja 2 template file and adding necessary envs and startup script(app.js) in it, and using the ecosystem.config.js to start the node process
I am not able to see any images nor am I able to apply filters.
RWB project.
Thank you.
On the Image Viewer listing page user should be able to filter image. Image can be filtered on the following parameters:
Dev Notes:
List of action includes -
Note: We are filtering based on DB variable, not tags on the images.
Total number of photos (when filter is applied or not)is not there.
This feature should be there but is missing.
The fields dropdown on search can get pretty big. It will be useful to introduce a search on the text box.
Describe the bug
prerelease-generate-thumbnails-bulk Lambda doesnot run correctly.
To Reproduce
Steps to reproduce the behavior:
https://ap-south-1.console.aws.amazon.com/lambda/home?region=ap-south-1#/functions/prerelease-generate-thumbnails-bulk?tab=code
Expected behavior
prerelease-generate-thumbnails-bulk Lambda should run successfully.
As a media viewer used, I would like to be able to filter images by the image concept name so that I can narrow down the list of images to what I want.
eg: In RWB, I would like to get all the pre and post perspective images alone so that I can use them in a report. Currently, it shows everything for a subject, so I get all daily images when I filter by subject. This is about 60 times the number of images that I would want to see. Filtering by concepts helps me narrow it down significantly.
The way Media Viewer is implemented, it is very hard to choose multiple images to download. Here are a few usecases that require bulk download that are missing
To handle the above scenarios, the following are required
Typically, every subject is linked to some encounter types, and some programs. Some encounter types are directly related only to the program.
Currently everything is shown always, which does not make sense, and can lead to incorrect choices
See video below. The fields option is not getting cleared when the question is changed.
As we have converted ETL to a service and introduced API to be consumed by Media-services, it would be useful in future to have
It will be useful to get the details of when an image was created so that more details of the image can be figured out
Add an option for the user to select the number of images on the media viewer listing page.
Make the media viewer application UI, top nav bar, similar to avni-webapp. Avni-webapp doesn't have Avni logo on it.
Avni Media Viewer
instead of Avni LogoIn the media viewer application, on the listing page and carousel page the name should show based on filters.
The filter criteria is showing voided values
for eg:
for Subject- Activity, Field - Measure Type, I can see Numbers that are voided.
These voided values should not be visible to the users.
Add a numeric filter. Change only the min value and hit Filter.
Notice that the min value does not go in the search network request
There is no way to see the the form associated with the photograph.
This was mentioned in the call too.
Analyse the current logging in the media viewer application. Add additional logging where ever needed.
Images are shown on the encounter type dropdown so some encounter are getting behind the image
same applies for
[Uploading... Screenshot 2023-05-26 at 9.01.57 AM.png]
Describe the bug
In Media-viewer application, RWB org user is reporting that he is not able to see all the images in the rwbngos2023 organization.
Specifically, they want to see images in Subject("work order") "Registration" form.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
User has the ability to apply "SubjectType" and "Registration" form filters.
Additional context
This feature is applicable only for organisations which have "HasAnalyticsDB" enabled for them after which ETL has been run atleast once.
Media Viewer app is showing for every organisation .. It should be show where we want.
for this we need to create flag type thing.
which we can on or off
Only the users authenticated on avni-webapp should be able to access the media viewer application.
Media viewer application will be an independent application. We need to provide the access point of this application from the avni-webapp.
Add an option to the media viewer page to put description when the user selects and downloads images. Use these description to name the zip file.
Describe the bug
While testing the Avni digitialization application I uploaded 2 photos today (28th july). I logged on to media viewer using the web portal:-
https://app.avniproject.org/avni-media?orgID=356&username=shivangi@gvamp_uat
but was unable to see these photos
To Reproduce
Steps to reproduce the behavior:
These were viewable when clicked but could not see them on media viewer.
Filtering by field (after choosing a subject) is not working
Tried also with field as "Tola/Mohalla" and gave a text field for it. For that too nothing changed when "Apply Filter" was pressed.
Add concept search filter in media viewer
Moving to One image to another on carousel there is long button is coming on screen we need to remove that button
For organisations with videos and other file types, the browser as well as the carousel breaks.
While png images are directly downloadable, others are shown directly on the app. This is inconvenient.
Add the ability to download consistently.
If the above is not possible, then open in a new tab
There few updates needed in the UI of the media viewer application
I am not able to see all the images in the rwbngos2023 organization.
Also filtering is not open for all subjects/encounters?
I want to see images in work order registration but I am not able to.
Thank you
Workorder registration images are available, but filtering by the image type is missing. Because of this, you are not able to see them in the list.
As a media viewer used, I would like to be able to filter images by the image concept name so that I can narrow down the list of images to what I want.
eg: In RWB, I would like to get all the pre and post perspective images alone so that I can use them in a report. Currently, it shows everything for a subject, so I get all daily images when I filter by subject. This is about 60 times the number of images that I would want to see. Filtering by concepts helps me narrow it down significantly.
Bulk thumbnail creation process fails when an error occurs while creating thumbnail for image.
The desired date format is dd-mm-yyyy. Update the following media view application pages
When any file is added to *-user-media bucket, the lambda to generate a thumbnail instantly is triggered as expected. This includes the adding of the thumbnail file as well. However, the lambda processes the thumbnail file as well and creates a 'thumbnails' file within the thumbnails sub directory.
Expected behaviour:
Lambda should stop executing immediately if it is processing a file within the thumbnails folder.
When a field of a subject is selected for filtering and then when one decides not to use that filter, there is no way to deselect the field filter.
The subject and value filters one can deselect but field filter is not showing that option
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.