Skip to content

Commit 0d061a9

Browse files
committed
merge in master
2 parents 28356a9 + 1afd2aa commit 0d061a9

File tree

16 files changed

+83
-215
lines changed

16 files changed

+83
-215
lines changed

client/components/Nav.jsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ class Nav extends React.PureComponent {
485485
}
486486
}}
487487
>
488-
<span className="nav__item-header">Help & Feedback</span>
488+
<span className="nav__item-header">Help</span>
489489
<InlineSVG className="nav__item-header-triangle" src={triangleUrl} />
490490
</button>
491491
<ul className="nav__dropdown">
@@ -519,16 +519,6 @@ class Nav extends React.PureComponent {
519519
About
520520
</Link>
521521
</li>
522-
<li className="nav__dropdown-item">
523-
<Link
524-
to="/feedback"
525-
onFocus={this.handleFocusForHelp}
526-
onBlur={this.handleBlur}
527-
onClick={this.setDropdownForNone}
528-
>
529-
Feedback
530-
</Link>
531-
</li>
532522
</ul>
533523
</li>
534524
</ul>

client/components/__test__/__snapshots__/Nav.test.jsx.snap

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ exports[`Nav renders correctly 1`] = `
281281
<span
282282
className="nav__item-header"
283283
>
284-
Help & Feedback
284+
Help
285285
</span>
286286
<span
287287
className="isvg loading nav__item-header-triangle"
@@ -327,18 +327,6 @@ exports[`Nav renders correctly 1`] = `
327327
About
328328
</a>
329329
</li>
330-
<li
331-
className="nav__dropdown-item"
332-
>
333-
<a
334-
onBlur={[Function]}
335-
onClick={[Function]}
336-
onFocus={[Function]}
337-
style={Object {}}
338-
>
339-
Feedback
340-
</a>
341-
</li>
342330
</ul>
343331
</li>
344332
</ul>

client/constants.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,6 @@ export const HIDE_ERROR_MODAL = 'HIDE_ERROR_MODAL';
116116
export const PERSIST_STATE = 'PERSIST_STATE';
117117
export const CLEAR_PERSISTED_STATE = 'CLEAR_PERSISTED_STATE';
118118

119-
export const SHOW_HELP_MODAL = 'SHOW_HELP_MODAL';
120-
export const HIDE_HELP_MODAL = 'HIDE_HELP_MODAL';
121-
122119
export const HIDE_RUNTIME_ERROR_WARNING = 'HIDE_RUNTIME_ERROR_WARNING';
123120
export const SHOW_RUNTIME_ERROR_WARNING = 'SHOW_RUNTIME_ERROR_WARNING';
124121
export const SET_ASSETS = 'SET_ASSETS';

client/modules/IDE/actions/ide.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -232,19 +232,6 @@ export function hideErrorModal() {
232232
};
233233
}
234234

235-
export function showHelpModal(helpType) {
236-
return {
237-
type: ActionTypes.SHOW_HELP_MODAL,
238-
helpType
239-
};
240-
}
241-
242-
export function hideHelpModal() {
243-
return {
244-
type: ActionTypes.HIDE_HELP_MODAL
245-
};
246-
}
247-
248235
export function hideRuntimeErrorWarning() {
249236
return {
250237
type: ActionTypes.HIDE_RUNTIME_ERROR_WARNING

client/modules/IDE/components/Console.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class Console extends React.Component {
7777
});
7878

7979
return (
80-
<div className={consoleClass} role="main" title="console">
80+
<div className={consoleClass} role="main">
8181
<div className="preview-console__header">
8282
<h2 className="preview-console__header-title">Console</h2>
8383
<div className="preview-console__header-buttons">

client/modules/IDE/components/CopyableInput.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ class CopyableInput extends React.Component {
7070
rel="noopener noreferrer"
7171
href={value}
7272
className="copyable-input__preview"
73-
title={`open ${label.toLowerCase()} view in new tab`}
7473
>
7574
<InlineSVG src={shareUrl} alt={`open ${label} view in new tab`} />
7675
</a>

client/modules/IDE/components/Editor.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ class Editor extends React.Component {
312312

313313
return (
314314
<section
315-
title="code editor"
316315
role="main"
317316
className={editorSectionClass}
318317
>

client/modules/IDE/components/HTTPSModal.jsx

Lines changed: 0 additions & 24 deletions
This file was deleted.

client/modules/IDE/components/Preferences.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class Preferences extends React.Component {
9292
const beep = new Audio(beepUrl);
9393

9494
return (
95-
<section className="preferences" title="preference-menu">
95+
<section className="preferences">
9696
<Helmet>
9797
<title>p5.js Web Editor | Preferences</title>
9898
</Helmet>

client/modules/IDE/components/PreviewFrame.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ class PreviewFrame extends React.Component {
360360
aria-label="sketch output"
361361
role="main"
362362
frameBorder="0"
363-
title="sketch output"
363+
title="sketch preview"
364364
ref={(element) => { this.iframeElement = element; }}
365365
sandbox="allow-scripts allow-pointer-lock allow-same-origin allow-popups allow-forms allow-modals"
366366
/>

0 commit comments

Comments
 (0)