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

alphagov / notifications-admin / 3426
86%
master: 94%

Build:
Build:
LAST BUILD BRANCH: fix-days-provider-history
DEFAULT BRANCH: master
Ran 06 Jun 2016 08:51AM UTC
Jobs 1
Files 54
Run time 4s
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

pending completion
3426

push

travis-ci

quis
Make placeholder look more editable

Depends on:
- [ ] https://github.com/alphagov/notifications-utils/pull/40

In research we’ve noticed two problems with the appearance of
placeholders:

1. We are inconsistent about when we display the ((double brackets)).
   Sometimes we show them, sometimes we don’t. This doesn’t help user’s
   understanding about where the column names in their CSV file come
   from, or how they can edit the template to fix any errors.

2. Because they look so different from normal `<textarea>` text, it’s
   not immediately obvious that they can be edited just like normal
   text. They look more like something that can be dragged/inserted.

So this commit:

1. Makes the brackets always-visible.

2. Makes the text colour of the placeholder `$text-colour`, and only
   highlights the name of the ‘variable’, not the brackets themselves.

1872 of 2167 relevant lines covered (86.39%)

0.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3426.1 (auth_token=[secure]) 06 Jun 2016 08:51AM UTC 0
86.39
Travis Job 3426.1
Source Files on build 3426
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3426
  • 1efe9b12 on github
  • Prev Build on placeholder-appearance (#3388)
  • Next Build on placeholder-appearance (#3446)
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

© 2026 Coveralls, Inc