treeverse / lakeFS

lakeFS - Data version control for your data lake | Git for data
https://docs.lakefs.io
Apache License 2.0
4.47k stars 359 forks source link

[DX] Create Repository - reduce friction on storage namespace config when running locally #5368

Closed rmoff closed 1 year ago

rmoff commented 1 year ago

As a way of reducing the friction for new users running lakeFS locally it would be good to provide a default value for the storage namespace. Storage namespace is not something that a new user will necessarily be familiar with so we need to make it as easy to enter.

At the moment the form field has a placeholder but this disappears as soon as the user starts typing something which requires them to have memorized the syntax that the placeholder gave them

CleanShot 2023-03-01 at 11 52 24

Some suggestions:

We should also delay the validation on what's entered until they at least take focus from the box - as can be seen from the screencap above the user gets a scary red message telling them they're doing something wrong even if they're entering as-yet-still-valid text

johnnyaug commented 1 year ago

@rmoff, a solution can be to add the default_storage_namespace (don't remember the exact name) configuration to the bundle of default local settings. This way, this field will get filled automatically

rmoff commented 1 year ago

:chefkiss: 🎉

create_repo