Skip to content

Add examples to documentation#240

Merged
Magmusacy merged 11 commits intomainfrom
FCE-2817
Mar 20, 2026
Merged

Add examples to documentation#240
Magmusacy merged 11 commits intomainfrom
FCE-2817

Conversation

@Magmusacy
Copy link
Contributor

Description

Added examples for web/mobile/backend to documentation

@Magmusacy Magmusacy requested a review from Copilot March 17, 2026 12:08
@linear
Copy link

linear bot commented Mar 17, 2026

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Examples section to the Fishjam documentation, with dedicated pages for web/mobile/backend runnable example apps and updated navigation to make them discoverable.

Changes:

  • Added an Examples entry to the home quick navigation and adjusted the card layout to support 3 columns.
  • Introduced new docs pages for Web, Mobile, and Backend examples, and linked to them from quick start tutorials and the docs homepage.
  • Added a new docs/examples sidebar category and adjusted sidebar ordering so API shifts down.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/content/cardItems.ts Adds an “Examples” card to the homepage quick navigation items.
src/components/QuickNavigation/index.tsx Updates card grid sizing/styling hooks to show 3 cards per row.
src/components/QuickNavigation/index.module.css Adjusts card container/column styling to better align/size cards.
docs/tutorials/react-quick-start.mdx Adds a “Explore web examples” link in the next-steps list.
docs/tutorials/react-native-quick-start.mdx Adds a “Explore mobile examples” link in the next-steps list.
docs/tutorials/backend-quick-start.mdx Adds a “Explore backend examples” link in the next-steps list.
docs/index.mdx Adds an “Examples” section to the docs homepage content.
docs/examples/web.mdx New page documenting runnable web example apps and what they demonstrate.
docs/examples/mobile.mdx New page documenting runnable mobile example apps and what they demonstrate.
docs/examples/backend.mdx New page documenting runnable backend/headless example apps and what they demonstrate.
docs/examples/category.json Creates the Examples sidebar category and generated index at /examples.
docs/api/category.json Moves API category position down to accommodate Examples.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@Magmusacy Magmusacy marked this pull request as ready for review March 17, 2026 14:18
@Magmusacy Magmusacy requested a review from czerwiukk March 17, 2026 14:22
sidebar_position: 2
---

# Backend Examples
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue: the same applies here - ts-client lib is not backend code. all the backend related repos are "python-server-sdk" and "js-server-sdk"


## Minimal React

The simplest way to get a video call working in the browser — joining a room, displaying your own camera feed, and showing remote participants. Start here if you're new to Fishjam on the web.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: it's worth mentioning that minimal react requires a peerToken to join the room. it can be generated either by calling room manager api or using server sdks.

sidebar_position: 2
---

# Backend Examples
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue: typescript client is also client code, we can talk today about how are our sdks structured. only backend sdks are python-server-sdk and js-server-sdk

@Magmusacy Magmusacy requested a review from Copilot March 19, 2026 12:24
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an “Examples” area to the Fishjam documentation so readers can quickly find runnable reference apps for React (web) and React Native (mobile).

Changes:

  • Add a new docs/examples section (category + React/React Native example pages).
  • Update the docs homepage navigation (new “Examples” card + 3-column layout) and add an “Examples” section to the landing page.
  • Link to the new examples pages from the React and React Native quick-start tutorials.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/content/cardItems.ts Adds an “Examples” entry to the homepage quick navigation items.
src/components/QuickNavigation/index.tsx Adjusts card grid layout to 3 columns and tweaks heading markup.
src/components/QuickNavigation/index.module.css Updates layout styles to vertically/centrally align card contents.
docs/index.mdx Adds an “Examples” section and updates intro text to mention examples.
docs/examples/category.json Introduces the “Examples” docs category with generated index at /examples.
docs/examples/react.mdx New React (web) runnable examples documentation page.
docs/examples/react-native.mdx New React Native (mobile) runnable examples documentation page.
docs/tutorials/react-quick-start.mdx Adds a “Explore React examples” link in next steps.
docs/tutorials/react-native-quick-start.mdx Adds a “Explore React Native examples” link in next steps.
docs/api/category.json Adjusts sidebar ordering to place API after Examples.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@Magmusacy Magmusacy requested a review from czerwiukk March 19, 2026 14:19
Copy link
Member

@czerwiukk czerwiukk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets go

@Magmusacy Magmusacy merged commit b474fc6 into main Mar 20, 2026
1 check passed
@Magmusacy Magmusacy deleted the FCE-2817 branch March 20, 2026 15:36
Magmusacy added a commit to fishjam-cloud/web-client-sdk that referenced this pull request Mar 24, 2026
## Description

Removed some examples but left the necessary ones

## Motivation and Context

we created another examples repository to host all of the examples so
the ones in here are obsolete

## Documentation impact

- [ ] Documentation update required
- [x] Documentation updated [in another
PR](fishjam-cloud/documentation#240)
- [ ] No documentation update required

## Types of changes

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Breaking change (fix or feature that would cause existing
functionality to
      not work as expected)

---------

Co-authored-by: adrian <33912477+czerwiukk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants