Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nypublicradio/nypr-publisher-lib
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.12
Choose a base ref
...
head repository: nypublicradio/nypr-publisher-lib
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 10 commits
  • 5 files changed
  • 3 contributors

Commits on Sep 22, 2021

  1. Copy the full SHA
    46db09c View commit details

Commits on Nov 10, 2021

  1. Merge pull request #70 from nypublicradio/mhearn/new-flatpage-field

    Add superchunkPlusHeadContent field to flatpages model
    mike-hearn authored Nov 10, 2021
    Copy the full SHA
    cb024d2 View commit details
  2. Update CHANGELOG

    mike-hearn committed Nov 10, 2021
    Copy the full SHA
    0738278 View commit details
  3. 0.5.13

    mike-hearn committed Nov 10, 2021
    Copy the full SHA
    1ad74ff View commit details

Commits on Jan 30, 2024

  1. Add transcript links

    walsh9 committed Jan 30, 2024
    Copy the full SHA
    a096f0c View commit details
  2. Merge pull request #75 from nypublicradio/mwalsh/WNYC-45

    Add transcript links
    walsh9 authored Jan 30, 2024
    Copy the full SHA
    c66c9ec View commit details
  3. update changelog

    walsh9 committed Jan 30, 2024
    Copy the full SHA
    e08e20c View commit details
  4. 0.5.14

    walsh9 committed Jan 30, 2024
    Copy the full SHA
    dbcc2e6 View commit details

Commits on Feb 7, 2024

  1. Copy the full SHA
    acd8fef View commit details
  2. Merge pull request #76 from nypublicradio/mwalsh/WNYC-45b

    Move transcript link to be after staff only edit button
    walsh9 authored Feb 7, 2024
    Copy the full SHA
    7e7f11e View commit details
Showing with 20 additions and 2 deletions.
  1. +7 −0 CHANGELOG.md
  2. +2 −1 addon/models/flat-page.js
  3. +4 −0 addon/templates/components/story-tease.hbs
  4. +6 −0 app/styles/nypr-publisher-lib/_story-tease.scss
  5. +1 −1 package.json
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# nypr-publisher-lib Changelog
## 0.5.14

- [ENHANCEMENT] add transcript links to story teases

## 0.5.13

- [ENHANCEMENT] add enhanced content field for flatpages

## 0.5.12

3 changes: 2 additions & 1 deletion addon/models/flat-page.js
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@ export default DS.Model.extend({
// BEGIN-SNIPPET flat-page-fields
url: DS.attr('string'),
title: DS.attr('string'),
content: DS.attr('string')
content: DS.attr('string'),
superchunkHeadPlusContent: DS.attr('string')
// END-SNIPPET
});
4 changes: 4 additions & 0 deletions addon/templates/components/story-tease.hbs
Original file line number Diff line number Diff line change
@@ -92,6 +92,10 @@
{{#if isStaff}}
<a href="{{adminURL}}/{{item.editLink}}" class="story-tease__staff-btn" target="_blank" data-test-selector="admin-link">Edit this</a>
{{/if}}

{{#if item.transcript}}
<a href="{{item.url}}?tab=transcript" class="story-tease__transcript-link">Read Transcript</a>
{{/if}}
</div>
<!-- .btn-group -->

6 changes: 6 additions & 0 deletions app/styles/nypr-publisher-lib/_story-tease.scss
Original file line number Diff line number Diff line change
@@ -282,6 +282,12 @@
@include btn--lightgreen;
}

.story-tease__transcript-link {
font-size: 14px;
border-bottom: 1px solid #f1f1f1;
margin-left: 16px;
}

.story-tease__floating-header {
text-align: left;
position: absolute;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nypr-publisher-lib",
"version": "0.5.12",
"version": "0.5.14",
"description": "NYPR publisher lib.",
"keywords": [
"ember-addon"