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

interactive: add "clear passes button" (2/7) #1789

Merged
merged 10 commits into from
Nov 17, 2023
Merged

Conversation

dshaaban01
Copy link
Collaborator

Added ability to clear passes to the gui.

disclaimer/ honesty: Sasha and I are in disagreement with the way I have manually called a function (he envisions everything to be reactive and done "automatically"so to speak), however in order to connect the two reactive variables, I have found that the location where I have manually called the function, perfectly links them.

image

Copy link

codecov bot commented Nov 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d603753) 88.90% compared to head (91abf19) 88.88%.

Additional details and impacted files
@@                Coverage Diff                 @@
##           dalia/condense    #1789      +/-   ##
==================================================
- Coverage           88.90%   88.88%   -0.03%     
==================================================
  Files                 260      260              
  Lines               32080    32032      -48     
  Branches             4735     4727       -8     
==================================================
- Hits                28522    28472      -50     
- Misses               2866     2867       +1     
- Partials              692      693       +1     

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

@compor
Copy link
Collaborator

compor commented Nov 15, 2023

Should this be stacked on #1788?

@dshaaban01 dshaaban01 changed the base branch from main to dalia/condense November 15, 2023 16:30
@dshaaban01
Copy link
Collaborator Author

Should this be stacked on #1788?

fixed, sorry!

def clear_passes(self, event: Button.Pressed) -> None:
"""Selected passes cleared when "Clear Passes" button is pressed."""
self.current_selected_pass_list = ()
# self.update_current_module()
Copy link
Member

Choose a reason for hiding this comment

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

commented code

xdsl/interactive/app.py Outdated Show resolved Hide resolved
@dshaaban01 dshaaban01 changed the title interactive: add "clear passes button" interactive: add "clear passes button" (2/3) Nov 15, 2023
@dshaaban01 dshaaban01 changed the title interactive: add "clear passes button" (2/3) interactive: add "clear passes button" (2/4) Nov 16, 2023
@dshaaban01 dshaaban01 changed the title interactive: add "clear passes button" (2/4) interactive: add "clear passes button" (2/5) Nov 16, 2023
@dshaaban01 dshaaban01 changed the title interactive: add "clear passes button" (2/5) interactive: add "clear passes button" (2/6) Nov 16, 2023
@dshaaban01 dshaaban01 changed the title interactive: add "clear passes button" (2/6) interactive: add "clear passes button" (2/) Nov 16, 2023
@dshaaban01 dshaaban01 changed the title interactive: add "clear passes button" (2/) interactive: add "clear passes button" (2/7) Nov 16, 2023
Copy link
Member

@superlopuh superlopuh left a comment

Choose a reason for hiding this comment

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

beautiful

Base automatically changed from dalia/condense to main November 17, 2023 13:42
@dshaaban01 dshaaban01 merged commit 5afe543 into main Nov 17, 2023
2 of 9 checks passed
@dshaaban01 dshaaban01 deleted the dalia/condense.1 branch November 17, 2023 13:48
dshaaban01 added a commit that referenced this pull request Nov 17, 2023
Accidentally deleted one line while merging  PR #1789.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interactive xdsl-gui things tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants