Skip to content
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add basic mvc UI #46

wants to merge 2 commits into from

Conversation

RayMMond
Copy link
Member

@RayMMond RayMMond commented Oct 18, 2022

Resolve #39

@RayMMond RayMMond requested a review from gdlcf88 October 20, 2022 02:41
Copy link
Member

@gdlcf88 gdlcf88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Provide one or more sample AssetDefinition in the demo host modules.
  2. Use select-input as the AssetDefinition input.
  3. View models should not inherit ExtensibleObject.
  4. 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"]));
Copy link
Member

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>
Copy link
Member

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"]));
Copy link
Member

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";
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ui for domain entities
2 participants