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

fix: check if header exists for footer #559

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

MayurSMahajan
Copy link
Contributor

Solves #558

@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a573847) 80.35% compared to head (6f90fd2) 80.54%.
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #559      +/-   ##
==========================================
+ Coverage   80.35%   80.54%   +0.18%     
==========================================
  Files         285      286       +1     
  Lines       12173    12182       +9     
==========================================
+ Hits         9782     9812      +30     
+ Misses       2391     2370      -21     
Files Coverage Δ
...r/editor_component/entry/page_block_component.dart 100.00% <100.00%> (+8.16%) ⬆️

... and 81 files with indirect coverage changes

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

@LucasXu0
Copy link
Collaborator

@MayurSMahajan please include the tests.

  1. Header is null, but the footer is not.
  2. Footer is null, but the header is not.

@Xazin
Copy link
Collaborator

Xazin commented Nov 2, 2023

I've added tests and refactored the condition of the if-statement, I'll merge once I see all green in the CI.

@Xazin Xazin self-assigned this Nov 2, 2023
@Xazin Xazin merged commit 4b1a3d5 into AppFlowy-IO:main Nov 2, 2023
11 checks passed
q200892907 added a commit to q200892907/appflowy-editor that referenced this pull request Nov 3, 2023
* main:
  fix: check if header exists for footer (AppFlowy-IO#559)
  feat: show placeholder override for paragraph block (AppFlowy-IO#571)
  chore: refactor character replacement (AppFlowy-IO#570)
  chore: rename shortcut folder (AppFlowy-IO#569)
  fix: image copy error width/height  is double (AppFlowy-IO#566)
@MayurSMahajan MayurSMahajan deleted the fix_range_error_558 branch November 5, 2023 18:50
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.

3 participants