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

#Vulcan-134/Configurable order of attributes and hide attributes in node and edge detail popup view #645

Conversation

m-o-n-i-s-h
Copy link
Contributor

Ordering and Hide features of graph attributes in detail view

  • When user clicks on one node/edge. In the detail popup, Our users wanted few attributes to display in defined order and other attributes which are there will be displayed in ascending order.

Screenshot 2023-08-30 at 2 25 04 PM

{
         "id": "6d00f7c7-4b3d-4b6d-9224-2b61fb0c129a",
         "title": "Movie",
         "query": "MATCH (n)-[e]->(m) RETURN n,e,m LIMIT 20\n\n\n",
         ....
         "settings": {
           "customTablePropertiesOfModal": [
               {
                 "type": "node",
                 "entityType": "Movie",
                 "ordering": ["title", "tagline"],
                 "hide": ["released"]
               }
             ]
         },
         ......
}
  • Note: There is no UI to configure this for now. Possible only through JSON upload. What we have done is we introduced one property in settings "customTablePropertiesOfModal". Please refer above.
  • The results will look like below image.

Screenshot 2023-08-30 at 2 40 40 PM

NOTICE:

The program was tested solely for our own use cases, which might differ from yours.
Author Info: Monish [email protected] on behalf of Mercedes-Benz Research and Development India
https://github.com/mercedes-benz/mercedes-benz-foss/blob/master/PROVIDER_INFORMATION.md

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

Attention: 20 lines in your changes are missing coverage. Please review.

Comparison is base (1a4bb4b) 46.26% compared to head (90721ba) 46.22%.
Report is 3 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #645      +/-   ##
===========================================
- Coverage    46.26%   46.22%   -0.04%     
===========================================
  Files          166      166              
  Lines         6591     6609      +18     
  Branches      2040     2047       +7     
===========================================
+ Hits          3049     3055       +6     
- Misses        3501     3513      +12     
  Partials        41       41              
Files Coverage Δ
src/chart/graph/GraphChart.tsx 60.27% <ø> (ø)
src/chart/graph/GraphChartVisualization.ts 100.00% <ø> (ø)
src/config/ReportConfig.tsx 100.00% <ø> (ø)
src/index.tsx 85.71% <100.00%> (ø)
...c/chart/graph/component/GraphChartInspectModal.tsx 64.28% <75.00%> (+14.28%) ⬆️
...art/graph/component/GraphEntityInspectionTable.tsx 4.08% <0.00%> (-1.05%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nielsdejong
Copy link
Collaborator

Replaced by #687

@nielsdejong nielsdejong removed the 2.4 label Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants