Skip to content

Commit

Permalink
Merge pull request #33 from Sicnecher/sicnecher-branch
Browse files Browse the repository at this point in the history
s
  • Loading branch information
Sicnecher authored Jan 18, 2025
2 parents 583e847 + 6b136f4 commit db56d63
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/cmps/BoardDetails.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ const BoardDetails = () => {
const labels = ["item", "priority", "status", "members", "date", "+"];

const progress = [null, null, "priority", "status", "members", "date"];

const handleCheckBoxClick = (groupId, taskId) => {
const handleCheckBoxClick = (groupId, taskId) => {
console.log(groupId, taskId);
console.log(checkedBoxes);
setCheckedBoxes((prev) => {
Expand Down
3 changes: 3 additions & 0 deletions src/cmps/dynamicCmps/Members.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import { useSelector } from "react-redux";
export function Members({ cellId, group, task, members, onTaskUpdate, users }) {
const openModalId = useSelector(state => state.boardModule.openModal)
const modal = (openModalId === cellId)
useEffect(() => {
console.log(members)
}, [])

const modalRef = useRef(null)
const membersCellRef = useRef(null)
Expand Down
2 changes: 1 addition & 1 deletion src/cmps/dynamicCmps/modals/ChatModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function ChatModal({

return (
<section className="chat-modal">

<button className="exis-button" onClick={modalToggle}>X</button>

{/* Edit Task Title */}
Expand Down
4 changes: 3 additions & 1 deletion src/styles/_mondayIndex.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
display: grid;
grid-template-columns: 200px 1fr;
gap: 10px;
height: calc(100vh - 60px); /* Adjust based on the height of AppHeader */
height: 100%;
}

header {
Expand All @@ -25,4 +25,6 @@ header {
grid-column: 2 / 3;
height: 100%;
overflow-y: auto;
display: grid;
grid-template-rows: 100px 1fr;
}
4 changes: 2 additions & 2 deletions src/styles/dynamicCmps/modals/_ChatModal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
position: relative;

.chat-modal {
z-index: 10;
z-index: 100;
position: absolute;
top: 0px; // temporary
right: 0px; // temporary
width: 50%;
height: 100%;
height: 600px;
background-color: white;
border: solid black 2px;
border-radius: 5px;
Expand Down

0 comments on commit db56d63

Please sign in to comment.