Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update page header name and create new rich page header #1393

Merged
merged 7 commits into from
May 9, 2024

Conversation

ciremusyoka
Copy link
Collaborator

@ciremusyoka ciremusyoka commented Apr 29, 2024

part of #1388

Changes included with this PR

  • Extract page header with bread crumb and back button to a reusable component.
  • Rename PageHeader component to differentiate with newly added page header
  • Add a body layout component

Checklist

  • tests are included and passing
  • Internationalization:
    • Ensure all strings are internationalized.

@ciremusyoka ciremusyoka force-pushed the reusable-page-headers-1388 branch from 99a34bd to 002f861 Compare April 29, 2024 12:36
@@ -1,13 +1,13 @@
import React from 'react';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we remove this now?

Comment on lines +149 to +154
const headerProps = {
pageHeaderProps: {
title: pageTitle,
onBack: undefined,
},
};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is missing the navigation breadcrumb

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently have not added breadcrumb to all the pages as per the designs on this PR. I only added to the pages the breadcrumbs already existed.
Created an issue here to match all headers with the designs here.

peterMuriuki
peterMuriuki previously approved these changes May 8, 2024
@ciremusyoka ciremusyoka merged commit de55191 into main May 9, 2024
0 of 2 checks passed
@ciremusyoka ciremusyoka deleted the reusable-page-headers-1388 branch May 9, 2024 07:17
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.

2 participants