-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* TFlexbox layout (#128) * Create TFlexbox layout component * Apply TFlexbox layout component * Flexbox the repository index view * Use TFlexbox layout to menubar * Use TFlexbox layout component * Use TFlexbox to windowsButton component * Add flexGrow props to TFlexbox props * Switch from flex classes to TFlexbox layout component * Use TFlexbox layout component * TFlexbox in dropdownList component * TFlexbox in commitInformation component * TFlexbox in commitHistoryItem component * Scrollbar layout (#115) * Create scrollbar layout component * Add height props to TScrollbar component As VueScrollbar requires a height and based on which it can create a scrollbar. * Use TScrollbar component * Change to TScrollbar component in diffPreview * Use TScrollbar layout component * Add refs for calculating size of elements * Change TScrollbar layout component * Use TFlexbox to experimental page * TContainer layout (#137) * Create TContainer layout component * Remove container.sass styles * Fix menubar dropdown toggle * Container fluid props * Add width props to TScrollbar * Use TContainer in settings page * Use TContainer in repository stats * Use TContainer in repository settings * Set width 100% & static height * Format the indentation of codebase * Set root element size to 1000% * Use flexbox layout for group settings * Calculate height inline height attribute * Add flexbox styles to t-flexbox layout * Bug fix: Duplicate key 'components' https://dev.azure.com/codecarrot/Thermal/_build/results?buildId=715&view=logs&jobId=03c9b7aa-3025-5776-c20a-35d2538e500f&taskId=e9b0d7bb-2e43-53fa-b0ce-11002919699b&lineStart=104&lineEnd=104&colStart=49&colEnd=75 * Add css class styles to experimental items Add css class style "settings__section__group__item" * Center welcome page heading * Remove flexbox class styles * FIX: Example repository modal positioning * BlankSlate placeholder (#129) * Create BlankSlate placeholder component * Remove flex-direction style from BlankSlate * Import BlankSlate component * Format the code * Change to default value to null of height props Remove required as true in height props and set default value as null. * Manually calculate height of scrollbar * Set 300px min width of history logs * Set history page to flex grow 1 * Optamize performace: Display of logs & commit detail Improve performace by not removing history logs list from DOM and just display none when commit detail is enabled.
- Loading branch information
1 parent
ab5117f
commit d644cc0
Showing
24 changed files
with
526 additions
and
362 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
@import 'base' | ||
@import 'font' | ||
@import 'utilities' | ||
@import 'container' | ||
@import 'type' | ||
@import 'spacing' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<template> | ||
<t-flexbox justify-content="center" align-items="center" class="blankslate"> | ||
No content to show | ||
</t-flexbox> | ||
</template> | ||
|
||
<script> | ||
import TFlexbox from "./TLayouts/TFlexbox"; | ||
export default { | ||
name: "BlankSlate", | ||
components: { | ||
TFlexbox | ||
} | ||
}; | ||
</script> | ||
|
||
<style lang="sass"> | ||
.blankslate | ||
width: 100% | ||
font-size: 12px | ||
color: #7A7D84 | ||
</style> |
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,46 @@ | ||
<template> | ||
<div | ||
class="container" | ||
:class="{ | ||
container__fluid: fluid | ||
}" | ||
> | ||
<slot /> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "TContainer", | ||
props: { | ||
fluid: { | ||
type: Boolean, | ||
default: false | ||
} | ||
} | ||
}; | ||
</script> | ||
|
||
<style lang="sass"> | ||
.container | ||
width: 100% | ||
padding-right: 15px | ||
padding-left: 15px | ||
margin-right: auto | ||
margin-left: auto | ||
.container__fluid | ||
min-width: 100% | ||
@media (min-width: 576px) | ||
.container | ||
max-width: 540px | ||
@media (min-width: 768px) | ||
.container | ||
max-width: 720px | ||
@media (min-width: 992px) | ||
.container | ||
max-width: 960px | ||
</style> |
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,47 @@ | ||
<template> | ||
<div | ||
:style="{ | ||
display: 'flex', | ||
flexDirection: flexDirection, | ||
justifyContent: justifyContent, | ||
flexWrap: flexWrap, | ||
alignItems: alignItems, | ||
alignSelf: alignSelf, | ||
flexGrow: flexGrow | ||
}" | ||
> | ||
<slot /> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "TFlexbox", | ||
props: { | ||
flexDirection: { | ||
type: String, | ||
default: null | ||
}, | ||
flexWrap: { | ||
type: String, | ||
default: null | ||
}, | ||
justifyContent: { | ||
type: String, | ||
default: null | ||
}, | ||
alignItems: { | ||
type: String, | ||
default: null | ||
}, | ||
alignSelf: { | ||
type: String, | ||
default: null | ||
}, | ||
flexGrow: { | ||
type: Number, | ||
default: null | ||
} | ||
} | ||
}; | ||
</script> |
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,26 @@ | ||
<template> | ||
<vue-scrollbar :style="{ height: height, width: width }"> | ||
<slot /> | ||
</vue-scrollbar> | ||
</template> | ||
|
||
<script> | ||
import VueScrollbar from "vue2-scrollbar"; | ||
export default { | ||
name: "TScrollbarLayout", | ||
components: { | ||
VueScrollbar | ||
}, | ||
props: { | ||
height: { | ||
type: String, | ||
default: null | ||
}, | ||
width: { | ||
type: String, | ||
default: null | ||
} | ||
} | ||
}; | ||
</script> |
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
Oops, something went wrong.