Skip to content

Compact JS Widget approach#19

Closed
bpurinton wants to merge 1 commit into
751-jwfrom
751-jw-compact
Closed

Compact JS Widget approach#19
bpurinton wants to merge 1 commit into
751-jwfrom
751-jw-compact

Conversation

@bpurinton
Copy link
Copy Markdown
Contributor

@bpurinton bpurinton commented May 28, 2026

Testing on this repo in an active codespace: https://github.com/appdev-projects/oscar-party-3-forms

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4312b0e664

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread lib/dev_toolbar/engine.rb

initializer "dev_toolbar.importmap", before: "importmap" do |app|
if defined?(Importmap)
app.config.importmap.paths << root.join("config/importmap.rb")
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Include the engine importmap in the gem package

When this gem is built from the current gemspec, only lib/**/* and app/**/* are packaged, so the newly added config/importmap.rb is absent from released gems. In an installed app this line points importmap-rails at a non-existent file, so the automatic dev_toolbar pin is never loaded and the README's import "dev_toolbar" fails for consumers relying on the new automatic pin; the package needs to include this config file or define the pin from a packaged location.

Useful? React with 👍 / 👎.

@bpurinton bpurinton mentioned this pull request May 29, 2026
@bpurinton bpurinton requested a review from jelaniwoods May 29, 2026 00:02
@bpurinton
Copy link
Copy Markdown
Contributor Author

Not going with this approach, see: #18 (comment)

@bpurinton bpurinton closed this Jun 1, 2026
@bpurinton bpurinton deleted the 751-jw-compact branch June 1, 2026 20:34
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