Personal fork of Tooty
69f0cfdc54
* Get @mention in model * Add autocomplete logic * Get accounts to autocomplete from the server * Add autocomplete css * Check if we should show menu on account search * Add keyboard events * Update status with completed username * Trigger autocomplete when getting accounts back * Highlight choices on hover * Put focus on textarea after updating it * Fix clear draft * Hit the server only on non empty query * Lazzzzzzzzzzzzzzzzyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy * Add missing lazy * Add keyboard subscriptions * Add images and display name * Better menu visibility handling * Add lazy to notifications * Js formatting. * Improve styles. * Add unique keys to costly lists. * Fix tests. * Coding style nits. * Use the encodeUrl helper in ApiUrl. * Nanonit. * Improve autocomplete box styling. * CamelCase draft record * Move all autocomplete stuff to Draft * Send status to ports with the reply prefix. * Clear draft after posting a status. * Move ports setStatus call to a dedicated Command helper. * Naming. * Fix navigation with arrow keys in textarea * Always autoselect the first item of the menu |
||
---|---|---|
public | ||
src | ||
tests | ||
.gitignore | ||
.travis.yml | ||
elm-package.json | ||
package.json | ||
README.md |
tooty
An experimental Mastodon client written in Elm. It is not usable yet.
Setting up the development environment
$ npm i
$ ./node_modules/.bin/elm-package install
Starting the dev server
$ npm start
Starting the dev server in live debug mode
$ npm run debug
Building
$ npm run build
Deploying to gh-pages
$ npm run deploy
The app should be deployed to https://[your-github-username].github.io/tooty/
Launching testsuite
$ npm test
Licence
MIT