-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 504-feat-add-project-select-to-contributors-…
…page
- Loading branch information
Showing
29 changed files
with
260 additions
and
52 deletions.
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,7 +1,7 @@ | ||
{ | ||
".": "1.54.0", | ||
"apps/backend": "1.33.3", | ||
"apps/frontend": "1.50.0", | ||
"packages/shared": "1.31.1", | ||
"scripts/analytics": "1.7.0" | ||
".": "1.56.0", | ||
"apps/backend": "1.35.0", | ||
"apps/frontend": "1.52.0", | ||
"packages/shared": "1.33.0", | ||
"scripts/analytics": "1.8.0" | ||
} |
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
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
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
40 changes: 40 additions & 0 deletions
40
...analytics/libs/components/analytics-contributors-search/analytics-contributors-search.tsx
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,40 @@ | ||
import { | ||
type Control, | ||
type FieldErrors, | ||
type FieldPath, | ||
type FieldValues, | ||
} from "react-hook-form"; | ||
|
||
import { Search } from "~/libs/components/components.js"; | ||
|
||
import styles from "./styles.module.css"; | ||
|
||
type Properties<T extends FieldValues> = { | ||
control: Control<T, null>; | ||
errors: FieldErrors<T>; | ||
name: FieldPath<T>; | ||
onChange: (search: string) => void; | ||
}; | ||
|
||
const AnalyticsContributorsSearch = <T extends FieldValues>({ | ||
control, | ||
errors, | ||
name, | ||
onChange, | ||
}: Properties<T>): JSX.Element => { | ||
return ( | ||
<div className={styles["search-container"]}> | ||
<Search | ||
control={control} | ||
errors={errors} | ||
isLabelHidden | ||
label="Contributors search" | ||
name={name} | ||
onChange={onChange} | ||
placeholder="Enter name" | ||
/> | ||
</div> | ||
); | ||
}; | ||
|
||
export { AnalyticsContributorsSearch }; |
4 changes: 4 additions & 0 deletions
4
...ntend/src/pages/analytics/libs/components/analytics-contributors-search/styles.module.css
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,4 @@ | ||
.search-container { | ||
width: 300px; | ||
background-color: var(--color-background-secondary); | ||
} |
Oops, something went wrong.