-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add formatting system to relationship column and fix relationshsip one-to-many issue * Create early-suns-tan.md * changes changeset * Fix ID field doesn't display * centralize option for next admin * change options stucture * Create short-emus-move.md * fix formatter type * add test for getMappedDataList function * change type and add formatter for example * remove unused stringify for formatter * restore formatter in example * add format for date * Create young-chicken-beam.md * restore custom formatter in list for date format * add handler props and fix date utc * add changeset * add test and change function * change options * fix: store correct date time (#70) * chore: 🎨 apply prettier to all files * Remove Date instanciation * Add datetime widget, send date as iso string * Remove comment, revert example config * Fix tests * Default date time widget value to empty string * Handle date input * feat: add file upload widget (#71) * feat: add file upload widget * Fix crash on home page * Fix crash * Try fixing e2e * Add e2e artifacts * Use file format * Add file preview * Improve deletion behavior * Fix wording * Update documentation * Fix typo --------- Co-authored-by: Hugo FOYART <[email protected]>
- Loading branch information
Showing
40 changed files
with
1,738 additions
and
996 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@premieroctet/next-admin": patch | ||
--- | ||
|
||
Add formatting system to relationship column |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
"@premieroctet/next-admin": major | ||
--- | ||
|
||
- Always fetch `id` property from items | ||
- Hide `id`column in list if it doesn't have `display: true` options | ||
- Mutualize `NextAdminOptions` to reduce useless duplication of code | ||
|
||
⚠️ **Breaking Changes** | ||
|
||
To reduce the complexity and duplication of next-admin options, this PR contains major changes to the structure of the options. | ||
|
||
- Changed structure for `display` and `search` properties: fields are now entered as an array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@premieroctet/next-admin": patch | ||
--- | ||
|
||
Add ability to choose format type for Date property between date-time and date in edit options | ||
Introduce handler object to handle custom logic for a property in edit mode | ||
Add ability to use input variant in edit mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
dbb5a3e
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.
Successfully deployed to the following URLs:
next-admin-docs – ./apps/docs
www.next-admin.js.org
next-admin-docs.vercel.app
next-admin-docs-premieroctet.vercel.app
next-admin-docs-git-main-premieroctet.vercel.app
next-admin.js.org
dbb5a3e
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.
Successfully deployed to the following URLs:
next-admin – ./apps/example
next-admin-git-main-premieroctet.vercel.app
next-admin-premieroctet.vercel.app
next-admin-po.vercel.app