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

scroll board by dragging #5293

Merged
merged 1 commit into from Nov 16, 2023

Conversation

shoetten
Copy link
Contributor

Summary

Motivated by the recent uptake of activity in this repo i decided to finally tackle this issue. The PR adds horizontal scrolling of boards by dragging without adding another dependency.

If you wan't the logic out of the board component, i can refactor. I felt like the change was small enough to keep it in there, but feel free to criticize ;)

TODO

  • Test behavior on mobile. I don't have a tablet lying around, but if you have access to a BrowserStack account or similar i'd be happy to test it that way.
  • Test potential edge cases i have not thought about?!

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Tests (unit, integration, api and/or acceptance) are included
  • Documentation (manuals or wiki) has been updated or is not required

@shoetten
Copy link
Contributor Author

Cypress is green, so i'm marking this as ready for review.

@shoetten shoetten marked this pull request as ready for review November 16, 2023 12:13
Copy link
Member

@juliushaertl juliushaertl left a comment

Choose a reason for hiding this comment

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

Hi @shoetten. Thanks a lot for your contribution, this is very much appreciated.

I just left some small comments inline, otherwise this is a great change, happy to merge once clarified. Having the code within the Board component is totally fine with me.

src/components/board/Board.vue Outdated Show resolved Hide resolved
src/components/board/Board.vue Outdated Show resolved Hide resolved
Signed-off-by: Simon Hötten <s+git@hoetten.org>
@juliushaertl juliushaertl merged commit b637c00 into nextcloud:main Nov 16, 2023
13 checks passed
@juliushaertl
Copy link
Member

Thanks for the quick adjustment 🥳

@shoetten
Copy link
Contributor Author

Thanks for the fast review 🎉

@shoetten shoetten deleted the feature/scroll-by-dragging branch November 21, 2023 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make horizontal scrolling easier
2 participants