codeforpdx / PASS

PASS project - with HMIS module integration
MIT License
24 stars 24 forks source link

463 enhancement your signup link user experience optimization #547

Closed TheChunkyPumpkinhead closed 4 months ago

TheChunkyPumpkinhead commented 7 months ago

This PR:

Resolves (#463)

1. I fixed the card issue. It is now one card and all items are centered. 2. I am having trouble with the copy-and-paste API.

Screenshot 2023-11-28 at 3 33 46 PM

Future Steps/PRs Needed to Finish This Work (optional):

I need formal help with API

Issues needing discussion/feedback (optional):

1. API for copy-and-paste

xscottxbrownx commented 7 months ago

I'd like to add one more thing...

lets not just have margin on the top, but also the bottom. Currently, the footer rests directly up against the rendered parent component.

src > pages > Signup.jsx - maybe for the <Box> switch the marginTop: 3 to my: 3 so there's the same margin on bottom too. (but honestly the <Box> should be a <Stack>, then we could get rid of the display: flex and the flexDirection: column too)

Screenshot 2023-11-29 at 8 05 00 PM

Ah, now that I think about it more and inspect it with Chrome dev tools... Seems like we may not even need the box/stack. May be able to put those stylings on the Paper component itself. Seems to me it's just an extra div for no real reason.

TheChunkyPumpkinhead commented 7 months ago

Okay! i need to stop. I did what you asked: Screenshot 2023-11-30 at 3 43 32 PM The only issue is the Typography(I think) needs to display correctly. How do I fix this? Screenshot 2023-11-30 at 3 47 00 PM

leekahung commented 7 months ago

How do I fix this? Screenshot 2023-11-30 at 3 47 00 PM

Hm...think we could do something like splitting up the one line of text with the statement and webId into two lines of text, one line for the statement, one line for the webId.

To make it nicer, think we could also turn the 2nd line of text with the webId into a potential link (in case the person that's registering is interested in who they're registering/working with with for the new Solid Pod). If the lines get too wide for the screen, think we could employ ellipsis or the like.

xscottxbrownx commented 7 months ago

Okay! i need to stop. I did what you asked: Screenshot 2023-11-30 at 3 43 32 PM

Actually you did the exact opposite - you put the Paper styling on the Stack, but that's okay it has same effect.

xscottxbrownx commented 7 months ago

Alright, I'm going to back up a lot because I'm a little lost here on this PR.

This PR hasn't addressed number 1 or 3 from the Issue #463


Number 1 I'm not exactly sure what they are looking for, but it is showing the MUI copycontent rounded icon: import ContentCopyRoundedIcon from '@mui/icons-material/ContentCopyRounded';

so I assume they wanted that icon to be next to the 'YOUR SIGNUP LINK', and maybe the onClick of the icon copies the signup link. This way the user that wants to share that link with somebody doesn't have to click on it to open it, then manually copy it from address bar?


Number 3 Still using the window dialog box, instead of an MUI modal to keep with rest of app styling.


With the above said, if you'd like to keep this PR only addressing number 2 from the issue - that would be fine, but we need to:




Now, back to the 1 thing from the issue this PR does address:

I agree with Ka Hung about splitting this text to two lines, and personally I would make the second line a little different (bold maybe 🤷🏻‍♂️) I also think his approach to minimize the text using an ellipsis (if it's too long) is a decent idea, but then it kind of loses all helpfulness and reason to be displayed at all in my opinion.

This whole display problem becomes even more compounded when we consider mobile devices - which this fails to address or keep in mind. The form has a set width that doesn't fit for mobile whatsoever.




Screenshot 2023-12-02 at 10 19 09 AM

Keep in mind this still doesn't address the mobile view issues.

leekahung commented 7 months ago

Oh, to be able to pick up the potentially long webId, think we could of course use the Clipboard API (or copy and paste functionality) as mentioned in the main issue. That'll be nice I think, since we could reuse that in other places.

xscottxbrownx commented 6 months ago

@TheChunkyPumpkinhead are you still interested in this issue?

TheChunkyPumpkinhead commented 6 months ago

Yeah

On Wed, Dec 13, 2023, 5:49 PM Scott Brown @.***> wrote:

@TheChunkyPumpkinhead https://github.com/TheChunkyPumpkinhead are you still interested in this issue?

— Reply to this email directly, view it on GitHub https://github.com/codeforpdx/PASS/pull/547#issuecomment-1854978671, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJ4XTOU2MOS25JDREXB5ALYJJLJXAVCNFSM6AAAAAA76R4QZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJUHE3TQNRXGE . You are receiving this because you were mentioned.Message ID: @.***>

andycwilliams commented 4 months ago

@TheChunkyPumpkinhead Hey, just checking in to see what the current status is.

andycwilliams commented 4 months ago

Closing this PR. Will open new one pending reassessment of issue.