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

Migrate masthead to PF4 and clean-up PF3 CSS #1584

Merged
merged 10 commits into from
Jun 7, 2022
Merged

Conversation

rszwajko
Copy link
Member

@rszwajko rszwajko commented Apr 13, 2022

Depends on PR #1549

Changes:

  1. use PF4 Page and Masthead ecosystem (includes Breadcrumb and Notifications)
  2. remove PF3 related styling and fix the resulting regressions

TODO:

  1. re-implemement functionalities that rely on react-console EDIT fixed in follow up PR Migrate to PF4 based react-console #1585

@rszwajko rszwajko requested review from sjd78 and sgratch April 13, 2022 12:21
@ovirt-infra
Copy link

All tests passed

@rszwajko
Copy link
Member Author

Masthead - full size

image

Masthead - minimal

image

Notifications - full size

image

Notifications - minimal

image

@ovirt-infra
Copy link

All tests passed

@rszwajko rszwajko changed the title [WIP] Migrate masthead to PF4 and clean-up PF3 CSS Migrate masthead to PF4 and clean-up PF3 CSS Apr 29, 2022
@ovirt-infra
Copy link

All tests passed

@ovirt-infra
Copy link

All tests passed

@ovirt-infra
Copy link

All tests passed

@ovirt-infra
Copy link

All tests passed

@ovirt-infra
Copy link

All tests passed

@sjd78
Copy link
Member

sjd78 commented Jun 3, 2022

FWIW - The masthead height and top line etc was made to match that of webadmin. As-is right now, the mastheads are now different sizes.

Followup thought -- maybe update the webadmin masthead with the PF4 sizes instead?

@sjd78
Copy link
Member

sjd78 commented Jun 3, 2022

Logged out view looks good.

Note: To get to is without just waiting, use the Redux browser plugin and dispatch an action with the content:

{ type: 'LOGOUT', payload: { isManual: false } }

Copy link
Member

@sjd78 sjd78 left a comment

Choose a reason for hiding this comment

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

Masthead, notification drawer for events, user menu, about box, error boundary, logout screen, bad browser screen ... all looking good.

The only thing really to consider is if we still want the admin portal mast head to match the VM portal mast head. They matched before (size/height).

branding/brand.css Show resolved Hide resolved
src/components/OvirtApiCheckFailed.js Show resolved Hide resolved
src/components/VmUserMessages/index.js Outdated Show resolved Hide resolved
src/index.js Show resolved Hide resolved
src/intl/messages.js Show resolved Hide resolved
rszwajko added 2 commits June 6, 2022 10:06
Includes:
1. toolbars
2. tooltips
3. spinner
4. masthead icons

Fixes:
1. use translation independent filters
2. allow filter multiselection
@ovirt-infra
Copy link

All tests passed

rszwajko added 3 commits June 6, 2022 18:42
Integration tests (OST) expect VM count under specific xpath:
'//div[@Class='col-sm-12']/h5'

Preserve this path:
1. keep the class 'col-sm-12' as marker class
2. keep the structure: <div> followed by <h5>
Key changes:
1. reimplement Network and Storage steps using TableComposable
2. add 'final' step after the Summary for tracking progress
rszwajko added 5 commits June 6, 2022 19:09
Bring back the title used previously in the PF3 version.

Includes styling changes in BasicSettings step:
1. re-enable validation for VM name
2. add more space above sysprep/cloud init section
Includes:
1. Breadcrumb
2. NotificationDrawer
3. AboutDialog refactoring to functional component
@ovirt-infra
Copy link

All tests passed

@rszwajko
Copy link
Member Author

rszwajko commented Jun 7, 2022

/ost

Copy link
Member

@sjd78 sjd78 left a comment

Choose a reason for hiding this comment

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

LGTM

@sjd78 sjd78 merged commit 703b8f7 into oVirt:master Jun 7, 2022
sjd78 added a commit to sjd78/ovirt-web-ui that referenced this pull request Jun 9, 2022
After merging PRs and pushing their string changes, pull the
translations.  This picks up translation invalidations (English text
has changed), helping to make sure the translations are not wrong.

PRs to consider:
  - oVirt#1533
  - oVirt#1537
  - oVirt#1539
  - oVirt#1540
  - oVirt#1543
  - oVirt#1549
  - oVirt#1564
  - oVirt#1584
  - oVirt#1585 ** pending merge
  - oVirt#1592 ** pending merge
sjd78 added a commit to sjd78/ovirt-web-ui that referenced this pull request Jun 9, 2022
After merging PRs and pushing their string changes, pull the
translations.  This picks up translation invalidations (English text
has changed), helping to make sure the translations are not wrong.

PRs to consider:
  - oVirt#1533
  - oVirt#1537
  - oVirt#1539
  - oVirt#1540
  - oVirt#1543
  - oVirt#1549
  - oVirt#1564
  - oVirt#1584
  - oVirt#1585 ** pending merge
  - oVirt#1592 ** pending merge
sjd78 added a commit to sjd78/ovirt-web-ui that referenced this pull request Jun 14, 2022
After merging PRs and pushing their string changes, pull the
translations.  This picks up translation invalidations (English text
has changed), helping to make sure the translations are not wrong.

PRs to consider:
  - oVirt#1533
  - oVirt#1537
  - oVirt#1539
  - oVirt#1540
  - oVirt#1543
  - oVirt#1549
  - oVirt#1564
  - oVirt#1584
  - oVirt#1585
  - oVirt#1592 ** pending merge
sjd78 added a commit to sjd78/ovirt-web-ui that referenced this pull request Jun 14, 2022
After merging PRs and pushing their string changes, pull the
translations.  This picks up translation invalidations (English text
has changed), helping to make sure the translations are not wrong.

PRs to consider:
  - oVirt#1533
  - oVirt#1537
  - oVirt#1539
  - oVirt#1540
  - oVirt#1543
  - oVirt#1549
  - oVirt#1564
  - oVirt#1584
  - oVirt#1585
  - oVirt#1592
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants