This file contains hidden or 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
/** | |
* ZIndexManager | |
* | |
* Stores and manages z-indexes in a stacking order. | |
*/ | |
export default class ZIndexManager { | |
constructor(onChange) { | |
this._zIndexMin = 99; | |
this._zIndexes = {}; | |
this._zIndexMax = this._zIndexMin; |
This file contains hidden or 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
// `queries.matches` is this function: https://github.com/kentcdodds/testing-workshop/blob/888201516879d067adddc6b6dd3c76394f0b2bee/cypress/support/queries.js#L74-L82 | |
Cypress.Commands.add('getVisuallyBelow', { prevSubject: 'element' }, (subject, matcher) => { | |
const domNode = subject.get(0); | |
const log = Cypress.log({ | |
name: 'GET_VISUALLY_BELOW', | |
message: '' + ( | |
String( | |
domNode.nodeName + |
This file contains hidden or 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
#!/usr/bin/env node | |
/* eslint-disable strict, no-console, prefer-arrow-callback, prefer-spread */ | |
'use strict'; | |
const glob = require('glob'); | |
const leasot = require('leasot'); // eslint-disable-line import/no-extraneous-dependencies | |
const path = require('path'); | |
const fs = require('fs'); | |
const gitAdd = require('../_binUtils').gitAdd; |
This file contains hidden or 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
diff --git a/frontend/DataView/DataView.js b/frontend/DataView/DataView.js | |
index 1a7fd1a..ba35cc4 100644 | |
--- a/frontend/DataView/DataView.js | |
+++ b/frontend/DataView/DataView.js | |
@@ -32,6 +32,7 @@ type DataViewProps = { | |
startOpen?: boolean, | |
noSort?: boolean, | |
readOnly?: boolean, | |
+ themeKind?: 'props' | 'state', | |
}; |
This file contains hidden or 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
#!/bin/bash | |
set -eu | |
REPO_PATH=$1 | |
if [[ ! -d "${REPO_PATH}" ]]; then | |
exit -1 | |
fi |
This file contains hidden or 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
#!/bin/bash | |
set -eu | |
REPO_PATH=$1 | |
SHA=$2 | |
if [[ ! -d "${REPO_PATH}" ]]; then | |
exit -1 | |
fi |
This file contains hidden or 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
// Adapt tree view and editor font size for large monitors (like the 27" ones). | |
@media (min-width: 1800px) { | |
// Root font size | |
body { | |
font-size: 18px; | |
} | |
// Editor font size is specified separately | |
atom-workspace { | |
// NOTE: This overrides the built-in editor text zoom feature (Cmd + / Cmd - / Cmd 0). |
This file contains hidden or 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
.hx .ii, | |
div.G3.G2.afm { | |
border-top: 1px solid rgba(0, 0, 0, 0.1); | |
} | |
div.T-I.J-J5-Ji.T-I-KE.L3 { | |
height: 30px; | |
margin: 0; | |
padding: 0 16px; | |
text-align: center; | |
justify-content: center; |
This file contains hidden or 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
.discussion-item-header[id^=ref-] .discussion-item-icon { | |
background-color: #6db2ff; | |
color: #ffffff; | |
} | |
.discussion-item-header[id^=ref-]::before { | |
content: ''; | |
position: absolute; | |
display: block; | |
z-index: -1; |
This file contains hidden or 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
{ | |
"arrowParens": "always", | |
"singleQuote": true, | |
"trailingComma": "all", | |
"bracketSpacing": true, | |
"semi": true, | |
"useTabs": false, | |
"jsxBracketSameLine": false, | |
"printWidth": 120 | |
} |