nextcloud / tables

🍱 Nextcloud tables app
https://apps.nextcloud.com/apps/tables
GNU Affero General Public License v3.0
143 stars 24 forks source link

add column types for IPv4 and IPv6 addresses, compatible with both text and numeric filters, thanks to natural sort #1097

Open kirisakow opened 4 months ago

kirisakow commented 4 months ago

This is an attempt to respond to issue #402 (and #981) by implementing TextIPv4Address and TextIPv6Address column types that are compatible with both text and numeric FilterIds (all nine of them), thanks to natural sort.

This is my first PR on this project, so please feel free to kindly point out anything I may have missed or done wrong.

enjeck commented 4 months ago

@kirisakow Thanks for working on this. Coincidentally, I've also been working on a new column type (for users/groups) at: https://github.com/nextcloud/tables/pull/1090. Maybe the files and feedback I'm getting over there helps :smile:

enjeck commented 4 months ago

@kirisakow While working on https://github.com/nextcloud/tables/pull/1090, I wrote down some notes of files I potentially had to change/add. I think not everything is applicable here, but might be helpful:

Frontend

Backend

Others

kirisakow commented 4 months ago

@enjeck Thank you for the input, that was of much help!

I assume development is now finished for the

Still, a few TODOs remain — like things I wasn't sure about:

* probably nothing to do about OpenAPI or migrations, as this feature merely adds two subtypes to the existing text type.

github-actions[bot] commented 3 months ago

Hello there, Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

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!