Summary: This diff uses the new ?expanded=true threads request to fetch threads and the messages inside them at the same time. The messages from this endpoint don't contain bodies. Message bodies have been moved to a new "secondary attribute" type, which can be optionally requested when making queries. This allows us to 1) quickly fetch messages without worrying about MBs of JSON, 2) update messages without updating their bodies, and 3) avoid calls to /messages?thread_id=123. The new message store fetches just the items it wants to display in expanded mode, and we'll show snippets for the rest. Fix up forwarded message Approach: Thread.messageMetadata join approach WIP join approach complete "" || null = null. OMG. Make spinner a bit smarter, use code delays and not css delays Search suggestion store should only show first 10 matches Msg collapsing, refactored msg store that will fetch individual messages that are marked as expanded, set loaded = true when it's all done Test Plan: Tests coming soon. The query refactoring here broke a lot of tests... Reviewers: evan Reviewed By: evan Differential Revision: https://review.inboxapp.com/D1345 |
||
---|---|---|
apm | ||
arclib | ||
build | ||
docs | ||
dot-inbox | ||
exports | ||
internal_packages | ||
keymaps | ||
menus | ||
play | ||
resources | ||
script | ||
spec | ||
spec-inbox | ||
src | ||
static | ||
vendor | ||
.arcconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.node-version | ||
.npmrc | ||
.pairs | ||
.python-version | ||
atom.sh | ||
coffeelint.json | ||
CONTRIBUTING.md | ||
Dockerfile | ||
LICENSE.md | ||
package.json | ||
README.md |
Atom is a hackable text editor for the 21st century, built on atom-shell, and based on everything we love about our favorite editors. We designed it to be deeply customizable, but still approachable using the default configuration.
Visit atom.io to learn more or visit the Atom forum.
Visit issue #3684 to learn more about the Atom 1.0 roadmap.
Installing
OS X
Download the latest Atom release.
Atom will automatically update when a new release is available.
Windows
Download the latest AtomSetup.exe installer.
Atom will automatically update when a new release is available.
You can also download an atom-windows.zip
file from the releases page.
The .zip
version will not automatically update.
Uninstalling Chocolatey Version
The recommended installation of Atom on Windows used to be using Chocolatey. This is no longer recommended now that the Atom Windows installer & auto-updater exists.
To switch from Chocolatey to the new installer:
- Upgrade to Atom 0.155 or above by running
cup Atom
- Run
cuninst Atom
to uninstall the Chocolatey version of Atom- This will not delete any of your installed packages or Atom config files.
- Download the latest AtomSetup.exe installer.
- Double-click the downloaded file to install Atom
Debian Linux (Ubuntu)
Currently only a 64-bit version is available.
- Download
atom-amd64.deb
from the Atom releases page. - Run
sudo dpkg --install atom-amd64.deb
on the downloaded package. - Launch Atom using the installed
atom
command.
The Linux version does not currently automatically update so you will need to repeat these steps to upgrade to future releases.
Red Hat Linux (Fedora, CentOS, Red Hat)
Currently only a 64-bit version is available.
- Download
atom.x86_64.rpm
from the Atom releases page. - Run
sudo yum localinstall atom.x86_64.rpm
on the downloaded package. - Launch Atom using the installed
atom
command.
The Linux version does not currently automatically update so you will need to repeat these steps to upgrade to future releases.
Building
Developing
Check out the guides and the API reference.