Coder Social home page Coder Social logo

Comments (3)

ryelle avatar ryelle commented on August 16, 2024

Some prior art from wp.com— this modal pops up when adding a new page. It's a set of page templates (which are functionally the same as patterns) on one side, and a larger preview on the other.

Screen Shot 2021-02-22 at 12 27 33 PM

As I noted in the screenshot, the list of patterns are actually images— this probably ends up better for accessibility, a button containing an image is valid. list item component reference. It uses an API endpoint + mshots to get a snapshot of this content in any given theme. For example, Twenty Twenty & Twenty Twenty-one. Maybe we could consider something like that using wp-themes.com? For the archive views like in the mockup above, it would probably render faster and be more accessible than loading up mini block editors.

The single pattern page (#43) would still be better with a real preview, like the larger preview in the screenshot. So the preview component that "fixes" this issue would be a different thing than the single pattern preview.

from pattern-directory.

ryelle avatar ryelle commented on August 16, 2024

Latest design:

Screen Shot 2021-03-30 at 12 48 01 PM

See #52 for favoriting functionality, #53 for copying.

from pattern-directory.

ryelle avatar ryelle commented on August 16, 2024

Try a Shadow DOM approach to style encapsulation?

from pattern-directory.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.