The history modal wasn't showing code diffs when radio buttons were clicked
because the event listener for 'shown.bs.modal' was using jQuery's .on() method,
which doesn't work with Bootstrap 5's native DOM events. Fixed by:
1. Using native DOM addEventListener instead of jQuery .on()
2. Also updated the BootstrapUtils.showModal call to use the DOM element
3. Updated migration doc to mark several issues as fixed
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Note browser warning about aria-hidden and focus management
- Add plan to investigate Bootstrap 5.3's inert attribute support
- Document accessibility improvements as part of future jQuery removal phase
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Mark conformance view and Bootstrap 4 jQuery code patterns as fixed
- Add learnings about grid class renaming (.form-row → .row)
- Add notes about preferring CSS selectors for component initialization
- Enhance jQuery Plugin Methods Removal section with more details
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add "Bugs to Fix" section listing issues reported during beta testing
- Expand Final Testing Checklist with detailed test cases for reported issues
- Include issues related to: close buttons, history view, dropdown sizing, placeholder text visibility, conformance view functionality, and library menu appearance
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Update sr-only classes to visually-hidden for Bootstrap 5
- Add aria-live regions for dynamic content (compiler output)
- Add semantic role attributes to improve screen reader experience
- Enhance form controls and buttons with descriptive aria-labels
- Improve description of dynamic UI changes for assistive technology
- Add container-fluid wrapper for proper responsive behavior
- Update navbar classes and alignment to Bootstrap 5 standards
- Improve spacing for better mobile experience
- Update badge classes from badge-primary to bg-primary
- Organize navigation components with proper spacing
- Replace .checkbox with .form-check pattern
- Update select elements to use .form-select
- Replace .form-group with .mb-3 for spacing
- Update input groups to remove unnecessary wrappers
- Add proper label-input associations for accessibility
- Update textarea elements to use .form-control
The deprecated btn-block class was removed in Bootstrap 5, causing styling
issues in the sponsors window. Fixed by:
1. Using Bootstrap 5's recommended approach of wrapping buttons with d-grid
2. Adding the btn base class to all buttons
3. Using Bootstrap 5's CSS variables for font sizing
4. Adjusting heights for better display of corporate and legendary sponsors
Updated Bootstrap5Migration.md with details about the btn-block removal
and the approach taken to fix the sponsors display.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Temporarily fixes the IDE mode border styling issues by adding
.list-group-flush to minimize the border lines in tree.pug.
Updates the Bootstrap5Migration.md document to note this is a
temporary solution and a more comprehensive redesign should be
considered in a future phase.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This fixes the TomSelect dropdown issues by:
1. Adding custom CSS to restore the dropdown arrow using CSS triangles
2. Removing unnecessary input-group-prepend and input-group-append wrapper divs
that are no longer needed in Bootstrap 5's input group structure
Also updates the Bootstrap5Migration.md with a comprehensive final testing
checklist and documents the key learnings about input group structure changes.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Replace .dropdown-menu-right with .dropdown-menu-end for proper dropdown
positioning in Bootstrap 5. This fixes the issue where dropdown menus on
the right side of the page were being clipped.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
The Templates view had become very long and thin after migrating to Bootstrap 5.
This fix adds appropriate minimum widths to the template list columns and modal
dialog to ensure proper layout proportions.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Update event handling to use native DOM event listeners
- Import Modal and Tooltip classes directly
- Properly type and cast modal events
- Add null check for relatedTarget
- Fix tooltip handler in displayTooltip method
This addresses the share dialog issue where links weren't being populated.
- Remove data-bs-toggle="modal" from sponsors button in index.pug
- Fix toast close button in alert.ts to use BS5 btn-close class
- Update migration documentation with lessons learned
- Add sponsors window styling to known issues list
The sponsors modal error occurred because the button had a toggle attribute
but no matching target. Since the modal content is loaded dynamically via AJAX,
we use our own JavaScript-based modal creation instead of Bootstrap's auto handling.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Correct misconceptions about JavaScript initialization requirements
- Add 'Key Learnings From Implementation' section detailing our discoveries
- Document findings about data attributes, close buttons, and tabs
- Clarify that many components work with data attributes alone
- Record lessons learned for future phases of the migration
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Document missing TomSelect dropdown arrows and styling issues
- Document IDE mode border line styling problems
- Update next actions section with these new issues to investigate
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Update data-toggle and data-placement to data-bs-toggle and data-bs-placement in compiler-overrides.ts
- Update documentation to mention data-placement attribute changes
- Document additional fixes made to JavaScript widgets
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Update close buttons in all modal templates
- Change from Bootstrap 4's .close with × to Bootstrap 5's .btn-close
- Fix dialog appearance by using proper Bootstrap 5 button styling
- Update both popups templates and index.pug
- Update Bootstrap migration documentation
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Update data-toggle="tab" to data-bs-toggle="tab" in modal templates
- Fix dialogs to properly switch between tabs without page reloads
- Update migration documentation to reflect fixed issues
This fixes navigation issues where clicking on tabs in dialogs
would cause page reloads instead of switching tabs.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add getPopoverInstance, getModalInstance, getDropdownInstance methods to safely access existing component instances
- Add showPopover, hidePopover, showModalIfExists convenience methods for common operations
- Fix incorrect usage of initPopover by properly using getPopoverInstance for operating on existing instances
- Update all code in executor.ts, cfg-view.ts, conformance-view.ts, and compiler-version-info.ts to use instance getters
- Simplify code in cfg-view.ts to eliminate redundant jQuery wrapping
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Updated tree.ts to use BootstrapUtils for dropdown toggle
- Updated compiler.ts to use BootstrapUtils for hiding/managing dropdowns
- Updated editor.ts to use BootstrapUtils for dropdown toggle
- Updated Bootstrap5Migration.md to mark dropdown handling as complete
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Updated main.ts to use BootstrapUtils for modal initialization
- Updated popover initialization in initShortlinkInfoButton
- Updated Bootstrap5Migration.md to mark these tasks as complete
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Updated libs-widget.ts to use BootstrapUtils for modal initialization
- Maintained the original pattern of event registration and modal showing
- Updated migration plan to track progress
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Updated site-templates-widget.ts to use BootstrapUtils for modals
- Updated runtime-tools.ts to use BootstrapUtils for modals
- Updated compiler-overrides.ts to use BootstrapUtils for modals
- Updated timing-info-widget.ts to use BootstrapUtils for modals
- Updated history-widget.ts to use BootstrapUtils for modals
- Updated migration plan to track progress
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Updated compiler-picker-popup.ts to use BootstrapUtils for modal handling
- Updated load-save.ts to use BootstrapUtils for modal handling
- Updated migration plan to mark Phase 4 progress
- Ensured import order is consistent using the linter
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Added bootstrap-utils.ts as a temporary compatibility layer:
- Clear documentation that this is temporary and will be removed after migration
- Support for modals, toasts, tooltips, and dropdowns
- Ensures consistent migration path for Bootstrap 5 JavaScript API changes
- Updated key files to use the compatibility layer:
- Changed alert.ts to use BootstrapUtils for modals and toasts
- Changed sharing.ts to use BootstrapUtils for tooltips and dropdowns
- Added plan to remove the compatibility layer in Phase 12 after migration
- Updated migration plan documentation to track progress
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Changed all data- attributes to use Bootstrap 5 naming convention with bs- prefix:
- data-toggle → data-bs-toggle
- data-target → data-bs-target
- data-dismiss → data-bs-dismiss
- Verified that data-ride and data-spy attributes are not used in the codebase
- Updated migration plan to mark Phase 3 as completed
- Added summary of Phase 3 changes to Current Progress section
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Added 'Notes for Human Testers' sections for Phases 1-4
- Included specific components to check for each phase
- Highlighted key differences and potential issues to watch for
- Provided guidance for thorough testing across the migration
- Update Bootstrap from 4.6.2 to 5.3.5
- Replace popper.js with @popperjs/core
- Update Tom Select theme from bootstrap4 to bootstrap5
- Update import statements in main.ts and noscript.ts
- Add workflow requirements in CLAUDE.md
Part of the migration plan in docs/Bootstrap5Migration.md
Create comprehensive migration plan for Bootstrap 4 to 5.3.5 upgrade.
The plan includes phases for dependency updates, class name changes,
component migration, and thorough testing.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
[ORCA/C](https://github.com/byteworksinc/ORCA-C) is a C compiler that
natively runs on and targets the Apple IIGS. ORCA/C and the programs it
generates can be run on modern Linux systems by using an emulation tool
called [Golden Gate](https://goldengate.gitlab.io).
This adds support for ORCA/C (run via Golden Gate) in Compiler Explorer.
It uses its own assembly format and objdumper (provided by Golden Gate),
so support for those is added. An extra configuration option was also
added to support execution via an emulator, bypassing the usual check
that executables can run natively. Asm docs for the WDC 65C816 processor
were also added.
ORCA/C and Golden Gate are not Free Software, but their rights holders
have given permission for them to be used on Compiler Explorer. Tarballs
for them can be supplied privately. See infra PR:
compiler-explorer/infra#1521
---------
Co-authored-by: Matt Godbolt <matt@godbolt.org>
<!-- THIS COMMENT IS INVISIBLE IN THE FINAL PR, BUT FEEL FREE TO REMOVE
IT
Thanks for taking the time to improve CE. We really appreciate it.
Before opening the PR, please make sure that the tests & linter pass
their checks,
by running `make check`.
In the best case scenario, you are also adding tests to back up your
changes,
but don't sweat it if you don't. We can discuss them at a later date.
Feel free to append your name to the CONTRIBUTORS.md file
Thanks again, we really appreciate this!
-->
Does some winter cleaning on the site-template stuff :)
1. Migrated away from the custom conf format to plain old yaml
2. Made the images and image files match with the name from the yaml
file. (It's not a problem to have spaces in file paths, nor urls so I
don't see why we shouldn't)
3. Updated the relevant documentation
There is a small breakage in the api response for the meta field. It now
returns `{"screenshot_dimensions":{"width":1000,"height":800}}` which I
believe is a lot more useful than
`{"meta.screenshot_dimensions":"1000x800"}`
Besides, I don't believe this endpoint has any third-party consumers
that rely on the metadata since it's a rarely known feature anyways