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

refactor: 💡 step progress indicator #944

Merged
merged 3 commits into from
Dec 23, 2024

Conversation

xiaoyu0722
Copy link
Contributor

@xiaoyu0722 xiaoyu0722 requested a review from a team as a code owner December 19, 2024 01:48
@xiaoyu0722 xiaoyu0722 requested review from billzhou0223 and removed request for a team December 19, 2024 01:48

// sourcery: genericParameter.name = CancelActionView
// sourcery: default.value = _CancelActionDefault()
var cancelAction: _ActionModel? { get }
}

@available(*, unavailable, renamed: "_StepProgressIndicatorModel", message: "Will be removed in the future release. Please use StepProgressIndicator instead.")
public protocol StepProgressIndicatorModel {}
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

}

@available(*, unavailable, renamed: "_SingleStepModel", message: "Will be removed in the future release. Please use SingleStep instead.")
public protocol SingleStepModel {}
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

@@ -446,17 +446,20 @@ public protocol SingleStepModel {
// sourcery: backingComponent=_StepsContainer
// sourcery: customFunctionBuilder=IndexedViewBuilder
// sourcery: genericParameter.type=IndexedViewContainer
var substeps: [SingleStepModel] { get set }
var substeps: [_SingleStepModel] { get set }
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

@@ -433,7 +433,7 @@ public protocol KPIHeaderItemModel {}
// sourcery: virtualPropStepState = "var state: StepProgressIndicatorState?"
// sourcery: virtualPropIsLastStep = "var isLastStep: Bool = false"
// sourcery: generated_component_composite
public protocol SingleStepModel {
public protocol _SingleStepModel {
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)


// sourcery: genericParameter.name = CancelActionView
// sourcery: default.value = _CancelActionDefault()
var cancelAction: _ActionModel? { get }
}

@available(*, unavailable, renamed: "_StepProgressIndicatorModel", message: "Will be removed in the future release. Please use StepProgressIndicator instead.")
public protocol StepProgressIndicatorModel {}
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

}

@available(*, unavailable, renamed: "_SingleStepModel", message: "Will be removed in the future release. Please use SingleStep instead.")
public protocol SingleStepModel {}
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

@@ -446,17 +446,20 @@ public protocol SingleStepModel {
// sourcery: backingComponent=_StepsContainer
// sourcery: customFunctionBuilder=IndexedViewBuilder
// sourcery: genericParameter.type=IndexedViewContainer
var substeps: [SingleStepModel] { get set }
var substeps: [_SingleStepModel] { get set }
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

@@ -433,7 +433,7 @@ public protocol KPIHeaderItemModel {}
// sourcery: virtualPropStepState = "var state: StepProgressIndicatorState?"
// sourcery: virtualPropIsLastStep = "var isLastStep: Bool = false"
// sourcery: generated_component_composite
public protocol SingleStepModel {
public protocol _SingleStepModel {
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)


// sourcery: genericParameter.name = CancelActionView
// sourcery: default.value = _CancelActionDefault()
var cancelAction: _ActionModel? { get }
}

@available(*, unavailable, renamed: "_StepProgressIndicatorModel", message: "Will be removed in the future release. Please use StepProgressIndicator instead.")
public protocol StepProgressIndicatorModel {}
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

}

@available(*, unavailable, renamed: "_SingleStepModel", message: "Will be removed in the future release. Please use SingleStep instead.")
public protocol SingleStepModel {}
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

@@ -446,17 +446,20 @@ public protocol SingleStepModel {
// sourcery: backingComponent=_StepsContainer
// sourcery: customFunctionBuilder=IndexedViewBuilder
// sourcery: genericParameter.type=IndexedViewContainer
var substeps: [SingleStepModel] { get set }
var substeps: [_SingleStepModel] { get set }
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

@@ -433,7 +433,7 @@ public protocol KPIHeaderItemModel {}
// sourcery: virtualPropStepState = "var state: StepProgressIndicatorState?"
// sourcery: virtualPropIsLastStep = "var isLastStep: Bool = false"
// sourcery: generated_component_composite
public protocol SingleStepModel {
public protocol _SingleStepModel {
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)


// sourcery: genericParameter.name = CancelActionView
// sourcery: default.value = _CancelActionDefault()
var cancelAction: _ActionModel? { get }
}

@available(*, unavailable, renamed: "_StepProgressIndicatorModel", message: "Will be removed in the future release. Please use StepProgressIndicator instead.")
public protocol StepProgressIndicatorModel {}
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

}

@available(*, unavailable, renamed: "_SingleStepModel", message: "Will be removed in the future release. Please use SingleStep instead.")
public protocol SingleStepModel {}
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

@@ -446,17 +446,20 @@ public protocol SingleStepModel {
// sourcery: backingComponent=_StepsContainer
// sourcery: customFunctionBuilder=IndexedViewBuilder
// sourcery: genericParameter.type=IndexedViewContainer
var substeps: [SingleStepModel] { get set }
var substeps: [_SingleStepModel] { get set }
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

@@ -433,7 +433,7 @@ public protocol KPIHeaderItemModel {}
// sourcery: virtualPropStepState = "var state: StepProgressIndicatorState?"
// sourcery: virtualPropIsLastStep = "var isLastStep: Bool = false"
// sourcery: generated_component_composite
public protocol SingleStepModel {
public protocol _SingleStepModel {
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)


// sourcery: genericParameter.name = CancelActionView
// sourcery: default.value = _CancelActionDefault()
var cancelAction: _ActionModel? { get }
}

@available(*, unavailable, renamed: "_StepProgressIndicatorModel", message: "Will be removed in the future release. Please use StepProgressIndicator instead.")
public protocol StepProgressIndicatorModel {}
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

}

@available(*, unavailable, renamed: "_SingleStepModel", message: "Will be removed in the future release. Please use SingleStep instead.")
public protocol SingleStepModel {}
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

@@ -446,17 +446,20 @@ public protocol SingleStepModel {
// sourcery: backingComponent=_StepsContainer
// sourcery: customFunctionBuilder=IndexedViewBuilder
// sourcery: genericParameter.type=IndexedViewContainer
var substeps: [SingleStepModel] { get set }
var substeps: [_SingleStepModel] { get set }
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

@@ -433,7 +433,7 @@ public protocol KPIHeaderItemModel {}
// sourcery: virtualPropStepState = "var state: StepProgressIndicatorState?"
// sourcery: virtualPropIsLastStep = "var isLastStep: Bool = false"
// sourcery: generated_component_composite
public protocol SingleStepModel {
public protocol _SingleStepModel {
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

Copy link
Contributor

@dyongxu dyongxu left a comment

Choose a reason for hiding this comment

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

Doc update

self.init(title: { EmptyView() }, node: node, id: id, substeps: substeps)
}

init(id: String = UUID().uuidString,
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

self.init(title: title, node: node, id: id, substeps: substeps)
}

init(id: String = UUID().uuidString,
Copy link

Choose a reason for hiding this comment

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

Missing Docs Violation: public declarations should be documented. (missing_docs)

@xiaoyu0722 xiaoyu0722 merged commit cf92494 into SAP:main Dec 23, 2024
12 checks passed
@xiaoyu0722 xiaoyu0722 deleted the refactor-step-progress-indicator branch December 23, 2024 02:25
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.

2 participants