Skip to content

Conversation

@WaDadidou
Copy link
Collaborator

@WaDadidou WaDadidou commented Jul 17, 2025

  • Updated gno-zenao network configuration with correct endpoints and social feeds package path.
  • Added gno-zenao-staging network
  • Added globalFeedId to GnoNetworkInfo

  • Modified useFetchComments hook to fetch comments from Gno Zenao network.
  • Modified useFetchFeed hook to support fetching feeds from Gno Zenao network.
  • Modified usePost hook to retrieve posts from Gno Zenao network.

  • Introduced utility functions for handling Zenao post and metadata extraction.
  • Updated yarn.lock to include new dependencies and versions.

  • Removed gno-test5 and gno-test3 networks

@netlify
Copy link

netlify bot commented Jul 17, 2025

Deploy Preview for gno-dapp ready!

Name Link
🔨 Latest commit e189a8c
🔍 Latest deploy log https://app.netlify.com/projects/gno-dapp/deploys/6889e02add2c1b0008d5c17c
😎 Deploy Preview https://deploy-preview-1522--gno-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Jul 17, 2025

Deploy Preview for teritori-dapp ready!

Name Link
🔨 Latest commit e189a8c
🔍 Latest deploy log https://app.netlify.com/projects/teritori-dapp/deploys/6889e02a18115100082b6ec4
😎 Deploy Preview https://deploy-preview-1522--teritori-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@WaDadidou WaDadidou force-pushed the feat-gnotribe-zenao-feed branch 2 times, most recently from 43a0e25 to 0bd9312 Compare July 17, 2025 14:25
- Updated gno-zenao network configuration with correct endpoints and social feeds package path.
- Added new constant for Hyperaktive event ID.
- Enhanced useFetchComments hook to fetch comments from Gno Zenao network, including new fetchGnoZenaoComments function.
- Implemented useFetchFeed hook to support fetching feeds from Gno Zenao network.
- Modified usePost hook to retrieve post views from Gno Zenao network.
- Introduced utility functions for handling Zenao post views and metadata extraction.
- Updated OptimizedImage component to utilize selected network ID for image URI transformation.
- Updated yarn.lock to include new dependencies and versions.
- Added @bufbuild/protobuf/codegenv2 support in metro config
@WaDadidou WaDadidou force-pushed the feat-gnotribe-zenao-feed branch from 0bd9312 to 754f97e Compare July 17, 2025 14:26
@WaDadidou WaDadidou self-assigned this Jul 17, 2025
@WaDadidou WaDadidou marked this pull request as ready for review July 23, 2025 19:34
@WaDadidou WaDadidou requested review from hthieu1110 and n0izn0iz July 23, 2025 19:34
@zxxma
Copy link
Collaborator

zxxma commented Jul 24, 2025

  • Added constant HYPERAKTIVE_EVENT_ID

Just catched a little typo here on the constant HYPERAKTIVE_EVENT_ID
The name is HyperHacktive @WaDadidou

Otherwise, it's exciting to see this! 👍

@WaDadidou WaDadidou force-pushed the feat-gnotribe-zenao-feed branch from d819b52 to 82d8e0f Compare July 24, 2025 10:47
disableBuyTokensButton: true,
disableDAppStore: true,
forceNetworkList: ["gno-test5", "gno-zenao"],
forceNetworkList: ["gno-test5", "gno-zenao", "gno-zenao-staging"],
Copy link
Collaborator

Choose a reason for hiding this comment

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

we can remove test5

Copy link
Collaborator Author

@WaDadidou WaDadidou Jul 30, 2025

Choose a reason for hiding this comment

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

Done in commit a89ca9b

forceNetworkList: ["gno-test5", "gno-zenao"],
forceNetworkList: ["gno-test5", "gno-zenao", "gno-zenao-staging"],
forceDAppsList: ["feed", "organizations"],
defaultNetworkId: "gno-test5",
Copy link
Collaborator

Choose a reason for hiding this comment

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

make this gno-zenao

Copy link
Collaborator Author

@WaDadidou WaDadidou Jul 30, 2025

Choose a reason for hiding this comment

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

Done in commit a89ca9b

metro.config.js Outdated
Comment on lines 19 to 22
"@bufbuild/protobuf/codegenv2": path.resolve(
__dirname,
"node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/index.js",
),
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is this needed?

Copy link
Collaborator Author

@WaDadidou WaDadidou Jul 30, 2025

Choose a reason for hiding this comment

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

It's not needed, I forgot to remove it.
Since this works

Copy link
Collaborator Author

@WaDadidou WaDadidou Jul 30, 2025

Choose a reason for hiding this comment

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

Reverted in commit a89ca9b

networks.json Outdated
"nameServiceContractAddress": "gno.land/r/demo/users",
"nameServiceDefaultImage": "ipfs://bafkreigqm3i4urywxohvpkbz5sgxosiogwn433ufmzz7eqldjxoi6xmwma",
"daoRegistryPkgPath": "gno.land/r/teritori/dao_registry",
"socialFeedsFeedId": "1",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"socialFeedsFeedId": "1",
"globalFeedId": "1",

Copy link
Collaborator Author

@WaDadidou WaDadidou Jul 30, 2025

Choose a reason for hiding this comment

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

Done in commit a89ca9b

Comment on lines 130 to 132
networkId === gnoZenaoStagingNetwork.id
? "https://pinata.zenao.io"
: "https://teritori.mypinata.cloud";
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is this needed? I think we should use a single gateway

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I though these zenao files can be reached only with the pinata.zenao.io gateway, but no, bad move ^^'

Copy link
Collaborator Author

@WaDadidou WaDadidou Jul 30, 2025

Choose a reason for hiding this comment

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

Reverted in commit a89ca9b


const onPress = useCallback(() => {
const isReadonlyFeed = selectedNetwork?.features.includes(
NetworkFeature.SocialFeedReadonly,
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think we need this feature, it's only temporary, adds complexity and it's okay if we have errors on interaction for now

Copy link
Collaborator Author

@WaDadidou WaDadidou Jul 30, 2025

Choose a reason for hiding this comment

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

I'll remove it since it's temporary for now, yes

Copy link
Collaborator Author

@WaDadidou WaDadidou Jul 30, 2025

Choose a reason for hiding this comment

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

Reverted in commit f4efd68

package.json Outdated
"@types/markdown-it-footnote": "^3.0.4",
"@types/papaparse": "^5.3.14",
"@types/pluralize": "^0.0.33",
"@yornaath/batshit": "^0.10.1",
Copy link
Collaborator

Choose a reason for hiding this comment

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

don't see where this is used

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Related to profiles in zenao, I don't remember why it's here, my bad

Copy link
Collaborator Author

@WaDadidou WaDadidou Jul 30, 2025

Choose a reason for hiding this comment

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

Reverted in commit a89ca9b

@WaDadidou WaDadidou requested a review from n0izn0iz July 30, 2025 08:55
@n0izn0iz n0izn0iz changed the title feat: integrate Gno Zenao feed feat: upgrade gno feed Jul 30, 2025
@n0izn0iz n0izn0iz merged commit 77ef7a2 into main Jul 30, 2025
21 of 25 checks passed
@n0izn0iz n0izn0iz deleted the feat-gnotribe-zenao-feed branch July 30, 2025 11:42
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