Skip to content

Refactor Notification constructor to use constants - #378

Open
DanPeled wants to merge 1 commit into
Gold872:mainfrom
DanPeled:patch-1
Open

Refactor Notification constructor to use constants#378
DanPeled wants to merge 1 commit into
Gold872:mainfrom
DanPeled:patch-1

Conversation

@DanPeled

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added the ElasticLib Changes to ElasticLib label Jul 16, 2026
@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.61%. Comparing base (4fb4bbd) to head (f37fcb4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #378   +/-   ##
=======================================
  Coverage   78.61%   78.61%           
=======================================
  Files          95       95           
  Lines        9587     9587           
=======================================
  Hits         7537     7537           
  Misses       2050     2050           

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread elasticlib/Elastic.java

private static final int DEFAULT_DISPLAY_TIME = 3000;
private static final double DEFAULT_WIDTH = 350;
private static final double AUTO_HEIGHT = -1;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

  1. Is there any reason these shouldn't be public?
  2. The C++ version calls this AUTOMATIC_HEIGHT. Any reason for this to diverge?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No reason for both, didn't notice the divergence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ElasticLib Changes to ElasticLib

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants