@botbuddy/react 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/index.d.cts +15 -1
- package/dist/index.d.ts +15 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @botbuddy/react — Changelog
|
|
2
2
|
|
|
3
|
+
## 0.27.0
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- **Merge time, project and a time window on the team's feed (BOT-3724).**
|
|
8
|
+
`ReleaseNoteEntry` gains `merged_at` (UTC ISO, null until every pull request
|
|
9
|
+
merged) and `project` (`ReleaseNoteProject`: `id`, `name`,
|
|
10
|
+
`percent_complete`, else null). The feed accepts `?since=1h|24h|7d|30d|90d|all`
|
|
11
|
+
(`ReleaseNotesSince`), applied on the server before the 200-note limit and
|
|
12
|
+
keyed on `released_at`, else `delivery_since`, else `merged_at`; `filters`
|
|
13
|
+
gains Project, whose values are project ids (`?tag=project:<id>`). The
|
|
14
|
+
customers' feed carries none of these.
|
|
15
|
+
|
|
3
16
|
## 0.26.0
|
|
4
17
|
|
|
5
18
|
### Added
|
package/dist/index.d.cts
CHANGED
|
@@ -149,6 +149,16 @@ interface ReleaseNoteFilter {
|
|
|
149
149
|
label: string;
|
|
150
150
|
values: string[];
|
|
151
151
|
}
|
|
152
|
+
/** BOT-3724: a note's Linear project (the team's feed only; never customers'). */
|
|
153
|
+
interface ReleaseNoteProject {
|
|
154
|
+
/** The project's identifier, e.g. "P-ENT-98"; also the Project filter's value (`?tag=project:<id>`). */
|
|
155
|
+
id: string;
|
|
156
|
+
name: string | null;
|
|
157
|
+
/** 0–100 as of the read, else null. */
|
|
158
|
+
percent_complete: number | null;
|
|
159
|
+
}
|
|
160
|
+
/** BOT-3724: the feed's optional `?since=` window (`all`, or no parameter, is the whole feed). It keys on the latest delivery time: released_at, else delivery_since, else merged_at. */
|
|
161
|
+
type ReleaseNotesSince = "1h" | "24h" | "7d" | "30d" | "90d" | "all";
|
|
152
162
|
/** BOT-3169: `draft_on_your_branch` (local) and `in_this_preview` (preview) mark the viewer's own branch drafts. BOT-3167: `in_staging`. BOT-3168: `released`. BOT-3428: `rolled_back` (production moved back past the change). */
|
|
153
163
|
type ReleaseNoteDeliveryBadge = "not_bound" | "draft_on_branch" | "draft_on_pr" | "merged" | "draft_on_your_branch" | "in_this_preview" | "in_staging" | "released" | "rolled_back";
|
|
154
164
|
/** BOT-3635: the "Try it" part of a pack: where to find the change (an app path or https URL, plus its screen name), what to do, and what to look for. */
|
|
@@ -204,6 +214,10 @@ interface ReleaseNoteEntry {
|
|
|
204
214
|
pack?: ReleaseNotePackView | null;
|
|
205
215
|
/** BOT-3763: the team's feed only: the feature flag that gates the change, else null. Never sent to customers. Absent from older servers. */
|
|
206
216
|
feature_flag?: ReleaseNoteFeatureFlag | null;
|
|
217
|
+
/** BOT-3724: when the note's change merged (UTC ISO; the latest merge of several pull requests), null until every live pull request merged. Absent from older servers. */
|
|
218
|
+
merged_at?: string | null;
|
|
219
|
+
/** BOT-3724: the Linear project of the note's ticket, with % complete as of the read, else null. Absent from older servers. */
|
|
220
|
+
project?: ReleaseNoteProject | null;
|
|
207
221
|
created_at: string;
|
|
208
222
|
updated_at: string;
|
|
209
223
|
}
|
|
@@ -686,4 +700,4 @@ declare function useReleaseNoteAnnouncements({ feed, viewer }: UseReleaseNoteAnn
|
|
|
686
700
|
|
|
687
701
|
declare const RELEASE_NOTES_TOKENS: readonly ReleaseNotesToken[];
|
|
688
702
|
|
|
689
|
-
export { type BotBuddyConfig, type FindItLink, type FindItLinkOptions, MissingReleaseNotes, type MissingReleaseNotesProps, NOTHING_CUSTOMER_FACING, RELEASE_NOTES_TOKENS, RELEASE_RANGE_UNAVAILABLE, RELEASE_SECTION_TITLES, ReleaseFacts, type ReleaseFactsProps, ReleaseHeader, type ReleaseHeaderProps, type ReleaseNoteAnnouncement, type ReleaseNoteAnnouncementEntry, type ReleaseNoteAnnouncementMode, type ReleaseNoteAnnouncementsFeed, type ReleaseNoteBlock, ReleaseNoteBody, type ReleaseNoteBody$1 as ReleaseNoteBodyData, ReleaseNoteCard, type ReleaseNoteCardProps, type ReleaseNoteEntry, type ReleaseNoteExternalEntry, type ReleaseNoteFeatureFlag, type ReleaseNoteFilter, type ReleaseNoteInline, type ReleaseNoteLink, type ReleaseNoteLinkProps, ReleaseNotePack, type ReleaseNotePackProps, type ReleaseNotePackTour, type ReleaseNotePackView, type ReleaseNoteTag, ReleaseNotes, ReleaseNotesAnnouncement, type ReleaseNotesAnnouncementProps, ReleaseNotesBadge, type ReleaseNotesBadgeProps, type ReleaseNotesClassNames, type ReleaseNotesComponents, type ReleaseNotesFeed, type ReleaseNotesProps, type ReleaseNotesSlot, type ReleaseNotesTheme, type ReleaseNotesToken, ReleaseSection, type ReleaseSectionProps, ReleaseView, type ReleaseViewFacts, type ReleaseViewProps, type ReleaseViewPullRequest, type ReleaseViewSections, type TestCase, type TestRun, type TestRunSummary, TestRunWidget, type TestRunWidgetProps, type UseReleaseNoteAnnouncementsOptions, type UseReleaseNoteAnnouncementsState, type UseReleaseNotesOptions, type UseReleaseNotesState, type Verdict, type WidgetMode, type WidgetState, findItLink, isCustomerFacing, missingNoteDraft, releaseCommitUrl, releaseDeployedLine, releaseRunUrl, releaseSections, releaseSummary, releaseTime, safeHref, useDraggable, useRealtimeRefresh, useReleaseNoteAnnouncements, useReleaseNotes, useTestRun, useWidgetAuth };
|
|
703
|
+
export { type BotBuddyConfig, type FindItLink, type FindItLinkOptions, MissingReleaseNotes, type MissingReleaseNotesProps, NOTHING_CUSTOMER_FACING, RELEASE_NOTES_TOKENS, RELEASE_RANGE_UNAVAILABLE, RELEASE_SECTION_TITLES, ReleaseFacts, type ReleaseFactsProps, ReleaseHeader, type ReleaseHeaderProps, type ReleaseNoteAnnouncement, type ReleaseNoteAnnouncementEntry, type ReleaseNoteAnnouncementMode, type ReleaseNoteAnnouncementsFeed, type ReleaseNoteBlock, ReleaseNoteBody, type ReleaseNoteBody$1 as ReleaseNoteBodyData, ReleaseNoteCard, type ReleaseNoteCardProps, type ReleaseNoteEntry, type ReleaseNoteExternalEntry, type ReleaseNoteFeatureFlag, type ReleaseNoteFilter, type ReleaseNoteInline, type ReleaseNoteLink, type ReleaseNoteLinkProps, ReleaseNotePack, type ReleaseNotePackProps, type ReleaseNotePackTour, type ReleaseNotePackView, type ReleaseNoteProject, type ReleaseNoteTag, ReleaseNotes, ReleaseNotesAnnouncement, type ReleaseNotesAnnouncementProps, ReleaseNotesBadge, type ReleaseNotesBadgeProps, type ReleaseNotesClassNames, type ReleaseNotesComponents, type ReleaseNotesFeed, type ReleaseNotesProps, type ReleaseNotesSince, type ReleaseNotesSlot, type ReleaseNotesTheme, type ReleaseNotesToken, ReleaseSection, type ReleaseSectionProps, ReleaseView, type ReleaseViewFacts, type ReleaseViewProps, type ReleaseViewPullRequest, type ReleaseViewSections, type TestCase, type TestRun, type TestRunSummary, TestRunWidget, type TestRunWidgetProps, type UseReleaseNoteAnnouncementsOptions, type UseReleaseNoteAnnouncementsState, type UseReleaseNotesOptions, type UseReleaseNotesState, type Verdict, type WidgetMode, type WidgetState, findItLink, isCustomerFacing, missingNoteDraft, releaseCommitUrl, releaseDeployedLine, releaseRunUrl, releaseSections, releaseSummary, releaseTime, safeHref, useDraggable, useRealtimeRefresh, useReleaseNoteAnnouncements, useReleaseNotes, useTestRun, useWidgetAuth };
|
package/dist/index.d.ts
CHANGED
|
@@ -149,6 +149,16 @@ interface ReleaseNoteFilter {
|
|
|
149
149
|
label: string;
|
|
150
150
|
values: string[];
|
|
151
151
|
}
|
|
152
|
+
/** BOT-3724: a note's Linear project (the team's feed only; never customers'). */
|
|
153
|
+
interface ReleaseNoteProject {
|
|
154
|
+
/** The project's identifier, e.g. "P-ENT-98"; also the Project filter's value (`?tag=project:<id>`). */
|
|
155
|
+
id: string;
|
|
156
|
+
name: string | null;
|
|
157
|
+
/** 0–100 as of the read, else null. */
|
|
158
|
+
percent_complete: number | null;
|
|
159
|
+
}
|
|
160
|
+
/** BOT-3724: the feed's optional `?since=` window (`all`, or no parameter, is the whole feed). It keys on the latest delivery time: released_at, else delivery_since, else merged_at. */
|
|
161
|
+
type ReleaseNotesSince = "1h" | "24h" | "7d" | "30d" | "90d" | "all";
|
|
152
162
|
/** BOT-3169: `draft_on_your_branch` (local) and `in_this_preview` (preview) mark the viewer's own branch drafts. BOT-3167: `in_staging`. BOT-3168: `released`. BOT-3428: `rolled_back` (production moved back past the change). */
|
|
153
163
|
type ReleaseNoteDeliveryBadge = "not_bound" | "draft_on_branch" | "draft_on_pr" | "merged" | "draft_on_your_branch" | "in_this_preview" | "in_staging" | "released" | "rolled_back";
|
|
154
164
|
/** BOT-3635: the "Try it" part of a pack: where to find the change (an app path or https URL, plus its screen name), what to do, and what to look for. */
|
|
@@ -204,6 +214,10 @@ interface ReleaseNoteEntry {
|
|
|
204
214
|
pack?: ReleaseNotePackView | null;
|
|
205
215
|
/** BOT-3763: the team's feed only: the feature flag that gates the change, else null. Never sent to customers. Absent from older servers. */
|
|
206
216
|
feature_flag?: ReleaseNoteFeatureFlag | null;
|
|
217
|
+
/** BOT-3724: when the note's change merged (UTC ISO; the latest merge of several pull requests), null until every live pull request merged. Absent from older servers. */
|
|
218
|
+
merged_at?: string | null;
|
|
219
|
+
/** BOT-3724: the Linear project of the note's ticket, with % complete as of the read, else null. Absent from older servers. */
|
|
220
|
+
project?: ReleaseNoteProject | null;
|
|
207
221
|
created_at: string;
|
|
208
222
|
updated_at: string;
|
|
209
223
|
}
|
|
@@ -686,4 +700,4 @@ declare function useReleaseNoteAnnouncements({ feed, viewer }: UseReleaseNoteAnn
|
|
|
686
700
|
|
|
687
701
|
declare const RELEASE_NOTES_TOKENS: readonly ReleaseNotesToken[];
|
|
688
702
|
|
|
689
|
-
export { type BotBuddyConfig, type FindItLink, type FindItLinkOptions, MissingReleaseNotes, type MissingReleaseNotesProps, NOTHING_CUSTOMER_FACING, RELEASE_NOTES_TOKENS, RELEASE_RANGE_UNAVAILABLE, RELEASE_SECTION_TITLES, ReleaseFacts, type ReleaseFactsProps, ReleaseHeader, type ReleaseHeaderProps, type ReleaseNoteAnnouncement, type ReleaseNoteAnnouncementEntry, type ReleaseNoteAnnouncementMode, type ReleaseNoteAnnouncementsFeed, type ReleaseNoteBlock, ReleaseNoteBody, type ReleaseNoteBody$1 as ReleaseNoteBodyData, ReleaseNoteCard, type ReleaseNoteCardProps, type ReleaseNoteEntry, type ReleaseNoteExternalEntry, type ReleaseNoteFeatureFlag, type ReleaseNoteFilter, type ReleaseNoteInline, type ReleaseNoteLink, type ReleaseNoteLinkProps, ReleaseNotePack, type ReleaseNotePackProps, type ReleaseNotePackTour, type ReleaseNotePackView, type ReleaseNoteTag, ReleaseNotes, ReleaseNotesAnnouncement, type ReleaseNotesAnnouncementProps, ReleaseNotesBadge, type ReleaseNotesBadgeProps, type ReleaseNotesClassNames, type ReleaseNotesComponents, type ReleaseNotesFeed, type ReleaseNotesProps, type ReleaseNotesSlot, type ReleaseNotesTheme, type ReleaseNotesToken, ReleaseSection, type ReleaseSectionProps, ReleaseView, type ReleaseViewFacts, type ReleaseViewProps, type ReleaseViewPullRequest, type ReleaseViewSections, type TestCase, type TestRun, type TestRunSummary, TestRunWidget, type TestRunWidgetProps, type UseReleaseNoteAnnouncementsOptions, type UseReleaseNoteAnnouncementsState, type UseReleaseNotesOptions, type UseReleaseNotesState, type Verdict, type WidgetMode, type WidgetState, findItLink, isCustomerFacing, missingNoteDraft, releaseCommitUrl, releaseDeployedLine, releaseRunUrl, releaseSections, releaseSummary, releaseTime, safeHref, useDraggable, useRealtimeRefresh, useReleaseNoteAnnouncements, useReleaseNotes, useTestRun, useWidgetAuth };
|
|
703
|
+
export { type BotBuddyConfig, type FindItLink, type FindItLinkOptions, MissingReleaseNotes, type MissingReleaseNotesProps, NOTHING_CUSTOMER_FACING, RELEASE_NOTES_TOKENS, RELEASE_RANGE_UNAVAILABLE, RELEASE_SECTION_TITLES, ReleaseFacts, type ReleaseFactsProps, ReleaseHeader, type ReleaseHeaderProps, type ReleaseNoteAnnouncement, type ReleaseNoteAnnouncementEntry, type ReleaseNoteAnnouncementMode, type ReleaseNoteAnnouncementsFeed, type ReleaseNoteBlock, ReleaseNoteBody, type ReleaseNoteBody$1 as ReleaseNoteBodyData, ReleaseNoteCard, type ReleaseNoteCardProps, type ReleaseNoteEntry, type ReleaseNoteExternalEntry, type ReleaseNoteFeatureFlag, type ReleaseNoteFilter, type ReleaseNoteInline, type ReleaseNoteLink, type ReleaseNoteLinkProps, ReleaseNotePack, type ReleaseNotePackProps, type ReleaseNotePackTour, type ReleaseNotePackView, type ReleaseNoteProject, type ReleaseNoteTag, ReleaseNotes, ReleaseNotesAnnouncement, type ReleaseNotesAnnouncementProps, ReleaseNotesBadge, type ReleaseNotesBadgeProps, type ReleaseNotesClassNames, type ReleaseNotesComponents, type ReleaseNotesFeed, type ReleaseNotesProps, type ReleaseNotesSince, type ReleaseNotesSlot, type ReleaseNotesTheme, type ReleaseNotesToken, ReleaseSection, type ReleaseSectionProps, ReleaseView, type ReleaseViewFacts, type ReleaseViewProps, type ReleaseViewPullRequest, type ReleaseViewSections, type TestCase, type TestRun, type TestRunSummary, TestRunWidget, type TestRunWidgetProps, type UseReleaseNoteAnnouncementsOptions, type UseReleaseNoteAnnouncementsState, type UseReleaseNotesOptions, type UseReleaseNotesState, type Verdict, type WidgetMode, type WidgetState, findItLink, isCustomerFacing, missingNoteDraft, releaseCommitUrl, releaseDeployedLine, releaseRunUrl, releaseSections, releaseSummary, releaseTime, safeHref, useDraggable, useRealtimeRefresh, useReleaseNoteAnnouncements, useReleaseNotes, useTestRun, useWidgetAuth };
|
package/package.json
CHANGED