Comments (8)
Okay, I will add that.
from obsidian-git.
Yes I thought about something similar.
from obsidian-git.
Thank you for providing such a good idea.
May I know what if I want to use your version, how am I suppose to do?
I tried copying your ts file and edit the existing manifest.json from "js:main.js" to "js:main.ts", but it fails to initialize.
from obsidian-git.
You'll want to build the .ts file to a .js version using the build pipeline - just run npm install
to install dependencies then npm run build
to actually build the final file.
from obsidian-git.
thank you for the suggestions!
from obsidian-git.
@lishid You are right, that some users complain about missing settings page or commands, but why should the commands be registered, when the plugin fails in initialization? Other tasks though should of course be moved to other functions.
from obsidian-git.
The command could gracefully fail with a message, keeping the plugin experience consistent. Right now the biggest friction is that if something goes wrong, the user has no idea what's going on, or how to solve it, without joining the discord and ask for tips.
from obsidian-git.
I'd suggest some way to re-run the initialization process should it fail - then everything else that depends on internal state of the initialization could re-run the initialization step when it's triggered (like showing the settings pane, triggering a command). That way, the user doesn't have to reload the app (or disable/enable the plugin) once they fix the issue.
from obsidian-git.
Related Issues (20)
- [Feature]: Multiple Repository
- [Bug]: plugin is not installing HOT 1
- [Bug]: Android: "%%%%%" on left of each line in source mode HOT 2
- using another git lib on android HOT 3
- [Enhancement] Multiple remotes support HOT 1
- [Bug]: Obsidian freezing from having any setting enabled HOT 1
- Feature request: Support Git move HOT 1
- [Bug]: GPG doesn`t work when program is .sh file or with ~/
- [Feature]: Make Auto Backup commits amendable HOT 1
- [Bug]: Git init doesn't work properly when a custom git-dir value is set through the 'Custom Git directory path' setting HOT 1
- [Bug]: git obsidian error: TypeError [ERR_INVALID_ARG_VALUE]: The argument 'args[6]' must be a string without null bytes HOT 1
- [Proposal]: Rename the plugin to "Git Backup" HOT 1
- [Feature Request]: Push on Close HOT 1
- [Bug]: wrong order in git backup HOT 3
- [Bug]: Freshly installed plugin renders Obsidian unusable! HOT 4
- [Bug]: Persistent Authentication Requests HOT 2
- [Enhancement Suggestion]: Make .git folder outside of value folder by default HOT 2
- [Bug]: Plugin causes Micro lags
- [Bug]: : Error: spawn ENAMETOOLONG HOT 4
- [Bug]: Cant create new remote branch by pushing local branch 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 obsidian-git.