Skip to content

Conversation

@Tymek
Copy link
Contributor

@Tymek Tymek commented Mar 25, 2025

About the changes

Code for constraint accordion was copy-pasted before previous improvement. Old version is still in use for Segments. When we get to improving constraint editing we should rebuild segments editing, without use of this code.

Internal ticket: issue/1-3536

@vercel
Copy link

vercel bot commented Mar 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2025 4:41pm

@github-actions
Copy link
Contributor

github-actions bot commented Mar 25, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

Copy link
Contributor

@thomasheartman thomasheartman left a comment

Choose a reason for hiding this comment

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

Wouldn't the right thing here be to move it into a "LegacyConstraintAccordion" folder? And I'm not sure I understand the linear ticket:

There is a new one, since before this project. Old one is used only on segments.

Are you saying that even before the project, there was a different constraint accordion in use somewhere? What happened to it; have we replaced it in this project? So now we have three? (this one, the other old one, and the new one?)

@chriswk chriswk moved this from New to In Progress in Issues and PRs Mar 26, 2025
@Tymek
Copy link
Contributor Author

Tymek commented Mar 27, 2025

Yes, before current project there where 2 constraint accordion copies in use. We still have 2. Old one is used in segments, but helper functions from it are used in many other places unfortunately. For flag facelift we rebuilt things in a newer version.

@github-project-automation github-project-automation bot moved this from In Progress to Approved PRs in Issues and PRs Mar 31, 2025
@thomasheartman
Copy link
Contributor

Great! Do we have a path forward for removing this component completely? Or is it too tangled up for now?

@Tymek
Copy link
Contributor Author

Tymek commented Apr 1, 2025

Great! Do we have a path forward for removing this component completely? Or is it too tangled up for now?

Best time to handle it will be if(/when?) we refactor Segments-Edit page.

@Tymek Tymek merged commit 9d21745 into main Apr 17, 2025
19 of 34 checks passed
@github-project-automation github-project-automation bot moved this from Approved PRs to Done in Issues and PRs Apr 17, 2025
@Tymek Tymek deleted the 1-3536 branch April 17, 2025 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants