-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: minor adjustments in archetype design #304
feat: minor adjustments in archetype design #304
Conversation
PR #304 preview deployed in https://x.test.empathy.co/preview/304/index.html |
{{ $t('myHistory.noHistory') }} | ||
</p> | ||
</div> | ||
<div v-else /> |
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 are we assuming that we have to delete the My History graphic based on the designs?
https://www.figma.com/file/mYfJZHn668mGEGf61Sji6m/X-Archetype?node-id=3027%3A22233&mode=dev
There are two versions in there..
<NextQuery :suggestion="nextQuery" class="x-button-tight x-button max-desktop:x-px-16"> | ||
<NextQuery | ||
:suggestion="nextQuery" | ||
class="x-button-tight x-button x-text-lead-50 max-desktop:x-px-16" |
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.
class="x-button-tight x-button x-text-lead-50 max-desktop:x-px-16" | |
class="x-button-tight x-button x-button-lead max-desktop:x-px-16" |
@@ -5,7 +5,7 @@ | |||
<template #header> | |||
<PartialQueryButton | |||
:query="partialResult.query" | |||
class="x-button-tight x-button max-desktop:x-px-16" | |||
class="x-button-tight x-button x-text-lead-50 max-desktop:x-px-16" |
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.
class="x-button-tight x-button x-text-lead-50 max-desktop:x-px-16" | |
class="x-button-tight x-button x-button-lead max-desktop:x-px-16" |
@@ -1,22 +1,27 @@ | |||
<template> | |||
<i18n | |||
v-if="$x.noResults" | |||
class="x-no-results-message x-text1 x-flex x-flex-col x-items-center x-gap-8 x-break-words x-bg-neutral-10 x-p-24 x-text-center desktop:x-text1-lg" | |||
class="x-no-results-message x-text1 x-mt-24 x-flex x-items-center x-break-words x-bg-neutral-10 x-py-8 x-text-center x-text-neutral-90 desktop:x-flex-wrap desktop:x-justify-center desktop:x-gap-8 desktop:x-text1-lg desktop:x-py-24" |
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 are we changing so many text colors from x-text1
to x-text-neutral-90
?
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.
Many texts need the color x-text-neutral-90
, I mean this color #283034
, but by default, all these texts have associated this color #000000
. We could separate these text changes in another task and investigate how to fix them.
src/components/search-box.vue
Outdated
@@ -16,9 +16,9 @@ | |||
|
|||
<SearchButton | |||
v-if="isDesktopOrGreater || !$x.query.searchBox" | |||
class="x-input-group-button-primary" | |||
class="x-input-group-button-primary x-bg-neutral-90" |
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 doesn't work design wise, we don't have a button with a background color of neutral-90
. We lose the hovering interactions with this.
PR #304 preview deployed in https://x.test.empathy.co/preview/304/index.html |
PR #304 preview deployed in https://x.test.empathy.co/preview/304/index.html |
@@ -48,7 +48,6 @@ const instance = popFromURLParameters('instance') || 'empathy'; | |||
const env = getEnv(); | |||
const scope = popFromURLParameters('scope') || 'desktop'; | |||
const lang = popFromURLParameters('lang') || 'en'; | |||
const device = popFromURLParameters('device') || 'mobile'; |
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.
Instead of removing this functionality, change this line to
const device = popFromURLParameters('device') || undefined;
public/snippet-script.js
Outdated
@@ -63,7 +62,6 @@ window.initX = { | |||
env, | |||
scope, | |||
lang, | |||
device, |
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.
Restore this
PR #304 preview deployed in https://x.test.empathy.co/preview/304/index.html |
Pull request template
Restyle with minor adjustments the archetype following the designs: https://www.figma.com/file/mYfJZHn668mGEGf61Sji6m/X-Archetype?node-id=72%3A468&mode=dev
Motivation and context
Type of change
What is the destination branch of this PR?
Main
How has this been tested?
Follow the task description.
Checklist: