Skip to content

HMS-9590: refactor create template feature#763

Draft
Starle21 wants to merge 50 commits intocontent-services:mainfrom
Starle21:HMS-9590
Draft

HMS-9590: refactor create template feature#763
Starle21 wants to merge 50 commits intocontent-services:mainfrom
Starle21:HMS-9590

Conversation

@Starle21
Copy link
Contributor

@Starle21 Starle21 commented Nov 24, 2025

Summary

Please open and see detailed notes for the refactor in src/features/notes-refactor.

Testing steps

Manual testing

To be able to compare and run both the old and the new code,
I created a temporary path, which I placed the original code under, at insights/content/templates/original
The new code is under the original path insights/content/templates/add

Playwright tests

Please note that the playwright integration test InstallUploadRepoContent.spec is failing
due to an unknown reason and the issue is being investigatied. However, this does not
block you from reviewing and manually testing this PR.

For testing with playwright locally, you need to run this PR with this backend PR below:
#testwith content-services/content-sources-backend#1358

@xbhouse
Copy link
Contributor

xbhouse commented Nov 24, 2025

@Starle21 Starle21 changed the title HMS-9590: refactor create template HMS-9590: refactor create template feature Dec 3, 2025
@Starle21 Starle21 force-pushed the HMS-9590 branch 15 times, most recently from fd23679 to 38391bc Compare December 10, 2025 09:20
@Starle21 Starle21 marked this pull request as ready for review January 13, 2026 12:45
@Starle21 Starle21 marked this pull request as draft January 13, 2026 13:54
@Starle21 Starle21 force-pushed the HMS-9590 branch 9 times, most recently from c1b55d7 to 75a9b69 Compare February 17, 2026 16:33
add temporary set data in new template store upon change in old store
update: playwright tests upon create template feature refactor.
Import and snapshot hardcoded repositories in the backend, that
a template cannot be created without. The previous version
of the playwright tests was not properly testing this requirement.
use new template in redhatRepositories
use new template in customRepositories
delete old leftovers in define content store
remove store, make review content always expanded
change in UI: template name --> title, description --> detail
update PW tests to accomodate text changes in UI
extract sort table into shared;
divide table into subcomponents,
divide table controls into subcomponents
extract sort, use early returns in top component and controls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants