Skip to content

chore: import console #139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 209 commits into from
Apr 16, 2025
Merged

chore: import console #139

merged 209 commits into from
Apr 16, 2025

Conversation

fforbeck
Copy link
Member

@fforbeck fforbeck commented Feb 5, 2025

Changes

  • Import https://github.com/storacha/console with git history
  • Install @nx/next plugin
  • Fix app configs to run it
    • Sentry
    • Tailwind
    • Nx
  • pnpm tasks
    • dev
    • build
    • start
    • test
    • lint
    • pages:build
  • E2E test
    • Minor fix in the SpaceCreator component

Tasks to be tackled in another PR

  • Fix warning after app initialization
     ✓ Ready in 14.6s
     ○ Compiling /page ...
     ⚠ ../../node_modules/.pnpm/[email protected]/node_modules/require-in-the-middle/index.js
     Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
  • pages:watch: It wasn't working before, so I won't dive into that now because we will probably move away from pages and use the new build with workers from CF.
  • pages:dev: It wasn't working before as well, so won't be fixed in this PR.
  • NX CI Config

Resolves storacha/project-tracking#250

travis and others added 30 commits October 2, 2023 14:01
Details:
  C3 = [email protected]
  project name = w3up-website-staging
  framework = next
  framework cli = [email protected]
  package manager = [email protected]
  wrangler = [email protected]
  git = 2.37.1 (Apple Git-137.1)
Details:
  C3 = [email protected]
  project name = w3up-website
  framework = next
  framework cli = [email protected]
  package manager = [email protected]
  wrangler = [email protected]
  git = 2.37.1 (Apple Git-137.1)
…n--components--w3up-website

chore(main): release w3up-website 1.0.0
This reverts commit bac75047d98fcdd7fb51e13300e1f0bfeb886f0a.
fix: assorted remaining setup tasks
License: MIT
Signed-off-by: Oli Evans <[email protected]>
port css classes and tailwind config over from w3ui's console example
check all of `src/**` for tailwind classes

fixes: storacha/console#6

License: MIT

---------

Signed-off-by: Oli Evans <[email protected]>
Just get the embed working. Not super happy about how this behaves in a
responsive context, but a good start.
- some renaming
- readme update for env
- .gitignore for env
- out of band tweaks to stipe config to add logo, brand colors, and fix
a wrong product description

License: MIT

Signed-off-by: Oli Evans <[email protected]>
also add an example `.env.local` file as `.env.tpl`
Motivation
* when I was trying to dev in this repo for first time, I was seeing
hydration errors in react, plus warnings with `pnpm dev` that next
wanted me to add `appDir: true` to my next.config.js. @travis helped me
realize it was due to this
adds an nextjs app route for `/space` that lets the user see all their
spaces and drill down.

aiming at making the info architecture of console more obvious so folks
dont have to think to hard about the spaces -> space -> upload item flow

the dream:

```

* My first space (active)
  did:key:z6Mkv8gU6CYtiKGjLwTjyfzTQGfrog9VaxQYSqWNWD7x8svz

  best gifs
  did:key:zOtherone

  work junk
  did:key:zOtherOtherone

(above is hidden once space is chosen an can be re-opened)

* My first space
  did:key:z6Mkv8gU6CYtiKGjLwTjyfzTQGfrog9VaxQYSqWNWD7x8svz

list | share | upload
----

show cid + type (e.g dag-pb, dag-json, dag-cbor, raw... not super helpful, but)
 - bafyx <--- click me
 - bafyy
 - bafyz

Root CID: bafyx
CAR Shards:
 - bagy1 (size in MiB)
 - bagy2 (size in MiB)

Open on http gateway | Delete | etc

```

THE MANIFESTATION:

Spaces --> Space --> Item flow is go! Sub navs are go.


![spaces](https://github.com/web3-storage/console/assets/58871/778a0734-0ee8-47a6-bfda-c409a1d71b49)

it still needs a proper navigation method for going back the spaces
list, and in general the UI needs tightening up, but the bones are in
places.

License: MIT

---------

Signed-off-by: Oli Evans <[email protected]>
![console subnav and space
create](https://github.com/web3-storage/console/assets/58871/9be22328-0c21-45d7-97d8-b322d0fb345e)


- better button group nav styles
- better space list styles
- add explainer to create space page
- better upload list styles

License: MIT

---------

Signed-off-by: Oli Evans <[email protected]>
@travis travis had a problem deploying to preview-139/merge April 11, 2025 20:17 — with GitHub Actions Failure
@travis travis temporarily deployed to preview-139/merge April 11, 2025 20:45 — with GitHub Actions Inactive
Copy link
Contributor

github-actions bot commented Apr 11, 2025

@travis travis temporarily deployed to preview-139/merge April 11, 2025 20:49 — with GitHub Actions Inactive
@travis travis had a problem deploying to preview-139/merge April 11, 2025 22:14 — with GitHub Actions Failure
@travis travis had a problem deploying to preview-139/merge April 11, 2025 23:16 — with GitHub Actions Failure
@travis travis had a problem deploying to preview-139/merge April 11, 2025 23:30 — with GitHub Actions Failure
@travis travis had a problem deploying to preview-139/merge April 14, 2025 07:11 — with GitHub Actions Failure
@travis travis temporarily deployed to preview-139/merge April 14, 2025 07:13 — with GitHub Actions Inactive
this seems to fix the version-related linting issues I was seeing
@travis travis temporarily deployed to preview-139/merge April 14, 2025 16:52 — with GitHub Actions Inactive
@travis travis temporarily deployed to preview-139/merge April 14, 2025 17:55 — with GitHub Actions Inactive
using version 8.30.0 of the typescript eslint seemed to be causing errors so pin it for now
@travis travis deployed to preview-139/merge April 14, 2025 19:34 — with GitHub Actions Active
Copy link
Member Author

@fforbeck fforbeck left a comment

Choose a reason for hiding this comment

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

It looks good to me @travis.

@travis travis merged commit 59ebc4e into main Apr 16, 2025
5 checks passed
travis added a commit that referenced this pull request Apr 16, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.18.0](console-v1.17.6...console-v1.18.0)
(2025-04-16)


### Features

* Actually put error in console, as promised
([#131](#131))
([2f438d5](2f438d5))
* add a PNG version of our logo
([#153](#153))
([52a7854](52a7854))
* add old web3 storage migrator
([#129](#129))
([8cbd2bb](8cbd2bb))
* add Sentry error tracking
([#165](#165))
([5188e07](5188e07))
* change email
([b624f1d](b624f1d))
* **copy:** Add missing comma
([#115](#115))
([6e231eb](6e231eb))
* Improved layout styling, and other tales
([#114](#114))
([5484d36](5484d36))
* more styles
([a9f0172](a9f0172))
* point staging env referral link at staging marketing site
([0073963](0073963))
* prototype of referral system in console
([#142](#142))
([d2b284b](d2b284b))
* referrals tweaks
([#155](#155))
([32cc78f](32cc78f))
* **repo:** merge main from https://github.com/storacha/console
([152954e](152954e))
* share spaces via email
([#123](#123))
([b0dd61a](b0dd61a))
* styles for upload page
([9cdac7c](9cdac7c))
* trigger deploy
([a5ae681](a5ae681))
* update TOS links to point to the Storacha docs
([#148](#148))
([7d5ad13](7d5ad13))
* Use Blob protocol
([#132](#132))
([0fd47ba](0fd47ba))
* Use latest `w3ui` to support reloading spaces
([#138](#138))
([5a886bf](5a886bf))
* wording
([032218e](032218e))


### Fixes

* a little package.json cleanup
([13859fc](13859fc))
* add missing receiptsEndpoint to W3UIProvider
([#144](#144))
([e8ca3d3](e8ca3d3))
* add more deps to the catalog and pin eslint typescript plugin
([e00af97](e00af97))
* add sentry auth token to enable sourcemap upload
([#168](#168))
([bec52c9](bec52c9))
* apostrophe
([ee51ff9](ee51ff9))
* capture some errors we were logging to console
([#188](#188))
([673043a](673043a))
* catalog more dependencies
([cc52f81](cc52f81))
* check ref
([b1c985f](b1c985f))
* **console:** pnpm run dev + nx configs(sentry,tailwind)
([ad5db7e](ad5db7e))
* cors preflight issue in production
([#178](#178))
([583abb3](583abb3))
* create space
([#173](#173))
([7ac4478](7ac4478))
* create space using the latest w3up-client version
([#171](#171))
([5c67bdb](5c67bdb))
* **createSpace:** using the latest w3ui with w3up-client
([#176](#176))
([fdd5895](fdd5895))
* deploy-storacha.yml needs to use the new main branch
([#122](#122))
([3240385](3240385))
* deploy.yml needs to use the old-main branch
([#120](#120))
([6252d89](6252d89))
* fix linting
([0c5f06b](0c5f06b))
* gateway authorization based on env
([#174](#174))
([f446ab9](f446ab9))
* Humanode config tweaks
([b3debc4](b3debc4))
* import space preview
([#127](#127))
([d935f5f](d935f5f))
* init page loading right after button click + stop on errors
([220df2d](220df2d))
* is this enough?
([ac552ac](ac552ac))
* lock down next and react versions
([4d316af](4d316af))
* make it possible to skip the plan gate after Stripe checkout
([#162](#162))
([e50d81f](e50d81f))
* **prod:** gateway host
([#180](#180))
([14c8c38](14c8c38))
* quotes
([9fb1aba](9fb1aba))
* remove console github configs
([b5a2307](b5a2307))
* remove console github configs
([#227](#227))
([71db228](71db228))
* remove referrals feature flag
([#161](#161))
([9c774dd](9c774dd))
* remove sentry test page
([b442306](b442306))
* remove sentry test page
([#231](#231))
([f4071dc](f4071dc))
* Revert "feat: Use Blob protocol"
([#134](#134))
([9611be0](9611be0))
* Revert "fix: Revert "feat: Use Blob protocol"" (😩)
([#136](#136))
([2ec041b](2ec041b))
* set ipfs gateway url based on env var
([#177](#177))
([49727f7](49727f7))
* share space via ucan file
([#126](#126))
([2b7b623](2b7b623))
* **space-creator:** check provision result before proceeding
([#119](#119))
([92e087a](92e087a))
* **staging:** gateway host
([794a856](794a856))
* trigger a console release
([b9862a1](b9862a1))
* trigger a console release
([#228](#228))
([d9677d8](d9677d8))
* tweak plan gate query param
([#163](#163))
([2346d15](2346d15))
* typo on space page
([#187](#187))
([12e2b02](12e2b02))
* update packages to use catalog dependencies
([9191594](9191594))
* use correct branch name
([374fb0c](374fb0c))
* use main branch
([ea0a170](ea0a170))
* use the correct referral URL
([#149](#149))
([728ae7e](728ae7e))
* use the same Sentry project for different envs
([#167](#167))
([1bf2d13](1bf2d13))
* Use Ucanto 10 across the board
([#140](#140))
([b38477a](b38477a))
* using the correct gateway host
([#183](#183))
([83e0582](83e0582))


### Other Changes

* add storacha deploy action
([617b096](617b096))
* import console
([#139](#139))
([59ebc4e](59ebc4e))
* **main:** release client 1.0.6
([27cb383](27cb383))
* **main:** release client 1.0.6
([#104](#104))
([07f27a2](07f27a2))
* **main:** release upload-api 1.1.8
([aec53e7](aec53e7))
* **main:** release upload-api 1.1.8
([#103](#103))
([e71494a](e71494a))
* **main:** release w3console 1.10.0
([#125](#125))
([d7484f7](d7484f7))
* **main:** release w3console 1.11.0
([#128](#128))
([4a9cd39](4a9cd39))
* **main:** release w3console 1.12.0
([#130](#130))
([c1b894d](c1b894d))
* **main:** release w3console 1.13.0
([#133](#133))
([a5cdbf5](a5cdbf5))
* **main:** release w3console 1.13.1
([#135](#135))
([0cf946d](0cf946d))
* **main:** release w3console 1.14.0
([#137](#137))
([928cd1e](928cd1e))
* **main:** release w3console 1.15.0
([#139](#139))
([18c33d3](18c33d3))
* **main:** release w3console 1.15.1
([#141](#141))
([d82d22e](d82d22e))
* **main:** release w3console 1.15.2
([#145](#145))
([810224b](810224b))
* **main:** release w3console 1.16.0
([#146](#146))
([2a7dcaa](2a7dcaa))
* **main:** release w3console 1.16.1
([#160](#160))
([145b288](145b288))
* **main:** release w3console 1.16.2
([#164](#164))
([c3ea3be](c3ea3be))
* **main:** release w3console 1.17.0
([#166](#166))
([0ea9a86](0ea9a86))
* **main:** release w3console 1.17.1
([#169](#169))
([7a77c70](7a77c70))
* **main:** release w3console 1.17.2
([#172](#172))
([a118e11](a118e11))
* **main:** release w3console 1.17.3
([#179](#179))
([7c1948e](7c1948e))
* **main:** release w3console 1.17.4
([#181](#181))
([217cd1e](217cd1e))
* **main:** release w3console 1.17.5
([#182](#182))
([9db003e](9db003e))
* **main:** release w3console 1.17.6
([#185](#185))
([152e230](152e230))
* nx sync
([5933677](5933677))
* Set `packageManager`
([#117](#117))
([a8c7c93](a8c7c93))
* trigger deployment
([8051d81](8051d81))
* update copy
([#159](#159))
([60250f1](60250f1))
* update deploy name
([184fe57](184fe57))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

merge console into upload service