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

feat: #1917 Rework developer preview app #2066

Merged
merged 8 commits into from
Jul 16, 2020

Conversation

nphivu414
Copy link
Contributor

Pull request checklist

Does this close any currently open issues?

fixes: #1917

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: #1917

What is the new behavior?

  • Rework developer preview app

Does this introduce a breaking change?

  • Yes
  • No

Other information

return (
<Grid dataTest="client-app-detail-container">
{!appDetailPreviewData ? (
<Loader dataTest="client-app-detail-loader" />
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this place should show message There is no preview app or something like that, just show loader when it load data from BE

isInstallBtnHidden,
}) => {
return (
<>
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you change to use if return here ?

NEED HELP?
</Button>

<Modal
Copy link
Contributor

Choose a reason for hiding this comment

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

pls use ModalV2 instead

import styles from '@/styles/blocks/app-authentication-detail.scss?mod'
import { Loader, Content, H5 } from '@reapit/elements'
import { FaCopy } from 'react-icons/fa'
import { CopyToClipboard } from 'react-copy-to-clipboard'
Copy link
Contributor

Choose a reason for hiding this comment

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

could you change to import CopyToClipboard from 'react-copy-to-clipboard' instead. After my PR merge it'll be break CI

@github-actions github-actions bot requested review from ant066 and duong-se July 16, 2020 04:56
@github-actions github-actions bot added the marketplace Relates to the Marketplace label Jul 16, 2020
@github-actions github-actions bot requested a review from trankhacvy July 16, 2020 05:03
visible={visible}
title={'Contact Details'}
afterClose={closeContactModal(setVisible)}
footerItems={
onClose={closeContactModal(setVisible)}
Copy link
Contributor

Choose a reason for hiding this comment

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

pls add destroyOnClose={true}

@github-actions github-actions bot requested a review from duong-se July 16, 2020 05:23
@github-actions github-actions bot added the elements Relates to Elements components and utilities label Jul 16, 2020
@nphivu414 nphivu414 merged commit eab694e into master Jul 16, 2020
@nphivu414 nphivu414 deleted the feat/1917-rework-developer-preview-app branch July 16, 2020 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
elements Relates to Elements components and utilities marketplace Relates to the Marketplace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Purge unused code from developer portal
3 participants