-
Notifications
You must be signed in to change notification settings - Fork 57
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
refactor: 💡 step progress indicator #944
Conversation
xiaoyu0722
commented
Dec 19, 2024
|
||
// 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 {} |
There was a problem hiding this comment.
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 {} |
There was a problem hiding this comment.
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 } |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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 {} |
There was a problem hiding this comment.
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 {} |
There was a problem hiding this comment.
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 } |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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 {} |
There was a problem hiding this comment.
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 {} |
There was a problem hiding this comment.
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 } |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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 {} |
There was a problem hiding this comment.
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 {} |
There was a problem hiding this comment.
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 } |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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 {} |
There was a problem hiding this comment.
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 {} |
There was a problem hiding this comment.
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 } |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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)
Sources/FioriSwiftUICore/_ComponentProtocols/CompositeComponentProtocols.swift
Outdated
Show resolved
Hide resolved
Sources/FioriSwiftUICore/_ComponentProtocols/CompositeComponentProtocols.swift
Outdated
Show resolved
Hide resolved
Sources/FioriSwiftUICore/_FioriStyles/StepProgressIndicatorStyle.fiori.swift
Outdated
Show resolved
Hide resolved
Sources/FioriSwiftUICore/_FioriStyles/StepProgressIndicatorStyle.fiori.swift
Outdated
Show resolved
Hide resolved
Sources/FioriSwiftUICore/_FioriStyles/StepProgressIndicatorStyle.fiori.swift
Outdated
Show resolved
Hide resolved
Sources/FioriSwiftUICore/_FioriStyles/StepProgressIndicatorStyle.fiori.swift
Outdated
Show resolved
Hide resolved
Sources/FioriSwiftUICore/_FioriStyles/StepProgressIndicatorStyle.fiori.swift
Outdated
Show resolved
Hide resolved
Sources/FioriSwiftUICore/_FioriStyles/StepProgressIndicatorStyle.fiori.swift
Outdated
Show resolved
Hide resolved
Sources/FioriSwiftUICore/_FioriStyles/StepProgressIndicatorStyle.fiori.swift
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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, |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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)