Skip to content

Simplify iOS Settings - #179

Merged
dcalhoun merged 7 commits into
trunkfrom
align/settings
Sep 19, 2025
Merged

dcalhoun merged 7 commits into
trunkfrom
align/settings

Conversation

@jkmassel

Copy link
Copy Markdown
Contributor

What?

Simplifies the configuration for passing settings fetched from the API.

Why?

We currently parse the settings then convert them back to raw JSON. This is wasteful for performance reasons, but it also makes the types confusing.

How?

Allows raw JSON to be passed to GutenbergKit for settings.

Testing Instructions

The test suite has been updated to reflect these changes.

Accessibility Testing Instructions

n/a

Screenshots or screencast

n/a

The host app doesn’t need to parse it, so we can pass the raw settings
@dcalhoun

Copy link
Copy Markdown
Member

I plan to review and test this once we have a sibling WP-iOS PR integrating the latest configuration builder. That will allow testing real-world editor settings in WP-iOS.

@dcalhoun dcalhoun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This likely close to being ready to merge, but I encountered issues while testing the sibling WP-iOS PR: wordpress-mobile/WordPress-iOS#24662 (review)

Comment thread ios/Sources/GutenbergKit/Sources/EditorConfiguration.swift
@jkmassel

Copy link
Copy Markdown
Contributor Author

I've removed all of the cookies stuff in bb9d3f9 – I think that deserves its own PR to align the usage.

Comment thread ios/Sources/GutenbergKit/Sources/EditorConfiguration.swift Outdated
@dcalhoun
dcalhoun enabled auto-merge (squash) September 18, 2025 23:56
@dcalhoun
dcalhoun merged commit aafcbc5 into trunk Sep 19, 2025
11 checks passed
@dcalhoun
dcalhoun deleted the align/settings branch September 19, 2025 00:02
jkmassel added a commit that referenced this pull request Aug 12, 2026
…ories

Resolves 29 Dependabot advisories in the dev dependency tree. None of
these packages ship in the iOS/Android app bundle -- they are build,
lint, and local-WP (`@wordpress/env`) tooling.

In-range bumps:
- `vite` 8.0.5 -> 8.2.1 (direct devDep; floor raised to `^8.0.16`) #134 #135
- `shell-quote` -> 1.10.0 (critical #133) #165
- `fast-uri` -> 3.1.5 #163 #164 #179 #206 #207
- `js-yaml` -> 3.15.1 / 4.3.1 #157 #158 #167 #168 #200 #201
- `brace-expansion` #160 #166, `immutable` #161 #162, `tmp` #131,
  `fast-xml-builder` #122 #123, `simple-git` #119,
  `@babel/plugin-transform-modules-systemjs` #126

Scoped `overrides` (parents exact-pinned the vulnerable version):
- `ws` -> 8.21.0, keeping 7.5.13 for `react-devtools-core` #138 #153
- `qs` -> 6.15.2 under `@wordpress/env` #130
- `minimatch` -> 9.0.9 under `@typescript-eslint/typescript-estree` #65
- `@babel/core` -> 7.29.7 under `@wordpress/babel-preset-default` #154

Not addressed here: `electron` (33 alerts) and its bundled `got` (#33)
are pinned by `react-devtools@7.0.1` -- already the latest, and npm's
only "fix" is a breaking downgrade to `react-devtools@1.0.5`.
Runtime-scope advisories (`seroval`, `nanoid`, `postcss`, `showdown`,
`uuid`) are out of scope for a dev-only bump.

Verified: `npm run test:unit` (202 passing) and `npm run build` green.
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