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

[ACS-5572] Add deprecated attribute to Like and Rating components #8756

Merged
merged 1 commit into from
Jul 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions demo-shell/src/app/components/social/social.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@

import { Component, ViewEncapsulation } from '@angular/core';

/**
* @deprecated This component uses Like and Rating components that are not used in ACA/ADW/ACC and can be removed.
*/
@Component({
selector: 'app-social',
templateUrl: './social.component.html',
Expand Down
3 changes: 3 additions & 0 deletions demo-shell/src/app/components/social/social.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ const routes: Routes = [
}
];

/**
* @deprecated This module uses Like and Rating components that are not used in ACA/ADW/ACC and can be removed.
*/
@NgModule({
imports: [
CommonModule,
Expand Down
3 changes: 3 additions & 0 deletions lib/content-services/src/lib/social/like.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ import { Component, EventEmitter, Input, OnChanges, Output, ViewEncapsulation }
import { RatingService } from './services/rating.service';
import { RatingEntry } from '@alfresco/js-api';

/**
* @deprecated Like component is not used in ACA/ADW/ACC, can be removed.
*/
@Component({
selector: 'adf-like',
styleUrls: ['./like.component.scss'],
Expand Down
3 changes: 3 additions & 0 deletions lib/content-services/src/lib/social/rating.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ import { RatingEntry } from '@alfresco/js-api';
import { takeUntil } from 'rxjs/operators';
import { Subject } from 'rxjs';

/**
* @deprecated Rating component is not used in ACA/ADW/ACC, can be removed.
*/
@Component({
selector: 'adf-rating',
styleUrls: ['./rating.component.scss'],
Expand Down
3 changes: 3 additions & 0 deletions lib/content-services/src/lib/social/social.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ import { MaterialModule } from '../material.module';
import { LikeComponent } from './like.component';
import { RatingComponent } from './rating.component';

/**
* @deprecated This module uses Like and Rating components are not used in ACA/ADW/ACC and can be removed.
*/
@NgModule({
imports: [
CommonModule,
Expand Down
Loading