-
Notifications
You must be signed in to change notification settings - Fork 38
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
Update creator UI based on mockup #59
Comments
I'm not sure if I understand how to do this nor am I sure I'm viewing the creator properly. I've created a page called Looks like this: When I run the snippet below, nothing happens; presumably, because i'm not loading this through
|
Yep, that's what it looks like right now, and the issue is that it's been totally redesigned to use a fullscreen mode only. The current editor here doesn't have any fullscreen code. The new version looks a lot closer to the edit-post editor, so I was thinking we might want to switch to that. I initially tried an exploration using I merged trunk into that branch & got it to build again: If you'd like to work on the editor (I'll have a few more issues for other editor features in the next few days), could you investigate this approach? If there are any other gotchas, and/or see if there's a way around the
|
I'll hold off and wait for this to settle. |
@StevenDufresne Are you still planning on working on this? Whether it uses the branch I mentioned or can be done by just iterating on what's in trunk already, either works. |
I have no plans. But I don't mind picking it up. |
.... I didn't realize I was assigned to the ticket. |
Here's the latest designs for the pattern editor: You can find all of this in Figma here: https://www.figma.com/file/bz4qs4jZCkqvQzPH2fmX6C/Pattern-Directory?node-id=1641%3A0 |
@ryelle I went through and pulled out some of the necessary changes to be done in try/edit-post-package. They seem all very doable. Editor
Inspector
Fix main Dashboard arrow/button
Document:
|
I've reassigned myself and started this in a new branch with the hopes of merging it with #112 via #60. Branch: try/edit-post-package-editor |
I do have a couple questions before i dig in too deep:
|
More clarification for Q1, where does the theme fit in — the theme should be for displaying the patterns & any user interaction with patterns (copy, favorite, report etc). So the patter-creator plugin is for frontend pattern creation & editing, and the theme will have all the display & moderation in it. it's rudimentary/manual code-splitting, kind of— we don't want to load all of the editor scripts on every page, so the editor should be its own code bundle. |
@ryelle @shaunandrews
|
|
Correct. At some point I was thinking it might be nice to have a viewportWidth value set, but still use the handles to preview how your pattern behaves at different sizes (perhaps with a button to "return to viewportWidth"). For now, we can keep it simple, especially as it sounds like the resizableBox stuff is considered an enhancement. |
@ryelle Are keywords supposed to be restricted to the ones created in wp-admin? Or will those be considered suggestions and users can add whichever keyword they choose? It appears like the backend is expecting a list of integers.
If they are restricted, would the Keyword control make sense to use as in the designs? |
Hm, I'd assumed that keywords would stay internal - I used it for the Core flag mostly because I didn't think it would be used for anything else... I'm not entirely sure what the difference between category and keyword is.
It's probably looking for a set of taxonomy term IDs, which could be created - like how the tags UI works on posts. |
I guess it would depend on how 'loose' we get with categories and how specific patterns become. I'm not certain we have those answers yet... Should we remove the keyword control from the interface for now then? |
I apparently didn't catch that You can leave this alone in #115 and make it work in a following PR. |
The editor should now be full screen (disable non-fullscreen mode), and have the pattern title visible.
The sidebar will have two sections (like the CPT editor), but instead of Document settings it will be Pattern meta information.
The "View" link functionality is in #29.
The text was updated successfully, but these errors were encountered: