From 4c450d34812ad8cd07d59a20fc2a87fd0f4614a1 Mon Sep 17 00:00:00 2001 From: europanite Date: Wed, 22 Oct 2025 17:14:18 +0900 Subject: [PATCH 1/2] fix/repsitory_name --- .gitignore | 2 +- README.md | 10 +++++----- SECURITY.md | 4 ++-- _config.yml | 6 +++--- frontend/app/__tests__/home.screen.test.tsx | 2 +- frontend/app/app.json | 2 +- frontend/app/public/404.html | 4 ++-- frontend/app/screens/HomeScreen.tsx | 4 ++-- frontend/app/types/dom-augment.d.ts | 15 +++++++++++++++ 9 files changed, 32 insertions(+), 17 deletions(-) create mode 100644 frontend/app/types/dom-augment.d.ts diff --git a/.gitignore b/.gitignore index 799f6d9..2c59e2d 100644 --- a/.gitignore +++ b/.gitignore @@ -55,4 +55,4 @@ frontend/app/coverage/ frontend/app/.jest-cache/ make_md.py -browser_based_python_* \ No newline at end of file +client_side_python_* \ No newline at end of file diff --git a/README.md b/README.md index d3c3b88..29ec246 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ -# [Browser Based Python](https://github.com/europanite/browser_based_python "Browser Based Python") +# [Client Side Python](https://github.com/europanite/client_side_python "Client Side Python") -[![CI](https://github.com/europanite/browser_based_python/actions/workflows/ci.yml/badge.svg)](https://github.com/europanite/browser_based_python/actions/workflows/ci.yml) -[![Frontend Tests via Docker](https://github.com/europanite/browser_based_python/actions/workflows/docker.yml/badge.svg)](https://github.com/europanite/browser_based_python/actions/workflows/docker.yml) -[![Deploy Expo Web to GitHub Pages](https://github.com/europanite/browser_based_python/actions/workflows/deploy-pages.yml/badge.svg)](https://github.com/europanite/browser_based_python/actions/workflows/deploy-pages.yml) +[![CI](https://github.com/europanite/client_side_python/actions/workflows/ci.yml/badge.svg)](https://github.com/europanite/client_side_python/actions/workflows/ci.yml) +[![Frontend Tests via Docker](https://github.com/europanite/client_side_python/actions/workflows/docker.yml/badge.svg)](https://github.com/europanite/client_side_python/actions/workflows/docker.yml) +[![Deploy Expo Web to GitHub Pages](https://github.com/europanite/client_side_python/actions/workflows/deploy-pages.yml/badge.svg)](https://github.com/europanite/client_side_python/actions/workflows/deploy-pages.yml) A Client Side Browser Based Python Playground. !["web_ui"](./assets/images/web_ui.png) ## Demo - [Browser Based Python](https://europanite.github.io/browser_based_python/) + [Client Side Python](https://europanite.github.io/client_side_python/) --- diff --git a/SECURITY.md b/SECURITY.md index eec3376..58cb6da 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,7 +2,7 @@ ## Supported Versions -The following table shows which versions of `browser_based_python` are currently being supported with security updates. +The following table shows which versions of `client_side_python` are currently being supported with security updates. | Version | Supported | |---------|--------------------| @@ -35,4 +35,4 @@ If you discover a security vulnerability within this project, please help us kee ## Acknowledgements -We deeply appreciate the efforts of security researchers and contributors who help us improve the security of `browser_based_python`. +We deeply appreciate the efforts of security researchers and contributors who help us improve the security of `client_side_python`. diff --git a/_config.yml b/_config.yml index ae96746..1a3ac8b 100644 --- a/_config.yml +++ b/_config.yml @@ -1,6 +1,6 @@ -title: "browser_based_python" -description: "A playground for Python" -baseurl: "/browser_based_python" +title: "client_side_python" +description: "A Client Side Browser Based Python Playground" +baseurl: "/client_side_python" url: "https://europanite.github.io" theme: minima markdown: kramdown diff --git a/frontend/app/__tests__/home.screen.test.tsx b/frontend/app/__tests__/home.screen.test.tsx index 7eebc34..44d6f1c 100644 --- a/frontend/app/__tests__/home.screen.test.tsx +++ b/frontend/app/__tests__/home.screen.test.tsx @@ -21,7 +21,7 @@ describe("HomeScreen", () => { it("renders title and buttons", async () => { render(); - expect(await screen.findByText("Browser Based Python")).toBeInTheDocument(); + expect(await screen.findByText("Client Side Python")).toBeInTheDocument(); expect(screen.getByText("Run")).toBeInTheDocument(); expect(screen.getByText("Clear")).toBeInTheDocument(); }); diff --git a/frontend/app/app.json b/frontend/app/app.json index 8a37079..95515fb 100644 --- a/frontend/app/app.json +++ b/frontend/app/app.json @@ -23,7 +23,7 @@ "edgeToEdgeEnabled": true }, "experiments": { - "baseUrl": "/browser_based_python" + "baseUrl": "/client_side_python" }, "web": { "favicon": "./assets/favicon.png", diff --git a/frontend/app/public/404.html b/frontend/app/public/404.html index 1d74d9c..adda654 100644 --- a/frontend/app/public/404.html +++ b/frontend/app/public/404.html @@ -2,10 +2,10 @@ Redirecting... diff --git a/frontend/app/screens/HomeScreen.tsx b/frontend/app/screens/HomeScreen.tsx index c8a2e29..4ade01c 100644 --- a/frontend/app/screens/HomeScreen.tsx +++ b/frontend/app/screens/HomeScreen.tsx @@ -206,7 +206,7 @@ export default function HomeScreen() {

- Browser Based Python + Client Side Python

+import 'react'; + +declare module 'react' { + interface InputHTMLAttributes extends HTMLAttributes { + /** Chromium/Safari directory picker */ + webkitdirectory?: boolean; + /** Firefox directory picker */ + mozdirectory?: boolean; + /** Generic directory attribute (non-standard) */ + directory?: boolean; + } +} + +export {}; From 2498535e277084f627ba5fbb1ead951f05ab2674 Mon Sep 17 00:00:00 2001 From: europanite Date: Wed, 22 Oct 2025 17:15:00 +0900 Subject: [PATCH 2/2] fix/repsitory_name --- frontend/app/types/dom-augment.d.ts | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 frontend/app/types/dom-augment.d.ts diff --git a/frontend/app/types/dom-augment.d.ts b/frontend/app/types/dom-augment.d.ts deleted file mode 100644 index d2e606c..0000000 --- a/frontend/app/types/dom-augment.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -// Allow non-standard directory upload attributes on -import 'react'; - -declare module 'react' { - interface InputHTMLAttributes extends HTMLAttributes { - /** Chromium/Safari directory picker */ - webkitdirectory?: boolean; - /** Firefox directory picker */ - mozdirectory?: boolean; - /** Generic directory attribute (non-standard) */ - directory?: boolean; - } -} - -export {};