-
Notifications
You must be signed in to change notification settings - Fork 282
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
Feature/3331 dynamic column width #6640
base: main
Are you sure you want to change the base?
Conversation
0a44b33
to
6a6d15e
Compare
Thanks a lot for your contribution. This looks quite good. I'd love to collect some feedback from designers like @marcoambrosini on that. The code changes look sane to me, also some nice refactorings along the way. I'll give this a test run later. Can you maybe address the stylelint and eslint errors that CI reported? |
Is the change of the scroll container intentional? I'm personally not a fan of scrolling the full board area and would rather prefer to stick with the per column scrolling we used to have before. |
3217cb7
to
3214277
Compare
Just noticed the merge commit, could you do a rebase to the main branch instead so we have a clean git history of your changes? |
Thanks for your review! I've just added a commit to fix the linting issue. Regarding the scrolling, my change is intentional, but of course I can add an new commit so that scrolling is inside the column again. I should have time during the weekend to do that. I'll do a rebase too! |
That would be great, thanks a lot already. :) |
d4b32fc
to
bf36ebb
Compare
Hi @ludij, I just had a quick look at our competitors and it seems that varying the with of the columns is not a very common practice. These columns are usually fixed in width and horizontal scrolling is used for overflowing lists. @juliusknorr what do you think about that? |
It's pretty easy to update this code so that the column width is fixed. Imho my refactor probably makes sense either way, because it allows the widths and spacings for the different parts to be maintained from a single source (
Sounds good. I'm not so certain whether my changes to the spacing inside the card look good (with/without labels, with/without image, etc.). I also just noticed that the spacing inside the "Add new card" card doesn't align perfectly with the header and other cards in the column. I could easily fix that for the "Add new card", but it'd be great to get some feedback on the updated spacing inside the cards in general before, so I can do an update in one go.
Very happy to contribute and thanks for the feedback! |
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.
thanks for that contribution, I like the way the width is limited right now and would be happy getting this merged. Let's wait for a final approve from @marcoambrosini and get this in. 🎉
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
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.
Sorry for the late reply, I tested with the current parameters and everything looks good even if cards have lots of elements. Thanks a lot again for the contribution!
@ludij Can you rebase your pull request to the latest main branch to resolve the conflict? |
bf36ebb
to
7451e5e
Compare
7451e5e
to
c35f905
Compare
…dth behave more dynamic Signed-off-by: Luutzen Dijkstra <[email protected]>
Signed-off-by: Luutzen Dijkstra <[email protected]>
Signed-off-by: Luutzen Dijkstra <[email protected]>
Signed-off-by: Luutzen Dijkstra <[email protected]>
…itles Signed-off-by: Luutzen Dijkstra <[email protected]>
Signed-off-by: Luutzen Dijkstra <[email protected]>
…Results Signed-off-by: Luutzen Dijkstra <[email protected]>
Signed-off-by: Luutzen Dijkstra <[email protected]>
Signed-off-by: Luutzen Dijkstra <[email protected]>
Signed-off-by: Luutzen Dijkstra <[email protected]>
c35f905
to
315f0cf
Compare
@juliusknorr + @grnd-alt Thanks for the feedback and sorry for the delay. I'm not very familiar with the rebase workflow, so it took me a few pushes, but I think everything should be fine now 🚀 |
Summary
Following the descriptions in the linked ticket, I have updated the styles for the board, overview, stack and search results cards, so that they behave more responsive according to the space available. As a side-effect it also fixed issue #6457.
On top of that, this PR contains the following changes, which aren't necessarily part of the issue, but I thought they'd fit in:
existingIndex
to defineexistingCard
to avoid extra lookupTODO
N/A
Checklist