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

Tag liquid tag overflowing comment box in notifications #1520

Closed
jessleenyc opened this issue Jan 11, 2019 · 17 comments · Fixed by #8369
Closed

Tag liquid tag overflowing comment box in notifications #1520

jessleenyc opened this issue Jan 11, 2019 · 17 comments · Fixed by #8369
Labels
bug always open for contribution external contributors welcome contribution is welcome! good first issue good first issues for anyone new to programming and new to the project.

Comments

@jessleenyc
Copy link
Contributor

Describe the bug
Styling of the tag liquid tag is getting cut off / not minimizing properly.

Screenshots

@jessleenyc jessleenyc added bug always open for contribution external contributors welcome contribution is welcome! labels Jan 11, 2019
@ghost
Copy link

ghost commented Jan 13, 2019

Can I take this up for fix? @jessleenyc

@Zhao-Andy
Copy link
Contributor

Zhao-Andy commented Jan 13, 2019

@grv19 go for it! Let us know if you have questions.

@ghost
Copy link

ghost commented Jan 14, 2019

@Zhao-Andy Can you help reproduce this? I'm not able to reproduce.

@jessleenyc
Copy link
Contributor Author

jessleenyc commented Aug 1, 2019

Not sure if this is still an issue but to try reproducing you'll want to:

  • Create two users (yours and another)
  • Create a post under your account
  • Make sure you're running delayed jobs: rake jobs:work
  • Have the other account leave a comment with the tag liquid tag

As long as jobs are running you should be able to see a notification come in.

@jessleenyc jessleenyc added good first issue good first issues for anyone new to programming and new to the project. tech: html/css labels Aug 1, 2019
@coolbrg
Copy link

coolbrg commented Oct 23, 2019

I am also not able to reproduce it.

I exactly followed the steps mentioned by @jessleenyc #1520 (comment) .

and added comment as

# contributorwanted

{% user jess %} some text

I am still able to reproduce it.
Screenshot 2019-10-23 at 2 31 48 PM

I will be working on it too :)

@coolbrg
Copy link

coolbrg commented Oct 23, 2019

I found that the style in this line
https://github.com/thepracticaldev/dev.to/blob/c09a5c70f1d9989ec49b162bf59a3c8f594bd03b/app/views/tags/_liquid.html.erb#L1

need to be appended with width: auto.

However, on updating the file and reloading the server, it doesn't reflect the changes.

Is there anything I am missing here?

@maestromac
Copy link
Member

Hello @coolbrg , each liquid tag are generated and saved as part of body_markdown. You'll need to create a new article and follow Jess's direction again to see the change.

@coolbrg
Copy link

coolbrg commented Oct 24, 2019

Thanks @maestromac for the pointers. Appreciated.

@luchiago
Copy link
Contributor

HI, does this problem still need help?

@coolbrg
Copy link

coolbrg commented Dec 13, 2019

HI, does this problem still need help?

@luchiago Yes, please go ahead as I am not getting much time to dig into it.

This is the last point where I could reach #1520 (comment)

@luchiago
Copy link
Contributor

@coolbrg but could you reproduce the bug?

@coolbrg
Copy link

coolbrg commented Dec 14, 2019

@coolbrg but could you reproduce the bug?

@luchiago Yes

@luchiago
Copy link
Contributor

luchiago commented Jan 5, 2020

@coolbrg how can I use the users from seeds to make manual tests? Like, have my Github account logged and after that login with a user from database?

@maestromac
Copy link
Member

@luchiago what would you like to accomplish? You could control seed db users via rails consoler to make. Commands like

that_user.follow(me)
me.follow(that_user)

should get you started with notifications. Be sure you have the background jobs running too bin/rails jobs:work

@luchiago
Copy link
Contributor

@maestromac Yeah it's something like that I was searching for to reproduce the bug. Thank you.

@AlbertoPdRF
Copy link
Contributor

AlbertoPdRF commented Jun 9, 2020

Hello @coolbrg , each liquid tag are generated and saved as part of body_markdown. You'll need to create a new article and follow Jess's direction again to see the change.

I'm working on this issue, and even after doing this I'm not able to see the change. Any clue of what may be going wrong?

EDIT: it was a problem on my side, I'm seeing my changes applied now :)

@coolbrg
Copy link

coolbrg commented Jun 16, 2020

EDIT: it was a problem on my side, I'm seeing my changes applied now :)

Glad to hear and see it fixed 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug always open for contribution external contributors welcome contribution is welcome! good first issue good first issues for anyone new to programming and new to the project.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants