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

fix: #2520 - Refactor app list + analytics page styles #2539

Merged
merged 3 commits into from
Sep 1, 2020

Conversation

nphivu414
Copy link
Contributor

Pull request checklist

Does this close any currently open issues?

fixes: #2520

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (yarn build) was run locally and any changes were pushed
  • Lint (yarn lint) has passed locally and any fixes were made for failures
  • Test (yarn test) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: #2520

What is the new behavior?

  • Refactor App List + Analytics page styles

Does this introduce a breaking change?

  • Yes
  • No

Other information

Copy link
Contributor

@duong-se duong-se left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot requested a review from ant066 September 1, 2020 02:50
…efactor/2520-refactor-styles-in-developer-portal
@github-actions github-actions bot requested a review from duong-se September 1, 2020 03:06

export const authenticationCode = css`
word-break: break-all;
margin-bottom: 0 !important;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we remove !important ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @tanphamhaiduong ,
I'll fix it in the next PR

@github-actions github-actions bot requested a review from duong-se September 1, 2020 07:17
@@ -28,7 +28,7 @@ export const AppList: React.FunctionComponent<AppListProps> = ({
: 'We are unable to find any Apps that match your search criteria. Please try again.'}
</Helper>
) : (
<GridFourCol className={` ${loading ? styles.contentIsLoading : ''}`} data-test="app-list-container">
<GridFourCol className={` ${loading ? contentIsLoading : ''}`} data-test="app-list-container">
Copy link
Contributor

@duong-se duong-se Sep 1, 2020

Choose a reason for hiding this comment

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

Pls use cx(loading && contentIsLoading)

@nphivu414 nphivu414 merged commit 558f948 into master Sep 1, 2020
@nphivu414 nphivu414 deleted the refactor/2520-refactor-styles-in-developer-portal branch September 1, 2020 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor: STEP 6 Clean up un-used styles, remove SASS and move styles to component
3 participants