Skip to content

Conversation

erdemcaygor
Copy link

@erdemcaygor erdemcaygor marked this pull request as ready for review October 3, 2025 12:22
@@ -0,0 +1,35 @@
import {environment} from "../../environments/environment";

export function absolutizeRelativeUrls(html: string): string {

Choose a reason for hiding this comment

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

I could not understand where would we use this util.

Copy link
Author

Choose a reason for hiding this comment

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

Removed unnecessary util

import {inject, Injectable} from "@angular/core";
import {Rest, RestService} from "@abp/ng.core";
import {PagedProducts, ProductWithCategory} from "../models";
import ResponseType = Rest.ResponseType;

Choose a reason for hiding this comment

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

We could remove this import as it does not seem being used
import ResponseType = Rest.ResponseType;

Copy link
Author

Choose a reason for hiding this comment

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

removed

import {Pipe, PipeTransform} from "@angular/core";
import {environment} from "../../environments/environment";

@Pipe({

Choose a reason for hiding this comment

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

I could not see the usage for this pipe, so maybe we could delete this.

Copy link
Author

Choose a reason for hiding this comment

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

removed

Copy link

@sumeyyeKurtulus sumeyyeKurtulus left a comment

Choose a reason for hiding this comment

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

Hello @erdemcaygor thank you for putting an effort on creating this sample. Other than the comments I left, it is mergable 🙌🏻

We could also check these components using RouterModule import as it seems redundant.

  • Shopularity/angular/public-site/src/app/containers/product-list/product-list-item/product-list-item.component.ts

  • Shopularity/angular/public-site/src/app/containers/product-list/product-list.component.ts

  • Shopularity/angular/public-site/src/app/containers/product-detail/product-detail.component.ts

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