Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bookmark index swapping #789

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Bookmark index swapping #789

merged 1 commit into from
Oct 22, 2024

Conversation

LeXofLeviafan
Copy link
Collaborator

@LeXofLeviafan LeXofLeviafan commented Oct 20, 2024

resolves #788:

  • buku --swap N M swaps records at indices N and M
  • ^ N M is the equivalent interactive-shell command
  • webUI support is implemented via additional toolbar (displayed on unfiltered list without custom ordering);
    this includes buttons for moving up/down (swapping with neighbour) & for swapping with a specified index

screenshots

CLI/interactive shell

interactive shell
CLI

Bukuserver

list start
list end
swap with
swap prompt

Error messages:
swap with itself
out of bounds
invalid input

README.md Show resolved Hide resolved
@jarun jarun merged commit 48bf29e into jarun:master Oct 22, 2024
1 check passed
@jarun
Copy link
Owner

jarun commented Oct 22, 2024

Thank you!

@LeXofLeviafan LeXofLeviafan deleted the swap-indices branch October 22, 2024 17:30
@amano-kenji
Copy link

Great.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 12, 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.

Ability to swap two bookmark indices.
3 participants