Skip to content

Commit 6ec4912

Browse files
committed
Merge branch 'master' into buenaflor-patch-1
2 parents 7a1f9a8 + 40bfe16 commit 6ec4912

File tree

346 files changed

+6168
-3232
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

346 files changed

+6168
-3232
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: "📝 SDK Documentation"
2+
labels: ["Type: Content", "SDKs"]
3+
description: Missing, incorrect, or unclear documentation of SDKs.
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |-
8+
Is the documentation issue something you know how to fix? Consider contributing to Open Source by opening a PR to fix it instead!
9+
- type: dropdown
10+
id: area
11+
attributes:
12+
label: SDK
13+
description: Which SDK documentation are we talking about?
14+
options:
15+
- Android SDK
16+
- Apple SDK
17+
- Dart SDK
18+
- Elixir SDK
19+
- Flutter SDK
20+
- Go SDK
21+
- Java SDK
22+
- JavaScript SDK
23+
- Kotlin Multiplatform SDK
24+
- Native SDK
25+
- .NET SDK
26+
- PHP SDK
27+
- PowerShell SDK
28+
- Python SDK
29+
- React Native SDK
30+
- Ruby SDK
31+
- Rust SDK
32+
- Unity SDK
33+
- Unreal Engine SDK
34+
- Sentry CLI
35+
- All JavaScript SDKs
36+
- All Backend SDKs
37+
- All Mobile SDKs
38+
- All Gaming SDKs
39+
- All SDKs
40+
- Other
41+
validations:
42+
required: true
43+
- type: textarea
44+
id: description
45+
attributes:
46+
label: Description
47+
description: What were you looking for/trying to do/expecting?
48+
validations:
49+
required: true
50+
- type: textarea
51+
id: solution
52+
attributes:
53+
label: Suggested Solution
54+
description: If you have an idea on how we can solve this, please share.
55+
validations:
56+
required: false
57+
- type: markdown
58+
attributes:
59+
value: |-
60+
## Thanks 🙏
61+
Check our [triage docs](https://open.sentry.io/triage/) for what to expect next.
Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,16 @@
1-
name: "📝 Docs Content"
2-
labels: "Type: Content"
3-
description: Missing, incorrect, unclear documentation or code samples.
1+
name: "📝 Product Documentation"
2+
labels: ["Type: Content", "Product"]
3+
description: Missing, incorrect, or unclear documentation of product features.
44
body:
55
- type: markdown
66
attributes:
77
value: |-
88
Is the documentation issue something you know how to fix? Consider contributing to Open Source by opening a PR to fix it instead!
9-
- type: dropdown
10-
id: area
11-
attributes:
12-
label: Core or SDK?
13-
description: What part of the Sentry documentation are we talking about?
14-
options:
15-
- Core Sentry product
16-
- Platform/SDK
17-
validations:
18-
required: true
199
- type: input
2010
id: area-specific
2111
attributes:
2212
label: Which part? Which one?
23-
description: Which area of the core Sentry product, or which platform/SDK?
13+
description: Which area of the core Sentry product?
2414
validations:
2515
required: true
2616
- type: textarea
@@ -42,5 +32,3 @@ body:
4232
value: |-
4333
## Thanks 🙏
4434
Check our [triage docs](https://open.sentry.io/triage/) for what to expect next.
45-
validations:
46-
required: false
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
name: 'Tag issue with SDK label'
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
add_labels:
9+
name: Add package label
10+
runs-on: ubuntu-latest
11+
if: ${{ !github.event.issue.pull_request }}
12+
steps:
13+
- name: Get SDK name from issue body
14+
# https://github.com/actions-ecosystem/action-regex-match
15+
uses: actions-ecosystem/action-regex-match@v2
16+
id: packageName
17+
with:
18+
# Parse used package from issue body
19+
text: ${{ github.event.issue.body }}
20+
regex: '### SDK\n\n(.*)\n\n'
21+
22+
- name: Map package to issue label
23+
# https://github.com/kanga333/variable-mapper
24+
uses: kanga333/[email protected]
25+
id: packageLabel
26+
if: steps.packageName.outputs.match != ''
27+
with:
28+
key: '${{ steps.packageName.outputs.group1 }}'
29+
# Note: Since this is handled as a regex, and JSON parse wrangles slashes /, we just use `.` instead
30+
map: |
31+
{
32+
"Android.SDK": {
33+
"label": "Platform: Android"
34+
},
35+
"Apple.SDK": {
36+
"label": "Platform: Cocoa"
37+
},
38+
"Dart.SDK": {
39+
"label": "Platform: Dart"
40+
},
41+
"Elixir.SDK": {
42+
"label": "Platform: Elixir"
43+
},
44+
"Flutter.SDK": {
45+
"label": "Platform: Flutter"
46+
},
47+
"Go.SDK": {
48+
"label": "Platform: Go"
49+
},
50+
"Java.SDK": {
51+
"label": "Platform: Java"
52+
},
53+
"JavaScript.SDK": {
54+
"label": "Platform: JavaScript"
55+
},
56+
"Kotlin.Multiplatform.SDK": {
57+
"label": "Platform: KMP"
58+
},
59+
"Native.SDK": {
60+
"label": "Platform: Native"
61+
},
62+
".NET.SDK": {
63+
"label": "Platform: .NET"
64+
},
65+
"PHP.SDK": {
66+
"label": "Platform: PHP"
67+
},
68+
"PowerShell.SDK": {
69+
"label": "Platform: PowerShell"
70+
},
71+
"Python.SDK": {
72+
"label": "Platform: Python"
73+
},
74+
"React.Native.SDK": {
75+
"label": "Platform: React Native"
76+
},
77+
"Ruby.SDK": {
78+
"label": "Platform: Ruby"
79+
},
80+
"Rust.SDK": {
81+
"label": "Platform: Rust"
82+
},
83+
"Unity.SDK": {
84+
"label": "Platform: Unity"
85+
},
86+
"Unreal.Engine.SDK": {
87+
"label": "Platform: Unreal"
88+
},
89+
"Sentry.CLI": {
90+
"label": "Platform: CLI"
91+
},
92+
"All.JavaScript.SDKs": {
93+
"label": "Team: Web Frontend SDKs"
94+
},
95+
"All.Backend.SDKs": {
96+
"label": "Team: Web Backend SDKs"
97+
},
98+
"All.Gaming.SDKs": {
99+
"label": "Team: Web Backend SDKs"
100+
},
101+
"All.Mobile.SDKs": {
102+
"label": "Team: Mobile Platform"
103+
},
104+
"All.SDKs": {
105+
"label": "Team: SDKs"
106+
},
107+
"Other": {
108+
"label": "Team: SDKs"
109+
}
110+
}
111+
export_to: output
112+
113+
- name: Add package label if applicable
114+
# Note: We only add the label if the issue is still open
115+
if: steps.packageLabel.outputs.label != ''
116+
uses: actions-ecosystem/action-add-labels@v1
117+
with:
118+
labels: ${{ steps.packageLabel.outputs.label }}

.github/workflows/prepare-release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ on:
88
force:
99
description: Force a release even when there are release-blockers (optional)
1010
required: false
11-
schedule:
12-
# This is when we release the self-hosted repo
13-
- cron: "1 18 15 * *"
1411
jobs:
1512
release:
1613
runs-on: ubuntu-latest

app/[[...path]]/page.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import {isDeveloperDocs} from 'sentry-docs/isDeveloperDocs';
1919
import {getDevDocsFrontMatter, getDocsFrontMatter, getFileBySlug} from 'sentry-docs/mdx';
2020
import {mdxComponents} from 'sentry-docs/mdxComponents';
2121
import {setServerContext} from 'sentry-docs/serverContext';
22-
import {formatGuideOrPlatformTitle} from 'sentry-docs/utils';
2322

2423
export async function generateStaticParams() {
2524
const docs = await (isDeveloperDocs ? getDevDocsFrontMatter() : getDocsFrontMatter());
@@ -141,9 +140,7 @@ export async function generateMetadata({params}: MetadataProps): Promise<Metadat
141140
const guideOrPlatform = getCurrentPlatformOrGuide(rootNode, params.path);
142141
title =
143142
pageNode.frontmatter.title +
144-
(guideOrPlatform
145-
? ` | Sentry for ${formatGuideOrPlatformTitle(guideOrPlatform.name)}`
146-
: '');
143+
(guideOrPlatform ? ` | Sentry for ${guideOrPlatform.title}` : '');
147144
description = pageNode.frontmatter.description ?? '';
148145
}
149146
}

app/globals.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
--foreground-secondary: var(--gray-11);
1313
--accent: var(--accent-purple);
1414
--foreground: var(--gray-12);
15+
--cursor-checkbox: pointer;
1516
::selection {
1617
background-color: var(--accent-a7);
1718
}

apps/changelog/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@radix-ui/react-icons": "^1.3.0",
2222
"@radix-ui/react-toolbar": "^1.0.4",
2323
"@radix-ui/themes": "^2.0.3",
24-
"@sentry/nextjs": "8.20.0",
24+
"@sentry/nextjs": "8.29.0",
2525
"@spotlightjs/spotlight": "^2.1.1",
2626
"next": "^15.0.0-canary.83",
2727
"next-auth": "^4.24.5",

apps/changelog/public/favicon.ico

-6.27 KB
Binary file not shown.
-750 Bytes
Loading

apps/changelog/src/client/components/navbar.tsx

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -492,38 +492,10 @@ const NAV_ITEMS: NavItemsProps[] = [
492492
{
493493
id: 'blog',
494494
title: 'Blog',
495-
type: 'button',
495+
type: 'a',
496+
to: 'https://blog.sentry.io',
496497
variant: 'ghost',
497498
className: '',
498-
children: [
499-
{
500-
id: 'blogMenu',
501-
title: '',
502-
children: [
503-
{
504-
id: 'sentryBlog',
505-
title: 'Sentry Blog',
506-
to: 'https://blog.sentry.io/',
507-
variant: 'ghost',
508-
type: 'a',
509-
},
510-
{
511-
id: 'enggBlog',
512-
title: 'Engineering Blog',
513-
to: 'https://sentry.engineering/',
514-
variant: 'ghost',
515-
type: 'a',
516-
},
517-
{
518-
id: 'changelog',
519-
title: 'Changelog',
520-
to: 'https://sentry.io/changelog/',
521-
variant: 'ghost',
522-
type: 'a',
523-
},
524-
],
525-
},
526-
],
527499
},
528500
{
529501
id: 'sandbox',

0 commit comments

Comments
 (0)