Skip to content

Commit 816e34c

Browse files
Merge pull request #3429 from quadratichq/qa
QA Sept 9th
2 parents d4e49cd + d37e2e7 commit 816e34c

File tree

41 files changed

+364
-187
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+364
-187
lines changed

.github/workflows/production-deploy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,6 @@ jobs:
286286
service:
287287
- name: client
288288
url: "https://app.quadratichq.com/version.json"
289-
# - name: api-heroku
290-
# url: "https://api.quadratichq.com/health"
291289
- name: api-aws
292290
url: "https://api-aws.quadratichq.com/health"
293291
- name: multiplayer

.github/workflows/qa-deploy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,6 @@ jobs:
298298
service:
299299
- name: client
300300
url: "https://qa.quadratic-preview.com/version.json"
301-
# - name: api-heroku
302-
# url: "https://quadratic-staging.herokuapp.com/health"
303301
- name: api-aws
304302
url: "https://api-pr-qa.quadratic-preview.com/health"
305303
- name: multiplayer

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
"Plotly",
141141
"pointerupoutside",
142142
"Pooler",
143+
"Posthog",
143144
"prec",
144145
"presigner",
145146
"profraw",

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ edition = "2024"
1515
description = "Infinite data grid with Python, JavaScript, and SQL built-in"
1616
repository = "https://github.com/quadratichq/quadratic"
1717
license-file = "LICENSE"
18-
version = "0.18.0"
18+
version = "0.18.1"
1919

2020

2121
[profile.release]

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.18.0
1+
0.18.1

docker/client/config/default.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ server {
55
root /usr/share/nginx/html;
66
index index.html;
77

8-
location ~* \.(whl|js|css|json|wasm)$ {
8+
location ~* \.(png|wasm|whl|js|svg|css|fnt|ttf|gif|zip)$ {
99
add_header Vary Accept-Encoding;
1010

11-
add_header Cache-Control "public, max-age=30" always;
11+
add_header Cache-Control "public, max-age=31536000, immutable" always;
1212

1313
add_header Cross-Origin-Opener-Policy "same-origin" always;
1414
add_header Cross-Origin-Embedder-Policy "require-corp" always;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "quadratic",
3-
"version": "0.18.0",
3+
"version": "0.18.1",
44
"author": {
55
"name": "David Kircos",
66
"email": "david@quadratichq.com",

quadratic-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "quadratic-api",
3-
"version": "0.18.0",
3+
"version": "0.18.1",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

quadratic-api/src/ai/docs/PythonDocs.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const PythonDocs = `# Python Docs
1+
export const PythonDocs = `# Python Documentation for Quadratic
22
33
You can reference cells in the spreadsheet to use in code, and you can return results from your Python code back to the spreadsheet. The last line of code is returned to the spreadsheet.
44
Python does not support conditional returns in Quadratic. Only the last line of code is returned to the sheet. There can be only one variable returned to the sheet per code cell.
@@ -239,7 +239,7 @@ When returning DataFrames, default to returning the entire DataFrame. Do not use
239239
240240
### Return single item per code cell
241241
242-
You can only return a single item per code cell. For example, you can only return one table or one chart etc. You can not return both a table and a chart to the sheet from the same cell. Use individual code cells for each subsequent step you want to return to the sheet.
242+
You can only return a single item per code cell. For example, you can only return one table or one chart etc. You cannot return both a table and a chart to the sheet from the same cell. You cannot return multiple tables nor multiple charts from the same cell. Use individual code cells for each subsequent step you want to return to the sheet.
243243
244244
## Packages
245245
@@ -295,6 +295,8 @@ API Requests in Python must use the Requests library.
295295
296296
Plotly is the ONLY charting library supported in Quadratic.
297297
298+
You cannot return multiple charts from the same cell. You must return each chart in a separate code cell or use Plotly subplots to show multiple charts in the same cell.
299+
298300
### Trendlines
299301
300302
When using Trendlines in Plotly you MUST import statsmodels for the trendline to work. Note an example trendline below.

quadratic-client/index.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<head>
55
<script>
6-
document.documentElement.dataset.loadingStart = Date.now();
6+
document.documentElement.dataset.loadingStart = performance.now();
77
</script>
88
<meta charset="utf-8" />
99
<link rel="icon" href="/favicon.ico" />
@@ -42,6 +42,15 @@
4242
<link rel="preload" as="image" href="/images/logo_etching.png" />
4343
<link rel="preload" as="image" href="/images/logo_loading.gif" />
4444

45+
<script>
46+
// disables the React DevTools message
47+
const oldConsoleInfo = console.info;
48+
console.info = (...args) => {
49+
if (args[0]?.includes('Download the React DevTools')) return;
50+
oldConsoleInfo(...args);
51+
};
52+
</script>
53+
4554
<!-- Google Tag Manager -->
4655
<script>
4756
(function (w, d, s, l, i) {

0 commit comments

Comments
 (0)