Skip to content

Commit

Permalink
FIx
Browse files Browse the repository at this point in the history
  • Loading branch information
mgubaidullin committed Oct 5, 2023
1 parent 083466d commit 75c46e4
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 260 deletions.
5 changes: 3 additions & 2 deletions karavan-designer/src/designer/rest/rest.css
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
margin-left: 6px;
cursor: pointer;
justify-content: space-between;
position: relative;
}

.karavan .rest-designer .rest-config-card,
Expand Down Expand Up @@ -238,8 +239,8 @@
.karavan .rest-designer .rest-card .delete-button,
.karavan .rest-designer .method-card .delete-button {
position: absolute;
top: 3px;
right: 3px;
top: -7px;
right: -7px;
line-height: 1;
border: 0;
padding: 0;
Expand Down
2 changes: 1 addition & 1 deletion karavan-web/docker/Dockerfile.devmode
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ LABEL "org.opencontainers.image.version"="4.0.1"
RUN apt-get update && apt-get install git && apt-get clean

ENV JBANG_VERSION=0.110.0
ENV CAMEL_VERSION=4.0.1
ENV CAMEL_VERSION=4.0.0
ENV KARAVAN="/karavan"
ENV JBANG_DIR="$KARAVAN/.jbang"
ENV MAVEN_CONFIG="$KARAVAN/.m2"
Expand Down
252 changes: 0 additions & 252 deletions karavan-web/karavan-app/src/main/webui/src/designer/KaravanStore.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
margin-left: 6px;
cursor: pointer;
justify-content: space-between;
position: relative;
}

.karavan .rest-designer .rest-config-card,
Expand Down Expand Up @@ -238,8 +239,8 @@
.karavan .rest-designer .rest-card .delete-button,
.karavan .rest-designer .method-card .delete-button {
position: absolute;
top: 3px;
right: 3px;
top: -7px;
right: -7px;
line-height: 1;
border: 0;
padding: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export function DslProperties(props: Props) {
: getProperties().filter(p => !dataFormats.includes(p.name));
const propertiesMain = properties.filter(p => !p.label.includes("advanced"));
const propertiesAdvanced = properties.filter(p => p.label.includes("advanced"));
console.log(selectedStep)
return (
<div key={selectedStep ? selectedStep.uuid : 'integration'}
className='properties'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export function UploadFileModal(props: Props) {

function saveAndCloseModal () {
const file = new ProjectFile(filename, props.projectId, data, Date.now());
console.log(file);
if (type === "openapi"){
KaravanApi.postOpenApi(file, generateRest, generateRoutes, integrationName, res => {
if (res.status === 200) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import {useFilesStore} from "../../api/ProjectStore";
import {shallow} from "zustand/shallow";
import {useTopologyStore} from "./TopologyStore";
import {TopologyPropertiesPanel} from "./TopologyPropertiesPanel";
import {useDesignerStore} from "../../designer/KaravanStore";
import {TopologyToolbar} from "./TopologyToolbar";
import {useDesignerStore} from "../../designer/DesignerStore";

export const TopologyTab: React.FC = () => {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
width: 100%
}

.karavan .topology-panel .properties {
padding: 16px;
overflow: auto;
}

.karavan .topology-panel .properties-header {
padding: 10px;
}
Expand All @@ -41,7 +46,6 @@
}

.karavan .topology-sidebar {
overflow: hidden;
}

.karavan .topology-sidebar .pf-topology-side-bar__dismiss {
Expand Down

0 comments on commit 75c46e4

Please sign in to comment.