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

UI tweak on Merge Network Dialog #425

Merged
merged 4 commits into from
Feb 14, 2025
Merged

UI tweak on Merge Network Dialog #425

merged 4 commits into from
Feb 14, 2025

Conversation

GAOChengzhan
Copy link
Contributor

@GAOChengzhan GAOChengzhan commented Feb 8, 2025

Ticket: CW-415

Changes Made

There are lots of code format clean in this PR, please see changes by commit by commit for review more conveniently.

Disable Merge Button when only one network selected and checkbox unselected: Commit

In Cytoscape Desktop, if the checkbox of “Enable merging nodes/edges in the same network” is NOT checked, then merge only one network is not allowed. To be consistent with Cytoscape Desktop, the same behavior is applied here. And the checkboxes are moved to the top to cause users' attention.

image

Add warning icon and tooltip for node duplication: Commit

In the Merge Network Dialog, if the network is selected as ready for merge, and the nodes in that network have identical values under the 'Matching.Attribute'. Then there would be a warning icon added after the network name.

image

Copy link

netlify bot commented Feb 8, 2025

Deploy Preview for voluble-rugelach-5a3809 ready!

Name Link
🔨 Latest commit d917268
🔍 Latest deploy log https://app.netlify.com/sites/voluble-rugelach-5a3809/deploys/67afa05d2413980008aa1199
😎 Deploy Preview https://deploy-preview-425--voluble-rugelach-5a3809.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@GAOChengzhan GAOChengzhan requested review from keiono and d2fong February 8, 2025 06:16
@GAOChengzhan
Copy link
Contributor Author

Updates:

  1. After consulting ChatGPT, I feel it would be proper to set the warning icon and its text to orange and set the color of the star icon (indicating the base network) to gold.
  2. Refined the warning text and added the detailed tooltip for each network with warning icon
image

Copy link
Member

@keiono keiono left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked the enabled/disabled conditions and looks it's fixed.

@keiono keiono merged commit 5d78f70 into development Feb 14, 2025
4 checks passed
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.

3 participants