-
Notifications
You must be signed in to change notification settings - Fork 9
Frequently Asked Questions
Most of the upstream FAQ should still apply, these are XT specifically.
There is an upstream issue open about migrating away from coffeescript since 2016: ccd0/4chan-x#829. I took the challenge and actually did it, and opened a PR for it. I named this fork 4chan XT in case that PR didn't get merged, to differentiate from the original.
Since that one isn't merged yet at the time of this writing, and upstream 4chan X rarely gets updates, XT got some extra features and fixes that X didn't get.
Yes, but most of it is still JavaScript. The idea is to change a .js file to a .ts file when working on it and figuring out the types.
It should have. But due to the migration some bugs were introduced. Please open a GitHub issue if you find one. Or better: open a PR.
How did a fork get new bugs from a migration? The original compiles to JavaScript, so it should all work!
The original relies on everything being global, and just concatenated the compiled files. To get autocomplete in editors, this fork switchend to ECMAScript imports. Another difference with X is that XT uses JSX to build and escape HTML instead of a custom templating language. These differences resulted in bugs.
No, there is a custom function with documentation in src/globals/jsx.ts. Compilation is done by TypeScript, so only .tsx files work, .jsx doesnt.
- Removed font awesome in favor of unicode icons.
- Audio post support.
- A button to fetch deleted posts from external archives and put them back in the thread.
- Settings no longer close when the mouse gets released outside of the modal when selecting text in an input or textarea.
For the full list, refer to the changelog.
The master branch is still 4chan X upstream, in case the PR still gets merged. The branch used for 4chan XT development is project-XT. To branch for the PR to X is simply named "pr".