-
Notifications
You must be signed in to change notification settings - Fork 1.2k
FontAwesome Update #511
Comments
This version change would be a breaking change, as outlined here: https://github.com/FortAwesome/Font-Awesome/wiki/Upgrading-from-3.2.1-to-4 Not that this would be an impossible task, but it certainly makes things a wee bit trickier. |
Yah... I gave it a go (with my limited knowledge and extensive googling) and didn't get it to work! I definitely broke my dash a few times along the way too. I ended up re-installing dashing from the master branch and settled for the 3.2.1 icons. ;p I would still like to see the new icons as part of this project though! :) The spinning icons for sure would definitely be a great +1 . Would bring a little more "life" into the dash i think. Speaking off adding things... I wonder if you could add sound, or blinking tiles?? - Are those things achievable with the current master? |
You can make the tiles blink by applying a status-warning or status-danger CSS class to them when appropriate. The number widget also takes a So you can make a number widget blink out of the box with something like: send_event('my-number-widget',{current: 150, status: 'danger'}) You can look at |
I'm a bit busy at the moment, but I can take a look at updating this later. Maybe next week. Whether or not the PR is accepted... I dunno. It would be a breaking change for anyone using Dashing, not just for the gem itself. Seems like a Dashing 2.0 thing. |
Hey Tyler, As for the FontAwesome update... I realize i might be asking a bit much, so if it's too much of a bother, then at least consider it a feature request for Dashing 2.0! :) Which... by the way.. Whats the ETA on that?? Thanks. |
No idea on ETA, I think @pushmatrix has big ideas for Dashing 2.0 👍 I can certainly fork Dashing and make a PR for the update, I'm not sure if the maintainer will accept it until 2.0. I'm just an enthusiastic user. I'm happy to do the update when I've got time, I bet it's a 1-2 hour job. |
Sounds like a plan! ;) Are you still using Dashing on Thin at all?? Fwiw: I shifted over to Puma and got much better results! I had plans I move it to Raptor (new passenger build), but not tried that yet! I'm an enthuastic user too for sure and I've been making some decent dashboards for my managed services practice (& others), but my coding skills aren't at the same level as my thoughts... Yet! ;p |
I use thin. I start dashing like this, with an Apache proxy-pass on a vhost: $BUNDLE_CMD exec thin start -p 3030 -d -R "$DASHING_DIR/$RACK_FILE" -P /var/run/dashing/web_console.pid We have a PR waiting to be merged that swaps out Thin for Puma, this would enable us to run Dashing on JRuby. This would also enable people to bring Java data (like JMX) into the mix really easily, as well as improving overall performance for most users. I'm hoping it gets merged. I'm not sure if there are other undesirable impacts of switching to Puma, I'm glad to hear that it's working for you. Learning to code is a lifelong process! Everyone is always learning. |
Hmm... I may have to check out that Puma fork to be honest. I do quite a bit of documentation so when i do new things, I get all it noted (i live in evernote!) I can go over and validate it, so every time i install Dashing (as i blow it up on "purpose" sometimes) I manually convert it to run on Puma. The reason why I went to Puma was because it was running behind a (Citrix) NetScaler and while dashing ran on 'Thin' it took 50+ seconds for the tiles show data, 👎 and with Ruby it was around 3 or 4 seconds. 👍 I also ALWAYS add this great tweak to it to: https://gist.github.com/jwalton/6670630 , although i 'think' it affects my ability to drag the tiles, or maybe that's something else? My only missing piece to the instructions, is getting Puma to run as a Daemon. Right now (As my ubuntu server is a vm) i have to go to the console and kick off +1 on the 'Everyone is always learning' quote!! A day without a smile (and a lesson learned) is a day lost! :) /me is off to look for the Puma fork! ;p Oh... one last thing, if you was to do a fork that included the newer version of FontAwesome, would it be configured to run on Thin or Puma?? - Thanks. |
I think that we 've already lost the subject of this thread, so I will give Or you even can write a script to put on rc.d calling bundle exec puma (on On Sun, Feb 1, 2015 at 10:15 PM, Martyn Keigher [email protected]
|
I fuddled about last week trying to update to font-awesome 4.xxx. I only succeeded in breaking 3.xxx ;-) Watching with interest..... |
Yeah, sorry @cefigueiredo for bringing this one slightly off topic. @tylermauthe and I kinda segway'd a bit! ;p Thanks @howardsternisbatman for bringing right back on track!! Having the full use of FontAwesome (even including the animated icons)... would be pretty spectacular!! |
I managed to get the latest font-awesome installed. All I did was put in the new css for font awesome, add the new font files and then edit the css update the reference to the font files (e.g. I can probably put together a pull request if it helps... |
That's excellent, I wasn't sure if the update changed had breaking styling changes. Sounds like it's a pretty quick job. Which also gives me hope for getting a PR merged before 2.0, as User's customised widgets and dashboards would also be easy to change. Thanks for the info! It's up to you, but I'd support a PR to resolve this issue. |
Nicely done @jmb! @tylermauthe ... would your PR be on PUMA too, by chance? ;p |
As that is an unrelated change, that would be in a different PR. #427 has been started for that -- though the intended goal there is to allow Dashing to run in JRuby out of the box. |
Here is the PR: #514 (for just FontAwesome update) |
I'll give it a bash today....urm, where is it exactly? :-) |
My fork is here: https://github.com/jmb/dashing/tree/fontawesome-4.3.0 (you can click through from the pull request). |
Thank you, installed and working perfectly. I really appreciate your effort. |
👍 |
Hey all, sorry for asking a dumb question here, but what the simplest way to merge this PR into my current project? Usually I just grab the master and then make my changes, but this is a big one that I'd rather not do manually! ;p I suppose I could DL it and 'WinSCP in' to copy/replace files, but i know there must be an easier way! Apologies if this sounds very "GitHub 101'ish", but i'd love to know how! Thanks for your patience! |
I'm not a GitHub expert in anyway, but if you've cloned from the master, I think you could add my repository as another remote and merge in my changes (after checking out whatever branch you want to merge onto):
In terms of applying the changes to an existing project created with |
Yeah, I'll prob just copy/replace the files as I have pulled the master, then got it running on PUMA. I was concerned that if pulled the PR, it would overwrite all the PUMA stuff I have configured. I'll go ahead and copy/paste the files the old fashioned way in WinSCP! I just don't wanna break it all over again! (PS: VMWare snapshots are your friend!) ;p Thanks for your quick response! :) |
Doing a merge from my branch shouldn't affect anything other than the fontawesome stuff though - git is pretty good at asking you about any conflicts (if any) and letting you resolve them. |
ha ha... as SOON AS I copied the LAST file (via WinSCP), you replied! ;p (About to test it out now!) |
Typical! I just tested it though:
Here I made a change to application.coffee (just added a line for debugging in). Then merge from my 'remote' branch (my remote is labelled
So anything unrelated is definitely not broken by git (as expected). Hope this helps for next time! 😃 |
@jmb YOU ARE A LEGEND!! ;) I know you cant tell from this image: http://i.imgur.com/y1WQPyD.png but the cog is spinning too! Thank you so much for putting this up!! Can't remember how many times I broke it trying to get this to work! You will notice that the "spinning icon" is outside of the tile... I can work around this by lowering the font size! Thank you once again! :) |
For what it's worth, I now have a Dashing project running on PUMA and also with the updated font. I'll figure out how to get this up to GitHub today! (But first.. I need coffee!) PS: I realize that the comments here are growing quite a bit.. To minimize the chatter in here, I am also on IRC (Freenode network. Name there is "MartynKeigher". Maybe chat to you on there??? |
Hey, The default implementation of this will make the icons "rotate around a relevant point on the tile", instead of "spinning on their own axis" (spin). So to tackle this 'issue' i did the following: Added an additional class in the
Then in my I also slowed the spinning down. Edit
You can also apply the same change to fa-pulse class on line 85 & 86, too. I would make a pull request if I knew how, so if someone wants to do this, then please... go right ahead. Regards, |
I'm going to close this now as a PR was made. Hope it gets pulled into the MASTER branch soon. :) |
Just a note to say I've created anew PR #687 for FontAwesome 4.5.0 |
Hey all,
Just wondering if there were plans to update the FontAwesome (v3.2.1) from the version that is currently part of the master branch still, to the current version. (v4.3.0).
and... if Dashing can (or is going to) be updated to v4.3.0, will I be able to make use of the animated icons too?? If someone else has already got this going, and has a fork to this.. then could you please share??
Thanks.
The text was updated successfully, but these errors were encountered: