Skip to content

Main to develop - #302

Merged
akaDuality merged 100 commits into
developfrom
mainToDevelop
Nov 5, 2023
Merged

Main to develop#302
akaDuality merged 100 commits into
developfrom
mainToDevelop

Conversation

@akaDuality

Copy link
Copy Markdown
Member

No description provided.

akaDuality and others added 22 commits October 23, 2023 22:09
…-minimum-windows-height

274 adjustable values increases minimum windows height
Scroll to selected item it list too long to fit on screen
Add Library name to Document class to fix File -> Open menu
Fix sound on escape button on macos
# Conflicts:
#	Shared/Sources/Canvas/CanvasPresenter.swift
#	Shared/Sources/Canvas/Drawing/DrawingView.swift
#	Shared/Sources/Document/Accessibility/Protocols/AccessibilityView/AccessibilityView+Grouping.swift
#	Shared/Sources/Document/Documents/Document/VODesignDocumentProtocol.swift
#	Shared/Sources/Document/Models/Protocols/A11yContainer.swift
#	Shared/Sources/Document/Models/Protocols/AccessibilityViews.swift
#	VoiceOver Designer/Features/Sources/CanvasAppKit/CanvasView.swift
#	VoiceOver Designer/Features/Sources/CanvasAppKit/CanvasViewController.swift
#	VoiceOver Designer/Features/Sources/Recent/RecentViewController/UI/DocumentsBrowserViewController.swift
#	VoiceOver Designer/Features/Sources/Settings/States/Element/ElementSettingsViewController.storyboard
#	VoiceOver Designer/Features/Tests/CanvasAppKitTests/Base/CanvasPresenterTests.swift
#	VoiceOver Designer/Features/Tests/CanvasAppKitTests/CancellingActionsTests.swift
#	VoiceOver Preview/PreviewFeatures/Sources/CanvasUIKit/Canvas.swift
Comment thread Shared/Sources/Canvas/CanvasPresenter.swift
Comment thread Shared/Sources/Document/Accessibility/Protocols/A11yContainer.swift

public init(
elements: [A11yDescription],
id: UUID = UUID(),

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove default to make it explicit and avoid potential bugs

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What bugs should come with default value?

You thinking that ids could be equal if we create id for already created file?


import Foundation

extension ArtboardElement {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add tests for copying

Comment thread Shared/Sources/Document/Documents/Document/ImageLoader.swift
newDocumentIsCreated = true

let split = ProjectController(document: document, router: self)
// TODO: Check that this document is not opened in another tab

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will fix it?

addChild(newController)
view.addSubview(newController.view)
view.pinToBounds(newController.view)
// newController.didMove(toParent: self)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

}

func test_createControlsWhenDocumentImageNil() {
// TODO: Remove image?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove? Test is green

import AppKit
import Presentation
import SwiftUI
import Settings // TODO: Move StateViewController out of settings

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extract?

@akaDuality
akaDuality merged commit d1cf779 into develop Nov 5, 2023
@akaDuality
akaDuality deleted the mainToDevelop branch November 5, 2023 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants