mechanic icon indicating copy to clipboard operation
mechanic copied to clipboard

Mechanic is a framework to build assets built on web code.

Results 41 mechanic issues
Sort by recently updated
recently updated
newest added

## TL;DR Adds a draw loop helper to mechanic core. This helper is exposed to design functions through the engine. The goal of this is to remove boilerplate from design...

You can read a nicer layout by [visiting the markdown file directly](https://github.com/designsystemsinternational/mechanic/blob/decision-new-animation-api/decisions/01-new-animation-api.md).

## Context Some functions need to run slow code (like loading a bigger static file) upfront. This code is currently re-run on every preview, which can make things feel slow...

enhancement
nice to have
Work in progress

Moving a conversation started in #150 here: One thing that worried me about the #140 was that it maybe resets values for the inputs too frequently, even if it's not...

- adds a custom `useDebouncedCallback` hook - wraps the preview function into the debounced callback, so it'll only get called if there hasn't been an input for 250ms - exact...

- Makes canvas previews crisp on retina displays - Allows users to choose the desired pixel density before exporting

Work in progress

**Is your feature request related to something something in Mechanic? Please describe.** We should support `async` design functions **Is your feature request related to a problem? Please describe.** It actually...

enhancement

**Is your feature request related to something something in Mechanic? Please describe.** I think we should add a debounce whenever the user types in one of the input fields. **Is...

enhancement

**Describe the bug** The canvas element for `@mechanic-design/engine-canvas` looks fuzzy on retina screen because of the 2-pixel density required. **To Reproduce** Steps to reproduce the behavior: 1. Create a design...

bug:bug:

**Long story short: I would like Mechanic to export print-ready PDFs.** More specific: - PDF must include crop marks - There must be some way to tell the PPI of...

enhancement