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

Prototype/tip endpoint adjustments #1038

Merged
merged 27 commits into from
Jun 17, 2021

Conversation

thepiwo
Copy link
Collaborator

@thepiwo thepiwo commented Mar 24, 2021

No description provided.

@thepiwo thepiwo marked this pull request as draft March 24, 2021 10:40
@thepiwo thepiwo force-pushed the prototype/tip-endpoint-adjustments branch from 2025dd3 to ae35bdf Compare March 24, 2021 10:42
@github-actions
Copy link

computed: {
profileIdenticonUrl() {
return this.chainName
? new Avatars(sprites, AVATAR_CONFIG).create(this.chainName)
: `data:image/svg+xml;base64,${btoa(jdenticon.toSvg(this.address, 32))}`;
},
profileImageUrl({ address, profile }) {
Copy link
Member

Choose a reason for hiding this comment

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

this getter depends on mapState

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

thanks, still wip :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

actually it does not, its a prop passed

Copy link
Member

@davidyuk davidyuk Apr 7, 2021

Choose a reason for hiding this comment

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

address and profile arguments are fields of store's state? As I understand it was provided by mapState. Without mapState the first argument of a computed variable is the current component, but I don't see profile variable defined there, also the comparison address === this.address doesn't make sense then.

@@ -92,7 +92,7 @@
:href="explorerTransactionsUrl"
>
<div class="chain">
{{ userChainName ? userChainName : $t('FellowSuperhero') }}
{{ userChainName && userChainName.length ? userChainName[0] : $t('FellowSuperhero') }}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
{{ userChainName && userChainName.length ? userChainName[0] : $t('FellowSuperhero') }}
{{ userChainName?.length ? userChainName[0] : $t('FellowSuperhero') }}

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

can't seem to use that syntax in the html part

Copy link
Member

@davidyuk davidyuk Apr 7, 2021

Choose a reason for hiding this comment

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

we have to update to vue@3 to solve this 😄 vuejs/vue#11088, #1047

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'd be in favour of this :D

src/components/tipRecords/AuthorAndDate.vue Outdated Show resolved Hide resolved
src/components/tipRecords/TipPreview.vue Outdated Show resolved Hide resolved
src/components/tipRecords/TipPreview.vue Outdated Show resolved Hide resolved
@thepiwo thepiwo force-pushed the prototype/tip-endpoint-adjustments branch 2 times, most recently from a158489 to e8fae7d Compare April 9, 2021 09:32
@thepiwo thepiwo force-pushed the prototype/tip-endpoint-adjustments branch from e8fae7d to 7387cd3 Compare April 14, 2021 08:54
src/views/Landing.vue Outdated Show resolved Hide resolved
@thepiwo thepiwo force-pushed the prototype/tip-endpoint-adjustments branch 5 times, most recently from 4550e6d to d4d11a9 Compare April 22, 2021 15:06
@thepiwo thepiwo force-pushed the prototype/tip-endpoint-adjustments branch 4 times, most recently from 4bcbfdb to 3f78227 Compare May 5, 2021 13:06
@stale
Copy link

stale bot commented May 12, 2021

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added stale and removed stale labels May 12, 2021
@thepiwo thepiwo requested a review from etharner May 13, 2021 07:50
@stale
Copy link

stale bot commented May 20, 2021

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 20, 2021
@stale stale bot closed this May 23, 2021
@thepiwo thepiwo reopened this Jun 2, 2021
@stale stale bot closed this Jun 5, 2021
@kenodressel kenodressel reopened this Jun 9, 2021
@stale stale bot removed the stale label Jun 9, 2021
@kenodressel kenodressel marked this pull request as ready for review June 9, 2021 13:16
@kenodressel
Copy link
Member

Before merging we have to revert 1c02cb0

@AtanasKrondev AtanasKrondev force-pushed the prototype/tip-endpoint-adjustments branch from 6ba97cd to 57ef518 Compare June 17, 2021 09:37
@AtanasKrondev AtanasKrondev merged commit 9d0f218 into develop Jun 17, 2021
@AtanasKrondev AtanasKrondev deleted the prototype/tip-endpoint-adjustments branch June 17, 2021 09:38
@Liubov-crypto
Copy link
Collaborator

Liubov-crypto commented Jun 18, 2021

thanks @Liubov-crypto thats probably due to the existing testnet issues, I'll check it out

Thank you @thepiwo !

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.

6 participants