-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* open transaction in interact screen (first pass) * remove predefined interactions * fix execution settings width * consolidate section spacings * tweak execution settings padding * fix opened logs positioning * move templates logic to a separate provider * simplify/refactor interaction structures and logic * fix empty interaction creation * fix address builder overflow * temporarily only show settings for mutable templates * fixed interaction tab width * fix transaction source overflow * fix open transaction from history * make transaction error handling more consistent * fix transaction name when opened from source component * fix layout body scrollbars * fix contract details link * fix basic layout * collapse event table data * tweak card scrollbars * fix breadcrumbs filtration * fix project update * hide root scrollbars * move interaction providers lower down the react tree * fix interaction removal * improve interaction creation logic * display tabs in reverse order of stored templates * fix focused transaction tab reset * add unsupported import syntax notice * improve error message * remove bottom border from tabs * settings screen tweaks * change block menu item labels * custom outline color * fix external link overflow * fix missing context
- Loading branch information
1 parent
59de3e5
commit 1210670
Showing
44 changed files
with
645 additions
and
441 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
frontend/src/components/layout/BasicLayout/BasicLayout.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@import "styles/colors"; | ||
|
||
.root { | ||
.header { | ||
position: sticky; | ||
top: 0; | ||
background: $gray-110; | ||
z-index: 100; | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
frontend/src/components/layout/BasicLayout/BasicLayout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React, { FC, ReactNode } from "react"; | ||
import { Breadcrumbs } from "../../breadcrumbs/Breadcrumbs"; | ||
import classes from "./BasicLayout.module.scss"; | ||
|
||
export const BasicLayout: FC<{ children: ReactNode }> = (props) => { | ||
return ( | ||
<div className={classes.root}> | ||
<div className={classes.header}> | ||
<Breadcrumbs className={classes.breadcrumbs} /> | ||
</div> | ||
{props.children} | ||
</div> | ||
); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
frontend/src/components/layout/ProjectLayout/ProjectLayout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import React, { FunctionComponent } from "react"; | ||
import classes from "./ProjectLayout.module.scss"; | ||
import { Logs } from "../../../modules/logs/Logs"; | ||
import { useLocation } from "react-router-dom"; | ||
import classNames from "classnames"; | ||
import { Breadcrumbs } from "../../breadcrumbs/Breadcrumbs"; | ||
import { SideNavigation } from "../../side-navigation/SideNavigation"; | ||
|
||
export const scrollableElementId = "flowser-scroll"; | ||
|
||
export const ProjectLayout: FunctionComponent = ({ children }) => { | ||
const location = useLocation(); | ||
const showMargin = !location.pathname.endsWith("interactions"); | ||
|
||
return ( | ||
<div className={classes.root}> | ||
<SideNavigation className={classes.sideNavigation} /> | ||
<div className={classes.mainContent}> | ||
<Breadcrumbs className={classes.breadcrumbs} /> | ||
<div | ||
id={scrollableElementId} | ||
className={classNames(classes.body, { | ||
[classes.bodyWithBorderSpacing]: showMargin, | ||
})} | ||
> | ||
{children} | ||
</div> | ||
<Logs className={classes.logs} /> | ||
</div> | ||
</div> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,8 @@ | |
fill: $blue; | ||
} | ||
.url { | ||
overflow: hidden; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
} |
Oops, something went wrong.