Skip to content

Commit

Permalink
Make node properties editable inspector panel
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Oct 23, 2023
1 parent a51f63c commit a66f0c8
Show file tree
Hide file tree
Showing 16 changed files with 271 additions and 191 deletions.
122 changes: 61 additions & 61 deletions src/browser/modules/Sidebar/__snapshots__/GuideDrawer.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
exports[`GuideDrawer renders guide slide when a guide is selected 1`] = `
<div>
<div
class="sc-efQSVx jRxDin"
class="sc-dvQaRk hfuJhn"
data-testid="guidesDrawer"
id="guide-drawer"
>
<h4
class="sc-cTAqQK dxVXPf"
class="sc-TBWPX hSMBLj"
>
<span
class="sc-dPiLbb kcSurf"
class="sc-ZOtfp jppFYN"
data-testid="guidesBackButton"
>
<i
Expand All @@ -30,10 +30,10 @@ exports[`GuideDrawer renders guide slide when a guide is selected 1`] = `
Title
</h4>
<div
class="sc-khQegj jfEAI"
class="sc-bTfYFJ bpHA-Dr"
/>
<div
class="sc-iUKqMP fBEGSa disable-font-ligatures"
class="sc-Galmp fjUauS disable-font-ligatures"
>
<div>
<div>
Expand All @@ -48,126 +48,126 @@ exports[`GuideDrawer renders guide slide when a guide is selected 1`] = `
exports[`GuideDrawer renders list view including Remote Guides list 1`] = `
<div>
<div
class="sc-efQSVx jRxDin"
class="sc-dvQaRk hfuJhn"
data-testid="guidesDrawer"
id="guide-drawer"
>
<h4
class="sc-cTAqQK dxVXPf"
class="sc-TBWPX hSMBLj"
>
Neo4j Browser Guides
</h4>
<div
class="sc-khQegj jfEAI"
class="sc-bTfYFJ bpHA-Dr"
/>
<div
class="sc-fWCJzd fWxPIy slide"
class="sc-gIDmLj bPNIJB slide"
style="padding: 0px 15px;"
>
You can also access Browser guides by running
<span
class="sc-iwjdpV iBEmuZ remove-play-icon"
class="sc-AjmGg guIoaZ remove-play-icon"
data-populate=":guide [guide name]"
>
:guide [guide name]
</span>
in the code editor.
<div
class="sc-cHzqoD kaPDph"
class="sc-igXgud bdHQDe"
>
<div
class="sc-dJjYzT gNzWMg"
class="sc-efQSVx cziNtw"
>
Built-in guides
</div>
</div>
<div
class="sc-tAExr gRNbqr"
class="sc-fydGpi hwViPQ"
>
<li
class="sc-hZpJaK cQWycM"
class="sc-cjrPHo kPqeEi"
data-testid="builtInGuideintro"
>
<span
class="sc-iwjdpV iBEmuZ remove-play-icon"
class="sc-AjmGg guIoaZ remove-play-icon"
>
:guide
intro
</span>
<div
class="sc-cHzqoD kDRAfT"
class="sc-igXgud hlpvnM"
>
Navigating Neo4j Browser
</div>
</li>
<li
class="sc-hZpJaK cQWycM"
class="sc-cjrPHo kPqeEi"
data-testid="builtInGuideconcepts"
>
<span
class="sc-iwjdpV iBEmuZ remove-play-icon"
class="sc-AjmGg guIoaZ remove-play-icon"
>
:guide
concepts
</span>
<div
class="sc-cHzqoD kDRAfT"
class="sc-igXgud hlpvnM"
>
Property graph model concepts
</div>
</li>
<li
class="sc-hZpJaK cQWycM"
class="sc-cjrPHo kPqeEi"
data-testid="builtInGuidecypher"
>
<span
class="sc-iwjdpV iBEmuZ remove-play-icon"
class="sc-AjmGg guIoaZ remove-play-icon"
>
:guide
cypher
</span>
<div
class="sc-cHzqoD kDRAfT"
class="sc-igXgud hlpvnM"
>
Cypher basics - create, match, delete
</div>
</li>
<li
class="sc-hZpJaK cQWycM"
class="sc-cjrPHo kPqeEi"
data-testid="builtInGuidemovie-graph"
>
<span
class="sc-iwjdpV iBEmuZ remove-play-icon"
class="sc-AjmGg guIoaZ remove-play-icon"
>
:guide
movie-graph
</span>
<div
class="sc-cHzqoD kDRAfT"
class="sc-igXgud hlpvnM"
>
Queries and recommendations with Cypher - movie use case}
</div>
</li>
<li
class="sc-hZpJaK cQWycM"
class="sc-cjrPHo kPqeEi"
data-testid="builtInGuidenorthwind-graph"
>
<span
class="sc-iwjdpV iBEmuZ remove-play-icon"
class="sc-AjmGg guIoaZ remove-play-icon"
>
:guide
northwind-graph
</span>
<div
class="sc-cHzqoD kDRAfT"
class="sc-igXgud hlpvnM"
>
Translate and import relation data into graph
Expand All @@ -176,29 +176,29 @@ exports[`GuideDrawer renders list view including Remote Guides list 1`] = `
</li>
</div>
<div
class="sc-cHzqoD kaPDph"
class="sc-igXgud bdHQDe"
>
<div
class="sc-dJjYzT gNzWMg"
class="sc-efQSVx cziNtw"
data-testid="remoteGuidesTitle"
>
Remote Guides
</div>
</div>
<div
class="sc-tAExr gRNbqr"
class="sc-fydGpi hwViPQ"
>
<li
class="sc-dkQkyq kFarBZ"
class="sc-itWPBs dfXHLy"
>
<span
class="sc-iwjdpV iBEmuZ remove-play-icon"
class="sc-AjmGg guIoaZ remove-play-icon"
data-testid="remoteGuideidentifier"
>
Title
</span>
<span
class="sc-gGPzkF btuKGg"
class="sc-gHjyzD gRlSXV"
data-testid="removeGuideidentifier"
>
<i
Expand All @@ -209,10 +209,10 @@ exports[`GuideDrawer renders list view including Remote Guides list 1`] = `
</li>
</div>
<div
class="sc-JkixQ bmEYPU"
class="sc-JEhMO jRKHeM"
>
<a
class="sc-bBHxTw hCOgTk"
class="sc-cNKqjZ gsMctE"
href="https://neo4j.com/graphgists/"
rel="noreferrer"
target="_blank"
Expand All @@ -228,126 +228,126 @@ exports[`GuideDrawer renders list view including Remote Guides list 1`] = `
exports[`GuideDrawer renders list view without Remote Guides 1`] = `
<div>
<div
class="sc-efQSVx jRxDin"
class="sc-dvQaRk hfuJhn"
data-testid="guidesDrawer"
id="guide-drawer"
>
<h4
class="sc-cTAqQK dxVXPf"
class="sc-TBWPX hSMBLj"
>
Neo4j Browser Guides
</h4>
<div
class="sc-khQegj jfEAI"
class="sc-bTfYFJ bpHA-Dr"
/>
<div
class="sc-fWCJzd fWxPIy slide"
class="sc-gIDmLj bPNIJB slide"
style="padding: 0px 15px;"
>
You can also access Browser guides by running
<span
class="sc-iwjdpV iBEmuZ remove-play-icon"
class="sc-AjmGg guIoaZ remove-play-icon"
data-populate=":guide [guide name]"
>
:guide [guide name]
</span>
in the code editor.
<div
class="sc-cHzqoD kaPDph"
class="sc-igXgud bdHQDe"
>
<div
class="sc-dJjYzT gNzWMg"
class="sc-efQSVx cziNtw"
>
Built-in guides
</div>
</div>
<div
class="sc-tAExr gRNbqr"
class="sc-fydGpi hwViPQ"
>
<li
class="sc-hZpJaK cQWycM"
class="sc-cjrPHo kPqeEi"
data-testid="builtInGuideintro"
>
<span
class="sc-iwjdpV iBEmuZ remove-play-icon"
class="sc-AjmGg guIoaZ remove-play-icon"
>
:guide
intro
</span>
<div
class="sc-cHzqoD kDRAfT"
class="sc-igXgud hlpvnM"
>
Navigating Neo4j Browser
</div>
</li>
<li
class="sc-hZpJaK cQWycM"
class="sc-cjrPHo kPqeEi"
data-testid="builtInGuideconcepts"
>
<span
class="sc-iwjdpV iBEmuZ remove-play-icon"
class="sc-AjmGg guIoaZ remove-play-icon"
>
:guide
concepts
</span>
<div
class="sc-cHzqoD kDRAfT"
class="sc-igXgud hlpvnM"
>
Property graph model concepts
</div>
</li>
<li
class="sc-hZpJaK cQWycM"
class="sc-cjrPHo kPqeEi"
data-testid="builtInGuidecypher"
>
<span
class="sc-iwjdpV iBEmuZ remove-play-icon"
class="sc-AjmGg guIoaZ remove-play-icon"
>
:guide
cypher
</span>
<div
class="sc-cHzqoD kDRAfT"
class="sc-igXgud hlpvnM"
>
Cypher basics - create, match, delete
</div>
</li>
<li
class="sc-hZpJaK cQWycM"
class="sc-cjrPHo kPqeEi"
data-testid="builtInGuidemovie-graph"
>
<span
class="sc-iwjdpV iBEmuZ remove-play-icon"
class="sc-AjmGg guIoaZ remove-play-icon"
>
:guide
movie-graph
</span>
<div
class="sc-cHzqoD kDRAfT"
class="sc-igXgud hlpvnM"
>
Queries and recommendations with Cypher - movie use case}
</div>
</li>
<li
class="sc-hZpJaK cQWycM"
class="sc-cjrPHo kPqeEi"
data-testid="builtInGuidenorthwind-graph"
>
<span
class="sc-iwjdpV iBEmuZ remove-play-icon"
class="sc-AjmGg guIoaZ remove-play-icon"
>
:guide
northwind-graph
</span>
<div
class="sc-cHzqoD kDRAfT"
class="sc-igXgud hlpvnM"
>
Translate and import relation data into graph
Expand All @@ -356,10 +356,10 @@ exports[`GuideDrawer renders list view without Remote Guides 1`] = `
</li>
</div>
<div
class="sc-JkixQ bmEYPU"
class="sc-JEhMO jRKHeM"
>
<a
class="sc-bBHxTw hCOgTk"
class="sc-cNKqjZ gsMctE"
href="https://neo4j.com/graphgists/"
rel="noreferrer"
target="_blank"
Expand Down
Loading

0 comments on commit a66f0c8

Please sign in to comment.