Skip to content
This repository was archived by the owner on Apr 18, 2023. It is now read-only.

settings: Add organization and user settings (PROJQUAY-4553)#171

Open
jonathankingfc wants to merge 19 commits intomainfrom
PROJQUAY-4553
Open

settings: Add organization and user settings (PROJQUAY-4553)#171
jonathankingfc wants to merge 19 commits intomainfrom
PROJQUAY-4553

Conversation

@jonathankingfc
Copy link
Contributor

  • This PR includes a few features that enhance the org/settings customization flows
  • Users can now convert their account from individual to organization
  • Users can update their e-mail and other similar metadata regarding their account
  • Error handling has been added to the settings pages / clear back to defaults
  • Added ability to generate CLI token for user account

import {BillingInformation} from './BillingInformation';
import {CliConfiguration} from './CLIConfiguration';

const GeneralSettings = () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

I see this variable defined in GeneralSettings.tsx and one of it doesn't seem to be referenced anywhere. Could you take a look?

View Invoices
</Button>

{isUserOrganization && (
Copy link
Contributor

Choose a reason for hiding this comment

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

I am unable to see this additional settings field for a user

Copy link
Contributor

@harishsurf harishsurf left a comment

Choose a reason for hiding this comment

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

Overall looks good. Left some minor comments. The Change plan slider seen in mocks doesn't seem to be implemented - not sure if it was decided to not have it? but just wanted to call out so that it doesn't get missed

</HelperText>
<FormGroup
isInline
label="Admin Username"
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: mocks show this to just Username

</FormGroup>
<FormGroup
isInline
label="Admin Username"
Copy link
Contributor

Choose a reason for hiding this comment

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

label would be password

<Tbody>
{paginatedBulkItemsList.map((item, idx) => (
<Tr key={idx}>
<Td>{item.name}</Td>
Copy link
Contributor

Choose a reason for hiding this comment

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

The mock shows the org names to be clickable

import {GenerateEncryptedPassword} from 'src/components/modals/GenerateEncryptedPasswordModal';
import {useState} from 'react';

export const CliConfiguration = () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't seem to be called anywhere?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants