Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

perf: remove summary when marking announcement as read #1755

Merged
merged 6 commits into from
Mar 3, 2020
Merged

perf: remove summary when marking announcement as read #1755

merged 6 commits into from
Mar 3, 2020

Conversation

dated
Copy link
Contributor

@dated dated commented Mar 2, 2020

Summary

Since an announcement can't be marked as unread and the summary isn't shown once it has been marked as read, there is no reason to keep the summary around.

Includes a migration to remove the summary from already read announcements.

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@ghost
Copy link

ghost commented Mar 2, 2020

Thanks for submitting this pull request! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.

If no reviewer appears after a week, a reminder will be sent out.

@ghost ghost added Complexity: Low Less than 64 lines changed. Type: Performance The issue or pull request relates to performance. labels Mar 2, 2020
Copy link
Contributor

@brenopolanski brenopolanski left a comment

Choose a reason for hiding this comment

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

When I click on Read more, Mark all as read or to close [x] I received this on the console:

Invalid prop: type check failed for prop "summary". Expected String with value "null", got Null 

Screenshot from 2020-03-02 16-24-31

@dated
Copy link
Contributor Author

dated commented Mar 2, 2020

Thanks @brenopolanski! Should be fixed by 9be6492.

@ghost ghost added the Status: Member Approved The pull request has been approved by a member. label Mar 2, 2020
@ghost
Copy link

ghost commented Mar 2, 2020

A member has approved this PR. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait.

Thank you for your contribution!

@faustbrian faustbrian merged commit 195b10f into ArkEcosystem:develop Mar 3, 2020
@ghost
Copy link

ghost commented Mar 3, 2020

Your pull request has been merged but was not assigned a bounty tier. A maintainer will assign a bounty tier to this pull request in the next few days.

@dated dated deleted the perf/ann-summary branch March 3, 2020 09:28
@alexbarnsley alexbarnsley added the Bounty: Tier 4 Awarded for small features, refactorings, improvements. This is valued at 20 USD. label Apr 1, 2020
@ghost
Copy link

ghost commented Apr 1, 2020

Your pull request has been merged and marked as tier 4. It will earn you $20 USD.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bounty: Tier 4 Awarded for small features, refactorings, improvements. This is valued at 20 USD. Complexity: Low Less than 64 lines changed. Status: Member Approved The pull request has been approved by a member. Type: Performance The issue or pull request relates to performance.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants