You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, I want to reiterate the expression of my gratitude for the excellent work on Type-route. It's been a vital part of our project in Onyxia, significantly enhancing our development experience.
I have a suggestion for an enhancement that we've been missing for a while now.
The issue here is the inclusion of rowsPerPage=25, which is the default value. Ideally, we would prefer such default parameters to be omitted from the URL to maintain simplicity and brevity.
If Type-route could automatically exclude parameters from the URL when they match their default values, it would be really nice. For example, turning long URLs like:
Your consideration of this suggestion is greatly appreciated. Thank you for your continued efforts in making Type-route a remarkable tool for developers.
Best regards,
The text was updated successfully, but these errors were encountered:
I love this idea! In fact, I've encountered the exact same problem and have wanted to do something about it. However, I'm in the midst of building a nascent startup and don't have time to commit in the near future. I'd be happy to review a PR though!
Hello!
Firstly, I want to reiterate the expression of my gratitude for the excellent work on Type-route. It's been a vital part of our project in Onyxia, significantly enhancing our development experience.
I have a suggestion for an enhancement that we've been missing for a while now.
Here's an example to illustrate my point:
Currently, when navigating to subsequent pages in a dataset, our approach is to call:
This results in URLs such as:
https://an-onyxia-instance.net/data-explorer?source="..."&rowsPerPage=25&page=2
The issue here is the inclusion of
rowsPerPage=25
, which is the default value. Ideally, we would prefer such default parameters to be omitted from the URL to maintain simplicity and brevity.If Type-route could automatically exclude parameters from the URL when they match their default values, it would be really nice. For example, turning long URLs like:
https://datalab.sspcloud.fr/data-explorer?source=https%3A%2F%2Fshell.duckdb.org%2Fdata%2Ftpch%2F0_01%2Fparquet%2Flineitem.parquet&rowsPerPage=25&page=1&selectedRow=4&columnWidths=%7B%7D&columnVisibility=%7B%7D
Into more concise versions:
https://datalab.sspcloud.fr/data-explorer?source=https%3A%2F%2Fshell.duckdb.org%2Fdata%2Ftpch%2F0_01%2Fparquet%2Flineitem.parquet&selectedRow=4
Your consideration of this suggestion is greatly appreciated. Thank you for your continued efforts in making Type-route a remarkable tool for developers.
Best regards,
The text was updated successfully, but these errors were encountered: