Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Change logs styling
Tomas Valenta8c55c633e1f8
diff --git a/api-service/playground/package.json b/api-service/playground/package.jsonnew file mode 100644index 000000000..94881731e--- /dev/null+++ b/api-service/playground/package.json@@ -0,0 +1,6 @@+{+ "name": "playground",+ "version": "1.0.0",+ "main": "index.js",+ "license": "MIT"+}diff --git a/components/Editor/Logs/index.tsx b/components/Editor/Logs/index.tsxindex cacf9d7f4..79e59aaa0 100644--- a/components/Editor/Logs/index.tsx+++ b/components/Editor/Logs/index.tsx@@ -41,9 +41,9 @@ function Logs({flexpx-4py-2- items-centerjustify-startborder-b+ flex-col"><div@@ -64,17 +64,26 @@ function Logs({deployStatus={deployStatus}/></div>- <a- href={deployedURL}- className="+ {deployedURL &&+ <a+ href={deployedURL}+ className="underline"- >+ >+ <Text+ size={Text.size.S3}+ text={deployedURL.substring('https://'.length)}+ />+ </a>+ }+ {!deployedURL &&<Text+ text="No deployment URL found"size={Text.size.S3}- text={deployedURL.substring('https://'.length)}+ className="text-slate-400"/>- </a>+ }</div><divclassName="@@ -82,14 +91,14 @@ function Logs({flexflex-colflex-1- py-2+ py-4px-4overflow-autotext-xstracking-widefont-sansbreak-words- space-y-2+ space-y-4">{logs?.map((l, i) =><ReactMarkdown key={i}>diff --git a/components/Editor/index.tsx b/components/Editor/index.tsxindex 3a945e801..7df47833c 100644--- a/components/Editor/index.tsx+++ b/components/Editor/index.tsx@@ -17,9 +17,9 @@ import Logs from './Logs'import Routes from './Routes'// TODO: Prod API host-const apiHost = process.env.NODE_ENV === 'development' ?- 'http://0.0.0.0:5000' :- 'https://ai-api-service-7d2cl2hooq-uc.a.run.app'+const apiHost = process.env.NODE_ENV === 'development'+ ? 'http://0.0.0.0:5000'+ : 'https://ai-api-service-7d2cl2hooq-uc.a.run.app'export interface Props {project: projectsdiff --git a/styles/global.css b/styles/global.cssindex ea61e288e..9142c2d39 100644--- a/styles/global.css+++ b/styles/global.css@@ -21,6 +21,7 @@@apply bg-slate-50;@apply text-slate-600 antialiased;text-rendering: optimizeLegibility;+ overflow: overlay;}#__next {@@ -47,3 +48,18 @@.no-scroller::-webkit-scrollbar {display: none;}++code::-webkit-scrollbar {+ /* display: none; */+ scrollbar-track-color: transparent;+ background-color: transparent;+ width: 8px;+ height: 8px;+}++code::-webkit-scrollbar-thumb {+ @apply bg-gray-600;+ width: 6px;+ height: 6px;+ @apply rounded-full;+}diff --git a/tailwind.config.js b/tailwind.config.jsindex 990e6e095..0a6dab713 100644--- a/tailwind.config.js+++ b/tailwind.config.js@@ -3,6 +3,7 @@ const { fontFamily } = require('tailwindcss/defaultTheme')module.exports = {content: ['./components/**/*.{js,ts,jsx,tsx,css}', './pages/**/*.{js,ts,jsx,tsx,css}', './styles/**/*.{js,ts,jsx,tsx,css}'],darkMode: 'class',+ important: true,theme: {extend: {fontFamily: {