-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Issue #1000 Responsive design changes and element overhaul to Player Loadout in tarkov.dev/players/* pages #1002
base: main
Are you sure you want to change the base?
Conversation
Issue #1000 Responsive design changes and element overhaul to Player Loadout in tarkov.dev/players/* pages
👋 Thanks for opening a pull request!If you are new, please check out the trimmed down summary of our deployment process below:
You can view the branch deploy usage guide for additional information |
.deploy to development |
Deployment Triggered 🚀Razzmatazzz, started a branch deployment to development You can watch the progress here 🔗
|
Deployment Results ✅Razzmatazzz successfully deployed branch Show Results |
Hey Razz! Just to address your points above:
It look like the tweaks commit you pushed takes care of this no? Now you can feed image dimensions directly into the evocation of the item-image component. Pretty nice as gives the component more flexibility without have image dimensions hard coded into the component itself. With this change we can also scale down the attachment images when a user clicks on the weapon if need be (should there be some sort of icon or message that the user CAN click to expand?)
Specifically which image form the item object would be the best fit? baseImageLink, gridImageLink? Side suggestion: Are we dead set on using the Mui X package to display the attachment list? What if we did something like this from in game when a user clicks a weapon for example? Just list all attachments in a flex display with wrapping without displaying empty slots (you'd have to know all the different slots available on all weapons across the game, which sounds like a nightmare). Just an idea... |
Hey @Applefrittr! Yes, we're close to getting this merged. I added the points above just so you'd have some indication of the current status of things and not feel like your PR disappeared into a black hole. I'm currently experimenting with styling the images more like the grid images that appear in the loadout slots in the game while keeping them responsive: |
.deploy to development |
Deployment Triggered 🚀Razzmatazzz, started a branch deployment to development You can watch the progress here 🔗
|
Deployment Results ✅Razzmatazzz successfully deployed branch Show Results |
@Applefrittr what do you think of this implementation? |
@Razzmatazzz Oh yeah we're making progress. A few nit picks though:
BUT, we did fix the initial complaints I made when I submitted the issue. The overall element fits on smaller screens, doesn't distort the rest of the page, and we got slot labels too 😄 The rest of the changes I guess are more subjective |
Changes courtesy of @Applefrittr
Responsive Design and UI overhaul to Player loadouts in tarkov.dev/players/* Issue #1000
Targeted changes to provide a better user experience, especially on phone.
Description 🗒️
Refer to Issue #1000. The original loadout element caused page layout concerns, especially on smaller screens. Overflow issues fixed and overall look of the element was changed dramatically to give the look and feel of the in game character screen.
KEY CHANGES
Examples 📸
Related Issues 🔗
I explored the site after my changes in my local environment and did not notice any changes to other image elements across the site 🤞
First PR, be gentle 😃
Expand for Help
Preview: https://preview.tarkov-dev.pages.dev/players
Issues blocking this from merging:
Resolves #1000