-
Notifications
You must be signed in to change notification settings - Fork 9
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
Ticket #598 updated #639
Merged
melissasamworth
merged 23 commits into
StampyAI:stampy-redesign
from
zarSou9:598-updated
Jun 4, 2024
Merged
Ticket #598 updated #639
Changes from 21 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
3338bf5
Feedback updated, ButtonSecondary added
zarSou9 d211cf2
Fixed reference errors by switching to npm
zarSou9 6224504
Fixed linting error
zarSou9 bc3bb58
added node/types
zarSou9 9ce820c
Hopefully fixed test err
zarSou9 0a3dca9
Fixed type errors
zarSou9 f38104c
save feedback to local storage
zarSou9 9b394ea
fixed js css interaction
zarSou9 488843b
linting issue fix
zarSou9 3510b72
prettier is acting weird
zarSou9 e8cc39b
correct prettier file
zarSou9 90c0f4c
prettier is not pretty
zarSou9 a96a9eb
prettier needs to die
zarSou9 519ac26
idk anymore
zarSou9 bd231aa
Merge remote-tracking branch 'upstream/stampy-redesign' into 598-updated
zarSou9 1c52886
removed tailwind
zarSou9 efc5302
form styling
zarSou9 932b918
Merge branch 'stampy-redesign' into 598-updated
zarSou9 282a58b
Incorporated feedback, Deleted ButtonSecondary
zarSou9 07e37bd
Merge branch '598-updated' of https://github.com/zarSou9/stampy-ui in…
zarSou9 3f7bdbe
color vars added
zarSou9 a571c1b
vars added, position form absolutely
zarSou9 f8ee121
linting
zarSou9 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
semi: false | ||
singleQuote: true | ||
bracketSpacing: false | ||
printWidth: 100 | ||
trailingComma: es5 | ||
{ | ||
"semi": false, | ||
"singleQuote": true, | ||
"bracketSpacing": false, | ||
"printWidth": 100, | ||
"trailingComma": "es5" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,49 @@ | ||
.feedback .composite-button { | ||
width: fit-content; | ||
.feedback { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.thanks { | ||
transition: opacity 200ms ease-in-out; | ||
margin-left: 0.5rem; | ||
pointer-events: none; | ||
} | ||
.show { | ||
opacity: 1; | ||
} | ||
|
||
.hide { | ||
opacity: 0; | ||
} | ||
|
||
.feedback-form { | ||
position: relative; | ||
z-index: 2; | ||
max-width: 384px; | ||
padding: var(--spacing-32); | ||
margin-top: var(--spacing-8); | ||
display: flex; | ||
flex-direction: column; | ||
position: fixed; | ||
top: 50px; | ||
left: calc(13.333vw + 85px); | ||
width: 384px; | ||
padding: 30px; | ||
border-radius: 6px; | ||
} | ||
|
||
/* Comment to Nemo when he reviews: why didn't you just do this the way you did the settings buttons? */ | ||
.select-option { | ||
zarSou9 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
height: var(--spacing-48); | ||
padding: var(--spacing-8) var(--spacing-16); | ||
border-radius: var(--border-radius); | ||
margin-bottom: var(--spacing-16); | ||
cursor: pointer; | ||
width: 100%; | ||
} | ||
|
||
.submit { | ||
height: var(--spacing-48); | ||
border-radius: var(--border-radius); | ||
font-weight: 500 !important; | ||
cursor: pointer; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @melissasamworth watch out, here she comes |
||
width: 100%; | ||
} | ||
|
||
.select-option.selected { | ||
border: 1px solid var(--colors-teal-500); | ||
} | ||
|
@@ -28,7 +54,6 @@ | |
padding: var(--spacing-12); | ||
margin: var(--spacing-40) 0; | ||
box-sizing: content-box; | ||
background: pink; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hmm. interesting... |
||
.feedback-text.no-options { | ||
margin: var(--spacing-16) 0; | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
how does this differ from the
.secondary
class below? That is conceptually what's the difference?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.
The second version of the button, as represented in the figma, is significantly stylistically different, mainly as a result of the difference in hover states (the main button shows and outline, and the second shows a background). This also effects how sibling buttons are grouped. The
.secondary
class is a slight difference to the main button version, and the.button-secondary
class is a second version of the button.