Closed (fixed)
Project:
Swipebox
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Jun 2014 at 12:11 UTC
Updated:
16 Jul 2014 at 23:30 UTC
Jump to comment: Most recent, Most recent file
I found several rooms for improvement, such as:
1) Use hook_library() to load Swipebox library efficiently.
2) Load library when and where it's necessary only.
3) Use Drupal behaviors for integration javascript.
4) Add jquery_update dependency, as mentioned in #2067889: Any updates
5) Some cosmetic code improvements.
Provided a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | Bildschirmfoto 2014-07-01 um 23.10.31.png | 20.86 KB | daniel wentsch |
| swipebox-multiple-improvements-1953290-0.patch | 3.63 KB | Konstantin Komelin |
Comments
Comment #1
Konstantin Komelin commentedPlease review attached patch.
Since the module is working fine for me, even though it has some remaining tasks, such as passing settings to the JS script, I recommend displaying DEV release on the project page and promote this sandbox project to a full one.
Comment #3
daniel wentsch commentedThanks for the patch. I just commited it and changed the default branch to 7.x-1.x.
How do I display a Dev release on the project page?
I've not been using this code in quite a while, would you like to become a maintainer?
Comment #4
Konstantin Komelin commentedHi Daniel,
Thanks for reviewing and committing my patch.
Although next time please set proper Git attribution to give credits to the contributor https://www.drupal.org/node/1146430
Firstly, you need to promote your sandbox project to Full https://www.drupal.org/node/1068952
Then you will be able to create releases for the project.
If you don't have permissions for creating Full projects I can create a release myself, just give me project and release management permissions.
Thank you for the suggestion!
I don't mind of becoming a co-maintainer and helping with pushing this module to the stable stage. However, I can't spend too much time to implement new features.
Thanks,
Konstantin
Comment #5
Konstantin Komelin commentedWhat did you decide? Release?
Comment #6
daniel wentsch commentedSorry, I'm really too busy the next days and weeks to put a lot of effort in this.
I added you as a maintainer, feel free to apply for a release (I never did this, so I'd have to read into what to do exactly and how etc.)
I'll be more or less offline until next Monday.
Comment #7
Konstantin Komelin commentedHi Daniel,
Thanks, but I still don't have enough permissions to promote this project to full and create releases.
-- Konstantin
Comment #8
daniel wentsch commentedHi Konstantin,
now you have all privileges I'm aware of, does this change anything?
Cheers,
Daniel
Comment #9
Konstantin Komelin commentedHi Daniel,
Unfortunately, I can't promote the project to full because I don't see the Promote sub-tab https://www.drupal.org/node/1068952 . I don't know why. I remember that I promoted third-party modules earlier.
Maybe it's better if you apply for permissions here https://www.drupal.org/node/1011698
Best,
Konstantin