Skip to content

Commit

Permalink
minor bug fixes (#2009)
Browse files Browse the repository at this point in the history
* set progress bar color to primary

* remove enrich from stepper

* remove notification when enrich started

* add success icon when step is done

* show table only when there is contacts

* remove border

* delete enrich panel

* change button to outlined with red border

* fix google credentials & redirect url

* fix formatting, linting

* Update frontend/src/components/Mining/Buttons/RemoveContactButton.vue

Co-authored-by: Jaafoura <[email protected]>

* refactored by @J43fura

Co-authored-by: Jaafoura <[email protected]>

* collapse stepper when cleaning is done

* fix linting

* revert: collapse stepper when cleaning is done

* fix table showing when empty data & success icon when step is done

* restore previous lines

* add success icon on step number instead of title

---------

Co-authored-by: Jaafoura <[email protected]>
maleksal and J43fura authored Jan 28, 2025
1 parent 8f89129 commit 725a972
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -8,10 +8,13 @@
>
<div :class="`${isActive ? 'p-step-active' : 'p-disabled'}`">
<button class="p-step-header">
<span class="p-step-number">{{ stepNumber }}</span>
<i
v-if="$stepper.isPastStep(stepNumber)"
class="pi pi-check bg-green-500 text-white rounded-full p-1"
/>
<span v-else v class="p-step-number">{{ stepNumber }}</span>
<span class="p-step-title hidden md:block">
{{ title }}
<template v-if="isPastStep">✅</template>
</span>
</button>
</div>
2 changes: 1 addition & 1 deletion frontend/src/pages/dashboard.vue
Original file line number Diff line number Diff line change
@@ -9,6 +9,6 @@
<script setup lang="ts">
const $stepper = useMiningStepper();
const $contactsStore = useContactsStore();
const showTable = computed(() => Boolean($contactsStore.contactsList));
const showTable = computed(() => Boolean($contactsStore.contactsList?.length));
$stepper.open();
</script>

0 comments on commit 725a972

Please sign in to comment.