Closed (fixed)
Project:
UpTime Widget (UptimeRobot)
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Dec 2017 at 12:32 UTC
Updated:
22 Feb 2018 at 14:14 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
lolandese commentedComment #3
knyshuk.vova commentedComment #4
stockticker commentedComment #5
stockticker commentedAdded alternative designs for widget types, which can be chosen from widget_block block settings form.
Comment #6
knyshuk.vova commented1. The patch is not applies.
error: cannot apply binary patch to 'images/icons/signal.png' without full index line
error: images/icons/signal.png: patch does not apply
alternative-widget-designs-2933333.patch:505: new blank line at EOF.
2. Use svg icon or font awesome (instead of png) for better styling (for example changing color)
Comment #7
stockticker commentedChanged .png file to .svg and fixed error with index.
Comment #9
lolandese commentedPatch applies cleanly now.
Probably needs an upgrade path using the function hook_update_N. More info.
Now it gives for an existing block:
Another error was fixed by clearing the site cache. As this always makes part of running update.php, this should not be a problem:
Comment #10
lolandese commentedRemove the patch file from the repo.
Comment #11
stockticker commentedShould be fixed now.
Comment #12
knyshuk.vova commentedThe patch fixes the error from #9
Comment #14
knyshuk.vova commentedThe diamond widget style seems broken with ratio 99.99% . Needs additional work.

Comment #15
stockticker commentedPlease review, now it should work correctly with different ratio length.
Comment #16
knyshuk.vova commentedLooks better
Comment #18
knyshuk.vova commentedComment #19
ApacheEx commentedI do not see $config->save()
Pls add a new blank line
Comment #20
stockticker commentedComment #22
knyshuk.vova commentedThe patch fixes issues from #19
Comment #23
lolandese commentedStill not right in the default theme Bartik in the region Sidebar first for the Widget Types circle and diamond (see screenshots).
Comment #24
id.rem.dev commentedMade small css changes to the diamond-styled widget.
Couldn`t reproduce the issue with circle widget. Tried Chrome 64, Chromium 64, Firefox 58.0.1, Opera 50.0: Bartik from D 8.6.x, 8.4.4.
Commit as it is now.
@lolandese, please provide additional info to reproduce and fix it.