Skip to content

feat(breadcrumb): add breadcrumb#1147

Open
Alex-Oxthorn wants to merge 31 commits into
tyler-technologies-oss:mainfrom
Alex-Oxthorn:feat/add-breadcrumb
Open

feat(breadcrumb): add breadcrumb#1147
Alex-Oxthorn wants to merge 31 commits into
tyler-technologies-oss:mainfrom
Alex-Oxthorn:feat/add-breadcrumb

Conversation

@Alex-Oxthorn
Copy link
Copy Markdown
Contributor

@Alex-Oxthorn Alex-Oxthorn commented May 5, 2026

Summary

Adds the breadcrumb component

Checklist

  • Tests added/updated
  • Docs updated (if applicable)
  • Changeset added (pnpm changeset)

Breaking Changes

@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 5, 2026

🦋 Changeset detected

Latest commit: b182be1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@tylertech/forge Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Alex-Oxthorn Alex-Oxthorn changed the title Feat/add breadcrumb feat(breadcrumb): add breadcrumb May 5, 2026
@Alex-Oxthorn Alex-Oxthorn marked this pull request as ready for review May 5, 2026 20:53
@Alex-Oxthorn Alex-Oxthorn requested a review from a team as a code owner May 5, 2026 20:53
Comment thread packages/forge/src/lib/breadcrumb/breadcrumb/breadcrumb-component-delegate.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/breadcrumb/breadcrumb.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/crumb/crumb.scss Outdated
Comment thread packages/forge/src/lib/breadcrumb/crumb/crumb.scss Outdated
Comment thread packages/forge/src/lib/breadcrumb/breadcrumb/breadcrumb.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/breadcrumb/breadcrumb.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/breadcrumb/breadcrumb.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/breadcrumb/breadcrumb.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/crumb/crumb.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/breadcrumb/breadcrumb-constants.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/breadcrumb/breadcrumb.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/breadcrumb/breadcrumb.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/breadcrumb/breadcrumb.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/breadcrumb/breadcrumb.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/breadcrumb/breadcrumb.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/breadcrumb/breadcrumb.ts Outdated
}
return html`
<li class="forge-breadcrumb__crumb-item">
<forge-icon-button class="forge-breadcrumb__home-button" aria-label="Home" @click=${this.#handleHomeClick}>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should probably be a link instead of a button, or be configurable. I'd also give some thought to how this might integrate with frameworks. Do we want to try supporting Angular's router? (That's been a goal in our other components)

Copy link
Copy Markdown
Contributor Author

@Alex-Oxthorn Alex-Oxthorn May 8, 2026

Choose a reason for hiding this comment

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

The other frameworks was the reason for a button and event over a link. This allows the consumer to tie into the event and handle it however their framework of choice works. Or at least that was my intention. If there is a better way to do that, I am eager to learn that.

Comment thread packages/forge/src/lib/breadcrumb/breadcrumb/breadcrumb.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/breadcrumb/breadcrumb.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/breadcrumb/breadcrumb.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/crumb/crumb.ts Outdated
Comment thread packages/forge/src/lib/breadcrumb/crumb/crumb-constants.ts Outdated
}

#handleClick(): void {
this.dispatchEvent(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I do kind of wonder whether this event is strictly necessary or if there's a cleaner way to handle interaction

@DRiFTy17 DRiFTy17 added this to the 3.15.0 milestone May 11, 2026
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.

3 participants