Skip to content

Commit

Permalink
feat: add versioning tooltips microcopy
Browse files Browse the repository at this point in the history
  • Loading branch information
wsocha committed Nov 29, 2024
1 parent 59a8037 commit c6830f2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions content/microcopy/reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,17 @@ pill:
Pill added to deprecated endpoints and resources
deprecated: Deprecated

tooltip:
// beta: |-
Tooltip text for the beta pill
beta: This is beta version of the endpoint
// latest_version: |-
Tooltip text for the latest version pill
latest_version: This is the most recent stable version of the endpoint
// deprecated: |-
Tooltip text for the deprecated pill
deprecated: This version of the endpoint is deprecated

sidebar:
titles:
// deprecated_entries: |-
Expand Down
6 changes: 6 additions & 0 deletions content/microcopy/versions.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
// label: The prefix for the selected API version
label: API version

// about: Label of a link to the page about API versioning
about: About Box API versioning

// resource_version_tooltip: Tooltip text for resource version
resource_version_tooltip: This resource is used by endpoints from %s version

Check failure on line 9 in content/microcopy/versions.yml

View workflow job for this annotation

GitHub Actions / lint (18.x)

9:77 [new-line-at-end-of-file] no new line character at the end of file

Check failure on line 9 in content/microcopy/versions.yml

View workflow job for this annotation

GitHub Actions / lint (18.x)

9:77 [new-line-at-end-of-file] no new line character at the end of file

0 comments on commit c6830f2

Please sign in to comment.