Skip to content

Move Design Management models to FOSS

Luke Duncalfe requested to merge 212566-foss-design-management-models into master

What does this MR do?

This change is part of #212566 (closed) to move all Design Management code to FOSS.

This MR focuses on moving:

  • the core Design Management models (ee/app/models/design_management).
  • the bare minimum other model code necessary to support the core Design Management models.
  • model specs and factories.

There are a few extra non-core Design Management model pieces that are included in this MR:

  • an uploader that is mounted in DesignManagement::Action
  • a service that is invoked in DesignManagement::Design#user_notes_count_service

There is some remaining Design Management-related code in other models that will be moved later (in order to keep this MR as small as possible!).

There are a few tests that are skip'd when run in FOSS. These are tests that rely on other parts of the application, like services or non-core Design Management model code referred to above, being ported to FOSS, and they are not included in this MR. I chose to use skip rather than to keep fragments in EE-specific specs, because the methods themselves have moved to FOSS, however they do not perform as they do in EE yet. The skips are being tracked in #212566 (comment 327724283).

A changelog entry, and any documentation changes, will be added in the final MR.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by 🤖 GitLab Bot 🤖

Merge request reports