diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml
index 24085eb6..f2c5d1c6 100644
--- a/.github/workflows/continuous-integration.yml
+++ b/.github/workflows/continuous-integration.yml
@@ -30,7 +30,7 @@ jobs:
cache: "yarn"
- name: Install dependencies
run: |
- yarn add bos-workspace
+ yarn add bos-workspace@1.0.0-alpha.32
npx playwright install-deps
npx playwright install
- name: Run tests
diff --git a/.github/workflows/web4-deploy-production.yml b/.github/workflows/web4-deploy-production.yml
index 6256051e..60c41176 100644
--- a/.github/workflows/web4-deploy-production.yml
+++ b/.github/workflows/web4-deploy-production.yml
@@ -1,4 +1,4 @@
-name: Deploy to production
+name: Deploy web4 contract to production
on:
push:
branches: [main]
diff --git a/.github/workflows/web4-deploy-staging.yml b/.github/workflows/web4-deploy-staging.yml
index 58a70249..9e03aba5 100644
--- a/.github/workflows/web4-deploy-staging.yml
+++ b/.github/workflows/web4-deploy-staging.yml
@@ -1,4 +1,4 @@
-name: Deploy to staging
+name: Deploy web4 contract to staging
on:
pull_request:
paths:
diff --git a/.github/workflows/web4-test.yml b/.github/workflows/web4-test.yml
index da1a9906..a2d5d479 100644
--- a/.github/workflows/web4-test.yml
+++ b/.github/workflows/web4-test.yml
@@ -1,4 +1,4 @@
-name: Test
+name: Test web4 contract
on:
workflow_call:
diff --git a/.github/workflows/web4-undeploy-staging.yml b/.github/workflows/web4-undeploy-staging.yml
index 3b3f862c..bbb252f0 100644
--- a/.github/workflows/web4-undeploy-staging.yml
+++ b/.github/workflows/web4-undeploy-staging.yml
@@ -1,4 +1,4 @@
-name: Undeploy staging
+name: Undeploy web4 contract from staging
on:
pull_request:
types: [closed]
diff --git a/aliases.mainnet.json b/aliases.mainnet.json
index 708cfe5e..8436c39c 100644
--- a/aliases.mainnet.json
+++ b/aliases.mainnet.json
@@ -6,5 +6,6 @@
"gateway_url": "https://nearbuilders.org",
"new": "builddao.near",
"old": "buildhub.near",
- "potlock": "potlock.near"
+ "potlock": "potlock.near",
+ "every": "every.near"
}
diff --git a/aliases.testnet.json b/aliases.testnet.json
index d09075f1..1ec8f40f 100644
--- a/aliases.testnet.json
+++ b/aliases.testnet.json
@@ -6,5 +6,6 @@
"gateway_url": "https://test.nearbuilders.org",
"new": "builddao.testnet",
"old": "buildhub.testnet",
- "potlock": "potlock.testnet"
+ "potlock": "potlock.testnet",
+ "every": "allthethings.testnet"
}
diff --git a/apps/old/bos.config.json b/apps/old/bos.config.json
deleted file mode 100644
index 52771c07..00000000
--- a/apps/old/bos.config.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "account": "buildhub.near",
- "aliases": ["../../aliases.mainnet.json"],
- "overrides": {
- "testnet": {
- "account": "buildhub.testnet",
- "aliases": ["../../aliases.testnet.json"]
- }
- }
-}
diff --git a/apps/old/widget/MetadataEditor.jsx b/apps/old/widget/MetadataEditor.jsx
deleted file mode 100644
index abfa6c67..00000000
--- a/apps/old/widget/MetadataEditor.jsx
+++ /dev/null
@@ -1,204 +0,0 @@
-const initialMetadata = props.initialMetadata ?? {};
-const onChange = props.onChange;
-const options = props.options;
-
-State.init({
- initialMetadata,
- metadata: initialMetadata,
- reportedMetadata: initialMetadata,
- linktree: initialMetadata.linktree ?? {},
- image: initialMetadata.image,
- backgroundImage: initialMetadata.backgroundImage,
- screenshots: initialMetadata.screenshots ?? {},
-});
-
-const metadata = {
- name: options.name ? state.metadata.name : undefined,
- description: options.name ? state.metadata.description : undefined,
- linktree:
- options.linktree && Object.keys(state.linktree).length > 0
- ? state.linktree
- : undefined,
- image:
- options.image && state.image && Object.keys(state.image).length > 0
- ? state.image
- : undefined,
- backgroundImage:
- options.backgroundImage &&
- state.backgroundImage &&
- Object.keys(state.backgroundImage).length > 0
- ? state.backgroundImage
- : undefined,
- tags: options.tags ? state.metadata.tags : undefined,
- screenshots: options.screenshots ? state.metadata.screenshots : undefined,
-};
-
-if (
- onChange &&
- JSON.stringify(state.reportedMetadata) !== JSON.stringify(metadata)
-) {
- State.update({
- reportedMetadata: metadata,
- });
- onChange(metadata);
-}
-
-const Container = styled.div`
- color: #fff;
-`;
-
-const CustomTagEditor = styled.div`
- .form-control {
- background: #23242b;
- border: 1px solid rgba(255, 255, 255, 0.2);
- }
-`;
-
-const CustomImageUpload = styled.div`
- .nav-link {
- background: transparent;
- color: #fff;
- border: none;
- }
-
- .nav.nav-tabs {
- border: none;
- }
-
- .nav-link.active {
- color: #fff;
- background: transparent;
- border: 1px solid rgba(255, 255, 255, 0.2);
- border-bottom: none;
- }
-
- .p-2 {
- border: none;
- border: 1px solid rgba(255, 255, 255, 0.2) !important;
- /* border-top: 0; */
- background: #23242b !important;
- color: #fff !important;
- }
-
- .form-control {
- background: #23242b;
- border: 1px solid rgba(255, 255, 255, 0.2);
- }
-`;
-
-return (
-
First off, follow our DAO
-
- Follow interesting profiles and stay updated with the latest
- discussions.
- So far, we have {groupMembers?.length} members in the Build DAO
- community.
-
People you might want to follow
- - {getRandomAccounts() - .slice(0, 4) - ?.map((account) => ( -
- Exciting times!
- Your application is under review.
-
Show your presence in the community with your first post.
-
- Need inspiration?
-
No mdPath or post accountId configured
-404 Not Found
; - - if (!activeRoute) { - // Handle 404 or default case for unknown routes - return{JSON.stringify(activeRoute, null, 2)}-
{JSON.stringify(props, null, 2)}-
- unable to load config:{" "} - {typeof config === object ? JSON.stringify(config) : config} -
- ); -} - -const { Layout } = VM.require( - config.layout?.src ?? "${alias_devs}/widget/Layout", -) || { Layout: () => <>> }; - -// While something like Theme should be in the parent... -const CSS = styled.div` - .container { - border: 1px solid red; - } - - .button { - } - - .input { - } - - .layout { - border: 4px solid var(--main-color); - } - - .header { - border: 1px solid blue; - } - - .content { - } - - .footer { - } -`; - -const Container = styled.div` - display: flex; - height: 100%; -`; - -const Content = styled.div` - width: 100%; - height: 100%; -`; - -// const Template = config.Template ?? (({children}) => <>{children}>); -return ( -Donate today to get your contributions amplified
*/} -Completed
- ) : ( - remainingTime.split(" ").map((it, i) => ( -- {it}{" "} - {i === 0 ? "D" : i === 1 ? "H" : i === 2 ? "M" : "S"} -
- )) - )} -About
-
- {description ? (
-
Location
-
-
Team Size
-- - {teamSize} -
-Contributors
- {!contributors &&No Contributors
} -Project Tags
-No tags
} -- Promotes democratic participation and financial benefits for - members. -
- -- Communities and builder groups foster transparency and - inclusivity. -
-- Focuses on involving members in governance and financial - decisions, promoting a sense of ownership. -
-- Net Income is allocated as patronage dividends based on member - contributions, enhancing mutual benefits. -
-- Establishes clear procedures for maintaining a positive, - productive, and collaborative community environment. -
-@{new Date().getFullYear()} BuildDAO all rights reserved
-- The core mission is to build open-source infrastructure and web - applications for everyone. By creating systems to reward useful - contributions, we can grow successful projects that solve problems - and generate sustainable value. -
- -- We are cultivating a worldwide community of builders who are - motivated to help others. Members can earn badges and get necessary - resources for training potential contributors. -
-- We introduced on-chain feedback channels to gather input from - participants. This will be crucial for understanding common issues, - optimizing documentation, and improving quality of experience. -
-- Members collectively shape community programs and policies. -
-- Members develop their own reputations as builders. -
-- Members gain exposure to new gigs and interesting projects. -
-for the open web worldwide
-communities of builders to create anything useful
-successful projects with really positive impact
-Please login in order to see notifications.
- - - -No Projects Found
- )} - {filteredProjects.map((project) => ( -No Account ID
; - } - - return ( -@{projectAccountId}
-No mdPath or post accountId configured
++ {project.profile.tagline.length > MAX_DESCRIPTION_LENGTH + ? project.profile.tagline.slice(0, MAX_DESCRIPTION_LENGTH) + "..." + : project.profile.tagline} +
+