-
Notifications
You must be signed in to change notification settings - Fork 43
[MS] Client Area Style Miscellaneous (Saas only) #11996
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
base: master
Are you sure you want to change the base?
Conversation
4af4a88 to
818f04b
Compare
bb9fc99 to
6de1a87
Compare
Ironicbay
left a comment
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.
| @click="isSidebarMenuVisible ? hideSidebarMenu() : resetSidebarMenu()" | ||
| :image="SidebarToggle" | ||
| /> | ||
| <ion-menu-toggle v-if="!isMobile() && isSmallDisplay"> |
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.
Why !isMobile()? Wouldn't we want this toggle on mobile as well?
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.
After selecting an organization on the statistics page, there's no indication of it in small display (it's displayed in the sidebar on large display).
I would either add the organization name somewhere visible like below the header, or add the switch organization popover somewhere in the page. But as I specified in my first comment, the organization-specific statistics page is not done yet
| const filteredOrganizations = computed(() => | ||
| searchQuery.value.trim() | ||
| ? props.organizations.filter((org) => org.name.toLowerCase().includes(searchQuery.value.toLowerCase().trim())) | ||
| : props.organizations, | ||
| ); |
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.
suggestion: Use if/else rather than ternaries for code clarity.
| const filteredOrganizations = computed(() => | |
| searchQuery.value.trim() | |
| ? props.organizations.filter((org) => org.name.toLowerCase().includes(searchQuery.value.toLowerCase().trim())) | |
| : props.organizations, | |
| ); | |
| const filteredOrganizations = computed(() => { | |
| const query = searchQuery.value.trim(); | |
| if (query) { | |
| return props.organizations.filter((org) => org.name.toLowerCase().includes(query.toLocaleLowerCase())); | |
| } | |
| return props.organizations; | |
| }); |

What's included:
Client.area.responsive.-.Saas.mov
closes #10342, closes #11998