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

Ensure "Edit Site" option is consistent in both places (top toolbar and floating toolbar) #94079

Closed
annezazu opened this issue Aug 30, 2024 · 20 comments
Assignees
Labels
[Feature] Full Site Editor The site editor. [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it

Comments

@annezazu
Copy link

Steps to reproduce

  1. Look at the front end of a logged in site with a block theme
  2. Notice there's "edit site" in the floating toolbar and "edit site" in the top toolbar.
  3. Click each and notice they take you different places. Edit site in floating toolbar takes you to the Site Editor > Templates where as "Edit site" in the top toolbar will take you to the respective template you are choosing.

What I expected

Expect the buttons to act the same.

What happened instead

The buttons took me two different places.

Browser / OS version

MacOS, Chrome

Screenshot / Video

edit.site.mov
@annezazu annezazu added [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it [Feature] Full Site Editor The site editor. labels Aug 30, 2024
@ramonjd
Copy link
Member

ramonjd commented Sep 3, 2024

I noticed there's an item from @richtabor to remove the "Edit site" link from the floating action toolbar completely.

It might save adding the logic in Calypso to take you to the respective template you are choosing.

Then again, while testing it, I noticed that canvas=edit is missing from the link.

YOUR_WORDPRESS_COM_SITE/wp-admin/site-editor.php?postType=wp_template&postId=pub%2Fassembler%2F%2Fhome

vs

YOUR_WORDPRESS_COM_SITE/wp-admin/site-editor.php?postType=wp_template&postId=pub%2Fassembler%2F%2Fhome&canvas=edit

The latter will open the editor.

This is a DotCom backend change regardless of which happens. 👍🏻 See

p1725838043966329-slack-C07H21B2W59?thread_ts=1725637696.261559&cid=C07H21B2W59

@ramonjd
Copy link
Member

ramonjd commented Sep 8, 2024

This is a DotCom backend change regardless of which happens.

If we remove the "Edit site" link, I'd assume the "Customize" link should stay for classic themes?

Screenshot 2024-09-09 at 9 26 40 AM

@jorgefilipecosta jorgefilipecosta self-assigned this Sep 12, 2024
@ramonjd
Copy link
Member

ramonjd commented Oct 2, 2024

I've appended "canvas=edit" to these links so that the editor opens.

Kapture.2024-10-02.at.15.59.29.mp4

D162881-code

@ramonjd
Copy link
Member

ramonjd commented Oct 14, 2024

D162881-code now removes the Edit Site from the toolbar completely

Related issue:

@niranjan-uma-shankar
Copy link
Contributor

niranjan-uma-shankar commented Oct 19, 2024

Related issue:

@ramonjd ramonjd self-assigned this Oct 28, 2024
@ramonjd
Copy link
Member

ramonjd commented Oct 29, 2024

I think this PR is waiting on a redesign. See @mmtr's comments:

That action bar with just an ellipsis button looks quite wrong to me, so I'm moving this back to "Needs design" because I think we need to revisit how the action bar should look like under these circumstances.

D162881-code removes the "Edit Site" link and the result is a lonely ellipsis button. 😄

@richtabor
Copy link

richtabor commented Nov 8, 2024

I noticed there's an item from @richtabor to remove the "Edit site" link from the floating action toolbar completely.

Yes, let's just remove "Edit site" from the action bar. It's not the same as "Customize" — which is a much more contained environment where it's harder to break your website: #95363

There's an argument for removing "Customize" as well, since it's repeated in the admin bar. Shall I propose that in a follow-up?

@simison
Copy link
Member

simison commented Nov 20, 2024

@richtabor are we removing "edit" (post) link as well from Action bar? It's in the masterbar, too:

@ramonjd
Copy link
Member

ramonjd commented Dec 19, 2024

Progress on this has stalled. Just x-linking pfYzsZ-On-p2#comment-966

@ramonjd ramonjd removed their assignment Dec 19, 2024
@simison
Copy link
Member

simison commented Dec 20, 2024

@ramonjd question of removing entirely shouldn't block you from improving/removing edit-links meanwhile, especially if it seems like Action bar will remain there at least for the time being. :-)

@ramonjd
Copy link
Member

ramonjd commented Dec 20, 2024

question of removing entirely shouldn't block you from improving/removing edit-links meanwhile

Thanks for the clarification @simison 👍🏻

@richtabor
Copy link

Yes, can we remove "Edit Site" at the very least?

@ramonjd
Copy link
Member

ramonjd commented Dec 22, 2024

For folks coming back to this, D162881-code revision ID 534689 removed the "Edit Site" option.

@simison
Copy link
Member

simison commented Dec 23, 2024

I noticed we also have "Customize" visible in the masterbar alongside "Edit site" :-(

Image

Filed an issue:

@ramonjd
Copy link
Member

ramonjd commented Dec 27, 2024

My vote is to remove the floating toolbar completely.

If that's too radical for folks, then let's get rid of all Edit links in the toolbar.

Also, the "Get theme:" for logged in users looking at their own site. It's redundant: there's no need to get the theme that's already installed.

The window prompt to copy the short link is also from the jurassic period.

Maybe something like this?

Kapture.2024-12-27.at.18.08.16.mp4

@ramonjd
Copy link
Member

ramonjd commented Dec 30, 2024

Yes, can we remove "Edit Site" at the very least?

I ported the phab patch that removed the "Edit Site" link over to 169373-ghe-Automattic/wpcom

@davemart-in
Copy link
Contributor

My vote is to remove the floating toolbar completely.

I'd ask that we please not do this. It is still valuable, especially for blogger engagement.

Happy to:

A) Cull links that no longer make sense.
B) Make the action bar optional - so anyone could turn it off if they want (but still defaulting it to be on)
C) Redesign the action bar to align more with Gutenberg. Here were a few designs I shared:

Image

@ramonjd
Copy link
Member

ramonjd commented Jan 6, 2025

I'd ask that we please not do this. It is still valuable, especially for blogger engagement.

👍🏻

Redesign the action bar to align more with Gutenberg. Here were a few designs I shared:

Looks great, thanks for sharing.

I'll leave 169373-ghe-Automattic/wpcom as is (just removing Edit Site) for now so that's addressed at least for this issue.

The redesign is a chunkier bit of work we can swing back to.

@ramonjd
Copy link
Member

ramonjd commented Jan 13, 2025

169373-ghe-Automattic/wpcom has been committed.

Can we close this?

@ramonjd
Copy link
Member

ramonjd commented Jan 16, 2025

Closing for now as "Edit Site" no longer exists in the floating toolbar.

See also: Automattic/jetpack#41137 which updates the admin bar "Edit Site" link to point to the top level site editor always.

@ramonjd ramonjd closed this as completed Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Full Site Editor The site editor. [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it
Projects
None yet
Development

No branches or pull requests

7 participants