Skip to content
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

🔀 Merge dev into backend #4449

Merged
merged 34 commits into from
Jun 22, 2023
Merged

🔀 Merge dev into backend #4449

merged 34 commits into from
Jun 22, 2023

Conversation

thesan
Copy link
Member

@thesan thesan commented Jun 19, 2023

No description provided.

IlyaSmiyukha and others added 30 commits April 21, 2023 18:19
* fixes #4108 Forum returns 404 for correct links

* fixes #4318 handle errors for forum threads

* #4108 handle thread errors

* Add dot to error description

Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>

* Fix use `useRefetchQueries`

---------

Co-authored-by: ilya Smiyukha <ilya.smiyukha@touchcast.com>
Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>
* fix loading of forum

* fix loading state or no data state

* test

* fix loading state

* fix loading

* Update packages/ui/src/app/pages/Forum/ForumCategory.tsx

fix message

Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>

* fix

---------

Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>
* fix color

---------

Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>
* 4300-1

* remove 'console.log': mentioned by @thesan

* fix verifiedicon mistake

* lint tested
* decompress wasm runtime before validating

* use @oneidentity/zstd-js/decompress

* better comments for maybeDecompressRuntimeBlob()

* Add a AddNewProposalModal Runtime Upgrade test

* Remove unnecessary exports

* Forward the test `runtime-upgrade-input` id

* Fix the runtime file validation

* Fix `react-hook-form` type inference error

* Small refactors

* Pass the runtime bytes through the react context

* Fix the validation hook

* Revert "Fix `react-hook-form` type inference error"

This reverts commit 92eef39.

* Forward the runtime file without the extra context

* Fix AddNewProposalModal tests

* Fix types on node.js < 18

* Generate the file array buffer only once

* Add a loader under the file drop zone

* Move `maybeDecompressRuntimeBlob` in a web worker

* Push runtime upgrade proposal down the list

* Move the loader to the `FileDropzone` component

---------

Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>
* Pass block time to `council:elect`

* Pick a stage with `node-mocks council:elect`

* Fix on chains without sudo
Update `Joystream/types`
Fix the `appWorkingGroup` opening links
remote table button

Co-authored-by: Eric <eshark9312@outlook.com>
* New package

* Update package

* Introduce chainInfo into worker

* Introduce update metadata button into the settings

* Remove update button from settings

* Check metadata before transaction

* Test fix

* Test fix

* Keep the ApiRx compatibility

* Move type definitions around

* Fix some functions `Api` types

* Fix the TransactionButton test suite

* Minor fixes

* Mock `injectweb3-connect`

* Update `injectweb3-connect`

* Test new `injectweb3-connect` build

* Fix "Proxy object could not be cloned."

* Fix the `chain-metadata` serialization

* Remove `injectweb3-connect` archive

* Update `injectweb3-connect` to `2.1.1`

* Handle webp files in node_modules

---------

Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>
Fix the first stage of multi round proposals
Add a link to the Calamar block explorer
* Enable ts aliases in scripts

* Make `council:elect` callable from other scripts

* Create proposals with new staking accounts
Because all wellknown accounts are locked once the council is elected.

* Add a `approveProposal` script

* Fix `opening:create` on the liberated chain

* Document `-d BLOCK_TIME`

* Fix `useProposalConstants`
* Refactor `useForumMultiQueryCategoryBreadCrumbs`

* Speedup the `ThreadItemBreadcrumbs` test

* Fix formatter inconsistency on newer node versions

* Fix restore vote test suite on newer node versions
* Upgrade to Storybook 7

* Fix storybook

* Fix the Pioneer build

* Fix Storybook build command

* Deduplicate babel packages some more
* Sort answers before submitting them

* Sort answer more reliably
* Upgrade to TypeScript 5

* Fix type issues

* Upgrade prettier

* Fix linting
* Show all applicants

All applicants means all. Hiding withdrawn (ie. not hired) distorts historic opening view.

* Show all hired, fix stats

* prettier

* Show all hires

---------

Co-authored-by: Joystream Stats <dev@joystreamstats.live>
* Mock Apollo client

* Add some stories for the `ProposalPreview` page

* Fix scroll

* Mock the api

* Mock the api in the ProposalPreview story

* Add utilities to clarify mock data

* Rename the query node mock file

* Mock Accounts, Balances, and Membership providers

* Add members to the stories

* Fix the query node mock

* Simplify chain mocks

* Fix the isCouncilMember case

* Mock discussion whitelist

* Mock all the story environment in one function

* Mock proposalStatusUpdates

* Mock discussionThread posts

* Mock votes

* Move proposalDetailsMap out of the stories file

* Fix storybook styles without affecting the app

* Fix newly failing stories

* Fix proposal component stories

* Move related stories inside "ProposalPreview"
* fix: hide close confirm modal on specific modals

* refactor: remove hideModalWithoutConfirmModal and migrate it into hideModal

* feat: hide modal directly with error or success state

* fix: hide modal criteria

* fix: type issue and hide criteria

* fix: update hideModal action for two modals

* fix hideModal param

Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>

* Remove unrelated changes

Co-authored-by: l1.media <31551045+traumschule@users.noreply.github.com>

---------

Co-authored-by: gyroflaw <83718263+gyroflaw@users.noreply.github.com>
Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>
* Cleanup the CI workflow

* Remove the GH pages workflow
* Rename MoveFoundsModal to MoveFundsModal

* fixup

* tests

---------

Co-authored-by: Oleksandr Korniienko <oleksanderkorn@gmail.com>
Co-authored-by: Joystream Stats <dev@joystreamstats.live>
* Add `@storybook/test-runner`

* Run pages tests only

* Cache dependencies in another job

* Add the storybook-test job

* Fix the cache hit check

* Fix storybook tests
* Add support for interaction tests

* Allow mocking voting round individually

* Move the `ProposalPreview` tests to Storybook

* Fix failing tests
@vercel
Copy link

vercel bot commented Jun 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
dao ✅ Ready (Inspect) Visit Preview Jun 22, 2023 9:02am
pioneer-2 ✅ Ready (Inspect) Visit Preview Jun 22, 2023 9:02am
pioneer-2-storybook ✅ Ready (Inspect) Visit Preview Jun 22, 2023 9:02am

Copy link
Contributor

@traumschule traumschule left a comment

Choose a reason for hiding this comment

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

https://github.com/Joystream/pioneer/actions/runs/5315046560/jobs/9623003124#step:9:7

Error: Jest: Failed to parse the TypeScript config file /home/runner/work/pioneer/pioneer/packages/server/jest.config.ts
Error: Debug Failure. False expression: Non-string value passed to ts.resolveTypeReferenceDirective, likely by a wrapping package working with an outdated resolveTypeReferenceDirectives signature. This is probably not a problem in TS itself.

* Do not use Vercel CLI

* Temporarily disable the test CI

* Fix shell syntax

* Attempt to fix the branch name

* Fix shell syntax

* Temporarily only run the Vercel URL generation

* Check the CI state

* Fix CI

* Check `github.event.pull_request.head`

* Fix the url generation for forks

* Test push workflows

* Check whether `jq` is available on GH runners

* Fix CI for non fork PRs

* Use `jq` instead of `node` to extract data

* Remove the `branch-names` action

* Restore the full CI

* Rename the jobs

* Improve formatting

* Use GH substitution over shell variables

* Debug waiting step

* Restore full CI again

* Fail when the Vercel URL is wrong

* Fix the hash generation
Copy link
Contributor

@chrlschwb chrlschwb left a comment

Choose a reason for hiding this comment

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

ok

@thesan thesan merged commit 090e26e into backend Jun 22, 2023
4 checks passed
@thesan thesan deleted the merge-dev-to-backend branch June 22, 2023 11:58
@thesan thesan restored the merge-dev-to-backend branch October 23, 2023 10:26
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.

7 participants