Pluggable Front Page

Description

Problem

The root url of stripes platform is hardwired to the `@folio/stripes-core/src/components/Front` component, but we need a way to customize this.

Approach

If there is a "main" attribute inside the platform package.json, treat that as the component to render in place of `Front`. If not, fall back to rendering `Front` as before.

Environment

None

Potential Workaround

None

Attachments

1

Checklist

hide

TestRail: Results

Activity

Show:

Mike Taylor August 10, 2017 at 3:29 PM

Nice!

(I also appreciate the use of the name "Bird Person" for your e-content package. Wubalubadubdub!)

Charles Lowell August 10, 2017 at 2:39 PM

I have. It's just an index for the demos that we're putting together to track progress on the [ui-eholdings module]( https://folio-org.atlassian.net/secure/RapidBoard.jspa?rapidView=16&projectKey=UIEH&view=planning.nodetail).

It worked great, and this `<Pluggable>` component is really cool!

Mike Taylor August 10, 2017 at 9:04 AM

, have you made a sample front-page module that you're using to exercise this new facility?

Mike Taylor August 10, 2017 at 9:03 AM

Mike Taylor August 7, 2017 at 4:02 PM

This sounds good – except it's nice if we can do this at run-time, so I'll make it configurable like the locale and suchlike.

Done

Details

Assignee

Reporter

Priority

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created August 7, 2017 at 4:01 PM
Updated August 28, 2017 at 12:43 PM
Resolved August 10, 2017 at 9:03 AM
TestRail: Cases
TestRail: Runs