diff --git a/web/package.json b/web/package.json index 877b986..e41076a 100644 --- a/web/package.json +++ b/web/package.json @@ -20,6 +20,7 @@ "react-hook-form": "^7.32.1", "react-hot-toast": "^2.2.0", "react-multi-select-component": "^4.2.9", + "react-popper-tooltip": "^4.4.2", "react-query": "^3.39.1", "react-ridge-state": "4.2.2", "react-router-dom": "^6.3.0", diff --git a/web/src/components/Checkbox.tsx b/web/src/components/Checkbox.tsx index 06eff43..f8fbaa2 100644 --- a/web/src/components/Checkbox.tsx +++ b/web/src/components/Checkbox.tsx @@ -23,7 +23,7 @@ export const Checkbox = ({ label, description, value, setValue }: CheckboxProps) checked={value} onChange={setValue} className={ - `${value ? "bg-teal-500 dark:bg-blue-500" : "bg-gray-200 dark:bg-gray-700" + `${value ? "bg-blue-500" : "bg-gray-200 dark:bg-gray-700" } ml-4 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500`} > ( export const TitleCell = ({ value }: CellProps) => (
- {value} + + + {value} + +
); @@ -32,27 +41,87 @@ interface ReleaseStatusCellProps { interface StatusCellMapEntry { colors: string; icon: React.ReactElement; + textFormatter: (text: string) => React.ReactElement; } const StatusCellMap: Record = { "PUSH_ERROR": { colors: "bg-pink-100 text-pink-800 hover:bg-pink-300", - icon: