Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.9k
Breadcrumb separator generator#8435
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
janrozic wants to merge7 commits intovueComponent:mainChoose a base branch fromjanrozic:breadcrumb-separator-generator
base:main
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Open
+128 −10
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Update vite.config.ts to set the server host to '0.0.0.0' and the port to 5000.Replit-Commit-Author: AgentReplit-Commit-Session-Id: dc672fdb-19d2-4d5f-bae1-94760b303a1dReplit-Commit-Checkpoint-Type: full_checkpointReplit-Commit-Event-Id: 4199e6cc-ea1b-4ae0-a39a-563e8e0a14f2Replit-Helium-Checkpoint-Created: true
Create a replit.md file detailing the project's overview, structure, setup, and running instructions.Replit-Commit-Author: AgentReplit-Commit-Session-Id: dc672fdb-19d2-4d5f-bae1-94760b303a1dReplit-Commit-Checkpoint-Type: full_checkpointReplit-Commit-Event-Id: d348c910-3467-43f6-b989-a881b6c6add0Replit-Commit-Screenshot-Url:https://storage.googleapis.com/screenshot-production-us-central1/5ce4e9cd-2415-4003-8bb8-55c9c88cea00/dc672fdb-19d2-4d5f-bae1-94760b303a1d/1GeIdCEReplit-Helium-Checkpoint-Created: true
Update Breadcrumb component to accept a separator generator function as a prop, alongside existing string and slot options. Exports `SeparatorGeneratorFunc` type and refactors internal logic to handle dynamic separator generation.Replit-Commit-Author: AgentReplit-Commit-Session-Id: 6cc5c7da-6689-4391-8349-0b45bd1c8827Replit-Commit-Checkpoint-Type: full_checkpointReplit-Commit-Event-Id: a64ee559-eaf2-4dd6-beba-6d81591cda0aReplit-Helium-Checkpoint-Created: true
Update demo file to showcase a breadcrumb component utilizing a separator generator function, allowing dynamic separator creation based on item index.Replit-Commit-Author: AgentReplit-Commit-Session-Id: 6cc5c7da-6689-4391-8349-0b45bd1c8827Replit-Commit-Checkpoint-Type: full_checkpointReplit-Commit-Event-Id: a866df52-256e-4538-b672-cbe03d4e2c3fReplit-Helium-Checkpoint-Created: true
Add an a-divider component to visually separate the new section demonstrating the separator generator function.Replit-Commit-Author: AgentReplit-Commit-Session-Id: 6cc5c7da-6689-4391-8349-0b45bd1c8827Replit-Commit-Checkpoint-Type: full_checkpointReplit-Commit-Event-Id: f161640c-7968-4322-a8a3-c3c25370a2f4Replit-Helium-Checkpoint-Created: true
Enhance the Breadcrumb component by adding support for a generator function to dynamically create separators, and include usage examples and explanatory text in the demo.Replit-Commit-Author: AgentReplit-Commit-Session-Id: 6cc5c7da-6689-4391-8349-0b45bd1c8827Replit-Commit-Checkpoint-Type: full_checkpointReplit-Commit-Event-Id: 32682b43-93c5-4c30-a291-774a507229bcReplit-Helium-Checkpoint-Created: true
Replit-Commit-Author: AgentReplit-Commit-Session-Id: 6cc5c7da-6689-4391-8349-0b45bd1c8827Replit-Commit-Checkpoint-Type: full_checkpointReplit-Commit-Event-Id: d44eeee3-72e1-4608-a001-084eb9ea641dReplit-Helium-Checkpoint-Created: true
| ## zh-CN | ||
| 使用 `Breadcrumb.Separator` 可以自定义分隔符。 | ||
| 使用 `Breadcrumb.Separator` 可以自定义分隔符,也可以传入一个函数来动态生成分隔符。 |
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
What does this say?
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test replit