feat: public API, SEO and existing surfaces
This commit is contained in:
1 parent
45fbbc33b1
commit
c390fcfe8d
103 files changed
+4476
-231
No files matched your search
@@ -8,9 +8,9 @@ Feature: Media field usage in the Media library
|
||||
And API errors are plain text
|
||||
And this slice changes only web/ (and web/visual); the backend of features/media_field_type.feature is done and not touched
|
||||
And the design is docs/design/media-field.md section 3.8 and section 4, with the board group "11 Media library: usage" (4 states) of "RenewCMS Screens Schema.dc.html", which draws MediaFrame.dc.html with entries counted as uses
|
||||
And GET /v1/media/ items carry "used_in", which counts articles, authors, sites and entries together, and no split
|
||||
And GET /v1/media/ items carry "used_in", which counts articles by story (a story once), authors, sites and entries together, and no split
|
||||
And GET /v1/media/{id}/usage answers an array ordered articles, authors, sites, then entries by content type name then entry id, with no total and no "first few" wrapper
|
||||
And an article item is {"type":"article","id","title","published","fields"}
|
||||
And an article item is {"type":"article","id","title","published","fields","story_id","lang"}, one per version, and the SPA groups article items by story_id
|
||||
And an entry item is {"type":"entry","id","fields","content_type_key","content_type_name","first_field":{"key","type","value"}} with no title and no published, and first_field absent when the type has no first field
|
||||
And the SPA keeps the first 3 entry items, counts the rest, and derives the entry title from first_field with the title rules of the entry list (see "Entry title in the usage lists")
|
||||
And deleting a used image stays allowed; entries keep the id and show "This image is no longer in the library"
|
||||
@@ -152,6 +152,7 @@ Feature: Media field usage in the Media library
|
||||
Scenario: The articles heading counts articles only
|
||||
Given lime-plaster.jpg has used_in 7 (2 articles, 5 entries)
|
||||
Then the heading reads "Used in 2 articles" and never "Used in 7 articles"
|
||||
And articles are grouped by story_id, not by item, so several versions of one story count as one article
|
||||
|
||||
Scenario: Entry link keyboard and focus
|
||||
Given the panel of lime-plaster.jpg is open
|
||||
@@ -231,7 +232,7 @@ Feature: Media field usage in the Media library
|
||||
And the entry rows show the type name and the title and are not links in the dialog (decision D10)
|
||||
|
||||
Scenario Outline: The wording by what uses the image
|
||||
Given an image "lime-plaster.jpg" with <articles> articles and <entries> entries in its loaded usage
|
||||
Given an image "lime-plaster.jpg" with <articles> articles (the number of distinct stories, plus unassigned articles) and <entries> entries in its loaded usage
|
||||
Then the title is "<title>"
|
||||
And the description reads <description>
|
||||
|
||||
|
||||
Reference in new issue
Block a user