[GH-ISSUE #3421] [Bug] Border loses thickness after "New property" ends in Grid #1524

Closed
opened 2026-03-23 20:50:26 +00:00 by mirror · 11 comments
Owner

Originally created by @Xazin on GitHub (Sep 16, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3421

Originally assigned to: @Xazin on GitHub.

Bug Description

Under the Filter, Sort and Settings in a Database/Grid, the border is less thick than the one where there are columns in the Grid.

This misalignment feels weird.

image

How to Reproduce

  1. Open AppFlowy
  2. Create a Grid/Database
  3. See the thickness of the border becoming thinner after the New property cell

Expected Behavior

  1. Open AppFlowy
  2. Create a Grid/Database
  3. The thickness of the divider between the top bar and the header row is the same

Operating System

AppFlowy Version(s)

0.3.1

Screenshots

image
image

Additional Context

For solution guidance, join our discord and mention me!

Originally created by @Xazin on GitHub (Sep 16, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3421 Originally assigned to: @Xazin on GitHub. ### Bug Description Under the `Filter`, `Sort` and `Settings` in a Database/Grid, the border is less thick than the one where there are columns in the Grid. This misalignment feels weird. ![image](https://github.com/AppFlowy-IO/AppFlowy/assets/42929161/fa5d265f-07d5-45be-bcc8-5833a40c21e5) ### How to Reproduce 1. Open AppFlowy 2. Create a Grid/Database 3. See the thickness of the border becoming thinner after the `New property` cell ### Expected Behavior 1. Open AppFlowy 2. Create a Grid/Database 3. The thickness of the divider between the top bar and the header row is the same ### Operating System * ### AppFlowy Version(s) 0.3.1 ### Screenshots ![image](https://github.com/AppFlowy-IO/AppFlowy/assets/42929161/c7315e34-6132-497b-81c9-8c58d62a6a91) ![image](https://github.com/AppFlowy-IO/AppFlowy/assets/42929161/de49219f-1463-439c-9f23-df2572c190c7) ### Additional Context _For solution guidance, join our discord and mention me!_
Author
Owner

@richardshiue commented on GitHub (Sep 17, 2023):

Seconded. Do note that while fixing this bug, make sure that when there is a filter, there should still be a separator!

<!-- gh-comment-id:1722459917 --> @richardshiue commented on GitHub (Sep 17, 2023): Seconded. Do note that while fixing this bug, make sure that when there is a filter, there should still be a separator!
Author
Owner

@narayann7 commented on GitHub (Sep 24, 2023):

@Xazin hey, can you assign me this issue?

<!-- gh-comment-id:1732613727 --> @narayann7 commented on GitHub (Sep 24, 2023): @Xazin hey, can you assign me this issue?
Author
Owner

@nikhilgarg26 commented on GitHub (Sep 24, 2023):

hey @Xazin i would like to take up this issue, can you please guide how to start with this issue it would be a great help

<!-- gh-comment-id:1732626652 --> @nikhilgarg26 commented on GitHub (Sep 24, 2023): hey @Xazin i would like to take up this issue, can you please guide how to start with this issue it would be a great help
Author
Owner

@MayurSMahajan commented on GitHub (Sep 25, 2023):

Hey @nikhilgarg26 I have assigned this one to @narayann7, can you please take a look at some other issues we have to solve. Thanks

<!-- gh-comment-id:1732912834 --> @MayurSMahajan commented on GitHub (Sep 25, 2023): Hey @nikhilgarg26 I have assigned this one to @narayann7, can you please take a look at some other issues we have to solve. Thanks
Author
Owner

@Xazin commented on GitHub (Sep 25, 2023):

@Xazin hey, can you assign me this issue?

If you need any assistance please let us know! 👍

<!-- gh-comment-id:1733279281 --> @Xazin commented on GitHub (Sep 25, 2023): > @Xazin hey, can you assign me this issue? If you need any assistance please let us know! :+1:
Author
Owner

@narayann7 commented on GitHub (Sep 25, 2023):

@Xazin sure, i will let you know

<!-- gh-comment-id:1733351968 --> @narayann7 commented on GitHub (Sep 25, 2023): @Xazin sure, i will let you know
Author
Owner

@narayann7 commented on GitHub (Sep 26, 2023):

@Xazin i tried to adjust the size of divider and grid cell, still it will difficult to make them same but i think we cant use both divider and grid cell border at a time

<!-- gh-comment-id:1735313104 --> @narayann7 commented on GitHub (Sep 26, 2023): @Xazin i tried to adjust the size of divider and grid cell, still it will difficult to make them same but i think we cant use both divider and grid cell border at a time
Author
Owner

@Xazin commented on GitHub (Sep 26, 2023):

@Xazin i tried to adjust the size of divider and grid cell, still it will difficult to make them same but i think we cant use both divider and grid cell border at a time

Hey Narayan, it's definitely possible.

Here are some hints:

  • Have you tried to remove only the top border of the cell field? (field_cell.dart)
  • The New property button also has it's own top border, track it down and remove only the top one. grid_header.dart
  • Now as Richard mentioned, the filter/sort menu needs to have the bottom border, I'll let you play with this yourself, I'll give you the file though: setting_menu.dart

Let me know if you still need more help! 👍

<!-- gh-comment-id:1736038448 --> @Xazin commented on GitHub (Sep 26, 2023): > @Xazin i tried to adjust the size of divider and grid cell, still it will difficult to make them same but i think we cant use both divider and grid cell border at a time Hey Narayan, it's definitely possible. Here are some hints: - Have you tried to remove _only_ the top border of the cell field? (`field_cell.dart`) - The `New property` button also has it's own top border, track it down and remove _only_ the top one. `grid_header.dart` - Now as Richard mentioned, the filter/sort menu needs to have the bottom border, I'll let you play with this yourself, I'll give you the file though: `setting_menu.dart` Let me know if you still need more help! :+1:
Author
Owner

@narayann7 commented on GitHub (Sep 27, 2023):

@Xazin sure, yes we can remove the top border of the cell but when we click on filter then we have to show the border, i will go through this case and i will let you know, thank you

<!-- gh-comment-id:1736753527 --> @narayann7 commented on GitHub (Sep 27, 2023): @Xazin sure, yes we can remove the top border of the cell but when we click on filter then we have to show the border, i will go through this case and i will let you know, thank you
Author
Owner

@Xazin commented on GitHub (Sep 27, 2023):

@Xazin sure, yes we can remove the top border of the cell but when we click on filter then we have to show the border, i will go through this case and i will let you know, thank you

The solution I explained above takes care of this case.

<!-- gh-comment-id:1736818265 --> @Xazin commented on GitHub (Sep 27, 2023): > @Xazin sure, yes we can remove the top border of the cell but when we click on filter then we have to show the border, i will go through this case and i will let you know, thank you The solution I explained above takes care of this case.
Author
Owner

@Xazin commented on GitHub (Nov 3, 2023):

Hey @narayann7, since you haven't made progress, I'll take over this issue and resolve it 👍

<!-- gh-comment-id:1792371028 --> @Xazin commented on GitHub (Nov 3, 2023): Hey @narayann7, since you haven't made progress, I'll take over this issue and resolve it :+1:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#1524
No description provided.