Commit Graph

21 Commits

Author SHA1 Message Date
Ken Powers 8d4125f0a8
Lint fixes 2020-02-07 12:07:43 -08:00
Scott Nonnenberg 5ebd8bc690 Virtualize Messages List - only render what's visible 2019-08-21 14:52:30 -07:00
Ken Powers 29de50c12a Stickers
Co-authored-by: scott@signal.org
Co-authored-by: ken@signal.org
2019-05-16 16:10:37 -07:00
Scott Nonnenberg c8ea2e9463 Download and install updates without the help of electron-updater 2019-04-05 17:18:37 -07:00
Scott Nonnenberg b3ac1373fa Move left pane entirely to React 2019-03-12 17:44:14 -07:00
Scott Nonnenberg 0850dc368a Lint fixes 2018-10-11 12:24:58 -07:00
Scott Nonnenberg 3c69886320 Finish new Message component, integrate into application
Also:
- New schema version 8 with video/image thumbnails, screenshots, sizes
- Upgrade messages not at current schema version when loading messages
  to show in conversation
- New MessageDetail react component
- New ConversationHeader react component
2018-07-17 15:58:07 -07:00
Scott Nonnenberg 2988da0981 Turn on all of Microsoft's recommend lint rules
Biggest changes forced by this: alt tags for all images, resulting in
new strings added to messages.json, and a new i18n paramter/prop added
in a plot of places.

Another change of note is that there are two new tslint.json files under
ts/test and ts/styleguide to relax our rules a bit there. This required
a change to our package.json script, as manually specifying the config
file there made it ignore our tslint.json files in subdirectories
2018-05-23 16:26:47 -07:00
Daniel Gasienica 84f69f482f Prettier: Format JSON configuration files 2018-05-04 16:32:08 -04:00
Daniel Gasienica 320a8d31c1 TSLint: Allow multiline JS in JSX for CSS-in-JS 2018-04-25 15:24:51 -04:00
Daniel Gasienica cd2a02a626 Add TSLint Prettier overrides 2018-04-25 15:24:51 -04:00
Daniel Gasienica 8edbd06e43 TSLint: Enforce UNIX line breaks 2018-04-25 15:24:51 -04:00
Daniel Gasienica a8bca9b8eb TSLint: Enforce indentation with 2 spaces
Not sure if this rule actually works.
2018-04-25 15:24:51 -04:00
Daniel Gasienica 04acdebe48 TSLint: Align various syntax elements 2018-04-25 15:24:51 -04:00
Daniel Gasienica 832b6309a2 Limit line length 2018-04-25 15:24:51 -04:00
Daniel Gasienica cf1d621bce Allow line breaks in long `import` statements 2018-04-25 15:24:51 -04:00
Daniel Gasienica 0daccee209 Enable TSLint Mocha rules 2018-04-11 19:45:48 -04:00
Daniel Gasienica 7cb43c9f7f Add TSLint rules 2018-04-11 16:36:42 -04:00
Daniel Gasienica e052d1df7b Use generic array syntax for consistency
Always prefer `Array<T>` over `T[]` for primitive types only.
2018-04-11 16:36:42 -04:00
Scott Nonnenberg 23293a3c00
New tslint rule: Interfaces must not start with I 2018-04-05 12:24:43 -07:00
Scott Nonnenberg 893fb1cb9e
Introduce React/TypeScript/TSLint into app for new UI components
npm run transpile
  Works on files under js/react/
  Outputs files right next to the .tsx file

This is part of our `grunt dev` task, as well as the default grunt task,
which does everything else necessary to get a raw git checkout ready to
run.
2018-04-04 16:08:27 -07:00