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

Artboards #253

Open
48 of 65 tasks
Tracked by #251
akaDuality opened this issue Apr 7, 2023 · 0 comments · Fixed by #254
Open
48 of 65 tasks
Tracked by #251

Artboards #253

akaDuality opened this issue Apr 7, 2023 · 0 comments · Fixed by #254
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@akaDuality
Copy link
Collaborator

akaDuality commented Apr 7, 2023

Add artboards with several images. Allows to create interactive prototypes

Document's structure

  • Extract Artboard package
  • Item's removing
  • Add parent property to an element
  • Separate dto and domain objects. Custom codable constructor was enough
  • App should use Artboard model, not document.
    • Add encoding for containers
  • Codable for entire artboard
  • Add snapshot strategy for folder's structure

Image's frames

  • Extract layer that draws images
  • Add several stubbed images with different frames
  • Restore image recognition: detect image for recognition and area after that
  • Show frames at Navigator panel
    • Show elements that is outside of any frames
  • Draw controls in document's coordinates
    • Fix test's build
    • Refactor controls structure to keep relation to artboard (like Figma)
  • Element's drawing
    • Place element to frame that contains it's frame
  • Add image
  • Fix window fitting
    • Should show important part of document in window on start
    • Should have area around document that is available for drawing
  • Fix test run
  • Fix test pass

Editing

Frame's settings

Document

  • Read images from file
    • Manage migration for frame: CGRect
    • Migrate isBetaStructure flag
  • Save images to file

Bugs

  • Drag’n’drop outline drawn wrong it tabs is presented (or changed on the fly)
  • First frame can be placed at negative coordinates
    • Negative offset works wrong
  • If recent documents has opened is separate window (that is a bug) and you open recent from another – previous window becomes empty
  • Drag’n’drop won’t work for recent window. Should support images and .vodesign files
  • Second frame wouldn't load (can't reproduce anymore)
  • Once can't zoom on a frame
  • Can't delete frame by backspace (should be checked after migrating to SwiftUI settings)
  • Size marker for frame not allow to resize in fact
  • When open document don't fit to correct level
  • Check OTT samples and scales in Preview for iPad
  • Change highlighted control by VoiceOver's focus
  • Even a 13-inch iPad can't fit Preview when size is reduced by half
  • VoiceOver's order is broken at Preview mode (checked on iPad)
@akaDuality akaDuality mentioned this issue Apr 7, 2023
8 tasks
@akaDuality akaDuality self-assigned this Apr 7, 2023
@akaDuality akaDuality added the enhancement New feature or request label Apr 7, 2023
@akaDuality akaDuality added this to the 2.0 Figma integration milestone Apr 7, 2023
@akaDuality akaDuality changed the title Add artboards with several images Artboards Apr 9, 2023
@akaDuality akaDuality pinned this issue Apr 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

1 participant