-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: change the log viewer to a subtitle button
- add a button below the section title in builds and tests details Close #992
- Loading branch information
1 parent
bc229ca
commit ac0d5e4
Showing
6 changed files
with
40 additions
and
35 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
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,22 @@ | ||
import type { JSX } from 'react'; | ||
|
||
import { FormattedMessage } from 'react-intl'; | ||
|
||
import { SheetTrigger } from '@/components/Sheet'; | ||
import { BlueSearchIcon } from '@/components/Icons/BlueSearch'; | ||
|
||
const ButtonOpenLogSheet = ({ | ||
setSheetToLog, | ||
}: { | ||
setSheetToLog: () => void; | ||
}): JSX.Element => ( | ||
<SheetTrigger | ||
className="text-blue flex flex-row items-center gap-2 self-start" | ||
onClick={setSheetToLog} | ||
> | ||
<FormattedMessage id="global.viewLog" /> | ||
<BlueSearchIcon /> | ||
</SheetTrigger> | ||
); | ||
|
||
export default ButtonOpenLogSheet; |
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,7 @@ | ||
import { MdOutlineSearch } from 'react-icons/md'; | ||
|
||
import type { JSX } from 'react'; | ||
|
||
export const BlueSearchIcon = (): JSX.Element => ( | ||
<MdOutlineSearch className="text-blue" /> | ||
); |
This file was deleted.
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