dungtruongtien / kewe-crawler

0 stars 0 forks source link

[Question] What is the breadcrumb used for? #23

Open longnd opened 7 months ago

longnd commented 7 months ago

Issue

The react application has a breadcrumb, but the app has a single page (the dashboard) only, the user can't navigate to anywhere else, so what is the intention to create the breadcrumb? https://github.com/dungtruongtien/kewe-crawler/blob/main/crawler-interface/src/components/breadcumb.js Some notes:

dungtruongtien commented 7 months ago

This breadcrumb is only used for better UI (at least with me 😄). I have some logic to let this breadcrumb be rendered based on the URL, not fixed with any page (need to update logic to handle invalid URL).

Sorry about the typo.

longnd commented 7 months ago

having a broken, non-functional breadcrumb is not as ideal as not having it, as it brings no benefit, IMO. Morover, in this case, since there are no other pages, so having a breadcrumb is quite redundant.