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

FDAi Act, Chrome Extension, Amazon Extractor #145

Merged
merged 24 commits into from
Mar 4, 2024

Conversation

mikepsinn
Copy link
Contributor

No description provided.

mikepsinn and others added 24 commits February 23, 2024 14:01
The .env.example file has been updated to include necessary details for AWS S3, such as ACCESS_KEY, SECRET_ACCESS_KEY, REGION, and BUCKET_NAME. Additionally, a new S3 upload script has been created under 'scripts' directory. This script allows recursive reading and uploading of directory contents to S3. Necessary dependencies have also been added to package.json and yarn.lock files.
Introduced a new script that deletes all files from the specified AWS S3 bucket to clean before uploads. Updated the S3 upload script to load environment variables and adjust paths suitable for all operating systems. Enhanced the MIME types script to skip non-css files, hence reducing unnecessary iterations.
Modified the Presentation Controller's functionality to handle music play/pause actions and updated the music file path in qmStates.js. The new implementation in the Presentation Controller accommodates the music parameter changes in qmStates.js which has been updated from a boolean to the mp3 file path "sound/air-of-another-planet-full.mp3". Now, the application uses this path to handle and play the correct background music.
…Agent

The FDAi Act document is updated extensively to provide a comprehensive explanation of the envisioned AI Agent. Modifications were made to clarify the objectives, development strategies, and key features of the AI Agent, with the addition of future features and relevant technical specifications. Also, the document alterations include potential ways to gauge the success of the Agent with specified evaluation metrics. The revisions aim to offer a clear, detailed guide for the FDAi Act's implementation.
A new section has been added to the FDAi Act document outlining potential savings from preventive health measures facilitated by AI. This includes a detailed framework for estimating these savings, key assumptions about healthcare spending, AI intervention efficacy, and adoption rates, as well as a calculation and conclusion.
Introduced a new `AnalyzingCtrl` to the application. Updated `index.html` to include the new controller script. Made several modifications in the `presentation.html` template such as adding new canvas elements and a few control buttons. Also added two new files: `analyzingCtrl.js`, which defines the new controller, and `analyzing-page.html`, a new template associated with the controller.
Added a new state for the "app.analyzing" route in `qmStates.js`. Also, updated the conversation content in `slides-convo.js` to make it more streamlined and user-friendly. This new content will provide a better explanation to the user about their health conditions and the suggested actions.
Added functionality to manage audio playback in the presentation controller. This includes initializing and destroying the audio instance when transitioning between slides. We also introduced a fadeout function for smoother audio transitions. Additionally, minor changes were made to video playback and slides properties for improved user experience.
Modified robot.css to adjust the robot's on-screen position. Updated conversation script in slides-convo.js to make content more detailed and enhancing dialogues. Introduced new style rules in app.css for presentation-title class. Commented out a music file in qmStates.js.
The update introduces a human representation by adding a new human container, head, body, and mouth in the UI. It also includes the addition of a new talking feature for the human representation supported by speech synthesis. Moreover, CSS styles and an ignore rule for public video directory have been added. A new public CSS file for closed-captioning is incorporated as well.
Renamed class selectors in the robot CSS file to improve code clarity and maintainability. Stripped out the unnecessary, duplicated robot-related styles from the app CSS. These changes should improve the efficiency and readability of the affected CSS code.
The human.html template has been significantly expanded with more detailed components for human figure animation. The corresponding human.css file was added containing accompanying style definitions for the enhanced animation features. The changes include more detailed human body part divs in the HTML and animated keyframe triggers in the CSS.
Enhanced human animation functionality by expanding the human.html template with new detailed components and updated the CSS file for styling these components. Also revised the control of human speech by removing mute/un-mute buttons and introducing new functions for mouth openness control in human.js. Additionally, a toggle function in human.js for showing and hiding the human animation has been implemented.
Additional features have been added for both robot and human animations, including the introduction of text on robotic and human torsos. Autoplay functionality in qmStates data file was also adjusted. In terms of speech control, adjustments were made to human speech handling with the implementation of new functions for mouth openness control in the human.js file. Other updates include text modification in conversation data and debug and log improvements in the qmHelpers file.
Various CSS updates were done to improve the layout and animation of human and robot characters. Log messages relating to the actions of 'speechSynthesis' and visualizer types have been commented out in the qmHelpers.js file to declutter the console. Lastly, in presentationCtrl.js, the video behavior during slides presentation was refined including a mechanism to better handle video errors.
The code changes involve several updates in the presentation functionalities, focusing on how slides are manipulated and displayed. This includes adjusting the default values of variables, refining the event handling in the presentation, and modifying the behavior of audio playbacks. Moreover, changes in UI elements, such as the triangle icons and background images display, have been made to enhance the user interface. Minor adjustments were also made in the app's CSS file.
This commit introduces a new `presentation.html` file for displaying a presentation, along with related JavaScript functionality in `render-presentation.js`. A set of slides with content have been defined in `slides-v1.js`. Notably, the rendering function creates HTML structure for each slide, including handling of different types of content such as title, image, video, and text. The presentation page also includes necessary CSS styles for presentation layout and elements.
…xtension

Added functionality to handle Amazon product details extraction and saving to localStorage, login navigation process, and retrieving access token from Quantimodo. Introduced event listeners for clicks on the Context Menu, the extension button, and tab updates. New content scripts were added and permissions were updated in manifest.json. Enhanced background.js by creating context menu item and redirect function. This also includes storage logic for access token.
Two new variables, 'showImages' and 'censor', have been introduced into 'render-presentation.js' to allow for better management of image and video displays, as well as for censoring specific content in the robot's speech. The code for 'slides-v1.js' was also adjusted to streamline its structure and improve the clarity of the presented text.
…ing and HTML elements in `popup.css` and `popup.html`, with changes aimed to enhance the extension's user interface. The commit also includes a change to `popup.js`, where the id of a button element event listener is updated for functionality.
@mikepsinn mikepsinn merged commit ad04c72 into curedao:develop Mar 4, 2024
Copy link
Contributor

sweep-ai bot commented Mar 4, 2024

Apply Sweep Rules to your PR?

  • Apply: All new business logic should have corresponding unit tests.
  • Apply: Refactor large functions to be more modular.
  • Apply: Add docstrings to all functions and file headers.

This is an automated message generated by Sweep AI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant