-
Notifications
You must be signed in to change notification settings - Fork 22
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
feat: display the projects created by the user #541
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
372993a
to
49b16a7
Compare
49b16a7
to
5f2ffa7
Compare
5f2ffa7
to
389b11e
Compare
389b11e
to
f1bfbd7
Compare
f1bfbd7
to
404d4ae
Compare
If the end goal is for a deployer to update the application, maybe we should store in the metadata the creator address, and enable it to edit. The issue with localStorage, is that if you switch devices or want to check status on mobile, might not get this information, also you can wipe your localstorage. |
404d4ae
to
ece587a
Compare
yea we could default to localstorage, if empty then pull from connected address |
Yes I agree, but I think if we urgently need this feature, this can serve as a temporary solution. |
don't think it's urgent (but might be wrong), can probably add that extra feature of pulling from address too? |
ece587a
to
a1c5146
Compare
a1c5146
to
16a84cc
Compare
updated, but this is kind of a dummy solution 🤔 since the |
let's keep it simple. If the payout address is the same as the connected user, show as their application. If no matches, then check localstorage. If no matches in local storage, then show just all applications |
so you think we don't need if there's |
16a84cc
to
d78c072
Compare
is the creator stored in the subgraph when one creates the application? |
nope, it's stored in the metadata, which I mentioned in the dummy solution section. Actually I would prefer to store it in the |
d78c072
to
db3c2e3
Compare
Conclusion:
|
db3c2e3
to
d80a488
Compare
d80a488
to
aca66f6
Compare
Description
This PR is trying to figure out what is the best way to display the projects to the user during the application registration period, since they might wanna check if their application is approved or not, and they might want to edit it.
Method 1: (Which is now implemented in this PR)
store user's projectId in the localStorage, load those projects separately and display on the top area of the project dashboard.
Related Issues
close #514