feat(support): add blocks (Search, Table, Sidebar) to support pages #346
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
Fixes - https://merative.atlassian.net/browse/MERATIVE-772
Fixes #256
Fixes #280
Fixes #281
Description
New
/blocks/search
) to filter and search across any pages (based on a path filter)/blocks/right-nav
)/blocks/table
) to mange and style table content that are used across Curam support pages.Changed
import.js
script toimport-docs.js
as that was used to import PDF doc pagesTesting Previews
With Table and Sidebar/ Left Nav blocks
Before: https://main--merative2--hlxsites.hlx.page/support/spm/flashes/configure-target-issue-jdbc-connection
After: https://fix-772-support-pages--merative2--proeung.hlx.page/support/spm/flashes/configure-target-issue-jdbc-connection
With Search block
Before: https://main--merative2--hlxsites.hlx.page/support/spm/support-articles
After: https://fix-772-support-pages--merative2--proeung.hlx.page/support/spm/support-articles
Checkout SPM/Curam support directory for more example: https://merative.sharepoint.com/:f:/s/Merative.comWebsite/EtHhQ_gRl7tKuQ6Ja0rGgrIBQMEIvWotpd7kSpnSdV6sUQ?e=T96cnb