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

Removed description Image ,Replit from tags #1059 #1062

Merged
merged 2 commits into from
Dec 8, 2023
Merged

Removed description Image ,Replit from tags #1059 #1062

merged 2 commits into from
Dec 8, 2023

Conversation

gouravmpk
Copy link
Contributor

Describe your changes

Commented out Replit code ,Removed Image from /bounties page containers only

Issue ticket number and link

#1059

Type of change

UI

  • [ ✅ ] Bug fix (non-breaking change which fixes an issue)

Checklist before requesting a review

  • [✅] I have performed a self-review of my code
  • [✅] I have tested on Chrome and Firefox
  • [✅] I have tested on a mobile device
  • [✅] I have provided a screenshot or recording of changes in my PR if there were updates to the frontend
remove.replit.mp4

@ecurrencyhodler
Copy link
Contributor

Nice good job.

@kevkevinpal
Copy link
Contributor

this just removes the replit tag completly not just when its not shown in the bounty @ecurrencyhodler is that what we want

@gouravmpk
Copy link
Contributor Author

Ohh okay let me check

@ecurrencyhodler
Copy link
Contributor

@kevkevinpal no we want to keep the replit tag. It should only be displayed if it's selected.

@@ -166,7 +166,7 @@ const BountyDescription = (props: BountiesDescriptionProps) => {
{props.title?.length > 80 ? '...' : ''}
</EuiText>
</div>
{descriptionImage && (
{/* {descriptionImage && ( commented out reason-> #1059
Copy link
Contributor

Choose a reason for hiding this comment

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

why are we removing this? @ecurrencyhodler we need this if there is an image in git that we want to show

Copy link
Contributor

Choose a reason for hiding this comment

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

@kevkevinpal I think that's what is causing the bounty on the homepage to display that image. We should keep it @gouravmpk . The fix is to prevent the image in the description from being displayed in the bounties home page. It should still be displayed in the bounty itself.

@kevkevinpal
Copy link
Contributor

I tested it myself and its the regex that is matching when it shouldn't @gouravmpk please fix the regex. Simply commenting out code for a bug is not the right approach for most issues especially if we don't want to remove functionality

Screenshot 2023-12-07 at 1 39 22 PM

@gouravmpk
Copy link
Contributor Author

Yes I was reviewing the bounty object in response I'm on it , thanks @kevkevinpal

@gouravmpk gouravmpk requested a review from kevkevinpal December 7, 2023 20:42
@gouravmpk
Copy link
Contributor Author

@kevkevinpal I have changed the regex(please verify) here is the video

effa85f2-5ac7-43c0-a555-877125902abe.mp4

@ecurrencyhodler
Copy link
Contributor

Looks good. Let's get another code review

@kevkevinpal kevkevinpal merged commit a793bf4 into stakwork:master Dec 8, 2023
6 checks passed
@ecurrencyhodler
Copy link
Contributor

LGTM. Tested and paying you out.

elraphty pushed a commit that referenced this pull request Jan 26, 2024
* Removed description Image ,Replit from tags #1059

* changed regex
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