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

Improved: UI for lat-long card, UI for facility management, UI for Parking and Groups, button text #108

Merged
merged 9 commits into from
Dec 21, 2023

Conversation

amansinghbais
Copy link
Contributor

@amansinghbais amansinghbais commented Dec 12, 2023

Related Issues

Closes #

Short Description and Why It's Useful

Improved:

  • UI of latitude and longitude card in facility details page.
  • UI of Parking page.
  • UI of FindGroups page.
  • button text message of segments.

Screenshots of Visual Changes before/after (If There Are Any)

Screenshot from 2023-12-12 11-06-29
Screenshot from 2023-12-12 11-07-26 Screenshot from 2023-12-12 11-07-31

Screenshot from 2023-12-12 11-07-57

Screenshot from 2023-12-12 11-08-32

Contribution and Currently Important Rules Acceptance

Copy link
Contributor

@dt2patel dt2patel 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, minor suggestions

@@ -1113,9 +1115,7 @@ ion-card-header {
}


/*Height of segment is defined now since their are less list items. Will remove it later */
.segments {
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need to use a class or can we just select the element? @amansinghbais

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dt2patel sir, div with segments class contains 3 child div inside it and some css is applied to those div tag with the help of 'segments' class as ".segments div". So if we don' t want to use segments class, we need to give some identifier(class) to the div inside for adding css on them.

<h1>{{ group.facilityGroupName }}</h1>
<p>{{ group.facilityGroupId }}</p>
</ion-label>
<ion-button @click="openFacilityGroupActionsPopover($event, group)" fill="clear" color="medium">
Copy link
Contributor

Choose a reason for hiding this comment

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

need to add slot here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Resolved

<ion-button color="medium" fill="clear" @click="openCreateFacilityGroupModal()">
<ion-icon :icon="addOutline" slot="start"/>
{{ translate('Create group') }}
<main class="groups" v-if="groups.length">
Copy link
Contributor

Choose a reason for hiding this comment

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

instead of using a class why not select the main element when it has cards?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes we can, but then a doubt arises. This css should be moved to variable.css or has to be page specific.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes it can be generalized in variables file

Copy link
Contributor

@dt2patel dt2patel 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

@ymaheshwari1 ymaheshwari1 merged commit 77e2770 into hotwax:main Dec 21, 2023
2 checks passed
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.

3 participants