Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Move "terms" page notice to the inspector #8362

Closed
mikejolley opened this issue Feb 1, 2023 · 5 comments · Fixed by #8957
Closed

Move "terms" page notice to the inspector #8362

mikejolley opened this issue Feb 1, 2023 · 5 comments · Fixed by #8957
Assignees
Labels
priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: enhancement The issue is a request for an enhancement.

Comments

@mikejolley
Copy link
Member

Describe the bug

This is not a bug, but seems like something we should modify. In the terms and conditions block, if you don't have a terms page setup you'll see a notice like this inline:

Screenshot 2023-02-01 at 16 09 14

This is not reflective of the appearance on the frontend. I'd suggest moving the notice to the inspector instead.

Thoughts @woocommerce/rubik?

@mikejolley mikejolley added type: enhancement The issue is a request for an enhancement. needs feedback labels Feb 1, 2023
@nielslange
Copy link
Member

On one hand, all other info and warning messages are located in the inspector. On the other hand, I wonder if the visibility decreases when moving the "terms" page notice to the inspector. I'd probably draft a PR to see how the result would look.

@alexflorisca
Copy link
Member

Yeah it's a tricky one, we had a similar chat before about the UI for resetting a button's text. I think this make sense in this case as you want to draw visibility to the fact that you will be displaying the terms text, but without any terms pages. The other option could be to move the whole thing to the inspector - so the terms text would be an option on the checkout block.

@senadir
Copy link
Member

senadir commented Feb 7, 2023

I'm not sure how to feel about this, it's true that it's not reflective about frontend state, but this is an error state or a validation issue, and I think those are exception to that rule.

@mikejolley
Copy link
Member Author

Are they errors, though? Those pages are not mandatory. You could present text there without actual terms pages defined. For example if you had a custom page or site to send them, or wanted to show terms inline.

@ralucaStan
Copy link
Contributor

I tend to agree with Mike. We moved notices to the sidebar so this section would need to follow that model as well. Even if that would bring less visibility to the prompt.

I'd say this is a low priority for now

@ralucaStan ralucaStan added priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. and removed needs feedback labels Feb 14, 2023
@mikejolley mikejolley self-assigned this Apr 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: enhancement The issue is a request for an enhancement.
Projects
None yet
5 participants