Merge pull request #114 from logspace-ai/UIimprovement

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-04-05 21:33:51 -03:00 • committed by GitHub
commit c0d8a4b5de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -50,7 +50,7 @@ export default function TabComponent({ selected, flow, onClick }:{flow:FlowType,
) : ( ) : (
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<span <span
className="text-left truncate" className="text-left w-32 truncate"
onDoubleClick={() => { onDoubleClick={() => {
setIsRename(true); setIsRename(true);
setValue(flow.name); setValue(flow.name);

View file

@ -76,6 +76,8 @@ export const nodeColors: {[char: string]: string} = {
chat: "#454173", chat: "#454173",
thought:"#272541", thought:"#272541",
docloaders:"#FF9135", docloaders:"#FF9135",
toolkits:"#DB2C2C",
wrappers:"#E6277A",
unknown:"#9CA3AF" unknown:"#9CA3AF"
}; };