Closed dsriseah closed 8 months ago
UPDATE
I had removed the sendGa()
method from the InfoPanel component because it looked like HTML script code that was accidentally put into React. It is buggy and breaks the linting rules, triggering warnings. I've rewritten and commented it as a courtesy to future developers who might have to work with it.
It appears to be called when someone clicks on a tab in the Graph / Nodes / Edges tabs at the top of the netgraph view as a form of logging using hacked-in analytics code in index.ejs
.
Note that this code probably doesn't work anymore because UA has been retired and no longer is supported by Google. Your Google Analytics logger has to be updated to use GA4 Tag Manager.
Confirmed works.
The
NetCreate.jsx
mainrender()
function is somewhat convoluted due toposition:fixed
dev elements and other layout chrome obscuring other elements, making it difficult to discern what is a "panel" in what column. This pull request addsclassName
properties of the form--Element_Subelement
so using Chrome's Inspect Element is easier to place within the GUI structure.These are the top-level control areas in NetCreate
TO TEST
These are only classNames and some additional comments that do not change function, so there should be no effect on code operation.
You can use Inspect Element and find the containing DIV that has one of the classnames, then in VSCode use Find in Files to quickly find the file from which to start looking deeper.