Skip to content

sync: dev to extern-contrib#917

Merged
boomzero merged 4 commits intoextern-contribfrom
dev
Feb 22, 2026
Merged

sync: dev to extern-contrib#917
boomzero merged 4 commits intoextern-contribfrom
dev

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 22, 2026

sync-branches: New code has just landed in dev, so let's bring extern-contrib up to speed!


Summary by cubic

Fix dark mode styling for contest ranking tables (OI and correction pages). Ships as 3.2.1 prerelease.

  • Bug Fixes
    • Remove server inline colors; set header cells to black with white text and white link colors.
    • Clear row and first five cell colors so the Bootstrap dark theme applies; switch solved-cell backgrounds to rgba; set text color on correction ranking cells based on DarkMode.

Written for commit caf1ee0. Summary will update on new commits.

boomzero and others added 4 commits February 22, 2026 14:07
Clear inline background/color styles from XMOJ server on header and
data rows so Bootstrap dark theme applies correctly. Force black
background with white text on all header cells including problem letter
links. Also fix rgb -> rgba for solved cell background alpha channel,
and add missing text color styling for contestrank-correct.php cells.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fix contest ranking table styling for dark mode
@cloudflare-workers-and-pages
Copy link

Deploying xmoj-script-dev-channel with  Cloudflare Pages  Cloudflare Pages

Latest commit: caf1ee0
Status: ✅  Deploy successful!
Preview URL: https://832d2a05.xmoj-script-dev-channel.pages.dev

View logs

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 3 files

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="XMOJ.user.js">

<violation number="1" location="XMOJ.user.js:3">
P2: Do not manually edit the userscript @version; it is auto-managed by the UpdateVersion workflow. Revert this change and let CI update the version.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

// ==UserScript==
// @name XMOJ
// @version 3.2.0
// @version 3.2.1
Copy link

@cubic-dev-ai cubic-dev-ai bot Feb 22, 2026

Choose a reason for hiding this comment

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

P2: Do not manually edit the userscript @Version; it is auto-managed by the UpdateVersion workflow. Revert this change and let CI update the version.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At XMOJ.user.js, line 3:

<comment>Do not manually edit the userscript @version; it is auto-managed by the UpdateVersion workflow. Revert this change and let CI update the version.</comment>

<file context>
@@ -1,6 +1,6 @@
 // ==UserScript==
 // @name         XMOJ
-// @version      3.2.0
+// @version      3.2.1
 // @description  XMOJ增强脚本
 // @author       @XMOJ-Script-dev, @langningchen and the community
</file context>
Suggested change
// @version 3.2.1
// @version 3.2.0
Fix with Cubic

@boomzero boomzero merged commit f072518 into extern-contrib Feb 22, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant