Closed nozomione closed 6 days ago
Epic: #366
In PR #321, we introduced helpers/getReadable and config/readable.
helpers/getReadable
config/readable
In this issue, we want to expand their usage by using getReadable in the compendia [type] page component.
getReadable
[type]
Additionally, we will update its sub-component Tabs to incorporate getReadable as part of this process.
Tabs
We should refactor the [type] component to utilize the type query from the URL, and use getReadable to set the prefix for the PageTitle component.
type
PageTitle
Next, we should adjust the sub-component Tabs to leverage both type and getReadable.
query.type
Context
Epic: #366
In PR #321, we introduced
helpers/getReadable
andconfig/readable
.In this issue, we want to expand their usage by using
getReadable
in the compendia[type]
page component.Additionally, we will update its sub-component
Tabs
to incorporategetReadable
as part of this process.Problem or idea
We should refactor the
[type]
component to utilize thetype
query from the URL, and usegetReadable
to set the prefix for thePageTitle
component.Next, we should adjust the sub-component
Tabs
to leverage bothtype
andgetReadable
.Solution or next step
[type]
page component:type
querygetReadable
to set the page titleTabs
sub-component:query.type
with thetype
propgetReadable
to set the tab title