Skip to content

Update Cypress Env configuration - #4

Merged
volarname merged 1 commit into
mainfrom
cypress_env
Dec 15, 2022
Merged

Update Cypress Env configuration#4
volarname merged 1 commit into
mainfrom
cypress_env

Conversation

@matejmihal1k

Copy link
Copy Markdown
Contributor

New cypress configuration to support multiple environments.

@volarname
volarname merged commit 98a23af into main Dec 15, 2022
@volarname
volarname deleted the cypress_env branch December 15, 2022 13:22
volarname pushed a commit that referenced this pull request Aug 7, 2026
…85491)

Fixes 8 of the 10 issues from the QA report. #1 and #8 needed no code change
(both are intentional: the shortestDimension filter was dead — core-dam's
AssetQueryFactory never applied it — and the from/until date pair was
consolidated into one AFilterTimeInterval range control that still exposes
both bounds via its Custom option).

- #5/#6 (blocker): drop the wrong `apiName: 'name'` on the distributionCategorySelect
  service-slug filter. The entity is filterable by `serviceSlug`, so `filter_*[name]`
  made core-dam return 500, which broke opening/creating a distribution category
  and the "Meno" list filter.
- #7: give the anzuUser id/email/enabled/lastName filters a `type`. Without it
  createFilter defaults to 'custom' and FilterDetailItem renders AFilterEmpty —
  the bare field name with no control.
- #3: add `render: { skip: true }` to the field bound in each `#search` slot, so
  it is no longer auto-rendered a second time in the advanced panel (11 configs).
- #4: add a `#search` slot to the 7 list filters that had none, so they get a
  main filter bar again instead of only the "More" button; restore enable-top/#top
  for the mandatory `type` on both distribution-category pages, and hide-more on
  assetLicenceGroup.
- #9: build the distribution filter store per call instead of sharing one
  module-level singleton. DistributionBlockedBy writes distributionServicesIn/NotIn
  into it and never clears them, so the create dialog's refetch emitted a
  self-contradictory `eq X + notIn X` query, and the sidebar list reusing the same
  store came back empty until a full page reload.
- #10: guard JobResourceChip against an unregistered job resource —
  getJobResourceOption is a plain .find() and returns undefined, so `option.title`
  threw on /jobs.
- #2: re-tint the active-filter chips from the Vuetify theme tokens in dark theme;
  common-admin hardcodes a white chip on a light container with no dark variant.

Also updates dependencies (common-admin, vuetify, vue, tiptap, oxlint/oxfmt,
cypress, vue-tsc) and applies the resulting lint/format fixes.
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