freeCodeCamp icon indicating copy to clipboard operation
freeCodeCamp copied to clipboard

feat(client): fix the position of flash message

Open Sboonny opened this issue 2 years ago • 6 comments
trafficstars

Checklist:

  • [x] I have read freeCodeCamp's contribution guidelines.
  • [x] My pull request has a descriptive title (not a vague title like Update index.md)
  • [x] My pull request targets the main branch of freeCodeCamp.
  • [x] I have tested these changes either locally on my machine, or GitPod.

Closes #48910

Sboonny avatar Jan 03 '23 17:01 Sboonny

:eyes: Review this PR in a CodeSee Review Map

View the CodeSee Map of this change

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map Legend

ghost avatar Jan 03 '23 17:01 ghost

Not sure if you were having issues

If we create a new component using redux, I think we need to restart the environment for it to render. I am assuming because starting new environment ("opening gitpod") fixed the issue.

Sboonny avatar Jan 04 '23 04:01 Sboonny

Not sure if this is a great solution, but we could add the header to all the layouts and conditionally show (hide) the nav. So the nav is still hidden on the cert and other views but the flash messages still show. It doesn't feel quite right, but it's not bad.

moT01 avatar Jan 04 '23 05:01 moT01

Not sure if this is a great solution, but we could add the header to all the layouts and conditionally show (hide) the nav.

That would be a significant UX change and need signing-off from Quincy and Ahmad. We should check with them.

raisedadead avatar Jan 04 '23 05:01 raisedadead

Should we revert this PR https://github.com/freeCodeCamp/freeCodeCamp/pull/48861? because this is an urgent issue.

I am down to open issue for this PR and the original PR, and we come up with a solution there.

Edit: nvm opening issue suggestion, I forgot about 48910

Sboonny avatar Jan 04 '23 06:01 Sboonny

Reverting with https://github.com/freeCodeCamp/freeCodeCamp/pull/48921, you should add the changes and make this PR a wholesome PR for the original issues and rethink the location of the message.

I am sure it's best to keep it where it already is.

raisedadead avatar Jan 04 '23 09:01 raisedadead

assign me this issue @Sboonny

SanjeevSingh08 avatar Jan 22 '23 10:01 SanjeevSingh08