-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add basic mvc UI #46
base: main
Are you sure you want to change the base?
Add basic mvc UI #46
Conversation
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.
- Provide one or more sample AssetDefinition in the demo host modules.
- Use select-input as the AssetDefinition input.
- View models should not inherit
ExtensibleObject
. - Replace the "Asset", "AssetPeriodScheme", "AssetSchedule" and "AssetOccupancy" menu items with row actions ("rowAction" of dataTable in the list page). For example, add an "Assets" row action item in AssetCategory.
var l = context.GetLocalizer<BookingServiceResource>(); //Add main menu items. | ||
|
||
var bookingServiceMenuItem = context.Menu.Items.GetOrAdd(i => i.Name == BookingServiceCommonMenus.Prefix, | ||
() => new ApplicationMenuItem(BookingServiceCommonMenus.Prefix, l["Menu:BookingService"])); |
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.
For the LeptonX theme, the icon is required.
@@ -37,4 +37,13 @@ | |||
<Content Remove="wwwroot\**\*.*" /> | |||
</ItemGroup> | |||
|
|||
<ItemGroup> |
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.
Can this group remove?
var l = context.GetLocalizer<BookingServiceResource>(); //Add main menu items. | ||
|
||
var bookingServiceMenuItem = context.Menu.Items.GetOrAdd(i => i.Name == BookingServiceCommonMenus.Prefix, | ||
() => new ApplicationMenuItem(BookingServiceCommonMenus.Prefix, l["Menu:BookingService"])); |
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.
For the LeptonX theme, the icon is required.
|
||
public static class BookingServiceCommonMenus | ||
{ | ||
public const string Prefix = "EasyAbp.BookingService.Common"; |
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.
Prefixes like EasyAbp.Booking.Service.Common
and EasyAbp.Booking.Service.Orleans
can merge as EasyAbp.Booking.Service
.
Resolve #39