Repository navigation
Fixes and improvements - #428
Open
Chenglong Wang (Chenglong-MS) wants to merge 151 commits into
Open
Chenglong Wang (Chenglong-MS) wants to merge 151 commits into
Chenglong Wang (Chenglong-MS) wants to merge 151 commits into
Conversation
Add orcarouter to the built-in providers so Data Formulator users can connect the OrcaRouter AI gateway from the model picker and via ORCAROUTER_* environment variables, mirroring the existing ollama/openai wiring. The client routes through LiteLLM's openai provider against the OrcaRouter base URL, preserving the orcarouter/ model namespace.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…ovider feat: add OrcaRouter as a built-in model provider
Adds full Hindi translations for all 10 i18n domain files, following the translation guide's rules (chart type identifiers, encoding channel keys, and other computation-bound values stay in English). Registers hi in the locale index/i18next resources and language switcher labels, and documents AVAILABLE_LANGUAGES=en,zh,hi as opt-in in .env.template. Relates to #337.
folderPathPlaceholder illustrates filesystem path syntax; translating the segment words broke the example and was inconsistent with how every other path/URL placeholder in the app is left untranslated.
Add Hindi (hi) locale for frontend i18n
list_tables and fetch_data_as_arrow already build _jail on demand. ls and get_metadata did not, so on an instance that has not run test_connection they evaluate None / str and raise TypeError, which their own except ValueError handlers do not catch. Adds the same two-line guard the siblings use, bringing all four _jail callers to one pattern.
The wrapper embeds user-supplied code, so on a system whose preferred encoding is not UTF-8 (cp1252 on Windows) writing it raised UnicodeEncodeError for any non-ASCII character, and silently transcoded the rest -- the container reads run.py as UTF-8 either way. Matches the explicit encoding already used elsewhere in the package, e.g. reasoning_log.py and analyst/skills/__init__.py.
The constant table listed DEFAULT_ROW_LIMIT_EPHEMERAL in dfSlice.tsx. That identifier does not exist anywhere in the repository, and there is no separate ephemeral row limit in the frontend.
…hemeral-row docs(dev-guides): drop the nonexistent DEFAULT_ROW_LIMIT_EPHEMERAL row
fix(sandbox): write the docker wrapper script as utf-8
- ConfinedDir.resolve confines with normpath/realpath + startswith (same checks, recognised by CodeQL) - Rename the MCP server config variable named `oauth` (read as a credential by CodeQL) - OpenRouter callback page uses the stored flow id; workflow name regex anchored and length-capped - Sandbox allowWrite validation uses os.path; workflow list hides OSError text (server file paths) - generateUUID: drop Math.random fallback and fix NaN digits in the getRandomValues path Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Adds a built-in semantic loader for Google Search Console, modeled on the Cube connector: one connection per property, Search Analytics dimensions and measures as columns, structured queries compiled to one searchAnalytics.query call. Auth uses application default credentials or a service account file with the read-only webmasters.readonly scope. Refs #156.
Adds a 7-day Dependabot cooldown for GitHub Actions. Based on #476. Co-authored-by: Dan Fiedler <danfiedler-msft@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
feat: add Google Search Console data loader
…-max-flags docs(development): add the scratch size flags to the CLI Flags Reference
site_url is now optional. Left empty, the connection lists every property the identity can read (sites.list, unverified ones excluded); set, it still pins one property. test_connection fails when no property is readable. The generic loader test now accepts IDENTITY_PARAMS in place of a required param, since an account-level source is identified by its credentials. Guide Scope paragraph updated in all locales. Follow-up to #521.
| if origin in _discovery_cache: | ||
| return _discovery_cache[origin] | ||
| try: | ||
| response = requests.get(origin + _API_PATH, timeout=10, allow_redirects=False) |
| document.getElementById("copy").addEventListener("click", function (event) {{ copy(event.currentTarget); }}); | ||
| }})(); | ||
| </script></body></html>""" | ||
| response = Response(page, mimetype="text/html") |
…e previews Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
DEFAULT_LOOK in looks.ts replaces the hard-coded 'soft' fallbacks (theme, app runtime, settings reset). There is no per-deployment default. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…data folders
- Demos differ only in their data: profile `sources` lists deployment
connectors ({connector: id}) and bundled data folders ({folder, name});
a demo offers only those (no example datasets, no user connections or
linked folders). full_app and the limited-demo mode are removed.
- Each demo is its own scope: sessions, workflows, schedules and personal
connections are kept apart from the standard app's; profiles choose models
and workflows. "Open in Data Formulator" copies a session into the app.
- Shared demo build steps in sites/builder.py; dataset tables are recorded
as loaded from the demo's source and refresh from it. UNESCO and NeurIPS
write data folders (sites/data_folder.py).
- New Power Apps demo (Dataverse); admin connectors can auto_connect.
- DF_DEMOS chooses the demos a server offers; DF_DEFAULT_MODEL picks the
first-listed model.
- Landing: sources line under the chat, example session reopen dialog,
centred logo lockup; demo SVG/JSX files ship in the package.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…nt-level feat(search-console): account-level connection
DataConnector previously passed only the access token when resolving service credentials from TokenStore. A cached loader could therefore lose access when its token expired, even though the session still held a valid refresh token. Add TokenStore.get_loader_credentials() to return the access token with its matching refresh token for the same service. DataConnector passes these credentials to the loader so it can use its existing refresh logic. Add a Superset regression test that reads the same dataset before and after access-token expiry and verifies that the cached loader refreshes once and continues reading without reconnecting.
This branch has not been deployed
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.
This pull request introduces several improvements and refinements to the Data Formulator agent and context handling, focusing on clearer terminology, enhanced connector and skill management, and dependency updates. The most important changes are summarized below.
Agent and Context Terminology Improvements:
Connector Availability and Summary Enhancements:
Skill Preloading and System Prompt Improvements:
Dependency Updates:
vite,dompurify,echarts,js-yaml, and new resolutions forpostcss,esbuild, andtmp. [1] [2] [3]Documentation Cleanup:
docs/desktop-portable.mdfile has been removed.loops/model-evaluation/plan.mdhas been deleted.