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 off deprecated Paragon components #102

Open
23 of 26 tasks
Tracked by #688
adamstankiewicz opened this issue May 24, 2022 · 8 comments
Open
23 of 26 tasks
Tracked by #688

Migrate off deprecated Paragon components #102

adamstankiewicz opened this issue May 24, 2022 · 8 comments
Assignees
Labels
paragon Paragon work ready to be picked up by FWG

Comments

@adamstankiewicz
Copy link
Member

adamstankiewicz commented May 24, 2022

There are 13 deprecated Paragon components; they have been deprecated for awhile now (most, over 2+ years), but we haven't prioritized removing them from Paragon's React component library since they are still in use and don't have great visibility into the impacts on those consumers.

The Paragon Usage Insights tool may be helpful in identifying where these components are used with links to the exact code line where it's used (note: some links are broken due to the "repository" field in package.json files not being consistent), e.g.:

image

The deprecated components and their replacements, which can be seen on Paragon's documentation website), are as follows:

  • CheckBoxGroup (replaced by Form.CheckboxSet)
  • Checkbox (replaced by Form.Checkbox)
  • Fieldset (replaced by Form.Group)
  • Input (replaced by Form.Control)
  • InputSelect (replaced by Form.Control)
  • InputText (replaced by Form.Control)
  • ListBox (turns out, not used anywhere! 🎉)
  • RadioButtonGroup (replaced by Form.RadioSet)
  • TextArea (replaced by Form.Control)
  • ValidationFormGroup (replaced by Form.Group)
  • Modal (replaced by new modal components, e.g. AlertModal, MarketingModal, etc.)
    • If there are questions about which modal to use, please reach out to the Paragon Working Group.
  • StatusAlert (replaced by Alert)
  • Table (replaced by DataTable)
    • If there are design related questions, please reach out to the Paragon Working Group.

Once we are confident we can migrate off these deprecated components, the Paragon Working Group will prioritize removing them from the component library in a separate issue.

PRs

@adamstankiewicz adamstankiewicz changed the title Stop using deprecated Paragon components Migrate off using deprecated Paragon components May 24, 2022
@adamstankiewicz adamstankiewicz changed the title Migrate off using deprecated Paragon components Migrate off deprecated Paragon components May 24, 2022
@abdullahwaheed abdullahwaheed self-assigned this Jun 16, 2022
@abdullahwaheed
Copy link

frontend-component-cookie-policy-banner require React and Paragon upgrade for StatusAlert migration

@abdullahwaheed
Copy link

studio-frontend requires paragon upgrade

@abdullahwaheed abdullahwaheed removed their assignment Oct 4, 2022
@hurtstotouchfire
Copy link
Member

@abdullahwaheed fyi the cookie banner will be removed during compliance work soon. It is being replaced by OneTrust.

@arbrandes
Copy link

@Mashal-m, what's the general situation, here? Do we have a list of related PRs we can keep track of here?

@Mashal-m
Copy link

@arbrandes All PRs are linked with this ticket.

@arbrandes
Copy link

Looks like we're almost done. Let's see if a final push gets it over the line over the next couple of weeks.

@arbrandes
Copy link

@abdullahwaheed, I only see the Admin Portal PR still open. Is that the last one?

@abdullahwaheed
Copy link

abdullahwaheed commented Mar 18, 2024

@abdullahwaheed, I only see the Admin Portal PR still open. Is that the last one?

yes, and i think owning team is deprecating it themself as Adam commented here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
paragon Paragon work ready to be picked up by FWG
Projects
Status: In review
Development

No branches or pull requests

5 participants