Skip to content
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

fix(*): Improved layout of note details in mobile view #1290

Merged
merged 18 commits into from
Jul 4, 2022

Conversation

TheSlimvReal
Copy link
Collaborator

see issue: #1274

Visible/Frontend Changes

  • Attendance list components wrap on smaller screens

Architectural/Backend Changes

--

@github-actions
Copy link

Copy link
Contributor

@Schottkyc137 Schottkyc137 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I also like the design idea!

* Flex
*/

.flex-grow {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this something FlexLayoutModule can provide?
@Schottkyc137, wanna keep an eye on this while refactoring and cleaning up the styles?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually do believe that this is a better way of doing things (I am using a similar approach while refactoring). I actually think that we should get rid of FxFlex altogether. We will probably have a discussion about this topic when I'm ready for review but the basic reasoning is that CSS flex classes are in most cases (all that I have encountered in the app) just as potent and – at least from my point of view – more clear than fxFlex. The latter works using "magic" by using styles that are added dynamically via scripts. This is almost never needed.

sleidig added 2 commits June 3, 2022 20:42
# Conflicts:
#	src/app/child-dev-project/notes/note-details/child-meeting-attendance/child-meeting-note-attendance.component.html
Copy link
Member

@sleidig sleidig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The layout still looks unclean as the participant names expand to various widths based on the length of name:
image

On mobile it would be good to get the colored dot on the same line as the status dropdown and align the trash icon with something - maybe forced on a line with remarks?
image

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 4, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 2 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@TheSlimvReal TheSlimvReal merged commit a4d2fbf into master Jul 4, 2022
@TheSlimvReal TheSlimvReal deleted the note_attendance_mobile branch July 4, 2022 12:16
@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.7.3-master.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.8.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants