Uncover your story with Eco-growth Discovery, a PowerPoint Add-in designed to explore data and narratives.
The add-in now integrates with the Jules API to fetch and display "sources" directly within PowerPoint.
- Authentication: Uses
Office.auth.getAccessToken()to securely retrieve an OAuth2 token. - Data Retrieval: Fetches sources from
https://jules.googleapis.com/v1alpha/sourcesusing the authenticated token. - Visualization: Dynamically renders the retrieved sources in the task pane.
- Run
npm installto install dependencies (includingjestfor testing). - Run
npm startto start the local development server on port 3000. - Run
npm testto execute unit tests. - Side-load the
manifest.xmlin PowerPoint to start using the extension.
index.html: The main task pane UI.index.js: Core logic for authentication, API calls, and UI rendering.api.test.js: Unit tests for the API integration.