Closed Bug 1052028 Opened 10 years ago Closed 10 years ago

Remove "Node" from displayed node names

Categories

(DevTools Graveyard :: Web Audio Editor, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 34

People

(Reporter: jsantell, Assigned: jsantell)

References

Details

Attachments

(1 file, 1 obsolete file)

This is redundant, as all nodes have "Node" at the end, "OscillatorNode", "GainNode", etc.
Blocks: 1040352
Quick and easy patch.
Assignee: nobody → jsantell
Status: NEW → ASSIGNED
Attachment #8472486 - Flags: review?(vporof)
Comment on attachment 8472486 [details] [diff] [review]
1052028-change-node-rendering.patch

Review of attachment 8472486 [details] [diff] [review]:
-----------------------------------------------------------------

Tests still pass?

::: browser/devtools/webaudioeditor/webaudioeditor-view.js
@@ +158,5 @@
>        // Add node to graph
> +      graph.addNode(node.id, {
> +        type: node.type,                        // Just for storing type data
> +        label: node.type.replace(/Node$/, ""),  // Displayed in SVG node
> +        id: node.id                             // Identification 

Nit: trailing whitespace.
Attachment #8472486 - Flags: review?(vporof) → review+
whitespace fixed
Attachment #8472486 - Attachment is obsolete: true
Attachment #8472493 - Flags: review+
All tests passing locally, try down, will push when clear and get checkin.
https://hg.mozilla.org/mozilla-central/rev/abd2919b124b
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 34
QA Whiteboard: [qa-]
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: