Closed artemiomorales closed 2 days ago
I'll add some images to help this discussion. We have two open questions and a proposed design to consider:
As mentioned, the supporting data structures to easily modify these experiences do not currently exist in the codebase, so as we think about this holistically, we'll need to consider the best way to make any new flow or UX possible.
There's a little relevant conversation happening in Slack as well. Link requires registration.
@gziolo @SantosGuillamot Is there anyone we should ping on the code side to move this discussion forward? Maybe a PR with some data structure changes to support the granular review of post meta (as in the image below) would be good?
From your previous comment, it seems there are three things we should/could work on:
If that's the case, I believe we can address each item individually. I would say that the first step would be to explore how to work on it and, if we get blocked, ask for help with more concrete questions.
@gziolo @SantosGuillamot Is there anyone we should ping on the code side to move this discussion forward? Maybe a PR with some data structure changes to support the granular review of post meta (as in the image below) would be good?
![]()
I think we are the code side @artemiomorales 😉
We could work on several things there, as @SantosGuillamot mention. Retrieving those fields, create the sections, add the fold/unfold behavior, etc.
We also would have to check what happens when the user unselect those checks and save.
Feel free to experiment and try to get the design approach, and reach out if blocked.
We also would have to check what happens when the user unselect those checks and save.
Feel free to experiment and try to get the design approach, and reach out if blocked.
Perfect, sounds like a plan. I'm interested in getting the save panel to work with the checkboxes — will look into that.
I was checking, and we already have issues for:
The only point missing is the one to include a list of the custom fields that have been modified. We can open a pull request or issue once we work on that.
Would it make sense to close this issue and rely on those ones?
I'm interested in getting the save panel to work with the checkboxes — will look into that.
Regarding this: Which part is not working now? If we talk about having one checkbox per meta field as shown in the image, I would work first on showing the list of fields instead of "Post Meta", even without having checkboxes.
showing the list of fields...
This would be the best start.
I would work first on showing the list of fields instead of "Post Meta", even without having checkboxes.
Ok I've created a new issue here:
Would it make sense to close this issue and rely on those ones?
I hesitate slightly because those two issues, as well as the one above, all would rely on using the same supporting data structure. I'm happy to close this if we feel that makes project management cleaner, though. My inclination is to focus on https://github.com/WordPress/gutenberg/issues/62938 to start, and we could move to the other two afterwards.
I looked at this more closely and believe this issue is now better handled in the three more granular ones below. It turns out that they can largely be tackled individually, so I'll close this issue.
What problem does this address?
Right now, our existing data structures and logic don't support an ideal user experience when modifying post metadata:
What is your proposed solution?
Let's think through the user experience of these scenarios holistically and refactor so that our use cases are easy to implement and understand in the codebase, as well as potentially extensible to future use cases.