Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 0d4a854

Browse files
c.30126024 s.374249 - Merge and Fixes
1 parent 3f87632 commit 0d4a854

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+3301
-1075
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@
2828
},
2929
"browserslist": {
3030
"production": [
31+
"ie 11",
3132
">0.2%",
3233
"not dead",
3334
"not op_mini all"
3435
],
3536
"development": [
37+
"ie 11",
3638
"last 1 chrome version",
3739
"last 1 firefox version",
3840
"last 1 safari version"

public/sprites.png

8.42 KB
Loading

src/components/AddFiltersModal/Filter/index.jsx

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/components/AddFiltersModal/Filter/style.module.scss

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/components/AddFiltersModal/index.jsx

Lines changed: 0 additions & 114 deletions
This file was deleted.

src/components/AddFiltersModal/style.module.scss

Lines changed: 0 additions & 68 deletions
This file was deleted.

src/components/EditProfileModal/index.jsx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ import ProfileCard from '../ProfileCard';
99

1010
import style from './style.module.scss';
1111

12+
import { makeColorIterator, avatarColors } from '../../lib/colors';
13+
const colorIterator = makeColorIterator(avatarColors);
14+
const nextColor = colorIterator.next();
15+
1216
const COMMON_ATTRIBUTES = [
1317
'role',
1418
'company',
@@ -32,7 +36,8 @@ export default function EditProfileModal({
3236
api={api}
3337
stripped
3438
updateUser={setLocalUser}
35-
user={localUser}
39+
profile={localUser}
40+
avatarColor={nextColor.value}
3641
/>
3742
<div className={style.editor}>
3843
<div className={style.header}>
@@ -69,11 +74,11 @@ export default function EditProfileModal({
6974
attributes: localUser.attributes.map(el =>
7075
(el.attributeName === 'role' ? {...el, value: target.value} : el)
7176
),
72-
role: target.value
77+
title: target.value
7378
})
7479
setImmediate(() => target.focus());
7580
}}
76-
value={localUser.role}
81+
value={localUser.title}
7782
/>
7883
<Input
7984
label="Company"
@@ -108,7 +113,7 @@ export default function EditProfileModal({
108113
<div className={style.pillGroup}>
109114
<input
110115
className={style.input}
111-
onKeyPress={({ key }) => {
116+
onKeyUp={({ key }) => {
112117
if (key === 'Enter') {
113118
const skill = skillInputValue.trim();
114119
if (skill) {
@@ -168,7 +173,7 @@ export default function EditProfileModal({
168173
<input
169174
className={style.input}
170175
placeholder="Enter achievements to add"
171-
onKeyPress={({ key }) => {
176+
onKeyUp={({ key }) => {
172177
if (key === 'Enter') {
173178
const achie = achieInputValue.trim();
174179
if (achie) {

src/components/EditProfileModal/style.module.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
.container {
44
display: flex;
5+
height: 791px;
6+
max-height: 791px;
7+
overflow-y: auto;
58
}
69

710
.editor {
@@ -45,6 +48,7 @@
4548
outline: none;
4649
padding: 0 10px;
4750
width: 100%;
51+
box-sizing: border-box;
4852

4953
&::placeholder {
5054
opacity: 0.5;

src/components/FilterGroup/index.jsx

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/components/FilterGroup/style.module.scss

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)