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

add reminder text when users selecting property #663

Merged
merged 4 commits into from
Apr 8, 2024

Conversation

superstar54
Copy link
Member

@superstar54 superstar54 commented Apr 4, 2024

fix #662

Here is a demo:

qeapp-reminder.mp4

Copy link

codecov bot commented Apr 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.77%. Comparing base (0aab1e6) to head (131b97f).

❗ Current head 131b97f differs from pull request most recent head c0d91b1. Consider uploading reports for the commit c0d91b1 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #663      +/-   ##
==========================================
+ Coverage   75.47%   75.77%   +0.30%     
==========================================
  Files          60       60              
  Lines        4404     4327      -77     
==========================================
- Hits         3324     3279      -45     
+ Misses       1080     1048      -32     
Flag Coverage Δ
python-3.10 75.77% <100.00%> (+0.30%) ⬆️
python-3.9 75.80% <100.00%> (+0.30%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

# observer change to update the reminder text
def update_reminder_text(change, reminder_text=reminder_text):
if change["new"]:
reminder_text.value = """(There is a setting panel available for this property on the top.)"""

Choose a reason for hiding this comment

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

What about like "Use the set panel for $property on top"

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for the suggestion. I changed it to

f"""Customize {name} settings in the panel above if needed."""

Do you think it's OK?

Copy link
Member

@AndresOrtegaGuerrero AndresOrtegaGuerrero left a comment

Choose a reason for hiding this comment

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

LGTM! Nice!

@superstar54 superstar54 merged commit 585229f into aiidalab:main Apr 8, 2024
14 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.

Tell people to check tabs when they activate the property checkboxes
2 participants