Skip to content

[ENG-6295] missing stylesheet issue - #5446

Merged
adhami3310 merged 1 commit into
remix-over-nextfrom
masenf/remix-common-head-components
Jun 13, 2025
Merged

adhami3310 merged 1 commit into
remix-over-nextfrom
masenf/remix-common-head-components

Conversation

@masenf

@masenf masenf commented Jun 13, 2025

Copy link
Copy Markdown
Collaborator

When the app specified custom head_components, the default meta was not being included.

When the app specified custom `head_components`, the default meta was not being
included.
@linear

linear Bot commented Jun 13, 2025

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

PR Summary

Fixed critical issue in reflex/compiler/utils.py where framework's default meta tags (charset and viewport) were missing when custom head_components were specified.

  • Modified head component handling to ensure framework-required meta/link tags are always included after user-provided components
  • Uses list unpacking to maintain proper ordering of head elements
  • Ensures UTF-8 charset and viewport settings are consistently present

1 file reviewed, no comments
Edit PR Review Bot Settings | Greptile

@codspeed

codspeed Bot commented Jun 13, 2025

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #5446 will not alter performance

Comparing masenf/remix-common-head-components (55289b4) with remix-over-next (b08f02c)

Summary

✅ 8 untouched benchmarks

@adhami3310
adhami3310 merged commit ac5793b into remix-over-next Jun 13, 2025
@adhami3310
adhami3310 deleted the masenf/remix-common-head-components branch June 13, 2025 20:54
adhami3310 added a commit that referenced this pull request Jun 13, 2025
* remix over next

* make 404 page work

* get layout working again

* in theory, one can get rid of jsx, but that would be craaazy

* Fix aria-* and other hiphenated props in `jsx` mode

* compiler: preserve `app/routes.js` when purging

this file only gets copied during `reflex init`, so don't blow it away

* remove next/link stuff from `rx.link`

* completely remove jsx files and replace them with js files

* fix special props handling

* fix empty name

* fix reflex web syntax error

* fix dynamic rendering

* bring helmet to fix issues with head in component, bonus fix for next/script to make reflex web compile

* got distracted

* oh well

* add helmet pyi

* change vite config to fix builds

* one should format their js files, prettier said

* precommit

* try to optimize jsx import

* i don't know what i'm doing here

* do this until we figure out how to fix that issue

* ssr back to false

* fix static directory name

* merge changes

* pyi

* update versions

* use unstable_optimizeDeps

* reset testing py

* remove helmet pyi and make the tests wait for token

* please

* add timeout and log

* add logs for polling

* add logs for starting backend

* python buffered

* require node 20

* add logs for line

* repr the line

* remove ansi

* remove -s

* brings back s for some time

* maybe

* no color

* remove -s now?

* fix redirects

* maybe ? i'm not sure

* move some of the config

* make unit test cases pass

* fix the checkpoints for react router

* do some stuff with the url

* fix client storage

* yea that guy isn't happy

* fix for react moment

* fix three tests

* try stuff with prerender

* make it only on export

* fix lazy components

* prerender fix units

* i couldn't get this guy to work but at least make some progress

* fix tailwind test

* fix test_event_actions

* this shit is weird

* simplify things further

* precommit

* remove /

* fix datetime

* make some progress on test dynamic route

* remove work that wouldn't work

* precommit

* dynamic icon fix

* merge

* precommit

* bring back some notion of link

* remove weird component

* fix dynamic route

* app

* update tailwind plugins

* update pyi hashes

* precommit

* remove helmet

* fix tests

* fix config for esm

* Revert "remove helmet"

This reverts commit 2f300d1.

* bring back helmet but only for scripts

* upgrade react

* fix cls

* use rolldown

* add sitemap

* add deploy url handling

* make native plugin only run on build

* remove enableNativePlugin for now

* remove setup frontend test

* always have --bun ?

* maybe

* ok we can't get around that

* we could do this though

* fix pyi

* Match static route before dynamic route for on_load

* enable sitemap plugin

* fix tailwind

* also set inline colorScheme when the theme changes

* upgrade RR

* handle preset

* removed unused ignore

* fix build time and checkpoints

* make frontend listening regex handle dev and prod

* [ENG-6295] missing stylesheet issue (#5446)

When the app specified custom `head_components`, the default meta was not being
included.

* add fix for strict mode being there all the time

* prerender routes on prod mode (#5447)

* [ENG-6294] fix test_event_actions for react-router

When pushing an empty fragment onto react router, the page url does not
actually change.

* assert children

* debounce input is default

* grid into no ssr

* pyi

* [ENG-6292] add explicit on_mount StrictMode test cases

* optimize REACT_ROUTER_LINK_PROPS check

---------

Co-authored-by: Masen Furer <[email protected]>
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