codetribute icon indicating copy to clipboard operation
codetribute copied to clipboard

The horizontal scroll bar appears only when we reach the end of the list of issues.

Open Jasleen01 opened this issue 4 years ago • 15 comments

The horizontal scroll bar appears only when we reach the end of the list of issues, while we need it as we scroll down viewing various issues. For example: https://codetribute.mozilla.org/projects/devtools Thanks!

Jasleen01 avatar Jan 30 '21 07:01 Jasleen01

Hi, thanks!

image

this seems to occur when the viewport is narrower than the page width. The scrollbar is fixed to the content, not the viewport.

djmitche avatar Feb 01 '21 14:02 djmitche

Okay @djmitche sir, Thanks! I would like to fix it.

Jasleen01 avatar Feb 01 '21 14:02 Jasleen01

Oh, fantastic!

djmitche avatar Feb 01 '21 14:02 djmitche

Thanks sir! :)

Jasleen01 avatar Feb 01 '21 18:02 Jasleen01

Sir, I tried building the environment for codetribute, the homepage is fine, however when I try to go to the any of the projects, it is showing this error: hot update failed for module "./src/views/Project/index.jsx". Last file processed: "./src/views/Project/index.jsx" in the browser. And since there is no horizontal scrollbar on the homepage, I need to solve this error in order to view the changes. Sir, can you please help me in this? Thanks!

Jasleen01 avatar Feb 01 '21 19:02 Jasleen01

When you go to the projects, does it still show the bugs/issues for that project? The hot-loading stuff has never worked very well for me, either so if that's just a warning that doesn't break anything, I think it can be safely ignored. Otherwise, are there errors on the console where you ran yarn start?

djmitche avatar Feb 01 '21 20:02 djmitche

Sir, when I go to the projects, it doesn't show any bugs/issues for that project. It just shows the error at the top of the page and rest of the page is blank. At the console, after running yarn start, a warning is displayed: WARNING in ./src/views/Project/index.jsx 77:43-50
"export 'compose' was not found in 'react-apollo'
i 「wdm」: Compiled with warnings.

Jasleen01 avatar Feb 02 '21 09:02 Jasleen01

Hm, that sounds like the node packages aren't up-to-date.

  • make sure your working copy has the most recent commits (at least from the last few days)
  • run yarn to update the dependencies
  • restart yarn start to pick up the changes

...and see if all that helps?

djmitche avatar Feb 02 '21 16:02 djmitche

Sir, it is still showing the error.

Jasleen01 avatar Feb 03 '21 18:02 Jasleen01

Huh, interesting. I'm seeing the same thing. But the site itself isn't showing that error. I'll investigate.

By the way, I am not a knight, so please don't call me sir :)

djmitche avatar Feb 04 '21 14:02 djmitche

Yikes, this is worse than I thought (totally not your fault!) -- it looks like this has been broken for a while, and that the codetribute.mozilla.org site hasn't been automatically updating for a while (so we haven't noticed it) and that I don't have permission to fix that. So, this will take a while to sort out. The problems seem to come from incompatibilities between things like Babel, Webpack, Neutrino, and React, all of which are giant bundles of packages that are confusing hard to deal with.

@helfi92 @armenzg any chance either of you still have access to the netlify account? If not, we can probably just move this to Heroku.

djmitche avatar Feb 04 '21 15:02 djmitche

@Jasleen01 do you have other tasks you might work on while I fix this up?

djmitche avatar Feb 04 '21 15:02 djmitche

Unfortunately, I don't. I gave access to Will Lachance and some people from his team at some point.

armenzg avatar Feb 04 '21 18:02 armenzg

Ah, thanks!

djmitche avatar Feb 04 '21 18:02 djmitche

@Jasleen01 do you have other tasks you might work on while I fix this up?

Okay sir, no problem! I will work on some other task till then. :) Thank you!

Jasleen01 avatar Feb 04 '21 18:02 Jasleen01