zulip/static/shared
Zixuan James Li 53aa3f6c71 typeahead: Add typescript type definitions for typeahead.
This allows us to import typeahead from people.ts with types. This is
possible since #22586 was merged.

And since "sort_emojis" is always supposed to be called with valid emoji
objects that have "reaction_type" with an optional "emoji_code", we add
a check before we see if the emoji is popular to avoid poking
popular_set with an undefined value.

Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2023-02-09 16:51:40 -08:00
..
icons icons: Change mute icon from bell to speaker. 2022-09-09 17:32:19 -07:00
js typeahead: Add typescript type definitions for typeahead. 2023-02-09 16:51:40 -08:00
tools shared: Prescribe atomic push when bumping version. 2022-11-01 22:25:37 -07:00
.gitignore shared: Add TypeScript build step. 2023-01-18 13:10:13 -08:00
.npmrc shared: Script up the NPM release process for `@zulip/shared`. 2022-04-25 09:37:35 -07:00
README.md docs: Update links for zulip-mobile branch rename. 2021-09-08 15:30:37 -07:00
package.json shared: Bump version to 0.0.18 2023-01-18 13:25:44 -08:00
tsconfig.json shared: Add TypeScript build step. 2023-01-18 13:10:13 -08:00

README.md

The files in this subtree are part of the Zulip web frontend, and are also incorporated by the Zulip mobile app.

Note that the deployment cycles are different:

  • In the web app, this code is deployed in the same way as the rest of the web frontend: it's part of the server tree, and the browser gets it from the server, so the client is always running the same version the server just gave it.

  • In the mobile app, this code is deployed in the same way as the rest of the mobile app: it's bundled up into the app binary which is uploaded to app stores and users install on their devices. The client will be running the version built into their version of the mobile app, which may be newer, older, or simply different from the version on the server.

    The mobile app always refers to a specific version of this code; changes to this code will appear in the mobile app only after a commit in the mobile app pulls them in.

To update the version of @zulip/shared on NPM, see the instructions in the mobile repo.