8000 [Docs][Site] + [Dashboard][UI] - Adds docs to Stack Companion by madster456 · Pull Request #869 · stack-auth/stack-auth · GitHub
[go: up one dir, main page]

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
3b63c39
Remove new dashboard generated docs from content
madster456 Aug 12, 2025
fd54409
adding custom docs source for dashboard docs
madster456 Aug 12, 2025
7a77039
update generate-docs script for new dashboard docs, and source.config…
madster456 Aug 12, 2025
6081abc
Init dashboard docs
madster456 Aug 12, 2025
04df696
add CORS policy for local development of docs in stack-companion
madster456 Aug 13, 2025
4b0d133
dashboard iframe docs
madster456 Aug 13, 2025
db86383
iframe widget for docs
madster456 Aug 13, 2025
d68d184
stack-companion updated to use docs widget
madster456 Aug 13, 2025
1d901f3
Update global css to handle iframe embeds properly
madster456 Aug 13, 2025
e1e5df7
merge origin/dev into stack-companion-docs
madster456 Aug 22, 2025
dde5282
embedded docs
madster456 Aug 27, 2025
ca42d6c
Merge origin/dev into stack-companion-docs
madster456 Aug 29, 2025
f57db97
Merge dev into stack-companion-docs
N2D4 Aug 31, 2025
0741d5d
Merge dev into stack-companion-docs
N2D4 Sep 1, 2025
8e05a57
Embedded sidebar for iframe, ease of navigation within docs
madster456 Sep 2, 2025
0d8d00b
Single source for docs widget, updated iframe functionality
madster456 Sep 2, 2025
d2e75d1
Redirect to overview now if no slug found, and added new embedded sid…
madster456 Sep 2, 2025
7ff0db9
Export accordion for use elsewhere
madster456 Sep 2, 2025
2e83268
Remove old crap I dont need for this anymore. Went different route
madster456 Sep 2, 2025
602980a
Merge dev into stack-companion-docs
N2D4 Sep 2, 2025
1c14047
Merge dev into stack-companion-docs
N2D4 Sep 3, 2025
fa20e71
Merge dev into stack-companion-docs
N2D4 Sep 4, 2025
2e01464
lint
madster456 Sep 4, 2025
5760b90
Updates
madster456 Sep 5, 2025
423e2c8
Merge dev into stack-companion-docs
N2D4 Sep 5, 2025
41b2876
Merge dev into stack-companion-docs
N2D4 Sep 6, 2025
46f5284
Merge dev into stack-companion-docs
N2D4 Sep 9, 2025
b624047
Merge dev into stack-companion-docs
N2D4 Sep 10, 2025
b32b313
Merge dev into stack-companion-docs
N2D4 Sep 11, 2025
7128709
Merge dev into stack-companion-docs
N2D4 Sep 12, 2025
7816309
Merge dev into stack-companion-docs
N2D4 Sep 13, 2025
03247db
Merge dev into stack-companion-docs
N2D4 Sep 15, 2025
ca8cb5c
Merge dev into stack-companion-docs
N2D4 Sep 16, 2025
238f1fc
Merge dev into stack-companion-docs
N2D4 Sep 17, 2025
cfe9d7b
Merge dev into stack-companion-docs
N2D4 Sep 20, 2025
c6d791c
Merge dev into stack-companion-docs
N2D4 Sep 21, 2025
4d23970
Merge dev into stack-companion-docs
N2D4 Sep 25, 2025
773e024
Merge dev into stack-companion-docs
N2D4 Sep 27, 2025
bac98f0
Merge dev into stack-companion-docs
N2D4 Sep 29, 2025
6306e59
Merge dev into stack-companion-docs
N2D4 Sep 30, 2025
26114c8
Merge dev into stack-companion-docs
N2D4 Oct 2, 2025
80c41ce
Merge dev into stack-companion-docs
N2D4 Oct 3, 2025
ba5f23e
Merge dev into stack-companion-docs
N2D4 Oct 4, 2025
06491ff
Merge dev into stack-companion-docs
N2D4 Oct 7, 2025
dcb8955
Merge dev into stack-companion-docs
N2D4 Oct 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/dashboard/.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ NEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY=# enter your Stack publishable client k
STACK_SECRET_SERVER_KEY=# enter your Stack secret client key here. For local development, do the same as above
NEXT_PUBLIC_STACK_EXTRA_REQUEST_HEADERS=# a list of extra request headers to add to all Stack Auth API requests, as a JSON record
NEXT_PUBLIC_STACK_STRIPE_PUBLISHABLE_KEY=# enter your Stripe publishable key here
NEXT_PUBLIC_STACK_DOCS_BASE_URL=https://docs.stack-auth.com

# Webhooks
NEXT_PUBLIC_STACK_SVIX_SERVER_URL=# For prod, leave it empty. For local development, use `http://localhost:8113`
Expand Down
1 change: 1 addition & 0 deletions apps/dashboard/.env.development
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
NEXT_PUBLIC_STACK_API_URL=http://localhost:8102
NEXT_PUBLIC_STACK_DOCS_BASE_URL=http://localhost:8104

NEXT_PUBLIC_STACK_PROJECT_ID=internal
NEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY=this-publishable-client-key-is-for-local-development-only
Expand Down
22 changes: 2 additions & 20 deletions apps/dashboard/src/components/stack-companion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import packageJson from '../../package.json';
import { FeedbackForm } from './feedback-form';
import { ChangelogWidget } from './stack-companion/changelog-widget';
import { FeatureRequestBoard } from './stack-companion/feature-request-board';
import { UnifiedDocsWidget } from './stack-companion/unified-docs-widget';

type StackCompanionProps = {
className?: string,
Expand Down Expand Up @@ -362,26 +363,7 @@ export function StackCompanion({ className, onExpandedChange }: StackCompanionPr
}
`}</style>
{activeItem === 'docs' && (
<div className="space-y-3">
<button
onClick={() => window.open('https://docs.stack-auth.com', '_blank')}
className="w-full bg-muted/30 hover:bg-muted/50 rounded-lg p-4 text-center transition-colors cursor-pointer group"
>
<BookOpen className="h-6 w-6 mx-auto mb-2 text-blue-600 group-hover:text-blue-700" />
<p className="text-xs text-foreground group-hover:text-blue-600 font-medium">
Access Stack Auth Documentation
</p>
<p className="text-[10px] text-muted-foreground mt-1">
Click to open docs.stack-auth.com
</p>
</button>

<div className="text-center">
<p className="text-[10px] text-muted-foreground italic">
Interactive dashboard docs coming soon
</p>
</div>
</div>
<UnifiedDocsWidget isActive={true} />
)}

{activeItem === 'feedback' && (
Expand Down
Loading
Loading
0