-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(NewGoalCriteria): use harmony components for similar view in pop…
…up and goal preview
- Loading branch information
Showing
25 changed files
with
1,599 additions
and
1,608 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
3 changes: 3 additions & 0 deletions
3
src/components/GoalActivityFeed/GoalActivityFeed.i18n/en.json
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"Add achievement criteria": "Add achievement criteria" | ||
} |
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
src/components/GoalActivityFeed/GoalActivityFeed.i18n/ru.json
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"Add achievement criteria": "Добавить критерий" | ||
} |
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,7 +1,7 @@ | ||
{ | ||
"Achievement criteria": "", | ||
"Create as goal": "", | ||
"Delete": "", | ||
"Add achievement criteria": "", | ||
"Edit": "" | ||
"Achievement criteria": "Achievement criteria", | ||
"Loading ...": "Loading ...", | ||
"Edit": "Edit", | ||
"Create as goal": "Create as goal", | ||
"Delete": "Delete" | ||
} |
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,7 +1,7 @@ | ||
{ | ||
"Achievement criteria": "Критерии достижимости", | ||
"Loading ...": "Загрузка ...", | ||
"Edit": "Изменить", | ||
"Create as goal": "Создать, как цель", | ||
"Delete": "Удалить", | ||
"Add achievement criteria": "Добавить критерий", | ||
"Edit": "Изменить" | ||
"Delete": "Удалить" | ||
} |
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,33 +1,75 @@ | ||
.GoalCriteria { | ||
/* for non-interactive popups allow inner events */ | ||
pointer-events: all; | ||
width: 400px; | ||
} | ||
|
||
.GoalCriteriaTitle { | ||
color: var(--text-secondary); | ||
padding-bottom: var(--gap-xs); | ||
border-bottom: 1px solid var(--gray-900); | ||
} | ||
|
||
.GoalCriteriaTable { | ||
margin-top: var(--gap-sm); | ||
} | ||
|
||
.GoalCriteriaItemTitle { | ||
flex: 1; | ||
line-height: 24px; | ||
} | ||
|
||
.GoalCriteriaItemTitleStrike, | ||
.GoalCriteriaItemWeight { | ||
color: var(--text-secondary); | ||
} | ||
|
||
.GoalCriteriaWeightColumn { | ||
text-align: right; | ||
} | ||
|
||
.GoalCriteriaIssueMeta { | ||
display: grid; | ||
grid-template-columns: 100%; | ||
grid-template-rows: minmax(32px, 100%); | ||
align-items: center; | ||
gap: var(--gap-s); | ||
max-width: 520px; | ||
.GoalCriteriaTableRow { | ||
align-items: baseline; | ||
} | ||
|
||
.GoalCriteriaCheckBox { | ||
display: inline-flex; | ||
.GoalCriteriaGoalBadge { | ||
align-items: baseline; | ||
cursor: pointer; | ||
color: var(--gray-800) | ||
} | ||
|
||
.GoalCriteriaCheckBox:hover { | ||
color: var(--gray-500) | ||
.GoalCriteriaItemCheckbox, | ||
.GoalCriteriaGoalBadge { | ||
padding-left: 0; | ||
padding-right: 0; | ||
} | ||
|
||
.GoalCriteriaTrigger { | ||
cursor: pointer; | ||
} | ||
.GoalCriteriaLoader { | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
.GoalCriteriaActions { | ||
display: flex; | ||
flex-direction: column; | ||
width: max-content; | ||
} | ||
|
||
.GoalCriteriaActionsItem { | ||
padding: var(--gap-xs); | ||
} | ||
|
||
.GoalCriteriaActionsItem:hover { | ||
background-color: var(--gray-900); | ||
} | ||
|
||
.GoalCriteriaCheckBox_disabled { | ||
pointer-events: none; | ||
cursor: default; | ||
.GoalCriteriaIssueMeta.GoalCriteriaIssueMeta { | ||
max-width: max-content; | ||
} | ||
|
||
.GoalCriteriaCheckBox_checked, | ||
.GoalCriteriaCheckBox_checked:hover { | ||
color: var(--brand-color); | ||
fill: var(--background-color); | ||
/* increasing selector specificity for override SC priority */ | ||
.GoalCriteriaIssueMetaReset.GoalCriteriaIssueMetaReset { | ||
padding: 0; | ||
|
||
} |
Oops, something went wrong.