Comments (2)
Thanks. That's a good point. The culprit is the synchronization rather than the delete (The delete operation calls synchronization after sending the DELETE request).
https://github.com/hackjutsu/Lepton/blob/master/app/index.js
function reSyncUserGists () {
let state = reduxStore.getState()
preSyncSnapshot = {
activeGistTag: state.activeGistTag,
activeGist: state.activeGist
}
updateUserGists(state.userSession.profile.login, state.accessToken)
}
The synchronization takes a snapshot of the state before the update, and tries to restore it once finishes. Based on the implementation available now, any operation during the synchronization will be ignored. You can observe the sync status by the progress bar under the profile image. If the previous activeGist is no longer valid, it falls back to the default one, which in most cases, the first one in the selected category. We might need to avoid any operation during the synchronization.
This is something should be fixed, and makes the new active gist be respected even during the sync.
from lepton.
Should be fixed:0a7f931
I'll include this fix in the next release. Please have a test then.
from lepton.
Related Issues (20)
- v1.10.1-alpha cant HOT 7
- feature desecrete / make public a gist HOT 1
- jupyter notebook HOT 1
- “Lepton.app” cannot be opened because the developer cannot be verified. HOT 1
- Global code search HOT 1
- Status of lepton HOT 1
- Support pasting images in markdown files HOT 4
- Does selecting multiple snippets work on Macs? HOT 1
- Add .leptonrc option for default zoom level & shorcuts for zoom HOT 1
- No syntax highlighting for Python files HOT 4
- Will not run on Apple M1 / Monterey HOT 1
- Lepton-1.10.1-alpha.1-arm64.dmg image appears to be corrupted HOT 5
- `GPU process isn't usable. Goodbye.` Linux AppImage HOT 2
- Snap is loading an erroneous .leptonrc configuration HOT 1
- Color syntax is broken when a PHP file contains HTML as well
- Plase check your network condition,03 HOT 1
- [Feature Request] Syntax Highlighting for .c and .h files (C programming language) HOT 2
- Feature request: Add custom themes on `.leptonrc`
- Dependency badge(https://david-dm.org/) is down HOT 1
- Gitlab support , is there any chance? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lepton.