code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/src/components/autoHeightImage/autoHeightImage.tsx b/src/components/autoHeightImage/autoHeightImage.tsx @@ -50,7 +50,7 @@ import { TouchableOpacity } from "react-native-gesture-handler"; } return ( - <TouchableOpacity onPress={onPress} disabled={isAnchored} activeOpacity={activeOpacity}> + <TouchableOpacity onPress={onPress} disabled={isAnchored} activeOpacity={activeOpacity || 1}> <FastImage style={imgStyle} source={{uri:imgUrl}}
12
diff --git a/experimental/adaptive-dialog/csharp_dotnetcore/06.using-cards/Dialogs/MainAdaptiveDialog.cs b/experimental/adaptive-dialog/csharp_dotnetcore/06.using-cards/Dialogs/MainAdaptiveDialog.cs @@ -54,11 +54,7 @@ private static List<IDialog> OnBeginDialogSteps() }, new SwitchCondition() { - // Switch on value property. Choice prompt outputs the following payload - - // { "value": "<recognized value>", "index": <index-in-choice-list>,"score": 1.0, "synonym": "<synonym>"} - - // file bug for end of conversation bug for skills for post //build. - Condition = "turn.cardChoice.value", + Condition = "turn.cardChoice", Cases = new List<Case>() { new Case("'Adaptive card'", new List<IDialog>() { new SendActivity("[AdativeCardRef]") } ), new Case("'Animation card'", new List<IDialog>() { new SendActivity("[AnimationCard]") } ),
1
diff --git a/articles/api-auth/tutorials/password-grant.md b/articles/api-auth/tutorials/password-grant.md @@ -122,3 +122,7 @@ For details on the validations that should be performed by the API, refer to [Ve <%= include('../../_includes/_api-auth-customize-tokens') %> If you wish to execute special logic unique to the Password exchange, you can look at the `context.protocol` property in your rule. If the value is `oauth2-password`, then the rule is running during the password exchange. + +## Optional: Configure MFA + +In case you need stronger authentication, than username and password, you can configure MultiFactor Authentication (MFA) using the Resource Owner Password Grant. For details on how to implement this refer to [Multifactor Authentication and Resource Owner Password](/api-auth/tutorials/multifactor-resource-owner-password).
0
diff --git a/.travis.yml b/.travis.yml @@ -9,10 +9,10 @@ script: - npm run build deploy: provider: s3 - access_key_id: AKIAI7GVDYTTK5M7PLYA + access_key_id: ACCESS_KEY_ID secret_access_key: - secure: ooHf95pBZn4veYimJHyHg2oKvBviGyxDUjE7w9tqcM4c+x3fuucSlbRjzXu5xzO+4Zbe+TJE9dJ6TlXuZHPQ9xGnVG3P3kFcsntS81oP8Q1nRZOWR9NGBUC0/hCK7hRo/7mIu1lSC53tNHymO3ixdecxp6xY9cWCxf37dKFlQHVWf5i5Gv4aH9v0rmsAWO8fCObODpGHraE/RpSrZo7P4EGX8VuW7fzC7bJ8HdXZ5oHXoUQ05MFat1u4oF+hi7G/E9OXiRB/e7f3vOUWxo14Ilsar7b9PijSyorJPYhf2SiJZ23Zoo9K/gJet4OIHXC0r9Os9AJ9+HdgkrKO7rvg3tEogdSliq4vCCdYy75NsMHey0YUvdFw0euK76tIOlRRoR3ITuzfEXwKbtg1GbguO7yX7FxwAjTpc0gE2k4GTRzP+lDHs5+cUy3V0ke3E6dQ+ZiUI21G/JLAaST5A+Wgc5yw92jWypRuHL1Q5EEtnwNSF4mIPpyILdgdgEzNY4NUu8nolgiH1I4yCCJDj8gqAtAs6FjyE2zbrBR8tOdIvGYt83V36DoT2/r68cZPXQhDZSIY20+L/RPjd3cCBFkHxfJ+D/l6ER+hJNlhWwB8+JO0DPojGAKDhu4v6fCOve+R+BRqZ7siO7rSP4CE3SLz7pWUniN6y0SHHow/pNshFtI= + secure: ENCRYPTED_SECRET_ACCESS_KEY region: us-west-2 - bucket: hackoregon-frontend-starter + bucket: BUCKET skip_cleanup: true local_dir: build
2
diff --git a/src/data.js b/src/data.js @@ -52,10 +52,10 @@ var _ = Mavo.Data = $.Class(class Data { } this.data = Mavo.objectify(value); - var type = $.type(value); - if (type === "object" || type === "array") { + if (Object.getPrototypeOf(value) === Object.prototype || Array.isArray(value)) { // Object rendered on a primitive, we should traverse it and store its properties + // Why check prototype instead of just type == "object"? Because instances of ES6 classes also return "object" _.computeRoutes(this.data); } else { @@ -449,11 +449,13 @@ var _ = Mavo.Data = $.Class(class Data { }, computeRoute(object, property, parent) { - var type = $.type(object); + if (typeof object === "function") { + return; + } _.computeMetadata(object, property, parent); - if (type == "object" || type == "array") { + if (Object.getPrototypeOf(object) === Object.prototype || Array.isArray(object)) { if (!object[Mavo.route]) { object[Mavo.route] = {}; }
1
diff --git a/src/components/play-mode/minimap/Minimap.jsx b/src/components/play-mode/minimap/Minimap.jsx -import React from 'react'; +import React, {useState, useRef, useEffect} from 'react'; +import minimapManager from '../../../../minimap.js'; import styles from './minimap.module.css'; // +let minimap = null; +const minimapSize = 128; +const minimapWorldSize = 50; + export const Minimap = () => { + const canvasRef = useRef(); + + useEffect(() => { + if (canvasRef.current) { + const canvas = canvasRef.current; + + if (!minimap) { + minimap = minimapManager.createMiniMap(minimapSize, minimapSize, minimapWorldSize, minimapWorldSize); + } + minimap.resetCanvases(); + minimap.addCanvas(canvas); + } + }, [canvasRef.current]); return ( <div className={ styles.locationMenu } > - <div className={ styles.map } > - - </div> + <canvas width={minimapSize} height={minimapSize} className={ styles.map } ref={canvasRef} /> </div> );
0
diff --git a/html/settings/_settings.scss b/html/settings/_settings.scss /// Setting for the background /// color of any text when selected. -$sprk-selection-bg-color: $sprk-black-tint-50 !default; +$sprk-selection-bg-color: $sprk-light-purple !default; /// Setting for the /// color of any text when selected. $sprk-selection-text-color: $sprk-black !default;
3
diff --git a/token-metadata/0x0E8d6b471e332F140e7d9dbB99E5E3822F728DA6/metadata.json b/token-metadata/0x0E8d6b471e332F140e7d9dbB99E5E3822F728DA6/metadata.json "symbol": "ABYSS", "address": "0x0E8d6b471e332F140e7d9dbB99E5E3822F728DA6", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" } \ No newline at end of file -} \ No newline at end of file
3
diff --git a/articles/connections/passwordless/_includes/_setup-sms-twilio.md b/articles/connections/passwordless/_includes/_setup-sms-twilio.md @@ -20,7 +20,7 @@ To learn how to find your Twilio SID and Auth Token, see Twilio docs: [How to cr 2. Select your **SMS Source** and depending on your selection, enter either your **Twilio Messaging Service SID** or a **From** phone number. Users will see what you enter as the sender of the SMS. ::: note -To learn about using Twilio Copilot, see Twilio docs: [Sending Messages with Copilot](https://www.twilio.com/docs/api/rest/sending-messages-copilot). +To learn about using Twilio Messaging Services, see Twilio docs: [Sending Messages with Messaging Services](https://www.twilio.com/docs/sms/services/services-send-messages). ::: ### Configure a custom SMS gateway
14
diff --git a/generators/client/templates/angular/_tsconfig-aot.json b/generators/client/templates/angular/_tsconfig-aot.json "experimentalDecorators": true, "removeComments": false, "noImplicitAny": false, - "skipLibCheck": true, "suppressImplicitAnyIndexErrors": true, "outDir": "<%= DIST_DIR %>app", "lib": ["es2015", "dom"],
13
diff --git a/src/components/base/Base.js b/src/components/base/Base.js @@ -743,6 +743,10 @@ export class BaseComponent { } setInputStyles(input) { + if (this.labelIsHidden()) { + return; + } + if (this.labelOnTheLeftOrRight(this.component.labelPosition)) { const totalLabelWidth = this.getLabelWidth() + this.getLabelMargin(); input.style.width = `${100 - totalLabelWidth}%`; @@ -755,16 +759,16 @@ export class BaseComponent { } } + labelIsHidden() { + return !this.component.label || this.component.hideLabel || this.options.inputsOnly; + } + /** * Create the HTML element for the label of this component. * @param {HTMLElement} container - The containing element that will contain this label. */ createLabel(container) { - if ( - !this.component.label || - this.component.hideLabel || - this.options.inputsOnly - ) { + if (this.labelIsHidden()) { return; } let className = 'control-label';
7
diff --git a/src/core/obj.js b/src/core/obj.js @@ -1208,7 +1208,7 @@ var XRef = (function XRefClosure() { break; } } - startPos += contentLength; + startPos = endPos; } let content = buffer.subarray(position, position + contentLength);
4
diff --git a/package.json b/package.json "description": "Salesforce Lightning Design System for React", "license": "SEE LICENSE IN README.md", "engines": { - "node": "12.x", + "node": ">=12.x" }, "scripts": { "build:docs": "npx babel-node ./scripts/build-docs.js",
3
diff --git a/packages/cx/src/ui/adapter/GroupAdapter.js b/packages/cx/src/ui/adapter/GroupAdapter.js @@ -54,7 +54,7 @@ export class GroupAdapter extends ArrayAdapter { let $group = {...gr.key, ...gr.aggregates, $name: gr.name, $level: inverseLevel}; let data = { - ...gr.records[0].data, + ...(gr.r.length > 0 ? gr.records[0].data : null), [this.groupName]: $group };
1
diff --git a/index.js b/index.js @@ -91,8 +91,8 @@ function createLoaderRules(languages, features, workers, publicPath) { const globals = { 'MonacoEnvironment': `(function (paths) { - function stripTrailingSlash(string) { - return string.replace(/\\/$/, ''); + function stripTrailingSlash(str) { + return str.replace(/\\/$/, ''); } return { getWorkerUrl: function (moduleId, label) {
10
diff --git a/includes/Modules/Analytics/Proxy_Account_Ticket.php b/includes/Modules/Analytics/Proxy_Account_Ticket.php @@ -38,7 +38,7 @@ class Proxy_AccountTicket extends Google_Service_Analytics_AccountTicket { public $site_secret = ''; /** - * Get the site ID. + * Gets the site ID. * * @since n.e.x.t */ @@ -47,7 +47,7 @@ class Proxy_AccountTicket extends Google_Service_Analytics_AccountTicket { } /** - * Set the site ID. + * Sets the site ID. * * @since n.e.x.t * @@ -58,7 +58,7 @@ class Proxy_AccountTicket extends Google_Service_Analytics_AccountTicket { } /** - * Get the site secret. + * Gets the site secret. * * @since n.e.x.t */ @@ -67,7 +67,7 @@ class Proxy_AccountTicket extends Google_Service_Analytics_AccountTicket { } /** - * Set the site secret. + * Sets the site secret. * * @since n.e.x.t *
7
diff --git a/lod.js b/lod.js @@ -553,7 +553,7 @@ using these results p.z >= this.z && p.z < this.z + this.lod; } } */ -export class LodChunkTracker extends EventTarget { +export class LodChunkTracker /* extends EventTarget */ { constructor({ chunkSize = defaultChunkSize, lods = 1, @@ -563,7 +563,7 @@ export class LodChunkTracker extends EventTarget { dcWorkerManager = null, debug = false, } = {}) { - super(); + // super(); // console.log('got lod chunk tracker', new Error().stack); @@ -589,6 +589,13 @@ export class LodChunkTracker extends EventTarget { this.lastOctreeLeafNodes = []; this.liveTasks = []; + this.listeners = { + postUpdate: [], + chunkDataRequest: [], + chunkAdd: [], + chunkRemove: [], + }; + if (debug) { const maxChunks = 4096; const instancedCubeGeometry = new THREE.InstancedBufferGeometry(); @@ -652,9 +659,7 @@ export class LodChunkTracker extends EventTarget { debugMesh.instanceMatrix.needsUpdate = true; debugMesh.instanceColor && (debugMesh.instanceColor.needsUpdate = true); }; - this.addEventListener('update', e => { - _flushChunks(); - }); + this.onPostUpdate(_flushChunks); } } } @@ -664,14 +669,77 @@ export class LodChunkTracker extends EventTarget { const cz = Math.floor(position.z / this.chunkSize); return target.set(cx, cy, cz); } - emitChunkDestroy(chunk) { + + // listeners + onPostUpdate(fn) { + this.listeners.postUpdate.push(fn); + } + onChunkDataRequest(fn) { + this.listeners.chunkDataRequest.push(fn); + } + onChunkAdd(fn) { + this.listeners.chunkAdd.push(fn); + } + onChunkRemove(fn) { + this.listeners.chunkRemove.push(fn); + } + + // unlisteners + offPostUpdate(fn) { + const index = this.listeners.postUpdate.indexOf(fn); + if (index !== -1) { + this.listeners.postUpdate.splice(index, 1); + } + } + offChunkDataRequest(fn) { + const index = this.listeners.chunkDataRequest.indexOf(fn); + if (index !== -1) { + this.listeners.chunkDataRequest.splice(index, 1); + } + } + offChunkAdd(fn) { + const index = this.listeners.chunkAdd.indexOf(fn); + if (index !== -1) { + this.listeners.chunkAdd.splice(index, 1); + } + } + offChunkRemove(fn) { + const index = this.listeners.chunkRemove.indexOf(fn); + if (index !== -1) { + this.listeners.chunkRemove.splice(index, 1); + } + } + + // emitter + postUpdate(result) { + for (const listener of this.listeners.postUpdate) { + listener(result); + } + } + chunkDataRequest(result) { + for (const listener of this.listeners.chunkDataRequest) { + listener(result); + } + } + chunkAdd(result) { + for (const listener of this.listeners.chunkAdd) { + listener(result); + } + } + chunkRemove(result) { + for (const listener of this.listeners.chunkRemove) { + listener(result); + } + } + + /* emitChunkDestroy(chunk) { this.dispatchEvent(new MessageEvent('destroy', { data: { node: chunk, } })); - } - listenForChunkDestroy(chunk, fn) { + } */ + /* listenForChunkDestroy(chunk, fn) { const destroy = e => { if (e.data.node.min.equals(chunk)) { fn(e); @@ -679,7 +747,7 @@ export class LodChunkTracker extends EventTarget { } }; this.addEventListener('destroy', destroy); - } + } */ /* updateCoord(currentCoord) { const octreeLeafNodes = constructOctreeForLeaf(currentCoord, this.minLodRange, 2 ** (this.lods - 1)); @@ -822,24 +890,14 @@ export class LodChunkTracker extends EventTarget { const {signal} = dataRequest; let waited = false; - const chunkDataRequestEvent = new MessageEvent('chunkdatarequest', { - data: { + this.chunkDataRequest({ chunk, waitUntil(promise) { - /* const stack = new Error().stack; - promise.then(r => { - if (r === null) { - console.log('promise stack', stack); - debugger; - } - }); */ dataRequest.waitUntil(promise); waited = true; }, signal, - }, }); - this.dispatchEvent(chunkDataRequestEvent); if (!waited) { dataRequest.waitUntil(Promise.resolve({ @@ -878,12 +936,9 @@ export class LodChunkTracker extends EventTarget { if (!dominator) { dominator = new Dominator(maxLodChunk, renderDatas => { for (const oldChunk of dominator.oldChunks) { - const chunkRemoveEvent = new MessageEvent('chunkremove', { - data: { + this.chunkRemove({ chunk: oldChunk, - }, }); - this.dispatchEvent(chunkRemoveEvent); const hash = _getHashChunk(oldChunk); this.renderedChunks.delete(hash); @@ -893,13 +948,10 @@ export class LodChunkTracker extends EventTarget { const renderData = renderDatas[i]; // console.log('add chunk', newChunk); - const chunkAddEvent = new MessageEvent('chunkadd', { - data: { + this.chunkAdd({ renderData, chunk: newChunk, - }, }); - this.dispatchEvent(chunkAddEvent); const hash = _getHashChunk(newChunk); this.renderedChunks.set(hash, newChunk); @@ -922,10 +974,9 @@ export class LodChunkTracker extends EventTarget { for (const dominator of this.dominators.values()) { dominator.start(); } - // window.dominators = this.dominators; } - this.dispatchEvent(new MessageEvent('update')); + this.postUpdate(); } update(position, quaternion, projectionMatrix) { // update sort
2
diff --git a/app/views/assignments/show.html.erb b/app/views/assignments/show.html.erb <% end %> <% if policy(@assignment).admin_access? && @assignment.status!="closed" %> <%= link_to edit_group_assignment_path(@group, @assignment), class: "btn btn-edit btn-assignment-show" do %> - <%= image_tag("/assets/SVGs/edit.svg", alt: "Edit", height: "15", width: "30") %> Edit + <%= image_tag("SVGs/edit.svg", alt: "Edit", height: "15", width: "30") %> Edit <% end %> <% end %> - <%= link_to 'Back', group_path(@group), class: "a-homepage" %> <% if policy(@assignment).can_be_graded? %> <%= link_to 'Export', grades_to_csv_path(@assignment, format: "csv"), class: "a-homepage" %> <% end %> + <%= link_to 'Back', group_path(@group), class: "a-homepage" %> </div> <hr> </div>
1
diff --git a/src/data/faq.json b/src/data/faq.json "anchor": "who_can_help", "active": true, "textblock": [ - "The technical hotline (phone 0800 7540001) will help you with technical questions about the Corona-Warn-App, for instance if you have problems with risk identification. You can reach the hotline from Monday to Saturday from 7 a.m. to 10 p.m. (except on German public holidays), and it is free of charge for you within Germany.", + "The technical hotline (telephone 0800 7540001) will help you with technical questions about the Corona-Warn-App, for instance if you have problems with risk identification. You can reach the hotline from Monday to Saturday from 7 a.m. to 10 p.m. (except on German public holidays), and it is free of charge for you within Germany.", "The TAN hotline (telephone 0800 7540002) will help you to enter the TAN if you have a positive test result and if you have not received a TAN or document with a QR code. The hotline is available Monday to Friday from 8 a.m. to 10 p.m. and Saturday and Sunday from 10 a.m. to 10 p.m. The call is free of charge.", "If the test result is not available in the Corona-Warn-App, the relevant service personnel, test centre or health authority should be contacted to obtain the test result. <a href='https://www.coronawarn.app/de/blog/2020-08-25-notes-qr-codes/'>Further information on the QR Code procedure</a>", "The websites of the Federal Government are offering general information and videos: <a href='https://www.bundesregierung.de/breg-de/themen/corona-warn-app'>https://www.bundesregierung.de/breg-de/themen/corona-warn-app</a>.",
10
diff --git a/README.md b/README.md @@ -65,15 +65,3 @@ Meet some of the outstanding guys that support `mojs` on [Patreon](https://patre - [Volodymyr Kushnir](https://twitter.com/VovaKushnir) - [Wojtek Jodel]() - [Roman Kuba](https://github.com/codebryo) - -## License - -(The MIT License) - -Copyright (c) Oleg Solomka [@LegoMushroom](https://twitter.com/legomushroom) [[email protected]](mailto:[email protected]) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2
diff --git a/js/templates/components/moderators.html b/js/templates/components/moderators.html </div> </div> <% } %> - <% if (ob.noValidModerators) { %> - <p class="clrTErr"> - <%= ob.polyT('moderators.noValidModerators') %> - <%= ob.polyT('moderators.noValidModeratorsBody') %> - </p> - <% } %> - <% if (ob.noValidVerifiedModerators && ob.showVerifiedOnly) { %> + <% if (ob.noValidModerators || ob.noValidVerifiedModerators && ob.showVerifiedOnly) { %> <div class="moderatorCard moderatorsMessage clrBr"> <div class="moderatorCardInner"> <div class="flexCent"> <div class="flexColRows flexHCent gutterVTn"> + <% if (ob.noValidModerators) { %> + <h4 class="clrTErr"><%= ob.polyT('moderators.noValidModerators') %></h4> + <div class="tx4 clrTErr"><%= ob.polyT('moderators.noValidModeratorsBody') %></div> + <% } else if (ob.noValidVerifiedModerators && ob.showVerifiedOnly) { %> <h4><%= ob.polyT('moderators.noVerifiedModerators') %></h4> <div class="tx4 clrT2"><%= ob.polyT('moderators.noVerifiedModeratorsBody') %></div> <div class="padTn"><% // just a spacer %></div> <div> <button class="btn clrP clrBr js-showUnverified"><%= ob.polyT('moderators.showUnverified') %></button> </div> + <% } %> </div> </div> </div>
4
diff --git a/Makefile b/Makefile @@ -137,10 +137,8 @@ r2-sdk-ios/$(r2_version): .PHONY: ext/frida -.git/modules/ext: .gitmodules - git submodule init - git submodule update - @touch $@ +ext/swift-frida/index.js: .gitmodules + git submodule update --init ext/frida: $(FRIDA_SDK) [ "`readlink ext/frida`" = frida-$(frida_os)-$(frida_version) ] || \ @@ -156,7 +154,7 @@ io_frida.$(SO_EXT): src/io_frida.o $(CYLANG_OBJ) src/io_frida.o: src/io_frida.c $(FRIDA_SDK) src/_agent.h $(CC) -c $(CFLAGS) $(FRIDA_CPPFLAGS) $< -o $@ -ext/swift-frida/node_modules: ext/swift-frida +ext/swift-frida/node_modules: ext/swift-frida/index.js cd ext/swift-frida && npm i src/_agent.h: src/_agent.js
7
diff --git a/factory-ai-vision/EdgeSolution/modules/WebModule/ui/src/pages/CameraDetails.tsx b/factory-ai-vision/EdgeSolution/modules/WebModule/ui/src/pages/CameraDetails.tsx @@ -45,7 +45,7 @@ const getAOIData = (cameraArea: string): AOIData => { return JSON.parse(cameraArea); } catch (e) { return { - useAOI: true, + useAOI: false, AOIs: [{ x1: 50, y1: 50, x2: 200, y2: 100 }], }; }
12
diff --git a/test/integration/offline.js b/test/integration/offline.js @@ -608,9 +608,52 @@ describe('Offline', () => { method: 'GET', }, () => { throw new Error('This is an error'); - } + }).toObject(); + + offline.inject({ + method: 'GET', + url: '/index', + payload: { data: 'input' }, + }).then(res => { + expect(res.headers).to.have.property('content-type').which.contains('application/json'); + expect(res.statusCode).to.eq(200); + done(); + }); + }); + + it('should support handler using async function', done => { + const offline = new OfflineBuilder(new ServerlessBuilder(serverless)) + .addFunctionHTTP('index', { + path: 'index', + method: 'GET', + }, async () => + ({ + statusCode: 200, + body: JSON.stringify({ message: 'Hello World' }), + }), ).toObject(); + offline.inject({ + method: 'GET', + url: '/index', + payload: { data: 'input' }, + }).then(res => { + expect(res.headers).to.have.property('content-type').which.contains('application/json'); + expect(res.statusCode).to.eq(200); + expect(res.payload).to.eq('{"message":"Hello World"}'); + done(); + }); + }); + + it('should support handler that uses async function that throws', done => { + const offline = new OfflineBuilder(new ServerlessBuilder(serverless)) + .addFunctionHTTP('index', { + path: 'index', + method: 'GET', + }, async () => { + throw new Error('This is an error'); + }).toObject(); + offline.inject({ method: 'GET', url: '/index',
0
diff --git a/ui/app/css/itcss/components/confirm.scss b/ui/app/css/itcss/components/confirm.scss @@ -242,6 +242,22 @@ section .confirm-screen-account-number, } } +@media screen and (max-width: 379px) { + .confirm-screen-row { + span.confirm-screen-section-column { + flex: 0.4; + } + + div.confirm-screen-section-column { + flex: 0.6; + } + + .currency-display__input { + font-size: 14px; + } + } +} + .confirm-screen-row-detail { font-size: 12px; line-height: 16px;
7
diff --git a/packages/next/pages/_document.tsx b/packages/next/pages/_document.tsx @@ -261,10 +261,9 @@ export class Head extends Component< }) : [] - return preloadFiles.length === 0 + return !preloadFiles.length ? null - : preloadFiles.map((file: string) => { - return ( + : preloadFiles.map((file: string) => ( <link key={file} nonce={this.props.nonce} @@ -275,8 +274,7 @@ export class Head extends Component< as="script" crossOrigin={this.props.crossOrigin || process.crossOrigin} /> - ) - }) + )) } getFidPolyfill(): JSX.Element | null { @@ -315,9 +313,8 @@ export class Head extends Component< // show a warning if Head contains <title> (only in development) if (process.env.NODE_ENV !== 'production') { children = React.Children.map(children, (child: any) => { - const isReactHelmet = - child && child.props && child.props['data-react-helmet'] - if (child && child.type === 'title' && !isReactHelmet) { + const isReactHelmet = child?.props?.['data-react-helmet'] + if (child?.type === 'title' && !isReactHelmet) { console.warn( "Warning: <title> should not be used in _document.js's <Head>. https://err.sh/next.js/no-document-title" ) @@ -391,14 +388,11 @@ export class Head extends Component< Array.isArray(styles.props.children) ) { const hasStyles = (el: React.ReactElement) => - el && - el.props && - el.props.dangerouslySetInnerHTML && - el.props.dangerouslySetInnerHTML.__html + el?.props?.dangerouslySetInnerHTML?.__html // @ts-ignore Property 'props' does not exist on type ReactElement styles.props.children.forEach((child: React.ReactElement) => { if (Array.isArray(child)) { - child.map(el => hasStyles(el) && curStyles.push(el)) + child.forEach(el => hasStyles(el) && curStyles.push(el)) } else if (hasStyles(child)) { curStyles.push(child) } @@ -844,13 +838,10 @@ export class NextScript extends Component<OriginProps> { } function getAmpPath(ampPath: string, asPath: string) { - return ampPath ? ampPath : `${asPath}${asPath.includes('?') ? '&' : '?'}amp=1` + return ampPath || `${asPath}${asPath.includes('?') ? '&' : '?'}amp=1` } function getPageFile(page: string, buildId?: string) { - if (page === '/') { - return buildId ? `/index.${buildId}.js` : '/index.js' - } - - return buildId ? `${page}.${buildId}.js` : `${page}.js` + const startingUrl = page === '/' ? '/index' : page + return buildId ? `${startingUrl}.${buildId}.js` : `${startingUrl}.js` }
7
diff --git a/articles/overview/deployment-models.md b/articles/overview/deployment-models.md @@ -182,9 +182,9 @@ The following table describes operational and feature differences between each o <tr> <th>MFA</th> <td>Yes</td> - <td>Google Authenticator, Duo over TOTP/HOTP. Guardian is *not* available.</td> - <td>Google Authenticator, Duo over TOTP/HOTP. Guardian is *not* available.</td> - <td>Google Authenticator, Duo over TOTP/HOTP. Guardian is *not* available.</td> + <td>Google Authenticator, Duo over TOTP/HOTP. Guardian is <i>not</i> available.</td> + <td>Google Authenticator, Duo over TOTP/HOTP. Guardian is <i>not</i> available.</td> + <td>Google Authenticator, Duo over TOTP/HOTP. Guardian is <i>not</i> available.</td> </tr> <tr> <th>Internet Restricted</th>
2
diff --git a/local_modules/Emoji/Views/EmojiPickerPopoverContentView.web.js b/local_modules/Emoji/Views/EmojiPickerPopoverContentView.web.js @@ -103,7 +103,7 @@ class EmojiPickerPopoverContentView extends View layer.style.overflowY = "scroll" layer.classList.add(NamespaceName) // - const emojis = emoji.Emojis + const emojis = emoji_set.Emojis const emojis_length = emojis.length for (let i = 0 ; i < emojis_length ; i++) { const emoji = emojis[i]
3
diff --git a/microraiden/microraiden/client/default_http_client.py b/microraiden/microraiden/client/default_http_client.py @@ -53,7 +53,7 @@ class DefaultHTTPClient(HTTPClient): log.error( 'Server was unable to verify the transfer - Invalid amount sent by the client.' ) - return False + return True def _approve_payment(self, balance: int, balance_sig: bytes, channel_manager_address: str): assert balance is None or isinstance(balance, int)
11
diff --git a/www/pages/index.js b/www/pages/index.js @@ -49,7 +49,7 @@ export default class HomePage extends Component { </Col> </Row> <hr /> - <p>How about <strong><Link to="/guides/getting-started">some docs</Link></strong>, because the homepage is a work in progress?</p> + <p>How about <strong><Link to="/introduction/getting-started" style={{ color: 'white' }}>some docs</Link></strong>, because the homepage is a work in progress?</p> </Container> </div> );
1
diff --git a/packages/node_modules/@node-red/editor-api/lib/editor/index.js b/packages/node_modules/@node-red/editor-api/lib/editor/index.js @@ -88,13 +88,13 @@ module.exports = { // Locales var locales = require("./locales"); locales.init(runtimeAPI); - editorApp.get(/locales\/(.+)\/?$/,locales.get,apiUtil.errorHandler); + editorApp.get(/^\/locales\/(.+)\/?$/,locales.get,apiUtil.errorHandler); // Library var library = require("./library"); library.init(runtimeAPI); - editorApp.get(/library\/([^\/]+)\/([^\/]+)(?:$|\/(.*))/,needsPermission("library.read"),library.getEntry); - editorApp.post(/library\/([^\/]+)\/([^\/]+)\/(.*)/,needsPermission("library.write"),library.saveEntry); + editorApp.get(/^\/library\/([^\/]+)\/([^\/]+)(?:$|\/(.*))/,needsPermission("library.read"),library.getEntry); + editorApp.post(/^\/library\/([^\/]+)\/([^\/]+)\/(.*)/,needsPermission("library.write"),library.saveEntry); // Credentials
1
diff --git a/README.md b/README.md @@ -249,23 +249,6 @@ When a new tag is pushed, it will trigger a deploy of all four clients: 3. The **Android** app automatically deploys via a GitHub Action in `.github/workflows/android.yml` 4. The **iOS** app automatically deploys via a GitHub Action in `.github/workflows/ios.yml` -### Secrets -The GitHub workflows require a large list of secrets to deploy, notify and test the code: -1. `LARGE_SECRET_PASSPHRASE` - decrypts secrets stored in various encrypted files stored in GitHub repository: - 1. `android/app/my-upload-key.keystore.gpg` - 2. `android/app/android-fastlane-json-key.json.gpg` - 3. `ios/chat_expensify_appstore.mobileprovision` - 4. `ios/Certificates.p12.gpg` -2. `SLACK_WEBHOOK` - Sends Slack notifications via Slack WebHook https://expensify.slack.com/services/B01AX48D7MM -3. `OS_BOTIFY_TOKEN` - Personal access token for @OSBotify user in GitHub -4. `CSC_LINK` - Required to be set for desktop code signing: https://www.electron.build/code-signing.html#travis-appveyor-and-other-ci-servers -5. `CSC_KEY_PASSWORD` - Required to be set for desktop code signing: https://www.electron.build/code-signing.html#travis-appveyor-and-other-ci-servers -6. `APPLE_ID` - Required for notarizing desktop code in `desktop/notarize.js` -7. `APPLE_ID_PASSWORD` - Required for notarizing desktop code in `desktop/notarize.js` -8. `AWS_ACCESS_KEY_ID` - Required for hosting website and desktop compiled code -9. `AWS_SECRET_ACCESS_KEY` - Required for hosting website and desktop compiled code -10. `CLOUDFLARE_TOKEN` - Required for hosting website - ## Local production build Sometimes it might be beneficial to generate a local production version instead of testing on production. Follow the steps below for each client:
5
diff --git a/generators/entity-server/templates/src/test/java/package/web/rest/EntityResourceIntTest.java.ejs b/generators/entity-server/templates/src/test/java/package/web/rest/EntityResourceIntTest.java.ejs @@ -354,7 +354,7 @@ _%> <%_ if (service !== 'no') { _%> final <%= entityClass %>Resource <%= entityInstance %>Resource = new <%= entityClass %>Resource(<%= entityInstance %>Service<% if (jpaMetamodelFiltering) { %>, <%= entityInstance %>QueryService<% } %><% if (saveUserSnapshot) { %>, userRepository<% } %>); <%_ } else { _%> - final <%= entityClass %>Resource <%= entityInstance %>Resource = new <%= entityClass %>Resource(<%= entityInstance %>Repository<% if (dto === 'mapstruct') { %>, <%= entityInstance %>Mapper<% } %><% if (searchEngine === 'elasticsearch') { %>, mock<%= entityClass %>SearchRepository<% } %><% if (reactiveRepositories) { %>, <%= entityInstance %>ReactiveRepository<% } %><% if (jpaMetamodelFiltering) { %>, <%= entityInstance %>QueryService<% } %><% if (saveUserSnapshot) { %>, userRepository<% } %>); + final <%= entityClass %>Resource <%= entityInstance %>Resource = new <%= entityClass %>Resource(<%= entityInstance %>Repository<% if (dto === 'mapstruct') { %>, <%= entityInstance %>Mapper<% } %><% if (searchEngine === 'elasticsearch') { %>, mock<%= entityClass %>SearchRepository<% } %><% if (reactiveRepositories) { %>, <%= entityInstance %>ReactiveRepository<% } %><% if (saveUserSnapshot) { %>, userRepository<% } %>); <%_ } _%> this.rest<%= entityClass %>MockMvc = MockMvcBuilders.standaloneSetup(<%= entityInstance %>Resource) .setCustomArgumentResolvers(pageableArgumentResolver)
2
diff --git a/src/components/backupWallet/BackupWallet.js b/src/components/backupWallet/BackupWallet.js @@ -58,9 +58,6 @@ const BackupWallet = ({ screenProps }: BackupWalletProps) => { <CustomButton mode="outlined" onPress={sendRecoveryEmail} color="#575757"> RESEND BACKUP EMAIL </CustomButton> - <CustomButton mode="contained" onPress={() => screenProps.navigateTo('Home')} style={styles.doneButton}> - Done - </CustomButton> </View> </View> )
2
diff --git a/demo/chains.json b/demo/chains.json -{ - "0xb6cfeab83614da04c03db0fb8a6787a45d0be8d576fcc6f8f457a5a816d22ab3": { - "name": "development", - "contracts": { - "0x199478eefb40947c193b9cf3b3e212e127f57093e2d29d853e807e3d50e993a9": { - "address": "0x2d89d807c8e0b1d935e64ae6fc9948927238a61f", - "name": "SimpleStorage" - }, - "0x2ca4854a4c230a871a4ca09c90cda34be11e16a4e39d0afaa1760937f30c6b4b": { - "address": "0x1ca9e20a549c07713fa0a8e5b91d97e4d4f13102", - "name": "SimpleStorage" - }, - "0x30debf1ddb9bc27d7c57b7d22bb5435963d09006227fdef87957f570e6172878": { - "address": "0x15a073bfaf0eefb5f83e448536bc3b1ff0f5fa77", - "name": "SimpleStorage" - }, - "0x39aa9b01b12157a1f871b2d4d715c805edbbb5f9cbd90c874453a477cd85dd21": { - "address": "0x83ed4c38414b8cc850a8b54137cee2d2d3cd4a54", - "name": "SimpleStorage" - }, - "0x4681c3761489bb87b5d555ce0ec302ffee8d07cba2297308f6a221a4555b1beb": { - "address": "0x0b2ae8b880138732618f3f2fad69f4264b7cb3f6", - "name": "SimpleStorage" - }, - "0x539233272cadc59a96f7e1fa4860d38064470ef78fc643b94907acd78edd997f": { - "address": "0x13eccc48d69c071a52d4fee3fd8c285726671314", - "name": "MyToken" - }, - "0x6772be067fbd9b30fe9edb3429d33f68aa48e3e61acc1cabd213cc7cbf162410": { - "address": "0x469e6dd74bb15b6ac698c18649646a25c8f73dcb", - "name": "Token" - }, - "0x6df32279434b15cdfd3ae8adf76f8c0d56f54af015adc028301b724903c1d554": { - "address": "0x94f3f531552ea387d1fd866df313644760497194", - "name": "Token2" - }, - "0x742ed3ed386803dd0bdd5b9762e7a7e2181b44da0a4f17d94964a2e39a4bd80c": { - "address": "0x3f41425fd7ced93ef29666c3055bad9dd8a98e27", - "name": "Token2" - }, - "0x78cd532884e55ba84d4ce6b8cd445fca823df5e235b68bf5f2efcb7c3666e5fb": { - "address": "0x2456533c6d99a0bfd8b840baf02ce36d0f3042a4", - "name": "MyToken" - }, - "0x7cbd149aa063d4b1851f96af680813d15bc7eb677aeff38ac27a8e5e3777d96e": { - "address": "0xd2c9564f518c82b41d5ac048c53d91811ccba75b", - "name": "Token" - }, - "0x7f89f5036d56b3f1c4bd36c8756e9b84720ea759077dea08c0b03c181c7dfbac": { - "address": "0x8c2fb297e690c5bfb72542a2e26db61eeb0a83ba", - "name": "Token" - }, - "0x80b74f77f6aeb9173035e415ac05be12c04e2245fca2fcce5c15b00ed795c60a": { - "address": "0xb3be286eed7acdf7a9a4dcf7188933203062d58b", - "name": "Token" - }, - "0x9539a9b9e13dcebd09d5a04a954e04e116cd7eac437ad3a6b63009764480c23b": { - "address": "0xbd9342a087f2e051f774e80a7a0f509336d2a929", - "name": "Token" - }, - "0x98e79c36bce198d2b4431a051af9d7b61b0f6a011c8f6ddf980fe5f255792147": { - "address": "0x459de4ddbe73e0e56c45705c302d9f18f6b39e07", - "name": "MyToken" - }, - "0xa3c135812504c0e06e3eca108d1650c619e7a6cdc2f620cd4a72017ddfc1bc42": { - "address": "0xd6bbe25822cd29dba8759ab44ea324616823366e", - "name": "Token" - }, - "0xac3112428b4e998bc2f30366462b25eb7921271d7b6b8b7d511a508ed61f0096": { - "address": "0x9da460057db8a1105fd7344169969600d09cfcc9", - "name": "MyToken" - }, - "0xad0ab10070707a8d9b7c32eae670ce9a0f75e0b6532d576bca60d0fd8059735d": { - "address": "0xa3af61a4c2df7112b6ddb4ee552d9386e5fbf9b1", - "name": "SimpleStorage" - }, - "0xb5d47de7c3ad6972e25a3ad31d5da21326117d028d2e604c2ea3484a7bd6a0ae": { - "address": "0x71987ad6a12c7ff50b51fdee40019af3a83da6e0", - "name": "SimpleStorage" - }, - "0xb8d9cbd6084ae35caeacf331c55c5697806985bcc12230f31af0644233ece6e2": { - "address": "0x009725e877d77545d011512d41475de8ee60c4a0", - "name": "SimpleStorage" - }, - "0xcc3e11086496bffa67263048824f937ee02a3dc3603ca7467e9bc2d53ff95caa": { - "address": "0x4d116353ad86a8f96fc352a0957fd82468348c61", - "name": "SimpleStorage" - }, - "0xcf65161d149dc6398d702bd0e08ebba79682ea0275849fc300caae00dd022cc4": { - "address": "0xa2595b17c8ad94bfff82d48fc0ff7f2216f0cfad", - "name": "Token2" - }, - "0xd2c530b312af692267d2e33b639c2578f5cd18269fbfad8f3a31da31b53482e8": { - "address": "0x5c5067d3c7d8eab10f6673c164ffe73b6e928921", - "name": "SimpleStorage" - }, - "0xda33def17ace91c7aa84a3f6bb73ba50262c2eb0057bd88524ce98a3763df759": { - "address": "0xc20ee0c4a812d3895727077ed85381df9a7b6423", - "name": "MyToken" - }, - "0xde41c9838a26c5582ea63f58393a74e317a71d2a90b37d6989591576a8fe735a": { - "address": "0x6232d8c539fbb9bb8c430c2ea8779d65d33ae517", - "name": "Token" - }, - "0xe2be4e01aafe01b6595699c00c5dcffa43ae37f9149c55146f8cbbcf3536dd90": { - "address": "0xa3a735f710ae5916fe8fbc8dab3b0b85d3412679", - "name": "MyToken" - }, - "0xff7d52dd04c24b035a0e2c6e9c160e5a602932fcb673739ae66d1bca042a37c4": { - "address": "0x6c45ef2b2a2a79bbbb569f358a97c66edc0526e0", - "name": "Token" - } - } - } -} \ No newline at end of file +{}
13
diff --git a/core/field_textinput.js b/core/field_textinput.js @@ -88,6 +88,11 @@ Blockly.FieldTextInput.prototype.SERIALIZABLE = true; */ Blockly.FieldTextInput.FONTSIZE = 11; +/** + * Pixel size of input border radius. Should match blocklyText's border-radius in CSS. + */ +Blockly.FieldTextInput.BORDERRADIUS = 4; + /** * Mouse cursor style when over the hotspot that initiates the editor. */ @@ -252,6 +257,9 @@ Blockly.FieldTextInput.prototype.widgetCreate_ = function() { (Blockly.FieldTextInput.FONTSIZE * this.workspace_.scale) + 'pt'; div.style.fontSize = fontSize; htmlInput.style.fontSize = fontSize; + var borderRadius = + (Blockly.FieldTextInput.BORDERRADIUS * this.workspace_.scale) + 'px'; + htmlInput.style.borderRadius = borderRadius; div.appendChild(htmlInput); htmlInput.value = htmlInput.defaultValue = this.value_;
12
diff --git a/app/assets/javascripts/pageflow/editor/views/configuration_editors/video.js b/app/assets/javascripts/pageflow/editor/views/configuration_editors/video.js @@ -19,7 +19,7 @@ pageflow.ConfigurationEditorView.register('video', { }); this.input('mobile_poster_image_id', pageflow.FileInputView, { collection: pageflow.imageFiles, - positioning: false + positioning: true }); this.input('thumbnail_image_id', pageflow.FileInputView, { collection: pageflow.imageFiles,
11
diff --git a/nin/backend/watch.js b/nin/backend/watch.js @@ -13,7 +13,7 @@ function watch(projectPath, cb) { 'res/graph.json', 'res/*.camera.json'], { - ignored: [/[\/\\]\./, /\/shaders\//, /___jb_tmp___/], + ignored: [/[\/\\]\./, /\/shaders\//, /___jb_tmp___/, /___jb_old___/], persistent: true, ignoreInitial: false, cwd: projectPath,
8
diff --git a/docs/index-plugins.html b/docs/index-plugins.html @@ -9744,27 +9744,6 @@ article ul { </div> </li> <li class="tool"> - <a href="https://pointbreak.protowire.com" class="tool__asset" target="_blank" style="background-color: hsl(35.3, 95%, 81%); color: rgb(219, 173, 107);">P</a> - <div class="tool__description"> - <header class="tool__description__header"> - -<p><a href="https://pointbreak.protowire.com" target="_blank">Pointbreak</a> - </p><div class="label-wrapper"> - - <div class="label label--sketch" title="this plugin is for Sketch" for="sketch"> - Sketch - </div> - - </div> - </header> - <p>Add breakpoints to artboards so you can have mobile and desktop designs on the one artboard. </p> -<p></p> - <div class="tag-wrapper"> - - </div> - </div> - </li> -<li class="tool"> <a href="https://github.com/romashamin/compo-sketch" class="tool__asset" target="_blank" style="background-color: hsl(35.3, 95%, 81%); color: rgb(219, 173, 107);">C</a> <div class="tool__description"> <header class="tool__description__header"> @@ -15851,27 +15830,6 @@ article ul { </header> <ul> -<li class="tool"> - <a href="https://protowire.com" class="tool__asset" target="_blank" style="background-color: hsl(271.6, 77%, 81%); color: rgb(167, 116, 212);">P</a> - <div class="tool__description"> - <header class="tool__description__header"> - -<p><a href="https://protowire.com" target="_blank">Protowire</a> - </p><div class="label-wrapper"> - - <div class="label label--sketch" title="this plugin is for Sketch" for="sketch"> - Sketch - </div> - - </div> - </header> - <p>Adds prototyping to Sketch including transitions between screens and layer animation. </p> -<p></p> - <div class="tag-wrapper"> - - </div> - </div> - </li> <li class="tool"> <a href="https://github.com/FreakLand/sketch-browser-preview" class="tool__asset" target="_blank" style="background-color: hsl(271.6, 77%, 81%); color: rgb(167, 116, 212);">SB</a> <div class="tool__description">
2
diff --git a/src/screens/DateFilterScreen/DateRangePickerDay.js b/src/screens/DateFilterScreen/DateRangePickerDay.js @@ -156,9 +156,6 @@ const styles = StyleSheet.create({ alignItems: "center", alignSelf: "stretch" }, - faded: { - opacity: 0.5 - }, overlay: { position: "absolute", height: FILLER_HEIGHT,
2
diff --git a/contracts/project.json b/contracts/project.json }, "web3": { "provider": { - "class": "web3.providers.rpc.RPCProvider", + "class": "web3.providers.rpc.HTTPProvider", "settings": { - "host": "127.0.0.1", - "port": 8545 + "endpoint_uri": "http://127.0.0.1:8545", + "request_kwargs": { + "timeout": 180 + } } } }
14
diff --git a/docs/sdk/exokitCommandLineFlags.md b/docs/sdk/exokitCommandLineFlags.md @@ -17,16 +17,16 @@ An example of how to use these flags: |-|-|-| |`-v`|`--version`|Version of Exokit Engine| |`-h`|`--home`|Loads realitytabs.html home (default)| -|`-t`|`--tab`|Load a URL as a reality Tab| +|`-t <site url>`|`--tab`|Load a URL as a reality Tab| |`-w`|`--webgl`|Exposes WebGL, by default Exokit exposes WebGL2| -|`-x <all, webvr>`|`--xr`|By default loads both WebXR and WebVR, `-x webvr` loads WebVR specifically| +|`-x <all, webvr>`|`--xr`|By default uses `-x all`, which loads both WebXR and WebVR, `-x webvr` loads WebVR specifically| |`-p`|`--perf`|Performance logging to console| |`-s <size>`|`--size`|Set window size| |`-f`|`--frame`|Get GL call list with arguments to console log| |`-m`|`--minimalFrame`|Get GL call list to console log| -|`-q`|`--quit`|Quit and exit process| +|`-q`|`--quit`|Quits on load, runs the load phase and quits before render| |`-l`|`--log`|Output log to log.txt| -|`-r <file> <file>`|`--replace`|Replace with a local file| +|`-r <remote site file> <local file path>`|`--replace`|Replace file from site with a local file| |`-u`|`--require`|Require native modules| |`-n`|`--headless`|Run Exokit in headless mode| -|`-d`|`--download`|Download site to `downloads` directory| +|`-d <site url>`|`--download`|Download site to `downloads` directory|
7
diff --git a/tasks/test_syntax.js b/tasks/test_syntax.js @@ -205,6 +205,7 @@ function assertFileNames() { base === 'CONTRIBUTING.md' || base === 'CHANGELOG.md' || base === 'SECURITY.md' || + base === 'BUILDING.md' || file.indexOf('mathjax') !== -1 ) return;
0
diff --git a/workshops/reinvent2018/readme.md b/workshops/reinvent2018/readme.md @@ -960,9 +960,9 @@ If an argument (N) is supplied as an integer, the function will return N most re Use 'Import' to the import a configuration file from the following url: - <pre> +``` https://raw.githubusercontent.com/aws-samples/aws-ai-qna-bot/master/workshops/reinvent2018/samples/sun-questions-qna-step-7.json - </pre> +``` This file contains the questions preconfigured for the step.
2
diff --git a/doc/index.md b/doc/index.md Tabris.js is a mobile framework that lets you develop native iOS and Android apps from a single code base written entirely in JavaScript. Tabris.js is a good choice when you are looking for native performance and look & feel while leveraging your JavaScript know-how. Tabris.js has been crafted with web APIs and extensibility on our minds. You can use existing JavaScript libraries and native extensions to extend the core functionality. -## For Beginners +## Getting Started - [Getting Started](getting-started.md) - Create your first Tabris.js App - [The Tabris.js Developer App](developer-app.md) - Get the most out of our developer app
10
diff --git a/bot/src/bot_settings.js b/bot/src/bot_settings.js @@ -268,7 +268,7 @@ module.exports = [ defaultUserFacingValue: '.7', convertUserFacingValueToInternalValue: SettingsConverters.stringToFloat, convertInternalValueToUserFacingValue: SettingsConverters.toString, - validateInternalValue: SettingsValidators.createRangeValidator(0, 1), + validateInternalValue: SettingsValidators.createRangeValidator(0, 3), }, { userFacingName: 'Bot turn minimum wait',
11
diff --git a/public/app/img/arrow_drop_down.svg b/public/app/img/arrow_drop_down.svg -<svg fill="#000000" opacity="0.3" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> - <path d="M7 10l5 5 5-5z"/> +<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> + <path fill="rgb(127, 127, 127)" opacity="0.5" d="M7 10l5 5 5-5z"/> <path d="M0 0h24v24H0z" fill="none"/> </svg>
7
diff --git a/src/public/search/TargetDetail.js b/src/public/search/TargetDetail.js @@ -20,10 +20,14 @@ const TargetDetail = ({ classes, data }) => { id, approvedSymbol, approvedName, - proteinAnnotations: { functions, accessions }, + proteinAnnotations, bioType, associationsOnTheFly: { rows }, } = data; + + const functions = proteinAnnotations ? proteinAnnotations.functions : null; + const accessions = proteinAnnotations ? proteinAnnotations.accessions : null; + return ( <> <CardContent> @@ -34,7 +38,7 @@ const TargetDetail = ({ classes, data }) => { <Typography color="primary"> <TargetIcon className={classes.icon} /> Target </Typography> - <LongText lineLimit={4}>{functions[0]}</LongText> + {functions ? <LongText lineLimit={4}>{functions[0]}</LongText> : null} {rows.length > 0 && ( <> <Typography className={classes.subtitle} variant="subtitle1"> @@ -53,7 +57,7 @@ const TargetDetail = ({ classes, data }) => { Biotype </Typography> <Typography>{bioType}</Typography> - {accessions.length > 0 && ( + {accessions && accessions.length > 0 ? ( <> <Typography className={classes.subtitle} variant="subtitle1"> Uniprot accessions @@ -71,7 +75,7 @@ const TargetDetail = ({ classes, data }) => { ); })} </> - )} + ) : null} </CardContent> </> );
9
diff --git a/src/components/views/SoftwarePanels/index.js b/src/components/views/SoftwarePanels/index.js @@ -80,6 +80,7 @@ class SoftwarePanels extends Component { const { components, connections, cables } = this.state; const calcedComps = {}; const calcLevel = comp => { + try { if (calcedComps[comp.id] || calcedComps[comp.id] === 0) return calcedComps[comp.id]; // Get the down-stream levels @@ -102,7 +103,9 @@ class SoftwarePanels extends Component { : calcLevel(c) ) .filter(c => (Array.isArray(c) ? c.length > 0 : c || c === 0)) - .concat(topCompNames.indexOf(comp.component) > -1 ? [0] : [comp.level]) + .concat( + topCompNames.indexOf(comp.component) > -1 ? [0] : [comp.level] + ) .sort(function(a, b) { return b - a; }); @@ -112,6 +115,10 @@ class SoftwarePanels extends Component { const level = getComponentLevel(comp, levels); calcedComps[comp.id] = level; return level; + } catch (err) { + console.log(err); + return 0; + } }; const topComponents = components.filter( @@ -196,7 +203,10 @@ class SoftwarePanels extends Component { }; render() { - const { data: { loading, softwarePanels }, panel } = this.props; + const { + data: { loading, softwarePanels }, + panel + } = this.props; const { selectedPanel, components, connections, cables } = this.state; const shownPanel = panel || selectedPanel; if (loading) return null; @@ -232,7 +242,7 @@ class SoftwarePanels extends Component { > {({ measureRef }) => ( <div className="componentCanvas" ref={measureRef}> - <div style={{ paddingTop: `${9 / 16 * 100}%` }} /> + <div style={{ paddingTop: `${(9 / 16) * 100}%` }} /> {this.state.dimensions && ( <Canvas edit={false}
1
diff --git a/grails-app/controllers/streama/UserController.groovy b/grails-app/controllers/streama/UserController.groovy @@ -197,7 +197,7 @@ class UserController { Genre.findOrCreateByApiId(it.apiId) } - bindData(currentUser, userData, [exclude: ['username', 'password', 'lastUpdated']]) + bindData(currentUser, userData, [exclude: ['username', 'password', 'lastUpdated', 'dateCreated']]) currentUser.save failOnError: true, flush: true
1
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -82,6 +82,8 @@ jobs: docker: - image: circleci/node:8.16-browsers working_directory: ~/repo + environment: + NODE_OPTIONS: --max-old-space-size=4000 steps: - run: | echo export RELEASE_VERSION="0.1.0-prerelease.$(date +'%Y%m%d%H%M%S')" >> $BASH_ENV
12
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -329,6 +329,43 @@ metaversefile.setApi({ createApp() { return appManager.createApp(appManager.getNextAppId()); }, + teleportTo: (() => { + // const localVector = new THREE.Vector3(); + const localVector2 = new THREE.Vector3(); + // const localQuaternion = new THREE.Quaternion(); + const localQuaternion2 = new THREE.Quaternion(); + const localMatrix = new THREE.Matrix4(); + return function(position, quaternion) { + const renderer = getRenderer(); + const xrCamera = renderer.xr.getSession() ? renderer.xr.getCamera(camera) : camera; + // console.log(position, quaternion, pose, avatar) + /* localMatrix.fromArray(rigManager.localRig.model.matrix) + .decompose(localVector2, localQuaternion2, localVector3); */ + + if (renderer.xr.getSession()) { + localMatrix.copy(xrCamera.matrix) + .premultiply(dolly.matrix) + .decompose(localVector2, localQuaternion2, localVector3); + dolly.matrix + .premultiply(localMatrix.makeTranslation(position.x - localVector2.x, position.y - localVector2.y, position.z - localVector2.z)) + // .premultiply(localMatrix.makeRotationFromQuaternion(localQuaternion3.copy(quaternion).inverse())) + // .premultiply(localMatrix.makeTranslation(localVector2.x, localVector2.y, localVector2.z)) + .premultiply(localMatrix.makeTranslation(0, physicsManager.getAvatarHeight(), 0)) + .decompose(dolly.position, dolly.quaternion, dolly.scale); + dolly.updateMatrixWorld(); + } else { + camera.matrix + .premultiply(localMatrix.makeTranslation(position.x - camera.position.x, position.y - camera.position.y, position.z - camera.position.z)) + // .premultiply(localMatrix.makeRotationFromQuaternion(localQuaternion3.copy(quaternion).inverse())) + // .premultiply(localMatrix.makeTranslation(localVector2.x, localVector2.y, localVector2.z)) + .premultiply(localMatrix.makeTranslation(0, physicsManager.getAvatarHeight(), 0)) + .decompose(camera.position, camera.quaternion, camera.scale); + camera.updateMatrixWorld(); + } + + physicsManager.velocity.set(0, 0, 0); + }; + })(), useInternals() { if (!(iframeContainer && iframeContainer2)) { iframeContainer = document.getElementById('iframe-container');
0
diff --git a/src/components/dashboard/FaceRecognition/ZoomCapture.js b/src/components/dashboard/FaceRecognition/ZoomCapture.js @@ -59,7 +59,14 @@ class ZoomCapture extends React.Component<ZoomCaptureProps> { <Section style={styles.bottomSection}> <div id="zoom-parent-container" style={getVideoContainerStyles()}> <div id="zoom-interface-container" style={{ position: 'absolute' }} /> - {<Camera height={this.props.height} onCameraLoad={this.onCameraLoad} onError={this.props.onError} />} + { + <Camera + height={this.props.height} + width={this.props.width} + onCameraLoad={this.onCameraLoad} + onError={this.props.onError} + /> + } </div> </Section> </View>
0
diff --git a/app/src/renderer/components/staking/PageCandidates.vue b/app/src/renderer/components/staking/PageCandidates.vue @@ -44,7 +44,7 @@ export default { computed: { ...mapGetters(['candidates', 'filters', 'shoppingCart', 'user']), pageTitle () { - if (this.user.signedIn) return `Delegate (${this.candidatesNum} Selected)` + if (this.user.signedIn) return `Delegate (${this.candidatesNum} Candidates Selected)` else return 'Delegate' }, filteredCandidates () {
3
diff --git a/src/components/Breadcrumbs.js b/src/components/Breadcrumbs.js @@ -5,7 +5,7 @@ import { useIntl } from "gatsby-plugin-intl" import Link from "./Link" import { translateMessageId, supportedLanguages } from "../utils/translations" -const Crumb = styled.h4` +const Crumb = styled.a` margin: 0; font-size: 14px; line-height: 140%; @@ -79,8 +79,10 @@ const Breadcrumbs = ({ slug, startDepth = 0, className }) => { }) return ( + <nav aria-label="Breadcrumb"> <List className={className} dir={"auto"}> {crumbs.map((crumb, idx) => ( + <ol> <ListItem key={idx}> <Crumb> <CrumbLink @@ -92,8 +94,10 @@ const Breadcrumbs = ({ slug, startDepth = 0, className }) => { {idx < crumbs.length - 1 && <Slash>/</Slash>} </Crumb> </ListItem> + </ol> ))} </List> + </nav> ) }
7
diff --git a/packages/app/src/components/InAppNotification/InAppNotificationPage.tsx b/packages/app/src/components/InAppNotification/InAppNotificationPage.tsx @@ -21,23 +21,19 @@ const InAppNotificationPageBody: FC<Props> = (props) => { const { t } = useTranslation(); const limit = appContainer.config.pageLimitationXL; - const [activePageOfAllNotificationCat, setActivePage] = useState(1); - const [activePageOfUnopenedNotificationCat, setActiveUnopenedNotificationPage] = useState(1); - - const setAllNotificationPageNumber = (selectedPageNumber): void => { - setActivePage(selectedPageNumber); - }; - - const setUnopenedPageNumber = (selectedPageNumber): void => { - setActiveUnopenedNotificationPage(selectedPageNumber); - }; // commonize notification lists by 81953 const AllInAppNotificationList = () => { + const [activePageOfAllNotificationCat, setActivePage] = useState(1); const offsetOfAllNotificationCat = (activePageOfAllNotificationCat - 1) * limit; const { data: allNotificationData } = useSWRxInAppNotifications(limit, offsetOfAllNotificationCat); + const setAllNotificationPageNumber = (selectedPageNumber): void => { + setActivePage(selectedPageNumber); + }; + + if (allNotificationData == null) { return ( <div className="wiki"> @@ -67,11 +63,16 @@ const InAppNotificationPageBody: FC<Props> = (props) => { // commonize notification lists by 81953 const UnopenedInAppNotificationList = () => { + const [activePageOfUnopenedNotificationCat, setActiveUnopenedNotificationPage] = useState(1); const offsetOfUnopenedNotificationCat = (activePageOfUnopenedNotificationCat - 1) * limit; const { data: unopendNotificationData, mutate, } = useSWRxInAppNotifications(limit, offsetOfUnopenedNotificationCat, InAppNotificationStatuses.STATUS_UNOPENED); + const setUnopenedPageNumber = (selectedPageNumber): void => { + setActiveUnopenedNotificationPage(selectedPageNumber); + }; + const updateUnopendNotificationStatusesToOpened = async() => { await apiv3Put('/in-app-notification/all-statuses-open'); mutate();
5
diff --git a/generators/openapi-client/files.js b/generators/openapi-client/files.js @@ -105,8 +105,6 @@ function writeFiles() { return; } - const openApiToolsDependencyVersion = '0.2.1'; - if (this.buildTool === 'maven') { if (!['microservice', 'gateway', 'uaa'].includes(this.applicationType)) { let exclusions; @@ -122,9 +120,6 @@ function writeFiles() { this.addMavenDependency('org.springframework.cloud', 'spring-cloud-starter-openfeign', null, exclusions); } this.addMavenDependency('org.springframework.cloud', 'spring-cloud-starter-oauth2'); - this.addMavenProperty('jackson-databind-nullable.version', openApiToolsDependencyVersion); - // eslint-disable-next-line no-template-curly-in-string - this.addMavenDependency('org.openapitools', 'jackson-databind-nullable', '${jackson-databind-nullable.version}'); } else if (this.buildTool === 'gradle') { if (!['microservice', 'gateway', 'uaa'].includes(this.applicationType)) { if (this.authenticationType === 'session') { @@ -136,7 +131,19 @@ function writeFiles() { } } this.addGradleDependency('compile', 'org.springframework.cloud', 'spring-cloud-starter-oauth2'); - this.addGradleProperty('jackson_databind_nullable_version', openApiToolsDependencyVersion); + } + + if (!this.enableSwaggerCodegen) { + /* This is a hack to avoid non compiling generated code from openapi generator when the + * enableSwaggerCodegen option is not selected (otherwise the jackson-databind-nullable dependency is already added). + * Related to this issue https://github.com/OpenAPITools/openapi-generator/issues/2901 - remove this code when it's fixed. + */ + if (this.buildTool === 'maven') { + this.addMavenProperty('jackson-databind-nullable.version', jhipsterConstants.JACKSON_DATABIND_NULLABLE_VERSION); + // eslint-disable-next-line no-template-curly-in-string + this.addMavenDependency('org.openapitools', 'jackson-databind-nullable', '${jackson-databind-nullable.version}'); + } else if (this.buildTool === 'gradle') { + this.addGradleProperty('jackson_databind_nullable_version', jhipsterConstants.JACKSON_DATABIND_NULLABLE_VERSION); this.addGradleDependency( 'compile', 'org.openapitools', @@ -145,6 +152,7 @@ function writeFiles() { '${jackson_databind_nullable_version}' ); } + } }, enableFeignClients() {
7
diff --git a/lib/dom_utils.coffee b/lib/dom_utils.coffee @@ -306,11 +306,11 @@ DomUtils = @suppressPropagation(event) consumeKeyup: do -> - handlerId = null + handlerId = "not-an-id" (event, callback = null) -> unless event.repeat - handlerStack.remove handlerId ? "not-an-id" + handlerStack.remove handlerId code = event.code handlerId = handlerStack.push _name: "dom_utils/consumeKeyup"
12
diff --git a/server/game/player.js b/server/game/player.js @@ -767,7 +767,7 @@ class Player extends Spectator { } this.game.resolveEvent(event); - this.game.addMessage('{0} attaches {1} to {2}', this, attachment, card); + this.game.addMessage('{0} attaches {1} to {2}', controller, attachment, card); } setDrawDeckVisibility(value) {
1
diff --git a/gatsby-config.js b/gatsby-config.js @@ -75,7 +75,8 @@ module.exports = { { resolve: 'gatsby-symbol-set-fetch', options: { - url: 'https://spark-assets.netlify.app/spark-icons-v14.svg', + url: + 'https://www.rockomni.com/mcds/assets/GlobalContent/NonStockImages/Icons/spark-icons-v14.svg', }, }, { @@ -116,7 +117,8 @@ module.exports = { options: { // The property ID; the tracking code won't be generated without it trackingId: 'UA-113915182-1', - // Defines where to place the tracking script - `true` in the head and `false` in the body + // Defines where to place the tracking script - `true` + // in the head and `false` in the body head: false, // Setting this parameter is also optional respectDNT: true,
3
diff --git a/components/Search/Results.js b/components/Search/Results.js @@ -280,10 +280,6 @@ class Results extends Component { return null } - /* if (!searchQuery && !isFilterEnabled) { - return null - } */ - return ( <Fragment> {(!!searchQuery || isFilterEnabled) && ( @@ -327,6 +323,13 @@ class Results extends Component { node.entity.meta.kind ) } + publishDate={ + node.entity.meta.template === 'format' ? ( + null + ) : ( + node.entity.meta.publishDate + ) + } Link={Link} key={node.entity.meta.path} />
1
diff --git a/web/components/pages/HomePage.js b/web/components/pages/HomePage.js @@ -219,7 +219,7 @@ const HomePage = class extends React.Component { </fieldset> {error && ( <div id="error-alert" className="alert mt-3 alert-danger"> - Please check your details and try again + {typeof AccountStore.error === 'string' ? AccountStore.error : "Please check your details and try again"} </div> )} @@ -271,7 +271,7 @@ const HomePage = class extends React.Component { && ( <FormGroup> <div id="error-alert" className="alert alert-danger"> - Please check your details and try again + {typeof AccountStore.error === 'string' ? AccountStore.error : "Please check your details and try again"} </div> </FormGroup> )
9
diff --git a/sockets/sockets.js b/sockets/sockets.js @@ -51,7 +51,7 @@ savedGameObj.findOne({}).exec(function(err, foundSaveGame){ rooms[storedData["roomId"]].playersInRoom = []; rooms[storedData["roomId"]].someCutoffPlayersJoined = "no"; - rooms[storedData["roomId"]].spectatorSockets = []; + rooms[storedData["roomId"]].socketsOfSpectators = []; console.log("New room");
1
diff --git a/packages/bitcore-node/src/modules/ethereum/p2p.ts b/packages/bitcore-node/src/modules/ethereum/p2p.ts @@ -77,6 +77,7 @@ export class EthP2pWorker extends BaseP2PWorker<IEthBlock> { ); } attempt = true; + this.web3 = new ETHStateProvider().getWeb3(this.network); connected = await this.web3.eth.net.isListening(); } catch (e) {} await wait(20000);
3
diff --git a/src/react/package-lock.json b/src/react/package-lock.json }, "react": { "version": "16.7.0", - "resolved": "https://registry.npmjs.org/react/-/react-0.0.0-4a1072194.tgz", + "resolved": "https://registry.npmjs.org/react/-/react-16.7.0.tgz", "integrity": "sha512-StCz3QY8lxTb5cl2HJxjwLFOXPIFQp+p+hxQfc8WE0QiLfCtIlKj8/+5tjjKm8uSTlAW+fCPaavGFS06V9Ar3A==", "requires": { "loose-envify": "1.4.0", }, "react-dom": { "version": "16.7.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-0.0.0-4a1072194.tgz", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.7.0.tgz", "integrity": "sha512-D0Ufv1ExCAmF38P2Uh1lwpminZFRXEINJe53zRAbm4KPwSyd6DY/uDoS0Blj9jvPpn1+wivKpZYc8aAAN/nAkg==", "requires": { "loose-envify": "1.4.0", }, "scheduler": { "version": "0.12.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.0.0-4a1072194.tgz", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.12.0.tgz", "integrity": "sha512-t7MBR28Akcp4Jm+QoR63XgAi9YgCUmgvDHqf5otgAj4QvdoBE4ImCX0ffehefePPG+aitiYHp0g/mW6s4Tp+dw==", "requires": { "loose-envify": "1.4.0",
3
diff --git a/execute_awsbinary.go b/execute_awsbinary.go @@ -159,14 +159,19 @@ func Execute(serviceName string, lambdaAWSInfos []*LambdaAWSInfo, logger *logrus.Logger) error { + logger.Debug("Initializing discovery service") + // Initialize the discovery service initializeDiscovery(logger) // Find the function name based on the dispatch // https://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html requestedLambdaFunctionName := os.Getenv("AWS_LAMBDA_FUNCTION_NAME") + logger.WithField("lambdaName", requestedLambdaFunctionName). + Debug("Invoking requested lambda") // Log any info when we start up... + logger.Debug("Querying for platform info") platformLogSysInfo(requestedLambdaFunctionName, logger) // So what if we have workflow hooks in here? @@ -187,6 +192,7 @@ func Execute(serviceName string, ////////////////////////////////////////////////////////////////////////////// // User registered commands? ////////////////////////////////////////////////////////////////////////////// + logger.Debug("Checking user-defined lambda functions") for _, eachLambdaInfo := range lambdaAWSInfos { lambdaFunctionName = awsLambdaFunctionName(eachLambdaInfo.lambdaFunctionName()) testAWSName = lambdaFunctionName.String().Literal @@ -197,6 +203,7 @@ func Execute(serviceName string, interceptors = eachLambdaInfo.Interceptors } + // User defined custom resource handler? for _, eachCustomResource := range eachLambdaInfo.customResources { lambdaFunctionName = awsLambdaFunctionName(eachCustomResource.userFunctionName) @@ -216,6 +223,8 @@ func Execute(serviceName string, // the CustomResourceCommand interface? ////////////////////////////////////////////////////////////////////////////// if handlerSymbol == nil { + logger.Debug("Checking CustomResourceHandler lambda functions") + requestCustomResourceType := os.Getenv(EnvVarCustomResourceTypeName) if requestCustomResourceType != "" { knownNames = append(knownNames, fmt.Sprintf("CloudFormation Custom Resource: %s", requestCustomResourceType))
0
diff --git a/src/createLambdaProxyContext.js b/src/createLambdaProxyContext.js @@ -77,6 +77,7 @@ module.exports = function createLambdaProxyContext(request, options, stageVariab principalId: authPrincipalId || process.env.PRINCIPAL_ID || 'offlineContext_authorizer_principalId', // See #24 claims, }), + protocol: 'HTTP/1.1', resourcePath: request.route.path, httpMethod: request.method.toUpperCase(), },
0
diff --git a/src/dagre-wrapper/nodes.js b/src/dagre-wrapper/nodes.js @@ -588,9 +588,14 @@ const class_box = (parent, node) => { maxWidth += interfaceBBox.width; } + let classTitleString = node.classData.id; + + if (node.classData.type !== undefined && node.classData.type !== '') { + classTitleString += '<' + node.classData.type + '>'; + } const classTitleLabel = labelContainer .node() - .appendChild(createLabel(node.labelText, node.labelStyle, true, true)); + .appendChild(createLabel(classTitleString, node.labelStyle, true, true)); let classTitleBBox = classTitleLabel.getBBox(); if (getConfig().flowchart.htmlLabels) { const div = classTitleLabel.children[0];
11
diff --git a/packages/zmarkdown/utils/code-handler.js b/packages/zmarkdown/utils/code-handler.js @@ -64,10 +64,15 @@ const rangeHandler = range => { function insert () { if (previousNumber >= 0) { const currentInt = parseInt(currentNumber) - const rangeLength = (currentInt - previousNumber) + 1 + const previousInt = parseInt(previousNumber) + + const minLineNumber = Math.min(currentInt, previousInt) + const maxLineNumber = Math.max(currentInt, previousInt) + + const rangeLength = (maxLineNumber - minLineNumber) + 1 parsedRange.push(...[...Array(rangeLength).keys()] - .map(i => i + previousNumber)) + .map(i => i + minLineNumber)) } else { parsedRange.push(parseInt(currentNumber)) }
11
diff --git a/js/background.js b/js/background.js @@ -121,7 +121,7 @@ chrome.contextMenus.create({ chrome.webRequest.onBeforeRequest.addListener( function (e) { localStorage[e.url] = "analyzing..."; - if (e.url.indexOf('google.*/gen_204*') !== -1) { + if (e.url.search('/*google\.*\/gen_204*') !== -1) { localStorage[e.url] = "Blocked"; return {cancel: true}; }
4
diff --git a/edit.js b/edit.js @@ -161,7 +161,7 @@ const HEIGHTFIELD_SHADER = { ` }; -const _getChunkMesh = () => { +const {potentials, dims} = (() => { const allocator = new Allocator(); const seed = rng(); @@ -179,6 +179,11 @@ const _getChunkMesh = () => { potentials.offset ); + return {potentials, dims}; +})(); +const _getChunkMesh = (potentials, dims) => { + const allocator = new Allocator(); + const positions = allocator.alloc(Float32Array, 1024 * 1024 * Float32Array.BYTES_PER_ELEMENT); const indices = allocator.alloc(Uint32Array, 1024 * 1024 * Uint32Array.BYTES_PER_ELEMENT); @@ -246,12 +251,27 @@ const _getChunkMesh = () => { }; }; const chunkMesh = (() => { - const spec = _getChunkMesh(); + const spec = _getChunkMesh(potentials, dims); const geometry = new THREE.BufferGeometry(); geometry.setAttribute('position', new THREE.BufferAttribute(spec.positions, 3)); geometry.setAttribute('color', new THREE.BufferAttribute(spec.colors, 3)); geometry.setIndex(new THREE.BufferAttribute(spec.indices, 1)); + window.addEventListener('mousedown', e => { + localVector.copy(cubeMesh.position); + localVector.x = Math.floor(localVector.x); + localVector.y = Math.floor(localVector.y); + localVector.z = Math.floor(localVector.z); + const potentialIndex = localVector.x + localVector.y*PARCEL_SIZE_P2*PARCEL_SIZE_P2 + localVector.z*PARCEL_SIZE_P2; + console.log('got potential index', potentialIndex, potentials.length); + potentials[potentialIndex] += 0.25; + + const spec = _getChunkMesh(potentials, dims); + geometry.setAttribute('position', new THREE.BufferAttribute(spec.positions, 3)); + geometry.setAttribute('color', new THREE.BufferAttribute(spec.colors, 3)); + geometry.setIndex(new THREE.BufferAttribute(spec.indices, 1)); + }); + const heightfieldMaterial = new THREE.ShaderMaterial({ uniforms: (() => { const uniforms = Object.assign( @@ -306,10 +326,13 @@ const chunkMesh = (() => { })(); console.log('got chunk mesh', chunkMesh); scene.add(chunkMesh); -})(); - +})(); +const cubeMesh = new THREE.Mesh(new THREE.BoxBufferGeometry(0.1, 0.1, 0.1), new THREE.MeshBasicMaterial({ + color: 0xFF0000, +})); +scene.add(cubeMesh); @@ -718,6 +741,8 @@ function animate(timestamp, frame) { localMatrix.fromArray(pose.transform.matrix) .decompose(localVector, localQuaternion, localVector2); + cubeMesh.position.copy(localVector).add(localVector2.set(0, 0, -1).applyQuaternion(localQuaternion)); + const currentParcel = _getCurrentParcel(localVector); if (!currentParcel.equals(lastParcel)) { if (currentParcel.x !== lastParcel.x) {
0
diff --git a/src/data-structures/stack/Stack.js b/src/data-structures/stack/Stack.js @@ -2,8 +2,8 @@ import LinkedList from '../linked-list/LinkedList'; export default class Stack { constructor() { - // We're going to implement Queue based on LinkedList since this - // structures a quite similar. Compare push/pop operations of the Stack + // We're going to implement Stack based on LinkedList since these + // structures are quite similar. Compare push/pop operations of the Stack // with append/deleteTail operations of LinkedList. this.linkedList = new LinkedList(); } @@ -12,7 +12,7 @@ export default class Stack { * @return {boolean} */ isEmpty() { - // The queue is empty in case if its linked list don't have tail. + // The stack is empty if its linked list doesn't have a tail. return !this.linkedList.tail; } @@ -21,7 +21,7 @@ export default class Stack { */ peek() { if (this.isEmpty()) { - // If linked list is empty then there is nothing to peek from. + // If the linked list is empty then there is nothing to peek from. return null; } @@ -34,7 +34,7 @@ export default class Stack { */ push(value) { // Pushing means to lay the value on top of the stack. Therefore let's just add - // new value at the end of the linked list. + // the new value at the end of the linked list. this.linkedList.append(value); } @@ -42,8 +42,8 @@ export default class Stack { * @return {*} */ pop() { - // Let's try to delete the last node from linked list (the tail). - // If there is no tail in linked list (it is empty) just return null. + // Let's try to delete the last node (the tail) from the linked list. + // If there is no tail (the linked list is empty) just return null. const removedTail = this.linkedList.deleteTail(); return removedTail ? removedTail.value : null; }
7
diff --git a/lib/classes/Service.test.js b/lib/classes/Service.test.js @@ -735,7 +735,8 @@ describe('Service', () => { } it(`should not throw an error if http event is absent and - stage contains only alphanumeric, underscore and hyphen`, () => { + stage contains only alphanumeric, underscore and hyphen`, function () { + this.timeout(4000); // Happens to timeout, especially on Windows VM const SUtils = new Utils(); const serverlessYml = { service: 'new-service',
7
diff --git a/spark/manifests/spark/package.json b/spark/manifests/spark/package.json { "name": "@sparkdesignsystem/spark", - "version": "10.1.0", + "version": "12.1.1", "description": "Spark is the main package for the Spark Design System. This package contains the style and components that make up the basic interfaces for Quicken Loans Fintech products.", "main": "es5/sparkExports.js", "scripts": { "homepage": "https://github.com/sparkdesignsystem/spark-design-system", "dependencies": { "dom-slider": "1.5.3", + "lodash": "^4.17.15", "lory.js": "^2.5.3", "object-fit-images": "^3.2.4", - "react": "^16.8.6", "tiny-date-picker": "^3.2.6" }, "devDependencies": { "@babel/core": "^7.1.0", "@babel/preset-env": "^7.1.0", - "@babel/register": "^7.4.4", + "@babel/register": "^7.0.0", "babel-loader": "^8.0.4", "chai": "^4.1.2", "jsdom": "^11.12.0",
3
diff --git a/packages/app/src/server/service/page-grant.ts b/packages/app/src/server/service/page-grant.ts @@ -344,18 +344,19 @@ class PageGrantService { async separateNormalizedAndNonNormalizedPages(pageIds: ObjectIdLike[]): Promise<[(PageDocument & { _id: any })[], (PageDocument & { _id: any })[]]> { const Page = mongoose.model('Page') as unknown as PageModel; + const { PageQueryBuilder } = Page; const shouldCheckDescendants = true; const shouldIncludeNotMigratedPages = true; const normalizedPages: (PageDocument & { _id: any })[] = []; const nonNormalizedPages: (PageDocument & { _id: any })[] = []; // can be used to tell user which page failed to migrate - for await (const pageId of pageIds) { - const page = await Page.findById(pageId) as any | null; - if (page == null) { - continue; - } + const builder = new PageQueryBuilder(Page.find()); + builder.addConditionToListByPageIdsArray(pageIds); + + const pages = await builder.query.exec(); + for await (const page of pages) { const { path, grant, grantedUsers: grantedUserIds, grantedGroup: grantedGroupId, } = page;
7
diff --git a/src/lib/theme/components.js b/src/lib/theme/components.js @@ -15,7 +15,10 @@ import iconDiscover from "@reactioncommerce/components/svg/iconDiscover"; import iconMastercard from "@reactioncommerce/components/svg/iconMastercard"; import iconVisa from "@reactioncommerce/components/svg/iconVisa"; import spinner from "@reactioncommerce/components/svg/spinner"; +import Accordion from "@reactioncommerce/components/Accordion/v1"; +import AddressBook from "@reactioncommerce/components/AddressBook/v1"; import AddressForm from "@reactioncommerce/components/AddressForm/v1"; +import AddressReview from "@reactioncommerce/components/AddressReview/v1"; import BadgeOverlay from "@reactioncommerce/components/BadgeOverlay/v1"; import Button from "@reactioncommerce/components/Button/v1"; import CartItem from "@reactioncommerce/components/CartItem/v1"; @@ -30,6 +33,7 @@ import CheckoutActionComplete from "@reactioncommerce/components/CheckoutActionC import CheckoutActionIncomplete from "@reactioncommerce/components/CheckoutActionIncomplete/v1"; import ErrorsBlock from "@reactioncommerce/components/ErrorsBlock/v1"; import Field from "@reactioncommerce/components/Field/v1"; +import InPageMenuItem from "@reactioncommerce/components/InPageMenuItem/v1"; import Link from "components/Link"; import MiniCartSummary from "@reactioncommerce/components/MiniCartSummary/v1"; import PhoneNumberInput from "@reactioncommerce/components/PhoneNumberInput/v1"; @@ -49,7 +53,10 @@ import withLocales from "../utils/withLocales"; const AddressFormWithLocales = withLocales(AddressForm); export default { + Accordion, + AddressBook, AddressForm: AddressFormWithLocales, + AddressReview, BadgeOverlay, Button, CartItem, @@ -72,6 +79,7 @@ export default { iconMastercard, iconValid, iconVisa, + InPageMenuItem, MiniCartSummary, PhoneNumberInput, Price,
3
diff --git a/assets/js/modules/analytics/components/dashboard/DashboardAllTrafficWidget/index.js b/assets/js/modules/analytics/components/dashboard/DashboardAllTrafficWidget/index.js @@ -229,7 +229,7 @@ function DashboardAllTrafficWidget( props ) { return null; } - select( MODULES_ANALYTICS ).getServiceReportURL( + return select( MODULES_ANALYTICS ).getServiceReportURL( reportType, reportArgs );
1
diff --git a/docs/data_preparation.rst b/docs/data_preparation.rst @@ -196,11 +196,11 @@ the import will also fail. If a `coordSystem` is specified for the bigWig, but n TLDR: The simplest way to import a bigWig is to have a ``chromsizes`` present e.g. -| ``ingest_tileset --filetype chromsizes-tsv --datatype chromsizes --coordSystem hg19 chromSizes.tsv`` +| ``ingest_tileset --filetype chromsizes-tsv --datatype chromsizes --coordSystem hg19 --filename chromSizes.tsv`` and then to add the bigWig with the same ``coordSystem``: -| ``ingest_tileset --filetype bigwig --datatype vector --coordSystem hg19 chromSizes.tsv`` +| ``ingest_tileset --filetype bigwig --datatype vector --coordSystem hg19 --filename cnvs_hw.bigWig`` Chromosome Sizes
1
diff --git a/token-metadata/0x4730fB1463A6F1F44AEB45F6c5c422427f37F4D0/metadata.json b/token-metadata/0x4730fB1463A6F1F44AEB45F6c5c422427f37F4D0/metadata.json "symbol": "FOUR", "address": "0x4730fB1463A6F1F44AEB45F6c5c422427f37F4D0", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" } \ No newline at end of file -} \ No newline at end of file
3
diff --git a/config/vars.yml b/config/vars.yml -lock_url: 'https://cdn.auth0.com/js/lock/10.20/lock.min.js' +lock_url: 'https://cdn.auth0.com/js/lock/11.0.0/lock.min.js' +lock_urlv10: 'https://cdn.auth0.com/js/lock/10.24.1/lock.min.js' +lock_urlv11: 'https://cdn.auth0.com/js/lock/11.0.0/lock.min.js' lock_passwordless_url: 'https://cdn.auth0.com/js/lock-passwordless-2.2.min.js' -auth0js_url: 'https://cdn.auth0.com/w2/auth0-7.6.1.min.js' -auth0js_urlv8: 'https://cdn.auth0.com/js/auth0/8.10.1/auth0.min.js' +auth0js_url: 'https://cdn.auth0.com/js/auth0/9.0.0/auth0.min.js' +auth0js_urlv9: 'https://cdn.auth0.com/js/auth0/9.0.0/auth0.min.js' +auth0js_urlv8: 'https://cdn.auth0.com/js/auth0/8.12.1/auth0.min.js' +auth0js_urlv7: 'https://cdn.auth0.com/w2/auth0-7.6.1.min.js' auth0_community: 'https://community.auth0.com/'
3
diff --git a/esm/svg.js b/esm/svg.js @@ -14,6 +14,8 @@ export const svg = (query, ...args) => { element = memoizeSVG(query).cloneNode(false); } else if (isNode(query)) { element = query.cloneNode(false); + } else if (isFunction(query)) { + element = new query(...args); } else { throw new Error('At least one argument required'); }
0
diff --git a/api/server/plugins/rasa-nlu/models/train.rasa-nlu-model.js b/api/server/plugins/rasa-nlu/models/train.rasa-nlu-model.js const config = { headers: { 'Content-Type': 'application/x-yml' - } + }, + maxContentLength: Infinity }; export const name = 'Train'; export const path = '/train';
12
diff --git a/lib/assets/core/test/spec/cartodb3/editor/layers/edit-feature-content-views/edit-feature-action-view.spec.js b/lib/assets/core/test/spec/cartodb3/editor/layers/edit-feature-content-views/edit-feature-action-view.spec.js @@ -148,6 +148,7 @@ describe('editor/layers/edit-feature-content-views/edit-feature-action-view', fu describe('when has changes', function () { beforeEach(function () { + spyOn(this.featureModel, 'trigger'); this.model.set('hasChanges', true); this.view.$('.js-save').click(); @@ -158,24 +159,20 @@ describe('editor/layers/edit-feature-content-views/edit-feature-action-view', fu }); describe('when save succeeds', function () { - beforeEach(function () { - spyOn(this.featureModel, 'trigger'); + it('should update changes', function () { this.featureModel.save.calls.argsFor(0)[0].success(); - }); - it('should update changes', function () { expect(this.model.get('hasChanges')).toBe(false); - expect(this.featureModel.trigger).toHaveBeenCalled(); + expect(this.featureModel.trigger).toHaveBeenCalledWith('saveFeatureSuccess', 'add', this.featureModel); }); }); describe('when save fails', function () { - beforeEach(function () { + it('should not have changes', function () { this.featureModel.save.calls.argsFor(0)[0].error(); - }); - it('should not have changes', function () { expect(this.model.get('hasChanges')).toBe(true); + expect(this.featureModel.trigger).toHaveBeenCalledWith('saveFeatureFailed'); }); }); });
2
diff --git a/src/vue-components/radio/radio.mat.styl b/src/vue-components/radio/radio.mat.styl @@ -4,8 +4,8 @@ $radio-border-width ?= $generic-input-border-width .q-radio display inline-block - height $checkbox-size - width $checkbox-size + height $radio-size + width $radio-size vertical-align middle input
3
diff --git a/assets/src/edit-story/app/media/media3p/api/apiFetcher.js b/assets/src/edit-story/app/media/media3p/api/apiFetcher.js */ export const API_DOMAIN = 'https://staging-media3p.sandbox.googleapis.com'; -const API_KEY = 'AIzaSyAgauA-izuTeGWFe9d9O0d0id-pV43Y4kE'; // dev key +const API_KEY = 'AIzaSyDix_Q7ErmApBteRK0w-C3hOWymRM8t-8M'; // staging key /** * The methods exposed by the api
4
diff --git a/src/hooks/ready/checkCompendiums.js b/src/hooks/ready/checkCompendiums.js @@ -2,7 +2,7 @@ import logger from '../../logger.js'; let sanitize = (text) => { if (text && typeof text === "string") { - return text.replace(/\s/g, '-').toLowerCase(); + return text.replace(/\s|\./g, '-').toLowerCase(); } return text; };
7
diff --git a/includes/Modules/Search_Console.php b/includes/Modules/Search_Console.php @@ -347,21 +347,21 @@ final class Search_Console extends Module } /** - * Checks whether Search Console data exists for the given post. + * Checks whether Search Console data exists for the given URL. * * The result of this query is stored in a transient. * * @since 1.0.0 * - * @param string $current_url The current url. + * @param string $url The url to check data for. * @return bool True if Search Console data exists, false otherwise. */ - protected function has_data_for_url( $current_url ) { - if ( ! $current_url ) { + protected function has_data_for_url( $url ) { + if ( ! $url ) { return false; } - $transient_key = 'googlesitekit_sc_data_' . md5( $current_url ); + $transient_key = 'googlesitekit_sc_data_' . md5( $url ); $has_data = get_transient( $transient_key ); if ( false === $has_data ) { @@ -369,7 +369,7 @@ final class Search_Console extends Module $response_rows = $this->get_data( 'searchanalytics', array( - 'url' => $current_url, + 'url' => $url, 'dateRange' => 'last-90-days', 'dimensions' => 'date', 'compareDateRanges' => true,
10
diff --git a/assets/js/modules/analytics/components/dashboard/DashboardAllTrafficWidgetV2/TotalUserCount.js b/assets/js/modules/analytics/components/dashboard/DashboardAllTrafficWidgetV2/TotalUserCount.js @@ -115,7 +115,7 @@ export default function TotalUserCount( { dimensionName, dimensionValue } ) { height={ 17 } /> - { numFmt( Math.abs( change ), { style: 'percent', maximumFractionDigits: 2 } ) } + { numFmt( Math.abs( change ), { style: 'percent', maximumFractionDigits: 1 } ) } </span> <span className="googlesitekit-widget--analyticsAllTrafficV2__totalcount--daterange"> { currentDateRangeLabel }
12
diff --git a/particle-system.js b/particle-system.js @@ -271,10 +271,10 @@ export const createParticleSystem = e => { return particle; }; - { + /* { const particle = rootParticleMesh.addParticle('Elements - Energy 017 Charge Up noCT noRSZ.mov'); particle.position.set(0, 2, -0.5); - } + } */ // const physicsIds = []; /* let activateCb = null;
2
diff --git a/lib/framebuffer.js b/lib/framebuffer.js @@ -338,7 +338,8 @@ module.exports = function wrapFBOState ( statusCode[status]) } - gl.bindFramebuffer(GL_FRAMEBUFFER, framebufferState.next) + + gl.bindFramebuffer(GL_FRAMEBUFFER, framebufferState.next ? framebufferState.next.framebuffer : null) framebufferState.cur = framebufferState.next // FIXME: Clear error code here. This is a work around for a bug in
1
diff --git a/src/components/rich-text-editor/style.js b/src/components/rich-text-editor/style.js // @flow import React from 'react'; import { connect } from 'react-redux'; -import { createPortal } from 'react-dom'; import styled, { css } from 'styled-components'; import Link from 'src/components/link'; import { Transition, zIndex } from '../globals'; import theme from 'shared/theme'; -import { Manager, Reference, Popper } from 'react-popper'; -import HoverProfile from 'src/components/avatar/hoverProfile'; -import { getUserByUsername } from 'shared/graphql/queries/user/getUser'; +import { UserHoverProfile } from 'src/components/hoverProfile'; import type { Node } from 'react'; const UsernameWrapper = styled.span` @@ -19,6 +16,7 @@ const UsernameWrapper = styled.span` padding: 2px 4px; border-radius: 4px; position: relative; + display: inline-block; &:hover { background: ${props => @@ -30,62 +28,21 @@ const UsernameWrapper = styled.span` } `; -const MentionHoverProfile = getUserByUsername( - props => - !props.data.user ? null : ( - <HoverProfile - innerRef={props.innerRef} - source={props.data.user.profilePhoto} - user={props.data.user} - style={props.style} - /> - ) -); - type MentionProps = { children: Node, username: string, currentUser: ?Object, }; -class MentionWithCurrentUser extends React.Component< - MentionProps, - { hovered: boolean } -> { - state = { hovered: false }; - hover = (val: boolean) => () => this.setState({ hovered: val }); +class MentionWithCurrentUser extends React.Component<MentionProps> { render() { - const { username, children, currentUser } = this.props; + const { username, currentUser, children } = this.props; const me = currentUser && currentUser.username === username; return ( - <UsernameWrapper - me={me} - onMouseEnter={this.hover(true)} - onMouseLeave={this.hover(false)} - > - <Manager> - <Reference> - {({ ref }) => ( - <span ref={ref}> + <UsernameWrapper me={me}> + <UserHoverProfile username={username}> <Link to={`/users/${username}`}>{children}</Link> - </span> - )} - </Reference> - {this.state.hovered && - document.body && - createPortal( - <Popper placement="top"> - {({ style, ref }) => ( - <MentionHoverProfile - username={username} - innerRef={ref} - style={style} - /> - )} - </Popper>, - document.body - )} - </Manager> + </UserHoverProfile> </UsernameWrapper> ); }
4
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -11,6 +11,7 @@ import * as ReactThreeFiber from '@react-three/fiber'; import * as Z from 'zjs'; import metaversefile from 'metaversefile'; import {getRenderer, scene, sceneHighPriority, sceneLowPriority, rootScene, postSceneOrthographic, postScenePerspective, camera} from './renderer.js'; +import cameraManager from './camera-manager.js'; import physicsManager from './physics-manager.js'; import Avatar from './avatars/avatars.js'; import {world} from './world.js'; @@ -640,6 +641,9 @@ metaversefile.setApi({ throw new Error('usePhysics cannot be called outside of render()'); } }, + useCameraManager() { + return cameraManager; + }, useParticleSystem() { return world.particleSystem; },
0
diff --git a/src/ModelerApp.vue b/src/ModelerApp.vue <template> <b-container id="modeler-app" class="h-100 container position-relative"> - <div class="alert-container position-absolute w-100"> - <b-row class="justify-content-center"> - <b-col cols="6"> - <b-alert - data-test="alert-modal" - v-for="(item, index) in alerts" - :key="index" - class="d-none d-lg-block alertBox" - :show="item.alertShow" - :variant="item.alertVariant" - dismissible - fade - > - {{ item.alertText }} - </b-alert> - </b-col> - </b-row> - </div> <b-card no-body class="h-100"> <b-card-header class="d-flex align-items-center header"> @@ -90,7 +72,6 @@ export default { data() { return { validationErrors: {}, - alerts: [], uploadedXml: null, xmlFile: [], warnings: [], @@ -136,8 +117,6 @@ export default { mounted() { /* Add a start event on initial load */ this.$refs.modeler.$once('parsed', () => this.$refs.modeler.addStartEvent()); - - window.ProcessMaker.EventBus.$on('alert', alerts => this.alerts = alerts); }, }; </script> @@ -152,10 +131,4 @@ html { height: 100vh; max-height: 100vh; } - -.alert-container { - z-index: 2; - top: 4rem; - left: 0; -} </style>
2
diff --git a/src/web/client/src/js/components/ControlPanel/ContentBody/Feed/Message/Placeholders.js b/src/web/client/src/js/components/ControlPanel/ContentBody/Feed/Message/Placeholders.js @@ -7,9 +7,9 @@ import { useSelector } from 'react-redux' import parser from '../../../utils/textParser' import modal from 'js/components/utils/modal' import SectionSubtitleDescription from 'js/components/utils/SectionSubtitleDescription' -import posed from 'react-pose'; +import posed from 'react-pose' import SectionSubtitle from 'js/components/utils/SectionSubtitle' -import { Scrollbars } from 'react-custom-scrollbars'; +import { Scrollbars } from 'react-custom-scrollbars' import { isHiddenProperty } from 'js/constants/hiddenArticleProperties' import feedSelectors from 'js/selectors/feeds' @@ -93,6 +93,7 @@ const PlaceholderImage = styled.div` width: 100%; height: auto; margin-top: 1em; + max-width: 450px; } @media only screen and (min-width: 450px) { display: flex; @@ -236,7 +237,6 @@ function Placeholders () { </DropdownWithButtons> </ArticleBox> <SectionSubtitle>Placeholders</SectionSubtitle> - <Input fluid icon='search' iconPosition='left' placeholder='Placeholder name' onChange={e => setSearchPlaceholder(e.target.value)} value={searchPlaceholder} /> <PlaceholdersContainer pose={smallPlaceholderContainer ? 'small' : 'big'}> <Scrollbars>
1
diff --git a/docs/source/index.rst b/docs/source/index.rst @@ -8,10 +8,15 @@ ipyleaflet: Interactive maps in the Jupyter notebook installation .. toctree:: - :caption: API Reference + :caption: Map :maxdepth: 2 api_reference/map + +.. toctree:: + :caption: Layers + :maxdepth: 2 + api_reference/tile_layer api_reference/marker api_reference/icon @@ -29,6 +34,11 @@ ipyleaflet: Interactive maps in the Jupyter notebook api_reference/layer_group api_reference/geo_json api_reference/choropleth + +.. toctree:: + :caption: Controls + :maxdepth: 2 + api_reference/layers_control api_reference/fullscreen_control api_reference/measure_control
7
diff --git a/src/components/stage-selector/stage-selector.css b/src/components/stage-selector/stage-selector.css @import "../../css/units.css"; @import "../../css/colors.css"; +@import "../../css/z-index.css"; $header-height: calc($stage-menu-height - 2px); @@ -79,6 +80,7 @@ $header-height: calc($stage-menu-height - 2px); .add-button { position: absolute; bottom: 0.75rem; + z-index: $z-index-add-button } .raised, .raised .header {
4
diff --git a/src/layer/tile/TileLayer.js b/src/layer/tile/TileLayer.js @@ -358,6 +358,7 @@ class TileLayer extends Layer { const layerId = this.getId(), renderer = this.getRenderer() || parentRenderer, scale = this._getTileConfig().tileSystem.scale; + const visited = {}; const tiles = [], extent = new PointExtent(); for (let i = -top; i <= bottom; i++) { let j = -left; @@ -377,7 +378,11 @@ class TileLayer extends Layer { } let hasCachedInfo = false; const tileId = this._getTileId(idx, zoom); //unique id of the tile - let tileInfo = renderer && renderer.isTileCachedOrLoading(tileId); + let tileInfo; + if (!visited[tileId]) { + tileInfo = renderer && renderer.isTileCachedOrLoading(tileId); + visited[tileId] = 1; + } if (tileInfo) { tileInfo = tileInfo.info; hasCachedInfo = true; @@ -433,8 +438,7 @@ class TileLayer extends Layer { } if (!hasCachedInfo) { tileInfo['size'] = [width, height]; - const point0 = tileInfo.point0; - tileInfo['dupKey'] = z + ',' + Math.round(point0.x) + ',' + Math.round(point0.y) + ',' + width + ',' + height + ',' + layerId; //duplicate key of the tile + tileInfo['dupKey'] = z + ',' + idx.idx + ',' + idx.idy + ',' + idx.x + ',' + idx.y + ',' + width + ',' + height + ',' + layerId; //duplicate key of the tile tileInfo['id'] = this._getTileId(idx, zoom); //unique id of the tile tileInfo['layer'] = layerId; tileInfo['url'] = this.getTileUrl(idx.x, idx.y, zoom);
1
diff --git a/articles/support/matrix.md b/articles/support/matrix.md @@ -153,9 +153,10 @@ toc: true </table> ## Extensions - - We will only support extensions that are published on the Extensions gallery that you can find in the [Auth0 Dashboard](https://manage.auth0.com/#/extensions). - - We do not provide support for custom extensions. - - Feature requests should be requested at the GitHub repository of that extension. + +We will only support extensions that are published on the Extensions gallery that you can find in the [Dashboard](${manage_url}/#/extensions). We do not provide support for custom extensions. + +Feature requests should be requested at the GitHub repository of that extension. ## Operating Systems
0
diff --git a/assets/js/modules/search-console/components/dashboard/SearchFunnelWidget/index.js b/assets/js/modules/search-console/components/dashboard/SearchFunnelWidget/index.js @@ -293,11 +293,6 @@ const SearchFunnelWidget = ( { analyticsStatsLoading || analyticsVisitorsOverviewAndStatsLoading || analyticsGoalsLoading || - searchConsoleData === undefined || - analyticsOverviewData === undefined || - analyticsStatsData === undefined || - analyticsVisitorsOverviewAndStatsData === undefined || - analyticsGoalsData === undefined || isAnalyticsGatheringData === undefined || isSearchConsoleGatheringData === undefined ) {
2
diff --git a/src/Homepage/style.js b/src/Homepage/style.js @@ -144,7 +144,7 @@ export const GoopyOne = styled.div` position: absolute; background-size: 100%; z-index: 0; - height: 100%; + height: calc(100% + 4px); width: 110%; top: 0; bottom: -2px; @@ -159,7 +159,7 @@ export const GoopyTwo = styled.div` background-size: 100%; transform: rotateY(180deg); z-index: 0; - height: 100%; + height: calc(100% + 4px); top: 0; width: 110%; bottom: -2px; @@ -173,7 +173,7 @@ export const GoopyThree = styled.div` position: absolute; background-size: 100%; z-index: 0; - height: 100%; + height: calc(100% + 4px); top: 0; width: 110%; bottom: -2px;
1