Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push i18n resources to lib #1953

Closed
wants to merge 29 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
03972ea
Add documentation CI/CD (#1)
QubitPi Apr 20, 2023
ffb1c57
Do not release to npm as a fork (#3)
QubitPi May 22, 2023
7c075f3
Initiate internal doc (#2)
QubitPi Jun 6, 2023
aa77f18
Add more docs on neo4j-browser internals (#4)
QubitPi Jun 12, 2023
139aff2
Update documentation (#5)
QubitPi Jul 7, 2023
64e8a67
Document how to include both nodes and links in JSON export (#6)
QubitPi Sep 23, 2023
cea05ca
Support double-clicking canvas creates new node (#7)
QubitPi Oct 5, 2023
6b39d0f
Fetch both nodes and links unlimited in initial graph rendering (#14)
QubitPi Oct 25, 2023
33dfa9e
Make node label and properties editable inspector panel (#15)
QubitPi Oct 25, 2023
2cb1008
Support creating relationship on canvas by alt-clicking two nodes and…
QubitPi Oct 25, 2023
f743b33
Show isolated nodes in 'SELECT *' (#16)
QubitPi Oct 26, 2023
ea6d3bd
Publish graphing module to NPM (#17)
QubitPi Nov 19, 2023
565ee97
Publishing neo4j-arc requires manually bumping version (#18)
QubitPi Nov 19, 2023
f4334e3
Add documentation on neo4j-arc basic usage from outside & Support re-…
QubitPi Nov 20, 2023
dbd0c55
Notify user the required node version for running neo4j-browser (#20)
QubitPi Nov 21, 2023
a14d953
NodeInspectorPanel shows by default but can be turned-off by option (…
QubitPi Nov 21, 2023
68b63d6
neo4j-arc should be node/rel-ID agnostic (#22)
QubitPi Nov 22, 2023
de81616
Update NPM link for fork (#23)
QubitPi Nov 22, 2023
d97e8d0
Fix broken tests in order to keep in sync with upstream (#24)
QubitPi Nov 22, 2023
89e8dca
Add documentation explaining Suber (v.s. Redux) (#25)
QubitPi Nov 22, 2023
644fac9
On-canvas node creation is done by sending message only (#26)
QubitPi Nov 22, 2023
c3084d7
Rollback #14 but keep # returns unlimited (#27)
QubitPi Nov 23, 2023
b6e89d6
Document 'browser-password' (#28)
QubitPi Nov 23, 2023
9b61fba
Enhance documentation (#29)
QubitPi Nov 23, 2023
f79fb5a
Remove package-lock.json (#34)
QubitPi Nov 24, 2023
b946112
Bump browser TS version to 4.x by aligning browser TS version with ne…
QubitPi Nov 24, 2023
3931ba4
Initialize i18n support and apply it onto OverviewPane (#31)
QubitPi Nov 24, 2023
bd423e0
Enhance documentation (#35)
QubitPi Nov 24, 2023
1550c98
Push i18n resources down to neo4j-arc library
QubitPi Nov 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add documentation CI/CD (#1)
* Add documentation CI/CD

* Self-review
QubitPi committed Nov 22, 2023
commit 03972ea91ba97826d140f75c72039a1a7733b03e
21 changes: 21 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -10,3 +10,24 @@ BEFORE YOU SUBMIT make sure you've done the following:
More details on contributing can be found in CONTRIBUTING.md in the root of this repository. Thank you for your time and interest in the Neo4j Browser!
-->

Changelog
---------

### Added

### Changed

### Deprecated

### Removed

### Fixed

### Security

Checklist
---------

* [ ] Test
* [ ] Self-review
* [ ] Documentation
34 changes: 34 additions & 0 deletions .github/workflows/release-doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 2023 Jiaqi Liu
# Licensed under the terms of the GNU General Public License. Please see LICENSE file distributed with this work for terms.
---
name: Release

"on":
push:
branches:
- master

jobs:
release-documentation:
name: Deploy Documentation to GitHub Pages
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
defaults:
run:
working-directory: docs
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install
- run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/site
user_name: QubitPi
user_email: jack20191124@proton.me
Original file line number Diff line number Diff line change
@@ -205,6 +205,7 @@ export class Visualization {
nodeGroups.call(renderer.onGraphChange, this)
)

// register event handler - clicking a node expands menus
nodeMenuRenderer.forEach(renderer =>
nodeGroups.call(renderer.onGraphChange, this)
)
@@ -234,11 +235,11 @@ export class Visualization {
)

this.forceSimulation.updateRelationships(this.graph)
// The onGraphChange handler does only repaint relationship color
// The onGraphChange handler does only repaint relationship color
// not width and caption, since it requires taking into account surrounding data
// since the arrows have different bending depending on how the nodes are
// connected. We work around that by doing an additional full render to get the
// new stylings
// since the arrows have different bending depending on how the nodes are
// connected. We work around that by doing an additional full render to get the
// new stylings
this.render()
}

Original file line number Diff line number Diff line change
@@ -78,6 +78,12 @@ const attachContextEvent = (
})
}

/**
* When a node is clicked, this function is triggered.
*
* There is a D3 data join in this function that only binds visual element when {@link !getSelectedNode} evaluates to
* true, i.e. only "mouse-clicked" node will have the menu rendering executed
*/
const createMenuItem = function (
selection: Selection<SVGGElement, NodeModel, BaseType, unknown>,
viz: Visualization,