mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 12:56:59 +00:00
[GH-ISSUE #1385] [Bug] Grid URL property's edit button #546
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#546
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @richardshiue on GitHub (Oct 27, 2022).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1385
Originally assigned to: @onyicodes on GitHub.
Bug Description
In a grid with a URL property, hovering in any other field in the same row triggers the edit button to show up in the URL cell.
How to Reproduce
Expected Behavior
The button should only show when the user hovers over the exact cell, not the row in general
Operating System
Fedora Linux 36
AppFlowy Version(s)
v0.0.6
Screenshots
Additional Context
No response
@onyicodes commented on GitHub (Oct 29, 2022):
Hi @richardshiue, I will like to work on this. Please can you assign this to me?
@richardshiue commented on GitHub (Oct 30, 2022):
Hello @Onyedikareal, thanks for offering to help on this! I'm not a maintainer so I can't do that for you, sorry. Ping @annieappflowy
@onyicodes commented on GitHub (Oct 30, 2022):
Alright, thanks @richardshiue.
Hi @annieappflowy, please can you assign this to me.
@annieappflowy commented on GitHub (Nov 7, 2022):
Hi @Onyedikareal , thanks for offering the help. I just assigned the issue to you.

@richardshiue , I've added you to our org as a collaborator. Going forward, you will be able to manage issues for AppFlowy. You should receive an invite from GitHub to accept your new role!
@richardshiue commented on GitHub (Nov 7, 2022):
Thanks, that'd be an honor
@onyicodes commented on GitHub (Nov 8, 2022):
Thanks
@richardshiue commented on GitHub (Jan 4, 2023):
Hey there @Onyedikareal, do you have any update on this?
@onyicodes commented on GitHub (Jan 5, 2023):
Hi @richardshiue , thanks for asking. Unfortunately I'm hooked here. Will appreciate it if someone can assist me on this.
@richardshiue commented on GitHub (Jan 5, 2023):
Okay I'll look into it and let you know if I find something
@richardshiue commented on GitHub (Jan 7, 2023):
Sorry I took so long to get back to you. The problem is that we want the primary cells (aka non-deletable title field) to show the open as page accessory just by hovering over it or any other cell in the row. See
app_flowy/lib/plugins/grid/presentation/widgets/cell/cell_container.dartthe onEnter stores the state of the hover event. So when a row is hovered, the cell also "gets hovered" in effect. The problem is that it's not happening only to the primary cells but the URL ones as well. So here, we should remove the update clause and replace the
ChangeNotifierProxywithChangeNotifierProvider<_CellContainerNotifier>. You can also removerowStateNotifierfield as well.With this change primary cells won't have the previous behavior. To bring it back, we need to pass the
isPrimaryflag intoCellContainer(I'll let you figure out from where) and then into_GridCellEnterRegion. Then, change out theSelectorfor aSelector2with the selector clause beingI think the logic is pretty self-explanatory. If you have another way fix it, feel free to submit a PR, but I think that's the gist of the problem. If you have further questions, please don't hesitate to reach out to me on the Discord server.
@richardshiue commented on GitHub (Jan 14, 2023):
@Onyedikareal gentle ping :)
@onyicodes commented on GitHub (Jan 14, 2023):
@richardshiue Thanks for the gentle ping ;-) . I'm just seeing your first response. Will apply your suggestion and see if that fixes the problem.
Thanks so much.
@onyicodes commented on GitHub (Jan 16, 2023):
@richardshiue Thanks so much for the help. I've sorted this issue out with your guide.
@richardshiue commented on GitHub (Jan 16, 2023):
@onyicodes That's awesome! Hoping to see your PR soon