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

[prototype] Product sync feed status UI #2017

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

haszari
Copy link
Member

@haszari haszari commented Jun 14, 2021

Related to #2007

Changes proposed in this Pull Request:

This PR is a prototype UI for showing the status of the product feed (data source) and potentially guiding merchant to set it up. It's not intended to ship as is – is a starting point for deciding what minimal UI we need in 2.7.

  • A new section is added to the Marketing > Facebook > Product sync tab. Feed UI / info should be on this tab as it's part of syncing products (should not be a separate tab).
  • In this section, there are three items, for 3 aspects of the feed:
    • If it is configured and set up (correctly).
    • The status of generating the feed file.
    • The status of the sync, i.e. if it's been pulled ("uploaded") to Facebook, and any errors.

I've prototyped a mini "component" (in PHP - see render_status_item()) to generically prototype all these and give us some flexibility. Note this is not completely implemented (e.g. colours, no copy to clipboard), just a sketch to help prototype.

Screen Shot 2021-06-14 at 3 00 05 PM

The component has the following params, most are optional:

  • label The main heading label on the left.
  • text The primary text status / info label (on the right).
  • status An optional status (success error warning) to add colour and an icon.
  • help_tip Tooltip for the help icon button.
  • Inline link - e.g. for linking to help or to Facebook business settings (or elsewhere in Woo admin).
    • link_label Link label text.
    • link_url Link destination URL.
    • link_is_external Specify true to show the "external" icon.
  • info_text Additional status/detailed info, rendered smaller. E.g. last sync results.
  • Clipboard link - e.g. for copying the feed URL so you can configure a data source in Facebook (minimal setup UI).
    • clipboard_label Label / prompt.
    • clipboard_content Text to copy to clipboard.

Feed status prototypes

set up + mostly working

not set up + partially generated

Screen Shot 2021-06-14 at 4 25 34 PM

How to test the changes in this Pull Request:

tbc

Changelog entry

tbc

Fix / Dev / New - Remove duplicate visibility meta entries from postmeta table

@haszari haszari added the status: blocked The issue is blocked from progressing, waiting for another piece of work to be done. label Jun 14, 2021
@haszari haszari self-assigned this Jun 14, 2021
@haszari haszari added feature: product sync Relating to syncing product data to Facebook. type: enhancement The issue is a request for an enhancement. labels Jun 14, 2021
@haszari haszari changed the title Try/feed status UI prototype [prototype] Product sync feed status UI Jun 14, 2021
@rawdreeg rawdreeg changed the base branch from master to develop June 3, 2022 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: product sync Relating to syncing product data to Facebook. status: blocked The issue is blocked from progressing, waiting for another piece of work to be done. type: enhancement The issue is a request for an enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant