Closed xiio closed 7 years ago
I've fixed code according to your notes.
Okay, I've tested it. It... works, but the dialog box is somehwat annoying to me since I usually have a lot of temporary groups. I'd suggest adding a preference to turn off the question.
Preferences can be added in package.json
and you can use Prefs.prefs.[name]
in index.js
to get their value. Please add the title of your preference to en-US.properties
, although you'll have to repeat the same string twice. This is to make translating the stuff a bit easier. Use [name]_title
(and [name]_description
if you want to add a longer description) as the key in the upper block of the language file and the SDK will do its magic.
After that, let's squash your commits into a single one. In larger PRs, multimple commits may be okay but commits lke "added missing .length" just bloat up the git history. To squash, use git rebase -i develop
and replace every pick
but the first through squash
. Git will then ask you for a new commit message and I'd suggest to use something like Add confirmation when closing a group
. After that, you have to force-push your branch, but that's okay!
how can i add new icon? i mean "undo" icon. I see it is Font Awesome, but it is customized set...
I've added the undo-icon in bebc29123bcc00dd61da5cdcd49ba643f6659381. Rebase and you can use .fa-undo
I've changed the form of this confirmation. Now it doesn't need so much interacition from user. I've added new pref for this feature so it is configurable. Check this out.
Is there any problem?
Sorry, I've been busy with stuff. I just added some remarks! Thanks for your work so far.
@xiio any chance you'll finish this?
Sorry, I've been busy lately. I will fix it till Tuesday (31.05)
Awesome! 😸
Don't hurry, just wanted to know whether I should take this over myself or not. :)
I've made fixes according to your suggestions.
Thanks, we're getting close! 👍 Sorry for being kinda picky, but I'd rather stick with a clean and nice code base or we might create a monster that nobody will ever be able to support.
All done. Please review...
Sorry for the insane delay, I got totally sidetracked. Merged as 3a869eb74939f1ee6637b5bf10b8b4caf3dd9e5c now, thank you!
i've added confirmation prompt on group closing. When group is empty there is no need to confirm.