Skip to content

sync: dev to extern-contrib#958

Merged
PythonSmall-Q merged 24 commits intoextern-contribfrom
dev
Mar 28, 2026
Merged

sync: dev to extern-contrib#958
PythonSmall-Q merged 24 commits intoextern-contribfrom
dev

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Mar 28, 2026

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


Summary by cubic

Sync extern-contrib with dev for the 3.4.0 release. Adds ELXMOJ client links on the site and bumps the userscript and xmoj-script to 3.4.0.

  • New Features

    • ImageEnlarger with a modal viewer.
    • Show status.php query content.
  • Bug Fixes

    • Copy-as-markdown now includes image links and preserves table cell separators.
    • Problem switcher updates correctly.
    • MonochromeUI styling on contestrank pages gated behind a flag.

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

Summary by Sourcery

Add links and information for the ELXMOJ web client to the site navigation and content.

New Features:

  • Expose ELXMOJ web client entry points from the main navigation and a dedicated information section on the page.

Documentation:

  • Document the ELXMOJ web client with a brief description and access links in the site content.

PythonSmall-Q and others added 16 commits March 22, 2026 16:52
Added a new section for ELXMOJ client with links and description.

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>
Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>
Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>
Add ELXMOJ client section to index.html
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Mar 28, 2026

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

Latest commit: dffbcdd
Status: ✅  Deploy successful!
Preview URL: https://3ce01df1.xmoj-script-dev-channel.pages.dev

View logs

Copy link
Copy Markdown
Contributor

@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.

No issues found across 4 files

@pull-request-size pull-request-size bot added size/S and removed size/M labels Mar 28, 2026
@hendragon-bot hendragon-bot bot added the website This issue or pull request is related to website related files label Mar 28, 2026
@sourcery-ai
Copy link
Copy Markdown

sourcery-ai bot commented Mar 28, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Adds ELXMOJ web client surfacing to the site navigation and main content, linking to the external ELXMOJ client as part of the 3.4.0 sync.

Flow diagram for ELXMOJ navigation and content links

flowchart LR
    User((User))
    Navbar["Site navigation bar"]
    Content["Main page content (ELXMOJ section)"]
    ELXMOJClient["ELXMOJ web client (external site)"]

    User --> Navbar
    Navbar -->|"Click ELXMOJ nav link (new tab)"| ELXMOJClient

    User --> Content
    Content -->|"Click ELXMOJ link in text (new tab)"| ELXMOJClient
Loading

File-Level Changes

Change Details Files
Expose ELXMOJ web client in the main navigation and as a dedicated content section.
  • Add a new navbar item linking to the ELXMOJ client with safe external link attributes.
  • Introduce an ELXMOJ section in the main page content explaining what the client is and providing prominent links to it.
index.html

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown

@sourcery-ai sourcery-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.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

PythonSmall-Q and others added 3 commits March 28, 2026 09:21
Update GetMDText in XMOJ.user.js: hoist block-level tag set, add a cellTags set (TD/TH), and insert tab characters before and after table cell content when copying as plain text. This keeps table cells visually separated while preserving existing block-level newline behavior.
…ntent

fix: include image links as markdown when copying solution/problem content
@hendragon-bot hendragon-bot bot added the user-script This issue or pull request is related to the main user script label Mar 28, 2026
@PythonSmall-Q PythonSmall-Q merged commit 56b21f4 into extern-contrib Mar 28, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L user-script This issue or pull request is related to the main user script website This issue or pull request is related to website related files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants