-
Notifications
You must be signed in to change notification settings - Fork 0
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
Emge/menu and settings #303
base: main
Are you sure you want to change the base?
Conversation
AI-Generated Summary: This pull request introduces substantial updates in the application concerning typography, link styling, translations, user interface, and Firebase authentication functionality:
These critical updates require comprehensive testing for the authentication functionality, updated interface, and compatibility of the CSS changes with existing design aspects. Also, the introduced translation strings should be validated for accuracy and appropriateness. |
Visit the preview URL for this PR (updated for commit c3ab914): https://portatodev--pr303-emge-menu-and-settin-r9b1lc44.web.app (expires Sat, 16 Dec 2023 11:58:37 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 1ad69377d0acebce2cf10d7d9603fe0f03acd164 |
…u-and-settings # Conflicts: # src/CSS/Fonts.css # src/CSS/Icons.css # src/Components/FirebaseAuth.tsx # src/Translation/English/translation.json # src/Translation/French/translation.json # src/Translation/German/translation.json
AI-Generated Summary: This pull request covers a wide range of modifications across several files focused on UX, UI, and localization. Key changes include the following:
Overall, these changes bring about a more versatile UI, improved UX design, enhanced localization and better management of developer environments. The pull request is extensive, impacting several components, styles, and translations. Care must be taken to thoroughly validate these changes across different environments. |
AI-Generated Summary: This pull request introduces various changes across multiple files, mainly focusing on frontend enhancements and multilingual support:
Considering the overall changes made in all files, this pull request appears to be focused on improving user interface and experience, enhancing multilingual support, and implementing better coding practices and cleaner codebase. These changes might bring significant differences in the visual appeal of the website/application, while also enhancing navigational efficiency. It is recommended to validate these changes on various screen sizes and configurations to ensure as-expected display and functionality. |
When I'm in the "My Account" or "Settings" page, I can't click the "Menu" button in the bottom toolbar anymore, to get back to the profile page. I think that button should bring the user to the Profile overview, no matter which sub-menu they're in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly just minor things, but setting to "Request changes" because of the removal of the admin window and such.
onClick={handleAdminClick} | ||
className="settings-list-item" | ||
> | ||
{t('navigationMenu.adminWindow')} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this change we'd lose the adminWindow
. That would be good to keep.
|
||
.settings-card { | ||
background-color: var(--color-green-lighter); | ||
/*background-color: var(--color-green-lighter);*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to remove these settings entirely. I'd rather re-write a few lines than accruing zombie code over time.
<Form className="portato-form"> | ||
<div className="input-wrapper"> | ||
<label>{t('settings.languageLabel')}</label> | ||
<Selector |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This selector should default to the currently selected language and always have 1 of the options active. Deselecting all buttons should be impossible.
@@ -38,6 +38,7 @@ | |||
"yes": "Ja", | |||
"no": "Nein", | |||
"edit": "edit", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you have time; "edit" should be "Editieren" in German.
onChange={onEmailChange} | ||
value={email || ''} | ||
className="form-input" | ||
placeholder={t('accountPage.name') || 'Your name'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be:
placeholder={t('accountPage.emailAddress') || 'Your email address'}
{imageUrl ? ( | ||
<img src={imageUrl} alt="avatar" style={{ width: '100%' }} /> | ||
<img src={imageUrl} alt="avatar" className="profile-image" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason I can upload a profile picture, but it doesn't remain. And it didn't use the profile picture that I was using before. Maybe just an issue of this test-deployment, but haven't noticed that in the past.
This is a first-impression branch!
If you like the style I think we have to discuss a few general interactions on the site to provide a standardised interface. I am happy to discuss it :-)