Skip to content

Fix ../problems/problems import issue - #181

Merged
AltrosMado merged 4 commits into
stagingfrom
fix-imports
Apr 15, 2026
Merged

AltrosMado merged 4 commits into
stagingfrom
fix-imports

Conversation

@AltrosMado

@AltrosMado AltrosMado commented Apr 15, 2026 •

Copy link
Copy Markdown
Collaborator

When we first tried to run the app, it would not work. That was because the import ../problems/problems was not functioning because there was no problems directory.

I addressed the following:

  • Created a handler for what problems to import based on what is in the .env.local
  • Changed the target value from es5 to es2022 for tsconfig because es5 was old and was limiting me
  • Changed the files that used the original import to use the new one
  • Changed private and public problems to export the problem when making the problem.js file

PRs to look at Before This One

https://github.com/coding-cat-official/coding-cat-private/pull/3
coding-cat-official/coding-cat-public#165

@AltrosMado
AltrosMado changed the base branch from main to staging April 15, 2026 18:05

@Vysan13 Vysan13 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nice

@AltrosMado AltrosMado linked an issue Apr 15, 2026 that may be closed by this pull request

@thomas-kol thomas-kol left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I like what you did to make the code more modular with environment variables, looks ready to merge!

@AltrosMado
AltrosMado merged commit 5bd6575 into staging Apr 15, 2026
6 of 9 checks passed

This branch had an error being deployed

1 failed deployment
github-pages — 6b9133ff Deployed Apr 15, 2026 by AltrosMado via Deploy to GitHub Pages #134
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.

Fix import to ../questions/questions

3 participants