Settings > About> stripes-final-form version is not displayed

Description

Display stripes-final-form package version in Settings > About page

Environment

None

Potential Workaround

None

Attachments

1

Checklist

hide

TestRail: Results

Activity

Show:

Zak Burke August 3, 2022 at 4:45 PM

, yep, all those points is a good idea but until it starts to cause a real problem (or a bigger problem than this, as you say) I don't think it will happen. 

The /_/proxy... endpoints don't help us here because stripes-form and stripes-final-form don't have any dependencies, and hence no module descriptor to register. 

Denys Bohdan August 3, 2022 at 4:03 PM
Edited

Thanks , I didn't pay attention to the dependencies

I also remembered that we have //_/proxy/tenants/:tenantname/modules endpoint, but it only returns stripes-core and stripes-smart-components

seems like a good idea, we can also cover these web components with tests, currently not many components in stripes-core have them

Having stripes-final-form version in Settings would be nice, it just seems that doing is too much work just for this small change.

Zak Burke August 3, 2022 at 2:53 PM

stripes-core sits below stripes-final-form in the dependency hierarchy, i.e. stripes-core is unaware of the existence of stripes-final-form, which is why its version is not displayed. Same goes for stripes-form, stripes-smart-components, and stripes-util. The only way to implement this would be to split stripes-core into separate modules (), one what remains inside @folio/stripes and acts like stripes-components and exports components for use by other apps, and one this is sth like ui-stripes-core that acts like a regular UI app and is responsible for displaying the welcome about "About: Versions" pages. 

Won't Do

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created August 3, 2022 at 1:26 PM
Updated October 17, 2022 at 7:58 AM
Resolved August 3, 2022 at 2:58 PM
TestRail: Cases
TestRail: Runs