Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Open file in pending state on single click - #682

Merged
kuychaco merged 10 commits into
masterfrom
ku-pending-editor
Jan 15, 2016
Merged

kuychaco merged 10 commits into
masterfrom
ku-pending-editor

Conversation

@kuychaco

Copy link
Copy Markdown
Contributor

Single-clicking opens a file in pending state and double-clicking opens a file regularly (in a non-pending state).

See corresponding changes in atom/atom/pull/10178
Addresses atom/atom/issues/9165

If file is single-clicked, it is opened in a pending state and will get destroyed when it loses focus.
@kuychaco

Copy link
Copy Markdown
Contributor Author

TODO: Fix failing test (see image).

Not sure why the spec shows the Text Editor having focus rather than the Tree View. When I'm manually testing by double-clicking a directory the Tree View retains focus.

Uncaught exceptions during tests resolved by using wait before clean up due to async nature of tests.

screen shot 2015-12-24 at 2 30 10 pm

kuychaco added a commit that referenced this pull request Jan 15, 2016
Open file in pending state on single click
@kuychaco
kuychaco merged commit 4901b6f into master Jan 15, 2016
@kuychaco
kuychaco deleted the ku-pending-editor branch January 15, 2016 02:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant