Skip to content

feat!: support arrow prev and arrow next for more components#2540

Merged
sxyazi merged 3 commits intosxyazi:mainfrom
XOR-op:arrow-wrap
Mar 27, 2025
Merged

feat!: support arrow prev and arrow next for more components#2540
sxyazi merged 3 commits intosxyazi:mainfrom
XOR-op:arrow-wrap

Conversation

@XOR-op
Copy link
Contributor

@XOR-op XOR-op commented Mar 27, 2025

Follow up to #2485

⚠️ Breaking changes

With this PR, all components now support wraparound navigation and have it enabled by default to maintain overall interaction consistency.

The old arrow -1 and arrow 1 can still be used to preserve the previous behavior.

@sxyazi
Copy link
Owner

sxyazi commented Mar 27, 2025

Thanks for the PR. I have a few change requests:

@XOR-op
Copy link
Contributor Author

XOR-op commented Mar 27, 2025

Updated accordingly

@sxyazi sxyazi changed the title feat: support wrap around for arrow actions feat: support arrow prev and arrow next for more components Mar 27, 2025
@sxyazi sxyazi changed the title feat: support arrow prev and arrow next for more components feat!: support arrow prev and arrow next for more components Mar 27, 2025
Copy link
Owner

@sxyazi sxyazi left a comment

Choose a reason for hiding this comment

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

Thank you

@sxyazi sxyazi merged commit 0d9e3dc into sxyazi:main Mar 27, 2025
6 checks passed
Lemi0002 pushed a commit to Lemi0002/yazi that referenced this pull request Apr 10, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants