Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
0950354
Update upload steps
barbaraperic Nov 6, 2025
d8a690d
refactor: remove unused CSS and enhance focus styles across components
barbaraperic Nov 6, 2025
7b7d5d2
style: enhance UI components with improved hover and cursor styles
barbaraperic Nov 6, 2025
b29deb2
Linter
barbaraperic Nov 6, 2025
e50a2d4
Linter
barbaraperic Nov 6, 2025
a6f509d
test: add storybook to more easily test and show ui changes
SgtPooki Nov 6, 2025
41ad187
Merge branch 'fix/add-tx-prefix-while-awaiting-tx-confirmation' into …
SgtPooki Nov 6, 2025
0319ed2
Update vite.config.ts
SgtPooki Nov 6, 2025
ddc26e7
Update vite.config.ts
SgtPooki Nov 6, 2025
2ce31aa
fix: remove provider overrides (#96)
SgtPooki Nov 6, 2025
b6922a1
Merge pull request #92 from filecoin-project/bp/follow-up-dev-work
barbaraperic Nov 7, 2025
04ec2a2
feat: add UploadButton component for file uploads
barbaraperic Nov 5, 2025
b392827
refactor: replace hardcoded max file size with constant in DragNDrop …
barbaraperic Nov 5, 2025
223cc57
chore: fix upload instructions text for clarity (#98)
juliangruber Nov 8, 2025
4f8fb71
style: enhance UI components with improved layout and responsiveness
barbaraperic Nov 10, 2025
6e1cbec
feat: add dialog component and integrate into sidebar layout
barbaraperic Nov 10, 2025
b6ccd81
Merge pull request #102 from filecoin-project/bp/add-mobile-instructions
barbaraperic Nov 10, 2025
6cbdefe
Merge pull request #93 from filecoin-project/bp/update-upload-steps
barbaraperic Nov 10, 2025
15af919
Merge pull request #87 from filecoin-project/bp/upload-component-compact
barbaraperic Nov 10, 2025
ce428f0
Merge pull request #101 from filecoin-project/bp/fix-responsiveness
barbaraperic Nov 10, 2025
4f09e17
Merge branch 'main' into fix/add-storybook
SgtPooki Nov 10, 2025
60a66d3
chore: merge main and add story
SgtPooki Nov 10, 2025
3c20c1b
fix: make debugDump available on window object (#105)
SgtPooki Nov 12, 2025
a794c4a
fix: use dweb.link not ipfs.io (#107)
SgtPooki Nov 13, 2025
e9110ba
docs: update sidebar to link to new filecoin-pin docs (#108)
BigLep Nov 13, 2025
3a4869a
deps: use filecoin-pin@0.12.0 (#106)
SgtPooki Nov 13, 2025
9dce532
fix: sidebar links and display (#109)
SgtPooki Nov 13, 2025
6aeb71c
fix: upload waits for storageContext (#110)
SgtPooki Nov 13, 2025
da5a434
fix: upload can be clicked before synapse is ready (#111)
SgtPooki Nov 13, 2025
644be71
Update page title to 'Filecoin Pin Demo' in index.html
rjan90 Nov 13, 2025
a6407ad
Merge pull request #113 from filecoin-project/fix-demo-title-00158
rjan90 Nov 13, 2025
1fba464
fix: CAR -> pack for IPFS (#115)
SgtPooki Nov 13, 2025
3459bb9
fix: waits for synapse/storageContext/providerInfo show in uploading …
SgtPooki Nov 13, 2025
109781a
fix: optimize createStorageContext (#118)
SgtPooki Nov 13, 2025
1a67c00
Revert "fix: optimize createStorageContext (#118)"
SgtPooki Nov 13, 2025
cd7dda2
fix: adjust layout and improve card component structure
barbaraperic Nov 14, 2025
e0f4b32
Merge pull request #120 from filecoin-project/bp/ui-fixes
barbaraperic Nov 14, 2025
c894fe3
fix: update CardHeader layout for improved accessibility and alignmen…
barbaraperic Nov 15, 2025
7391518
fix: optimize createStorageContext (for active providers) (#119)
SgtPooki Nov 15, 2025
f5322fe
Merge branch 'main' into fix/add-storybook
SgtPooki Nov 18, 2025
169d801
fix: update stories
SgtPooki Nov 18, 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
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- name: Run lint and format check
run: npm run lint

- name: Run tests
run: npm test

- name: Run typecheck and build
run: npm run build

Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/filecoin-pin-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,6 @@ jobs:
repository: ${{ github.event.workflow_run.repository.full_name }}
run-id: ${{ github.event.workflow_run.id }}

# Temporary allowlist of storage providers that have proven reliable during launch.
# This exists to paper over early stability issues while the wider provider ecosystem
# catches up. Remove once automatic provider discovery is trustworthy again.
# Having a FilOz-approved set of SPs onchain is happening in https://github.com/FilOzone/filecoin-services/issues/291
# This PROVIDER_ID set here will be used by the upload action below to override provider selection.
- name: Select random known good provider
run: |
known_good_provider_ids=(2)
selected_provider_id=${known_good_provider_ids[$RANDOM % ${#known_good_provider_ids[@]}]}
echo "PROVIDER_ID=$selected_provider_id" >> $GITHUB_ENV
echo "Selected known good provider ID: $selected_provider_id"

# Upload to Filecoin using the downloaded build artifacts
# The action will create a CAR file from the downloaded artifacts and upload to Filecoin
- name: Upload to Filecoin
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ next-env.d.ts
# Environment variables
.env
.env.local

*storybook.log
storybook-static
17 changes: 17 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import type { StorybookConfig } from '@storybook/react-vite'

const config: StorybookConfig = {
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
addons: [
'@chromatic-com/storybook',
'@storybook/addon-docs',
'@storybook/addon-onboarding',
'@storybook/addon-a11y',
'@storybook/addon-vitest',
],
framework: {
name: '@storybook/react-vite',
options: {},
},
}
export default config
22 changes: 22 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import type { Preview } from '@storybook/react-vite'
import '../src/index.css'

const preview: Preview = {
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},

a11y: {
// 'todo' - show a11y violations in the test UI only
// 'error' - fail CI on a11y violations
// 'off' - skip a11y checks entirely
test: 'todo',
},
},
}

export default preview
7 changes: 7 additions & 0 deletions .storybook/vitest.setup.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import * as a11yAddonAnnotations from '@storybook/addon-a11y/preview'
import { setProjectAnnotations } from '@storybook/react-vite'
import * as projectAnnotations from './preview.ts'

// This is an important step to apply the right configuration when testing your stories.
// More info at: https://storybook.js.org/docs/api/portable-stories/portable-stories-vitest#setprojectannotations
setProjectAnnotations([a11yAddonAnnotations, projectAnnotations])
4 changes: 3 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
"!**/components.d.ts",
"!**/mockServiceWorker.js",
"!**/cars",
"!**/*.css"
"!**/*.css",
"!**/*.html",
"!**/storybook-static"
]
},
"vcs": {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- TODO: add proper favicon -->
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>filecoin-pin-website</title>
<title>Filecoin Pin Demo</title>
<!-- TODO: add proper meta description -->
<meta name="description" content="Filecoin Pin Website">
<script async src="https://plausible.io/js/pa-DdqgKMNgoi0ZkQCqD5DSZ.js"></script>
Expand Down
Loading