Skip to content

boxed-sheet:0.1.2#3868

Merged
elegaanz merged 7 commits intotypst:mainfrom
LZHMS:main
Jan 20, 2026
Merged

boxed-sheet:0.1.2#3868
elegaanz merged 7 commits intotypst:mainfrom
LZHMS:main

Conversation

@LZHMS
Copy link
Copy Markdown
Contributor

@LZHMS LZHMS commented Jan 16, 2026

I am submitting

  • a new package
  • an update for a package

Description: Explain what the package does and why it's useful.

I have read and followed the submission guidelines and, in particular, I

  • selected a name that isn't the most obvious or canonical name for what the package does
  • added a typst.toml file with all required keys
  • added a README.md with documentation for my package
  • have chosen a license and added a LICENSE file or linked one in my README.md
  • tested my package locally on my system and it worked
  • excluded PDFs or README images, if any, but not the LICENSE
  • ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

Copilot AI review requested due to automatic review settings January 16, 2026 14:22
@typst-package-check typst-package-check Bot changed the title Update the Boxed-Sheet to version 0.1.2 boxed-sheet:0.1.2 Jan 16, 2026
@typst-package-check typst-package-check Bot added the update A package update. label Jan 16, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates the Boxed-Sheet package from version 0.1.1 to version 0.1.2. The package provides a colorful and organized cheatsheet template for Typst that allows users to create overview documents of learning notes with colored bounding boxes and line titles.

Changes:

  • Updated version number from 0.1.1 to 0.1.2
  • Minor change to package description ("A automatical" to "An automatical")
  • All core functionality files (lib.typ, template files, README, LICENSE) are included for the new version

Reviewed changes

Copilot reviewed 6 out of 14 changed files in this pull request and generated 26 comments.

Show a summary per file
File Description
packages/preview/boxed-sheet/0.1.2/typst.toml Package metadata file with version 0.1.2, updated description
packages/preview/boxed-sheet/0.1.2/src/lib.typ Core library implementing boxedsheet functions and styling
packages/preview/boxed-sheet/0.1.2/template/boxedsheet.typ Template example using JavaScript cheat sheet content
packages/preview/boxed-sheet/0.1.2/template/boxedsheet-scaling.typ Alternative template with custom page sizing
packages/preview/boxed-sheet/0.1.2/README.md Documentation for package usage and configuration
packages/preview/boxed-sheet/0.1.2/LICENSE MIT License for the package

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

```js
Wed Jun 11 2025 18:31:19 GMT+0800 (中国标准时间)
var d = new Date();
1749637879070 miliseconds passed since 1970
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

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

The word "miliseconds" is misspelled. It should be "milliseconds".

Suggested change
1749637879070 miliseconds passed since 1970
1749637879070 milliseconds passed since 1970

Copilot uses AI. Check for mistakes.
var esc = 'I don\'t \n know'; // \n new line
var len = abc.length; // string length
abc.indexOf("lmno"); // find substring, -1 if doesn't contain
abc.lastIndexOf("lmno"); // last occurance
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

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

The word "occurance" is misspelled. It should be "occurrence".

Suggested change
abc.lastIndexOf("lmno"); // last occurance
abc.lastIndexOf("lmno"); // last occurrence

Copilot uses AI. Check for mistakes.
authors = ["Zhihao Li <https://lzhms.github.io>"]
repository = "https://github.com/LZHMS/boxed-sheet.git"
license = "MIT"
description = "An automatical colored and well organised cheatsheet template for writing daily notes with colored bounding box and line titles."
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

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

The word "automatical" should be "automatic" or "automatically". In this context, "automatically" would be more appropriate as it's an adverb modifying "colored".

Suggested change
description = "An automatical colored and well organised cheatsheet template for writing daily notes with colored bounding box and line titles."
description = "An automatically colored and well organised cheatsheet template for writing daily notes with colored bounding box and line titles."

Copilot uses AI. Check for mistakes.
!(a == b) // logical not
a != b // not equal
typeof a // type (number, object, function...)
x << 2 x >> 3 // minary shifting
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

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

The word "minary" is misspelled. It should be "binary".

Suggested change
x << 2 x >> 3 // minary shifting
x << 2 x >> 3 // binary shifting

Copilot uses AI. Check for mistakes.
```js
Wed Jun 11 2025 18:31:19 GMT+0800 (中国标准时间)
var d = new Date();
1749637879070 miliseconds passed since 1970
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

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

The word "miliseconds" is misspelled. It should be "milliseconds".

Suggested change
1749637879070 miliseconds passed since 1970
1749637879070 milliseconds passed since 1970

Copilot uses AI. Check for mistakes.
!(a == b) // logical not
a != b // not equal
typeof a // type (number, object, function...)
x << 2 x >> 3 // minary shifting
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

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

The word "minary" is misspelled. It should be "binary".

Suggested change
x << 2 x >> 3 // minary shifting
x << 2 x >> 3 // binary shifting

Copilot uses AI. Check for mistakes.
```

#inline("While Loop")
```python
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

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

The code block is incorrectly marked as python but contains JavaScript code. It should be marked as js to match the other code blocks in this JavaScript cheat sheet.

Suggested change
```python
```js

Copilot uses AI. Check for mistakes.
Comment on lines +174 to +176
#inline("Defination")
+ `var` defines the variable in the function scope and become global variable if it's defined in the outside of function. It can be used with the value of `undefined` before defination and be alse defined repeatly.
+ `let` defines the variable in the block scope, such as `for`, `if` `while` or `{}`. It cann't be used before defination and not be defined repreatly.
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

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

The word "defination" is misspelled. It should be "definition".

Suggested change
#inline("Defination")
+ `var` defines the variable in the function scope and become global variable if it's defined in the outside of function. It can be used with the value of `undefined` before defination and be alse defined repeatly.
+ `let` defines the variable in the block scope, such as `for`, `if` `while` or `{}`. It cann't be used before defination and not be defined repreatly.
#inline("Definition")
+ `var` defines the variable in the function scope and become global variable if it's defined in the outside of function. It can be used with the value of `undefined` before definition and be alse defined repeatly.
+ `let` defines the variable in the block scope, such as `for`, `if` `while` or `{}`. It cann't be used before definition and not be defined repreatly.

Copilot uses AI. Check for mistakes.
var esc = 'I don\'t \n know'; // \n new line
var len = abc.length; // string length
abc.indexOf("lmno"); // find substring, -1 if doesn't contain
abc.lastIndexOf("lmno"); // last occurance
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

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

The word "occurance" is misspelled. It should be "occurrence".

Suggested change
abc.lastIndexOf("lmno"); // last occurance
abc.lastIndexOf("lmno"); // last occurrence

Copilot uses AI. Check for mistakes.
x = addNumbers(1, 2);
```
#inline("Edit DOM element")
Code for modifying the DOM (Document Object Model). `JavaScript` code will be execute to dynamicly change the HTML elements.
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

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

The word "dynamicly" is misspelled. It should be "dynamically".

Suggested change
Code for modifying the DOM (Document Object Model). `JavaScript` code will be execute to dynamicly change the HTML elements.
Code for modifying the DOM (Document Object Model). `JavaScript` code will be execute to dynamically change the HTML elements.

Copilot uses AI. Check for mistakes.
@elegaanz elegaanz self-assigned this Jan 19, 2026
@elegaanz
Copy link
Copy Markdown
Member

Do you want to fix the typos reported by Copilot before merging or are you ignoring its review?

@LZHMS
Copy link
Copy Markdown
Contributor Author

LZHMS commented Jan 20, 2026

Yes. I have fixed the typos reported by Copilot.

@elegaanz elegaanz merged commit de44d56 into typst:main Jan 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

update A package update.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants