Skip to content

Add basic mvc UI#46

Open
RayMMond wants to merge 2 commits intomainfrom
basic-ui
Open

Add basic mvc UI#46
RayMMond wants to merge 2 commits intomainfrom
basic-ui

Conversation

@RayMMond
Copy link
Copy Markdown
Member

@RayMMond RayMMond commented Oct 18, 2022

Resolve #39

@RayMMond RayMMond requested a review from gdlcf88 October 20, 2022 02:41
Copy link
Copy Markdown
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
Copy Markdown
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.

<Content Remove="wwwroot\**\*.*" />
</ItemGroup>

<ItemGroup>
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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