Skip to content

Commit

Permalink
[ACS-5572] Add deprecated attribute to Like and Rating components (#8756
Browse files Browse the repository at this point in the history
)
  • Loading branch information
g-jaskowski committed Jul 14, 2023
1 parent e37b03c commit 574bff2
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
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

0 comments on commit 574bff2

Please sign in to comment.