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

cc-oauth-consumer: init component #1294

Open
5 of 22 tasks
HeleneAmouzou opened this issue Jan 9, 2025 · 0 comments
Open
5 of 22 tasks

cc-oauth-consumer: init component #1294

HeleneAmouzou opened this issue Jan 9, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@HeleneAmouzou
Copy link
Contributor

HeleneAmouzou commented Jan 9, 2025

Context

This component is dedicated to manage an oauth consumer.

To be discussed

  • naming (component, prop, etc.)

Technical details

This component will be split into 2 components:

  • cc-oauth-consumer-form : a component with a form for the creation and edition of an oauth consumer,
  • cc-oauth-consumer : a component displaying oauth consumer information.

Inputs

Attributes/properties

Property Type Default value Mandatory Description
state Object { type: 'loading' } true Sets the state of the component.

Slots

Name Description
xxx TODO

CSS custom property

Name Type Default value Description
xxx Yyyy null TODO

CSS part

Name Description
xxx TODO

Outputs

Event Data type Description
cc-oauth-consumer-form:create Yyyy TODO
cc-oauth-consumer-form:update Yyyy TODO
cc-oauth-consumer-form:delete Yyyy TODO

Type Definitions

interface MyType {
  foo: string;
  bar: boolean;
}

Data/APIs

  • GET api.clever-cloud.com/v2/organisations/{orga_id}/consumers/{key}
  • GET api.clever-cloud.com/v2/organisations/{orga_id}/consumers/{key}/secret
  • PUT api.clever-cloud.com/v2/organisations/{orga_id}/consumers/{key}

Stories & states

  • Skeleton/loading
  • Idle create
  • Idle update
  • Creating
  • Loaded
  • Updating/waiting
  • Error
  • Simulation

UX writing & i18n

TO DO

  • design meetings with Marion
  • Listing API
  • Onboarding formulaires/smart
  • Create component (create and edit form)
    • Create
      • Integration (HTML/CSS)
      • i18n
      • Inputs (props, attributs, slots, etc.)
      • Form management
      • Events
      • Smart, API calls
    • Edit
      • Integration (HTML/CSS)
      • i18n
      • Inputs (props, attributs, slots, etc.)
      • Form management
      • Events
      • Smart, API calls
  • Create component (information screen)
    • Integration (HTML/CSS)
    • i18n
    • Inputs (props, attributs, slots, etc.)
  • Accessibility
  • Q/A
@HeleneAmouzou HeleneAmouzou added the enhancement New feature or request label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant