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
fix: Platform wrapper component for info Label with document changes #2486
Conversation
Deploy preview for fundamental-ngx ready! Built with commit 81f7d72 |
@salarenko i am facing the build issue with the test script can you pls look into it. |
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.
@Lokanathan-k
Thanks for showing me this error. Its going to be fixed with #2487
.../src/app/platform/component-docs/platform-info-label/platform-info-label-docs.component.html
Outdated
Show resolved
Hide resolved
...cs/src/app/platform/component-docs/platform-info-label/platform-info-label-docs.component.ts
Outdated
Show resolved
Hide resolved
libs/platform/src/lib/components/info-label/info-label.component.ts
Outdated
Show resolved
Hide resolved
8f839f1
to
e505157
Compare
@salarenko regarding the Lazy loading comment on the PR 2407 ,can you give more info on that pls where to add the lazy loading |
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.
@Lokanathan-k I am sorry, man, this title Info Label Platform changes
is very generic to me
Hey @Lokanathan-k, Lazy Loading concept I mentioned is based on dividing application into parts and requesting specified parts of the application in the time when they really need to be used. At this moment when |
Thanks for the confirmation of this. will address this change in a seperate PR, we will make a not of this this and work acordingly for this change. |
e7bb5b4
to
869691b
Compare
libs/platform/src/lib/components/info-label/info-label.component.ts
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.
LGTM, only one minor comment
@fkolar it was not any code change, It was a conflict resolving, Post the split button changes was affecting my code, this conflict resolving was nessary, and few test failed so this change was needed |
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.
@Lokanathan-k I see that you copied the documentation from the core package, which would raise the question: why and when the developers should the platform InfoLabel instead of the core one. It has to be very clear in which use cases we recommend that component from the platform.
bf9791d
to
3eeed4c
Compare
@droshev i have added the changes in platform features in the documentation part. |
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.
You wrote:
- Info Label offers additional option like Aria attributes for Accessibility.
do u have an example or more details how they can be used?
Can you give an example where it makes more sense to use the platform component instead of the one from core
1607311
to
470570d
Compare
|
01c7a4b
to
b0c46fb
Compare
...ocs/platform-info-label/platform-info-label-header/platform-info-label-header.component.html
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.
Looks fine to me too, if you can order the components in alphabetical order would be great!
thanks
apps/docs/src/app/platform/documentation/platform-documentation.component.ts
Outdated
Show resolved
Hide resolved
Code Commit for the Info label platform component Few document change s for the info lable component Few document change s for the info lable component Update info-label.component.ts updating the test case for the color change updating the test case for the color change remove the constructor remove the constructor Updating the docuement loading changes Updating the docuement loading changes
adding lazy loadin to the code
document changes for the info label Lazy loading
updating the documentation and accessability attributes
adding aria attributes for accessability
Reordering the URL code alpahabeticallly
0e8e6db
to
81f7d72
Compare
…2486) * Code Commit for the Info label platform component Code Commit for the Info label platform component Few document change s for the info lable component Few document change s for the info lable component Update info-label.component.ts updating the test case for the color change updating the test case for the color change remove the constructor remove the constructor Updating the docuement loading changes Updating the docuement loading changes * adding lazy loadin to the code adding lazy loadin to the code * document changes for the info label Lazy loading document changes for the info label Lazy loading * Update info-label.component.spec.ts * updating the documentation and accessability attributes updating the documentation and accessability attributes * adding aria attributes for accessability adding aria attributes for accessability * Update platform-info-label-header.component.html * Update platform-documentation.component.ts Reordering the URL code alpahabeticallly
Please provide a link to the associated issue.
#2338
Please provide a brief summary of this pull request.
This PR is mainly for converting InfoLabel directive from core to Info Label Component in platform
The Info Label component is used to highlight the status of an information by coloring the text.
Please check whether the PR fulfills the following requirements
https://github.com/SAP/fundamental-ngx/blob/master/CONTRIBUTING.md
Documentation checklist: