ref: 5b482cfc1bfb0bb1e89715cb57c7bac864391768 fanboi2/assets/app/javascripts/components/topic/topic_load_posts.ts -rw-r--r-- 3.3 KiB
Fix a bug where URL topic URL get rewritten.

When user make a reply on /board/1234 page, previous regex will
mistakenly recognize the number as post number rather than topic
and will try to append latest post number to it.
Cleanup components and README.

* Update README for current development process.
* Enable strictNullChecks in TypeScript and update accordingly.
* Use new naming convention for element variables in TypeScript.
Switch topic components to use event passing.

In order to allow better behavior sharing between topic components. For
example after a post is created, topic may be reloaded, we can now share
the same reloading behavior as when the user click the reload button.