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

Small bug fixes and enhancements #1772

Merged
merged 4 commits into from
Dec 17, 2024
Merged

Small bug fixes and enhancements #1772

merged 4 commits into from
Dec 17, 2024

Conversation

ryan-pratt
Copy link
Contributor

closes #1765
closes #1768
closes #1766

Copy link

codecov bot commented Dec 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.56%. Comparing base (f925e27) to head (e55627b).
Report is 18 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1772      +/-   ##
==========================================
- Coverage   79.58%   79.56%   -0.02%     
==========================================
  Files         517      517              
  Lines       40736    40737       +1     
==========================================
- Hits        32419    32412       -7     
- Misses       8317     8325       +8     
Flag Coverage Δ
python 84.25% <ø> (-0.06%) ⬇️
ruby-api 48.64% <ø> (ø)
ruby-backend 82.61% <ø> (+<0.01%) ⬆️

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.

@@ -308,10 +308,13 @@ export default {
},
computedStyle() {
let style = {}
// note down what the width was in case it was set to AUTO, because absolute positioning will lose that
const origWidth = this.width || this.$refs.bar?.clientWidth
Copy link
Member

Choose a reason for hiding this comment

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

I was surprised that setting a width and height doesn't actually change the width / height. We set the vcard min-height and min-width so the only option is to set a screen bigger than the actual layout. I was expecting a scrollable window with a set width and height. Thoughts? This could be another ticket later.

this.saveDefaultConfig(this.currentConfig)
} else {
this.items = []
}
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure why you're doing this if check. Don't we always want to clear the items and then save the config?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Clearing the items does save the config because of the items watcher. This check makes sure that we only save the config once instead of spamming that function

@jmthomas jmthomas merged commit 88594fc into main Dec 17, 2024
28 checks passed
@jmthomas jmthomas deleted the release-polish branch December 17, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants