Reload functions#3
Merged
Merged
Conversation
- ExcelJsGenerator now generates dynamic JS: fetches /functions.json at runtime and calls CustomFunctions.associate() per function using a generic ...args handler + parameter name mapping from metadata - functions.js polls OfficeRuntime.storage every 2s for a "cf-reload-signal" key; on detection it re-fetches and registers any newly added functions without reloading the add-in - taskpane gains a "Reload Functions" button that writes the reload signal to OfficeRuntime.storage and re-renders the function list - remove now-unused `functions` parameter from ExcelJsGenerator.generate - update tests to match new dynamic JS shape Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- extract taskpane CSS and JS into src/main/resources/ as proper files - extract functions-core.js into src/main/resources/ - serve /taskpane.css and /taskpane.js as separate routes - delete ExcelIcon.scala (PNG generator); replace with a single inline SVG - update manifest to point all icon resids to /icon.svg Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.