Releases: substancelab/uchi
Releases · substancelab/uchi
v0.1.5
Added
- Labels in the navigation can now be translated. If the navigation-specific translation key isn't set, we'll use the title translation for the repositorys index page.
- The button to add a new model now falls back to the translation from
common.newwhen the button-specific translation doesn't exist before falling back to"New %{model}". - The button to edit a model now falls back to the translation from
common.editwhen the button-specific translation doesn't exist before falling back to"Edit". - The button to delete a model now falls back to the translation from
common.destroywhen the button-specific translation doesn't exist before falling back to"Delete". - Page title for the new page can now be customized using a
repository.[name].new.titletranslation. If that translation isn't present, the title falls back torepository.[name].button.link_to_new, and thencommon.newbefore ultimately falling back to"New %{model}" - Page title for the edit page can now be customized using a
repository.[name].edit.titletranslation. If that translation isn't present, the title falls back torepository.[name].button.link_to_edit, and thencommon.editbefore ultimately falling back to"Edit %{model}" - The label of the root item in breadcrumbs can now be translated using the translation key
breadcrumb.root.label.
Fixed
- BelongsTo fields no longer fail when showing an association where the associated record is nil.
- BelongsTo dropdowns for optional associations now include a blank option.
v0.1.4
Added
Uchi::Repository#titlenow dynamically checks for common methods to use as the string representation of a model, ultimately falling back to#to_sif none are found.Filefield. You can now use the File field to work with Rails ActiveStorage attachments.Imagefield. Based on theFilefield it is now possible to upload images to your models and render them inline in Uchi.- Breadcrumb labels for links to index pages now use the title for the index page if that's been translated. You can still specify a more precise text in
repository.[name].breadcrumb.index.label.
v0.1.3
What's Changed
- Fix failing test by @koppen in #24
- Vendor pagy by @koppen in #25
- Embed pagy by @koppen in #26
- Improve page titles by @koppen in #28
- Show flash messages as Flowbite Toasts by @koppen in #27
- Make links visible by @koppen in #29
- Align number fields right on index tables by @koppen in #30
- Add generators by @koppen in #31
- Add a better blank slate when there are no records by @koppen in #32
- Generate correct controller names by @koppen in #33
- Add repository to fields by @koppen in #34
- Add HasAndBelongsToMany field by @koppen in #35
- Improve docs by @koppen in #36
- Change Field configuration to a fluent interface by @koppen in #37
- Marketing by @koppen in #39
- Add Uchi::Field::Text by @koppen in #38
Full Changelog: v0.1.2...v0.1.3
v0.1.2
What's Changed
- Tests by @koppen in #1
- Set up GitHub Actions by @koppen in #2
- Set up Herb linter by @koppen in #3
- Controller tests by @koppen in #4
- Translate flash notices by @koppen in #5
- Adhere to Turbo expectations for redirects by @koppen in #6
- Actually use the translated notice by @koppen in #7
- Remove unused method by @koppen in #9
- Translate search UI by @koppen in #8
- Harden by @koppen in #10
- Clean up todos by @koppen in #11
- Add Field::Id by @koppen in #12
- Field tests by @koppen in #13
- Add tests for fields by @koppen in #14
- Add tests for rendering index in a scoped view by @koppen in #15
- Improve HasMany fields by @koppen in #16
- Redirect back by @koppen in #17
- Vendor flowbite-components by @koppen in #18
- Clean up a few bits and pieces by @koppen in #19
- Add delete buttons by @koppen in #20
- Add Flowbite::InputField::DateTime by @koppen in #21
- Bump esbuild from 0.25.10 to 0.25.11 by @dependabot[bot] in #22
- Add breadcrumbs by @koppen in #23
New Contributors
Full Changelog: https://github.com/substancelab/uchi/commits/v0.1.2