• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wikimedia / svgtranslate
78%
master: 72%

Build:
Build:
LAST BUILD BRANCH: upload-urls-T224265
DEFAULT BRANCH: master
Repo Added 26 Oct 2018 08:49PM UTC
Files 18
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH image-preview-T207203
branch: image-preview-T207203
CHANGE BRANCH
x
Reset
  • image-preview-T207203
  • coveralls-2
  • docker-webpack
  • fallback
  • fontstack
  • lang-switching-T207709
  • letter-spacing-T212293
  • lighttpd_accesslog
  • master
  • partial-translations-T210872
  • remaining-updates-T212270
  • rsvg-rendering
  • svg-warnings
  • ui-fixes
  • ui-fixes-T206712
  • update-dependencies
  • update_dependencies
  • url-normalization
  • zoom-and-pan

pending completion
454

push

travis-ci

samwilson
Add auto-preview of image as labels are changed

This adds functionality to be able to live-preview translations as
they're changed in the form. To do this, it updates the API to be
able to first receive (via POST) a new set of translations, which
are then added to the SVG file and a PNG rendered out to the
filesystem. Then, when a 2nd request (GET this time) is received
for that rendered PNG file, it's returned. This is done by creating
a temporary unique identifier for the file (based on the submitted
translations).

The front-end is modified to make this first request, and when it
receives the response all it has to do is update the image's src
attribute and the 2nd request happens.

The process of adding these strings back into SvgFile was a bit
cumbersome, so a new method SvgFile::setTranslations() was
added, which handles adding the new text and tspan node info.

Tests were updated, but the broken controller test remains for
the time being.

Bug: https://phabricator.wikimedia.org/T207203

488 of 628 relevant lines covered (77.71%)

3.53 hits per line

Relevant lines Covered
Build:
Build:
628 RELEVANT LINES 488 COVERED LINES
3.53 HITS PER LINE
Source Files on image-preview-T207203
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
454 image-preview-T207203 Add auto-preview of image as labels are changed This adds functionality to be able to live-preview translations as they're changed in the form. To do this, it updates the API to be able to first receive (via POST) a new set of translations, which... push 09 Jan 2019 07:20PM UTC samwilson travis-ci pending completion  
455 image-preview-T207203 Add auto-preview of image as labels are changed This adds functionality to be able to live-preview translations as they're changed in the form. To do this, it updates the API to be able to first receive (via POST) a new set of translations, which... Pull #42 09 Jan 2019 07:20PM UTC web-flow travis-ci pending completion  
452 image-preview-T207203 Add auto-preview of image as labels are changed This adds functionality to be able to live-preview translations as they're changed in the form. To do this, it updates the API to be able to first receive (via POST) a new set of translations, which... push 09 Jan 2019 07:20PM UTC samwilson travis-ci-com pending completion  
453 image-preview-T207203 Add auto-preview of image as labels are changed This adds functionality to be able to live-preview translations as they're changed in the form. To do this, it updates the API to be able to first receive (via POST) a new set of translations, which... Pull #42 09 Jan 2019 07:19PM UTC web-flow travis-ci-com pending completion  
451 image-preview-T207203 Add auto-preview of image as labels are changed This adds functionality to be able to live-preview translations as they're changed in the form. To do this, it updates the API to be able to first receive (via POST) a new set of translations, which... Pull #42 08 Jan 2019 11:14PM UTC web-flow travis-ci pending completion  
450 image-preview-T207203 Add auto-preview of image as labels are changed This adds functionality to be able to live-preview translations as they're changed in the form. To do this, it updates the API to be able to first receive (via POST) a new set of translations, which... push 08 Jan 2019 10:58PM UTC samwilson travis-ci pending completion  
448 image-preview-T207203 Add auto-preview of image as labels are changed This adds functionality to be able to live-preview translations as they're changed in the form. To do this, it updates the API to be able to first receive (via POST) a new set of translations, which... push 08 Jan 2019 10:06PM UTC samwilson travis-ci-com pending completion  
449 image-preview-T207203 Add auto-preview of image as labels are changed This adds functionality to be able to live-preview translations as they're changed in the form. To do this, it updates the API to be able to first receive (via POST) a new set of translations, which... Pull #42 08 Jan 2019 10:05PM UTC web-flow travis-ci-com pending completion  
444 image-preview-T207203 Add auto-preview of image as labels are changed This adds functionality to be able to live-preview translations as they're changed in the form. To do this, it updates the API to be able to first receive (via POST) a new set of translations, which... Pull #42 08 Jan 2019 09:23PM UTC web-flow travis-ci-com pending completion  
444 image-preview-T207203 Add auto-preview of image as labels are changed This adds functionality to be able to live-preview translations as they're changed in the form. To do this, it updates the API to be able to first receive (via POST) a new set of translations, which... Pull #42 07 Jan 2019 10:41PM UTC web-flow travis-ci pending completion  
See All Builds (296)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc