Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miscellaneous changes #314

Open
wants to merge 45 commits into
base: master
Choose a base branch
from
Open

Miscellaneous changes #314

wants to merge 45 commits into from

Conversation

RichDom2185
Copy link
Member

Description

Cleaned up stuff.

Devserver now works on my computer.

yarn install now works on my computer.

Please refer to commit titles for changelog.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • Code quality improvements

@RichDom2185 RichDom2185 requested a review from sayomaki May 21, 2024 22:41
@RichDom2185 RichDom2185 self-assigned this May 21, 2024
@RichDom2185 RichDom2185 marked this pull request as draft May 22, 2024 10:05
package.json Outdated
@@ -135,7 +132,6 @@
]
},
"resolutions": {
"esbuild": "^0.18.20",
"**/gl": "^6.0.2"
"**/gl": "^8.0.2"
Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, @sayomaki this resolution seems to be breaking the CI again, which is weird, because locally, I can run the commands just fine.

This is different from frontend where I am faced with the same error locally.

@RichDom2185 RichDom2185 marked this pull request as ready for review May 22, 2024 10:29
@leeyi45
Copy link
Contributor

leeyi45 commented May 24, 2024

Hope you don't mind if I add some minor changes alongside

@RichDom2185
Copy link
Member Author

Hope you don't mind if I add some minor changes alongside

All's good! If you are free, could you help with the review? Thanks!

@RichDom2185
Copy link
Member Author

Hope you don't mind if I add some minor changes alongside

All's good! If you are free, could you help with the review? Thanks!

@leeyi45 bumping this

import { type Ace, require as acequire } from 'ace-builds';
import { Card } from '@blueprintjs/core';
import { require as acequire, type Ace } from 'ace-builds';
import 'ace-builds/src-noconflict/ace';
import 'ace-builds/src-noconflict/ext-language_tools';
Copy link
Contributor

Choose a reason for hiding this comment

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

Does the js-slang theme work for you? It still doesn't for me

Copy link
Contributor

Choose a reason for hiding this comment

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

bumping this comment

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops, I think your previous comment wasn't published yet that's why I couldn't see it. It's broken on Source Academy @ NUS as well. I suspect it's a js-slang issue, specifically the ace-builds version there is way too old. But I haven't looked at it yet

@@ -2,3 +2,15 @@
export function degreesToRadians(degrees: number): number {
return (degrees / 360) * (2 * Math.PI);
}

export function hexToColor(hex: string): [number, number, number] {
Copy link
Contributor

Choose a reason for hiding this comment

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

I noticed that this function fails silently, should we change this?

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.

2 participants