Skip to content

Distributable packaging - #5

Closed
vxel wants to merge 3 commits into
mainfrom
distributable-packaging
Closed

Distributable packaging#5
vxel wants to merge 3 commits into
mainfrom
distributable-packaging

Conversation

@vxel

@vxel vxel commented Jul 4, 2026

Copy link
Copy Markdown
Owner

No description provided.

vxel added a commit that referenced this pull request Jul 4, 2026
Quality gate on PR #5 failed on two conditions:

- new_reliability_rating (bug java:S5850): the id-slug regex
  "(^-+|-+$)" mixed anchors with an alternation, leaving the operator
  precedence implicit. Rewrite as "(?:^-+)|(?:-+$)" (same behaviour:
  trim leading/trailing dashes).

- new_duplicated_lines_density (4.1% > 3%): extract the duplicated UI
  code shared by the Creations feature and the World* states into:
    * AbstractPreviewProcessor - no-op SceneProcessor stubs, extended by
      CreationPreview and WorldPreview.
    * CardGrid - the framed preview+caption card builder and the
      drag-to-scroll / tap-to-select cursor listener, decoupled from its
      host via the ScrollableGrid interface (implemented by WorldMenuState
      and CreationLibraryState).
    * ScreenState.registerOn/unregisterFrom - the register/unregister
      lifecycle boilerplate, reused by CreationLibraryState and
      CreationCaptureState.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
vxel added a commit that referenced this pull request Jul 4, 2026
Quality gate on PR #5 failed on two conditions:

- new_reliability_rating (bug java:S5850): the id-slug regex
  "(^-+|-+$)" mixed anchors with an alternation, leaving the operator
  precedence implicit. Rewrite as "(?:^-+)|(?:-+$)" (same behaviour:
  trim leading/trailing dashes).

- new_duplicated_lines_density (4.1% > 3%): extract the duplicated UI
  code shared by the Creations feature and the World* states into:
    * AbstractPreviewProcessor - no-op SceneProcessor stubs, extended by
      CreationPreview and WorldPreview.
    * CardGrid - the framed preview+caption card builder and the
      drag-to-scroll / tap-to-select cursor listener, decoupled from its
      host via the ScrollableGrid interface (implemented by WorldMenuState
      and CreationLibraryState).
    * ScreenState.registerOn/unregisterFrom - the register/unregister
      lifecycle boilerplate, reused by CreationLibraryState and
      CreationCaptureState.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vxel
vxel force-pushed the distributable-packaging branch from 1029f01 to 7e31cd6 Compare July 4, 2026 16:04
vxel added a commit that referenced this pull request Jul 4, 2026
Quality gate on PR #5 failed on two conditions:

- new_reliability_rating (bug java:S5850): the id-slug regex
  "(^-+|-+$)" mixed anchors with an alternation, leaving the operator
  precedence implicit. Rewrite as "(?:^-+)|(?:-+$)" (same behaviour:
  trim leading/trailing dashes).

- new_duplicated_lines_density (4.1% > 3%): extract the duplicated UI
  code shared by the Creations feature and the World* states into:
    * AbstractPreviewProcessor - no-op SceneProcessor stubs, extended by
      CreationPreview and WorldPreview.
    * CardGrid - the framed preview+caption card builder and the
      drag-to-scroll / tap-to-select cursor listener, decoupled from its
      host via the ScrollableGrid interface (implemented by WorldMenuState
      and CreationLibraryState).
    * ScreenState.registerOn/unregisterFrom - the register/unregister
      lifecycle boilerplate, reused by CreationLibraryState and
      CreationCaptureState.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vxel
vxel force-pushed the distributable-packaging branch from 7e31cd6 to 095d9fe Compare July 4, 2026 16:07
vxel and others added 3 commits July 4, 2026 18:16
Quality gate on PR #5 failed on two conditions:

- new_reliability_rating (bug java:S5850): the id-slug regex
  "(^-+|-+$)" mixed anchors with an alternation, leaving the operator
  precedence implicit. Rewrite as "(?:^-+)|(?:-+$)" (same behaviour:
  trim leading/trailing dashes).

- new_duplicated_lines_density (4.1% > 3%): extract the duplicated UI
  code shared by the Creations feature and the World* states into:
    * AbstractPreviewProcessor - no-op SceneProcessor stubs, extended by
      CreationPreview and WorldPreview.
    * CardGrid - the framed preview+caption card builder and the
      drag-to-scroll / tap-to-select cursor listener, decoupled from its
      host via the ScrollableGrid interface (implemented by WorldMenuState
      and CreationLibraryState).
    * ScreenState.registerOn/unregisterFrom - the register/unregister
      lifecycle boilerplate, reused by CreationLibraryState and
      CreationCaptureState.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vxel
vxel force-pushed the distributable-packaging branch from 095d9fe to 6a808fc Compare July 4, 2026 16:17
@sonarqubecloud

sonarqubecloud Bot commented Jul 4, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
14.3% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@vxel vxel closed this Jul 5, 2026
@vxel
vxel deleted the distributable-packaging branch July 5, 2026 09:42
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.

1 participant