gmailr icon indicating copy to clipboard operation
gmailr copied to clipboard

vNext

Open joscha opened this issue 13 years ago • 22 comments

Hi there,

as I am planning to use GMailr for a current project, I started to work on it quite a lot. It would be great if we could pull all the changes I made in, which include:

  • I fixed most of the broken pieces, including the numChange observer, the canvas, etc.
  • I implemented parts of the TODO (email details)
  • I switched from LABjs to yepnope.js, as LABjs is a discontinued project and made yepnope.js a submodule
  • I cleaned the loader, so the workaround with the chrome URLs in the div elements is not needed any more
  • I made jquery-bbq a submodule
  • I switched to the jQuery Google CDN module, as it runs off HTTPS
  • I cleaned the permissions in the manifest file
  • I fixed the unread count and pulled in all fixes from other people's forks
  • draft save/discard and starring/unstarring observers
  • I cleaned the code a lot
  • I switched it to use CoffeeScript to make it cleaner
  • I defined constants for the observers
  • I updated the documentation

joscha avatar Oct 05 '12 20:10 joscha

whoa nice! I will take a look when I get the chance and merge.

jamesyu avatar Oct 05 '12 20:10 jamesyu

Great! If you have any questions, let me know!

joscha avatar Oct 05 '12 20:10 joscha

Hi @jamesyu, did you find time to look at the change, yet?

joscha avatar Oct 12 '12 08:10 joscha

not yet! been swamped lately.. I will try to take a look this weekend.

Changing the entire project to coffeescript is a big change, and I want to make sure I'll still be able to maintain it if we do that.

jamesyu avatar Oct 12 '12 19:10 jamesyu

No worries! In my eyes th CoffeeScript change cleans it up a lot, but if it ever gets too much, you can always go back to JS by replacing the CoffeeScript with the JS compiled from it in future.

joscha avatar Oct 13 '12 02:10 joscha

This is awesome :D I'm writing an extension based on Gmailr as well. I've been using CoffeScript to so this is perfect.

marksteve avatar Oct 17 '12 08:10 marksteve

:) Let's hope James finds some time to merge the changes in then :-) Have you made additions to Gmailr as well?

joscha avatar Oct 18 '12 15:10 joscha

@jamesyu did you find time yet to have a look at this changeset? Is there anything I can do to help with merging this in?

joscha avatar Nov 02 '12 06:11 joscha

@jamesyu are you still thinking about pulling this?

joscha avatar Dec 12 '12 01:12 joscha

Sorry, still haven't found the time. After some more thought, I don't think I want to take this project into coffeescript, unless someone else wants to maintain it. I would be glad to take a look if this pull request made your changes, but in regular js.

jamesyu avatar Dec 14 '12 22:12 jamesyu

Aw, that's too bad - anyone who knows JS should easily be able to understand the CoffeeScript. I really do not want to create a fork, but I think after a certain # of LOC it is just more easily maintainable in at least modularized form or something like CoffeeScript.

How about you make me Co-Maintainer of the project after pulling this? I'd be up for it and any problems that arise for you out of the project being CoffeeScript I am glad to have a Skype talk/Hangout/etc. - would that be an option?

joscha avatar Dec 17 '12 11:12 joscha

Sure thing. Let's sync up after the holidays!

jamesyu avatar Dec 21 '12 00:12 jamesyu

This looks great @joscha! I might take this as an excuse to finally start using CoffeeScript :)

michaelmior avatar Jan 11 '13 23:01 michaelmior

@michaelmior Please do :) It's only syntactical sugar anyway - nothing to be scared of! @jamesyu My Skype is joschafeth, shall we talk this week about it?

joscha avatar Jan 11 '13 23:01 joscha

O by the way @michaelmior - you might want to check out: https://github.com/joscha/gmailui as well ;)

joscha avatar Jan 12 '13 01:01 joscha

Thanks! I'll keep that in mind. Unfortunately I realized the project I was planning on isn't feasible (for non-technical reasons), but I'll definitely check it out if I think of something in the future!

michaelmior avatar Jan 12 '13 15:01 michaelmior

@jamesyu still keen on syncing?

joscha avatar Jan 22 '13 16:01 joscha

Hey @jamesyu - one last try: shall we Skype about what to do next week?

joscha avatar Feb 10 '13 00:02 joscha

@jamesyu I take that as a no?

joscha avatar Mar 01 '13 02:03 joscha

hey Joscha -- sorry for dropping this thread.. I've been traveling and quite busy for the past month. I would be up for transitioning this project to a new maintainer, but I just don't even have the bandwidth right now to do the handoff.

If you were to instead make a smaller series of pull requests that makes your changes incrementally, it would be easier for me to incorporate them.

jamesyu avatar Mar 02 '13 19:03 jamesyu

@jamesyu I guess it's kinda too late for that - logical changes are grouped as commits usually, but especially the transition to CoffeeScript is a bigger chunk - also I merged in all changes from other forks that fixed things over a timeframe of 5 months (ever since I opened the initial pull req). Handing off in github is as simple as adding me as a co-maintainer - the history gets preserved once we merge this pull in - so I guess you just have to decide whether this is an alternative or not.

joscha avatar Mar 02 '13 20:03 joscha

@artharrison uh, how did I miss this comment?! It's in now...

joscha avatar Sep 09 '13 16:09 joscha