robosats/frontend
+shyfire131 c9b70dc10d
Add support for multiline chat (#595)
* Support newlines for sender

- add multiline prop
- default behavior is not to submit the form when enter is hit, so listen for keypresses and trigger a synthetic button click when enter is hit
- however shift+enter is reserved for newlines, so we also check for those

* Support newlines for receiver

If decrypted message containes newlines, split and render on multiple lines

* Also add newline support for turtle mode senders

* Styling adjustment for send button

* Implement styling feedback

---------

Co-authored-by: +shyfire131 <shyfire131@shyfire131.net>
2023-05-21 20:25:12 +00:00
..
src Add support for multiline chat (#595) 2023-05-21 20:25:12 +00:00
static Fix lnproxy support and add lnproxy relays workflow (#586) 2023-05-18 11:14:11 +00:00
templates/frontend Fix all files with pre-commit 2022-10-25 11:04:12 -07:00
__init__.py Add frontend app 2022-01-01 15:05:55 -08:00
.eslintrc.json Add version mismatch detection, refactor GH workflows, draft release.yml, increase prettier scope (#250) 2022-09-21 07:03:38 -07:00
.prettierignore Add pgp signature to sensitive client - coordinator messages (#592) 2023-05-17 13:06:04 +00:00
.prettierrc Add linter and formatter 2022-08-28 00:20:45 +02:00
admin.py Conform to pep8 rules (#295) 2022-10-20 20:53:51 +00:00
apps.py Re-format all python code 2022-02-17 11:50:10 -08:00
babel.config.json Add version mismatch detection, refactor GH workflows, draft release.yml, increase prettier scope (#250) 2022-09-21 07:03:38 -07:00
Dockerfile Minor fixes on dev setup start up 2023-05-17 04:16:26 -07:00
entrypoint.sh Migrate to react-dom-router v6 (#422) 2023-04-16 18:10:48 +00:00
package-lock.json Bump i18next from 22.4.15 to 22.5.0 in /frontend (#598) 2023-05-19 10:49:58 +00:00
package.json Small style fixes and new payment method 2023-05-12 03:01:17 -07:00
tests.py Conform to pep8 rules (#295) 2022-10-20 20:53:51 +00:00
tsconfig.json Add version mismatch detection, refactor GH workflows, draft release.yml, increase prettier scope (#250) 2022-09-21 07:03:38 -07:00
urls.py Add RobotTokenSHA256 middleware, /api/robot and frontend entropy calc (#512) 2023-05-05 10:12:38 +00:00
views.py Add pre-commit-config (#298) 2022-10-24 14:34:21 +00:00
webpack.config.ts New Robot page (#357) 2023-02-21 17:22:48 +00:00