Closed fromITzerotoIThero closed 10 months ago
I think for both questions any option would work, so it's more a matter of personal preference, but if I were to make a decision myself:
src/assets
Thank you! Nice to know I had the same preference as you! ;)
W.,
I've created and added a HomeButton
to MenuDesktop
and it raised a couple of questions in my head:
How to make the HomeButton
scroll back to the top of the page when I'm still on home page?
/#home
in URL HomeButton styles:
HomeButton
display in top left cornerHomeButton nesting:
MenuDesktop
container_external<nav>
elementsCommit frequency:
HomeButton
to MenuDesktop
?If you think any of these considerations of mine irrelavant or unimportant right now, we can give them a status of: TBCSDTL (ToBeContinuedSometimeDownTheLine ;)
Oh W., thank you, thank you, thank you! I take it to make programmer's heart!!!
W.,
another issue came up.
I was trying to add transition on MenuMobileFlyout
:
active
class to itFlyout
should 'fly out' from the right ;) Have you pushed the latest changes? I don't see you adding conditionally the active
class
That's what I was trying to check, whether i forgot to push it (no commits to be made in my source code locally).
And that's when I noticed these interesting tabs down below in source control side panel and I clicked on GitLens Commit Graph and...
W.!
It looks like it's browsing through all of the commits I've ever made, and I have no idea how to stop it (the internet didn't give me any solution 😢).
Anyways (nevermind this Commit Graph even if it's eating up resources XP), I did forget to push the very last commit with the conditional active class, I pushed it to origin :)
When it comes to the Menu, then I don't know where did you push it or which one are you using. I can see that you made a separate directory called ideas
- is it somewhere there? And if so, are you using it in the app? I can see that it is a bit of a mess, and it is hard for me to tell which components are used, and which not, since they are called the same
And regarding the Commit Graph - sorry, no clue, I don't use it myself
No, no, ideas
folder is indeed a mess, but none of the components from there are used in App.js (checked last date of commits in ideas
to be 2 weeks ago) 😋
The changes were pushed to master, the commit message being Try to add transition on showing MenuMobileFlyout
, there's a screenshot.
With:
the website currently renders as in the screenshot.
But we can drop it for now, ProjectPage
is more urgent now and maybe the solution will just come to me 😉
Oh, I see it now, thanks. Yeah, let's focus on the project page. I think I know what is going on, but I don't know how to fix it yet.
Alright! I'll be working on ProjectPage
and if it wears me out, I might look into this flyout transition for fun ;)
Or actually, we can even drop it altogether, it works the Flyout works fine even without it 🙃
W.,
a really weird issue just came up and I can't find a remedy for it on the net.
Currently I'm in the process of building project pages and for that purpose I've created a couple of different components. The trouble is, I can't import the needed component in pages files...
In the meantime I started building IBOSPage without the need for importing any components, it might even be a better approach with the mind-boggling number of projects that I have 😂
From what I understand you want to import ProjectPage
into IBOSPage
. Does the following not work for you?
import ProjectPage from '../../components/ProjectPage/ProjectPage';
Yay! It actually works :) It still doesn't appear in the dropdown for some reason, but it works :) Thanks!
And are you using the IBOSPage anywhere? Sometimes if you don't use a component anywhere the autocomplete gets confused.
I do, the only thing I would identify as special when it comes down to IBOSPage (that uses ProjectPage) is that the only place where it's imported is the router config in index.js. It's specified a child route, as in here (and then rendered with the use of <Outlet />
component from React Router DOM):
{
path: '/portfolio',
element: <ProjectPageLayout />,
errorElement: <ErrorPage />,
children: [
{
path: 'ibos',
element: <IBOSPage />,
errorElement: <ErrorPage />,
},
],
},
Well, when I pulled from master that part in routes was not changed to IBOSPage
and the autocomplete did not work, and when I changed it to IBOSPage
then it started to work for me
I've just pushed the latest changes, website works fine for me, but autocomplete is still broken, maybe it's some issue with my VSCode? Anyways, what's important works! :) Thx!!!
Also, on a side topic - I know that we have been using Issues for ad-hoc conversations, but I just realized that GitHub has a dedicated functionality called Discussions - you can enable it in the project settings. If you feel adventurous, you can turn it on and try it out.
Hohoho! I love adventures! I'm on my way to Discussions ;D
W.,
I need your advice :)
Where would you better store PNG images with mockups for PortfolioSlider?
src/assets
or ratherpublic/assets
?Home-page button - I've just realized it'd be very useful - where would you place it?