Skip to content

Conversation

@benlife5
Copy link
Contributor

No description provided.

colton-demetriou and others added 14 commits October 1, 2025 14:38
<img width="1221" height="999" alt="Screenshot 2025-10-01 at 1 59 29 PM"
src="https://github.com/user-attachments/assets/80cdc2f4-da2f-413b-ad1d-6ac4ba5263d1"
/>
Confirmed that fonts now load correctly in both the Theme and Layout
Editor and match the live page.

The problem was that the live page used applyTheme but the editor was
only using updateThemeInEditor, so when the font was changed in the
editor, the new styles were applied but the actual font files weren't
loaded, leading to the editor falling back to defaults. The fix was
essentially to just use the applyTheme logic in the editor as well.

Test Site:
https://www.yext.com/s/4259018/yextsites/160744/theme#themeId=font-test-2&pageSetId=font-test-2&locale=en&entityId=1095527849

---------

Co-authored-by: coltondemetriou <coltondemetriou@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
<img width="550" height="332" alt="Screenshot 2025-10-01 at 4 45 11 PM"
src="https://github.com/user-attachments/assets/11927759-652c-49d1-a1b4-85d57ce97bda"
/>

The problem was when the editor first loaded no google fonts were loaded
(only theme-specific fonts), fixed by loading the fonts on initial load.
Verified in local dev that the fonts loaded in the editor on the page
and in the selector.

---------

Co-authored-by: coltondemetriou <coltondemetriou@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
When sending the user's schema to the parent to allow for editing, we
now also send the default schema. A new option in the UI will allow the
user to restore the default schema and clear any edits they've made.

Ran everything locally and logged the payload that was sent to the
front-end, confirming that it included the new defaultValue field.

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
https://yexttest.atlassian.net/browse/VULN-40342

Verified that all the fonts still render in editor, dropdown, and live
page


https://www.yext.com/s/4259018/yextsites/160762/theme#themeId=test-vuln-10-2-25&pageSetId=vuln-test&locale=en&entityId=1095527849

---------

Co-authored-by: coltondemetriou <coltondemetriou@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
From Paige's spreadsheet: the color 305af3 (dark blue) was being
displayed with black text.

The issue was that we updated to a better contrast algorithm in the
theme editor but the old algorithm was still being used as a backup in
applyTheme. I think the recent changes to applyTheme changed how those
two values were resolved and the old algorithm was being preferred.

This change fully swaps to the better algorithm and gives saved db
contrast colors precedence over the fallback calculation.

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
)

The locator cards should use the base entity's url templates (currently
they are looking at the locator page set's templates which do not
exist). This is a change we already made for directory
Other entity types like "Restaurant" were previously using the basic
fallback schema, but any built-in entity type that is a location should
be considered as such.

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
[slack
thread](https://yext.slack.com/archives/C02UVSE7P6W/p1759774392931519)

Works in editor and live page.

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
<img width="1840" height="1104" alt="Screenshot 2025-10-09 at 3 58
45 PM"
src="https://github.com/user-attachments/assets/93c2093f-6fa7-4e77-8ffe-0219126267bd"
/>
<img width="1840" height="1104" alt="Screenshot 2025-10-09 at 3 57
48 PM"
src="https://github.com/user-attachments/assets/3f839a20-ce6f-4123-a387-4e2736f50089"
/>

Puck 0.20.2 includes a fix for the "Other" category

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
https://github.com/user-attachments/assets/ab992086-993f-4b6e-9fc9-3dd8c3d76b29

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
pages-components has a few css overrides that were being dropped on the
live page in the last artifact

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@benlife5 benlife5 changed the base branch from main to fall-2025-slot-ify-components October 14, 2025 19:39
asanehisa
asanehisa previously approved these changes Oct 14, 2025
@github-actions
Copy link
Contributor

Warning: Component files have been updated but no migrations have been added. See https://github.com/yext/visual-editor/blob/main/packages/visual-editor/src/components/migrations/README.md for more information.

@benlife5 benlife5 requested a review from asanehisa October 14, 2025 19:59
@benlife5 benlife5 merged commit 1943100 into fall-2025-slot-ify-components Oct 14, 2025
14 checks passed
@benlife5 benlife5 deleted the merge-main branch October 14, 2025 20:11
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.

4 participants