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

Implement missing widgets #83

Merged
merged 4 commits into from
Feb 20, 2024
Merged

Implement missing widgets #83

merged 4 commits into from
Feb 20, 2024

Conversation

evalott100
Copy link
Contributor

@evalott100 evalott100 commented Jan 25, 2024

Closes #82 and #74

... as well as adding widgets

@evalott100 evalott100 self-assigned this Jan 25, 2024
@evalott100 evalott100 marked this pull request as draft January 25, 2024 15:01
@evalott100
Copy link
Contributor Author

evalott100 commented Jan 25, 2024

image

The byte array stays at a constant height of 20 and has a width of 20 times by the number of bits

@codecov-commenter
Copy link

codecov-commenter commented Jan 26, 2024

Codecov Report

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

Comparison is base (b2f67a3) 89.19% compared to head (76862ea) 89.23%.

Files Patch % Lines
src/pvi/_format/widget.py 87.50% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #83      +/-   ##
==========================================
+ Coverage   89.19%   89.23%   +0.03%     
==========================================
  Files          23       23              
  Lines        1379     1393      +14     
==========================================
+ Hits         1230     1243      +13     
- Misses        149      150       +1     

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

@evalott100
Copy link
Contributor Author

image

Images can now be added. Progress bar now has options for maximum and minimum, which will be ignored if a new field use_machine_limits is true.

@evalott100 evalott100 force-pushed the implement_missing_widgets branch 3 times, most recently from aa76266 to 11d6306 Compare January 30, 2024 08:58
@evalott100
Copy link
Contributor Author

Progress bar, CheckBox is now actually a checkbox widget.
image

@evalott100
Copy link
Contributor Author

image

I put the CheckBox widget back to how it was since #81 will change them anyway.

Also added a plot, the x axis is left blank, with a waveform phoebus just uses an x-axis of indices.

@evalott100 evalott100 marked this pull request as ready for review February 5, 2024 14:16
@evalott100 evalott100 force-pushed the implement_missing_widgets branch 2 times, most recently from 40100a7 to 79bb0ba Compare February 19, 2024 12:00
schemas/pvi.device.schema.json Show resolved Hide resolved
src/pvi/_format/dls.bob Outdated Show resolved Hide resolved
src/pvi/_format/dls.bob Show resolved Hide resolved
src/pvi/_format/dls.py Show resolved Hide resolved
tests/format/output/button.bob Outdated Show resolved Hide resolved
@GDYendell
Copy link
Member

Could you squash the last 3 commits into the previous ones as they appear to just be reverting things. Also happy to just squash everything except the first commit into one.

@evalott100 evalott100 force-pushed the implement_missing_widgets branch 2 times, most recently from 9ff37b6 to a7e44d7 Compare February 19, 2024 14:57
src/pvi/_format/bob.py Outdated Show resolved Hide resolved
src/pvi/_format/bob.py Outdated Show resolved Hide resolved
src/pvi/_format/bob.py Outdated Show resolved Hide resolved
@evalott100 evalott100 force-pushed the implement_missing_widgets branch 4 times, most recently from 043453d to fec8e8d Compare February 20, 2024 10:41
@evalott100 evalott100 force-pushed the implement_missing_widgets branch 3 times, most recently from 5281320 to f80082f Compare February 20, 2024 11:47
@evalott100
Copy link
Contributor Author

evalott100 commented Feb 20, 2024

@GDYendell I'll make a new issue for splitting mixedWidgets up.

#98

Copy link
Member

@GDYendell GDYendell left a comment

Choose a reason for hiding this comment

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

Did a bit of tidying and pulled the SignalRW fix into a separate commit. I think this is good to do.

@GDYendell GDYendell merged commit e1d5556 into main Feb 20, 2024
14 checks passed
@GDYendell GDYendell deleted the implement_missing_widgets branch February 20, 2024 16:00
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.

Incorrect default action for ButtonPanel
3 participants