- {/* personal line */}
-
-
-
- TEAM
-
-
-
-
-
- {/* list of team members */}
- {
- testFriends.map((friend, i) => {
- return (
-
-
-
-
- {statusBubble(friend.status)}
-
-
-
-
-
-
- {friend.name}
- {
- selectedChannel == i ?
- <>
-
- >
-
- :
-
- }
-
-
-
- {friend.role}
-
-
- {renderPulse(friend.status)}
-
- )
- })
- }
-
-
-
- {/* pinned */}
-
-
-
- ANNOUNCEMENTS
-
-
- updates, pep talks, blockers, reminders
-
-
- {/* tab pane */}
-
- Active
-
- Resolved
-
-
-
- TODAY
-
-
-
-
-
-
-
- {/* adriana's announcement */}
-
-
-
-
- {statusBubble(UserStatus.busy)}
-
-
-
-
-
- Adriana
- 5 minutes ago
-
- blockers
-
-
-
-
- {/* arjun's announcement */}
-
-
-
-
- {statusBubble(UserStatus.busy)}
-
-
-
-
-
- Arjun
- 30 minutes ago
-
- engineering
-
-
-
-
-
-
-
-
- {/* rooms */}
-
-
- ROOMS
-
-
-
- {/* tab pane */}
-
- All
-
- Live
-
- Scheduled
-
- Recurring
-
-
-
- Week
-
-
-
-
-
-
-
- {/* all rooms */}
-
- {/* spontaneous bugs room */}
-
- {/* header */}
-
- {/* meeting details */}
-
- bug fixing
- were just fixing that jsx bug thats a paiiinnnn
-
- {/* badges and tags */}
-
-
- blockers
-
-
-
- engineering
-
-
-
-
- {/* room status */}
-
-
-
- live
-
-
- {/* room attachments */}
-
-
-
-
-
-
-
-
-
- {/* footer */}
-
-
-
-
-
-
-
-
-
-
-
-
- Arjun and Liam
-
-
-
-
-
-
- {/* live room - design meeting */}
-
- {/* header */}
-
- {/* meeting details */}
-
- Shopping Cart Experience
- lets finish the mockups @josh, @mark, and @arjun please step in for feedback
-
- {/* badges and tags */}
-
-
- design
-
-
-
-
- {/* room status */}
-
-
-
- live
-
- on and off all day
-
- {/* room attachments */}
-
-
-
-
-
-
-
-
- {/* footer */}
-
-
-
-
-
-
-
-
- Adriana
-
-
-
-
-
-
-
- {/* scheduled room - one on one */}
-
- {/* header */}
-
- {/* meeting details */}
-
- Arjun and Paul - One on one
- performance review
-
- {/* badges and tags */}
-
-
- private
-
-
-
-
- {/* room status */}
-
-
-
- scheduled
-
-
- 3ish? Ill ping you Arjun
-
-
-
- {/* footer */}
-
-
-
-
-
-
- {/* recurring room - dsu */}
-
- {/* header */}
-
- {/* meeting details */}
-
-
- Daily Standup
-
-
-
- {/* badges and tags */}
-
-
- scrum
-
-
-
- engineering
-
-
-
-
- {/* room status */}
-
-
-
- recurring
-
-
- 10am daily
-
-
-
- {/* footer */}
-
-
-
-
-
-
-
-
-
- {/* recurring room - demo */}
-
- {/* header */}
-
- {/* meeting details */}
-
-
- Sprint Demo
-
- all hands on deck...lets have fun :)
-
- {/* badges and tags */}
-
-
- scrum
-
-
-
-
- {/* room status */}
-
-
-
- recurring
-
-
- biweekly fridays!
-
-
-
- {/* footer */}
-
-
-
-
-
-
-
-
-
-
- {/* recurring room - wine wednesdays */}
-
- {/* header */}
-
- {/* meeting details */}
-
-
- Wine Wednesdays
-
- @JOSH YOU BETTER COME
-
- {/* badges and tags */}
-
-
- party π
-
-
-
-
- {/* room status */}
-
-
-
- recurring
-
-
- wednesdays 7-9pm
-
-
-
- {/* footer */}
-
-
-
-
-
-
-
-
-
-
-
-
+
+ {/* header content */}
+
+ {/* welcome message */}
+
+
+ πHey Arjun, Good Afternoon!
+
+
+ {/* Date and time */}
+
+
+ Tues, Jan 11th
+
+
+ 1:34am
+
+
+
+
+ {/* header control section */}
+
+
+ {/* search bar */}
+
+
+
+
+
+
- {/* attachments */}
-
- {/* header row */}
-
-
- Attachments
-
-
-
- code, links (jira tickets, drive folders, powerpoints), screenshots
+
+
+
+
+
+ {/* avatar */}
+
+
+
+
+
+
+
+
+
+ {/* personal line */}
+
+
+
+ TEAM
+
+
+
+
+
+ {/* list of team members */}
+ {testFriends.map((friend, i) => {
+ return (
+
+
+
+
+ {statusBubble(friend.status)}
+
+
+
+
+
+
+
+ {friend.name}{" "}
+
+ {selectedChannel == i ? (
+ <>
+
+ >
+ ) : (
+
+ )}
- {/* tab pane */}
-
- Team
-
- Personal
-
- Favorites
+
+ {friend.role}
+
-
- TODAY
-
-
-
-
-
-
-
+ {renderPulse(friend.status)}
-
- {/* row of attachments */}
-
- {/* pdf example */}
-
- {/* attmnt header */}
-
-
+ );
+ })}
+
-
- report.pdf
-
-
- blockers
-
-
+
+ {/* pinned */}
+
+
+
+
+ ANNOUNCEMENTS
+
+
+
+ updates, pep talks, blockers, reminders
+
+
- {/* attachment actions */}
-
-
+ {/* tab pane */}
+
+
+ Active
+
-
-
+
+ Resolved
+
+
- {/* attmnt footer */}
-
-
-
-
-
-
-
+
+ TODAY
+
-
- Adriana
- 5 minutes ago
-
+
+
+
-
-
+
+ {/* adriana's announcement */}
+
+
+
+
+ {statusBubble(UserStatus.busy)}
+
+
+
+
+
+
+ Adriana
-
- {/* jira example */}
-
- {/* attmnt header */}
-
-
-
-
- RAM-22
- technical doc - stripe
-
-
- engineering
-
-
-
- {/* attachment actions */}
-
-
-
-
-
-
- {/* attmnt footer */}
-
-
-
-
-
-
-
-
-
- Paul
- 2 hours ago
-
-
-
-
+ 5 minutes ago
+
+ blockers
-
+
+
+
+ {/* arjun's announcement */}
+
+
+
+
+ {statusBubble(UserStatus.busy)}
+
+
+
+
+
+ Arjun
+
+ 30 minutes ago
+
+
+ engineering
+
+
+
+
+
+
-
-
-
- {/* dynamic footer based on selection */}
-
-
-
+
+ {/* rooms */}
+
+
+
+ ROOMS
+
+
+
+ {/* tab pane */}
+
+
+ All
+
+
+
+ Live
+
+
+
+ Scheduled
+
+
+
+ Recurring
+
+
+
+
+ Week
+
+
+
+
+
+
+
+ {/* all rooms */}
+
+ {/* spontaneous bugs room */}
+
+ {/* header */}
+
+ {/* meeting details */}
+
+
+ bug fixing
+
+
+ were just fixing that jsx bug thats a paiiinnnn
+
+
+ {/* badges and tags */}
+
+
+ blockers
+
+
+
+ engineering
+
+
+
+
+ {/* room status */}
+
+
+
+ live
+
+
+ {/* room attachments */}
+
+
+
+
+
+
+
+
+ {/* footer */}
+
+
+
-
- {statusBubble(UserStatus.online)}
-
-
+
+
+
+
+
+
-
-
- {selectedChannel == null ? "" : testFriends[selectedChannel].name}
-
- {selectedChannel == null ? "" : testFriends[selectedChannel].role}
-
+
+ Arjun and Liam
+
+
+ {" "}
+
- {/* shortcuts */}
-
-
- R
+ {/* live room - design meeting */}
+
+ {/* header */}
+
+ {/* meeting details */}
+
+
+ Shopping Cart Experience
+
+
+ lets finish the mockups @josh, @mark, and @arjun please
+ step in for feedback
+
+
+ {/* badges and tags */}
+
+
+ design
+
+
-
- SPACE
+
+ {/* room status */}
+
+
+
+ live
+
+
+ on and off all day
+
+
+ {/* room attachments */}
+
+
+
+
+
+
+
+ {/* footer */}
+
+
+
+
+
+
+
+
+ Adriana
+
+
+
+
+
+
+ {/* scheduled room - one on one */}
+
+ {/* header */}
+
+ {/* meeting details */}
+
+
+ Arjun and Paul - One on one
+
+
+ performance review
+
+
+ {/* badges and tags */}
+
+
+ private
+
+
+
+
+ {/* room status */}
+
+
+
+ scheduled
+
+
+
+ 3ish? Ill ping you Arjun
+
+
+
+
+ {/* footer */}
+
+
+ {" "}
+
+
+
+ {/* recurring room - dsu */}
+
+ {/* header */}
+
+ {/* meeting details */}
+
+
+ Daily Standup
+
+
+
+ {/* badges and tags */}
+
+
+ scrum
+
+
+
+ engineering
+
+
+
+
+ {/* room status */}
+
+
+
+ recurring
+
+
+ 10am daily
+
+
+
+ {/* footer */}
+
+
+
+ {" "}
+
+
+
+ {/* recurring room - demo */}
+
+ {/* header */}
+
+ {/* meeting details */}
+
+
+ Sprint Demo
+
+
+ all hands on deck...lets have fun :)
+
+
+ {/* badges and tags */}
+
+
+ scrum
+
+
+
+
+ {/* room status */}
+
+
+
+ recurring
+
+
+
+ biweekly fridays!
+
+
+
+
+ {/* footer */}
+
+
+
+
+
+
+
+
+
+ {/* recurring room - wine wednesdays */}
+
+ {/* header */}
+
+ {/* meeting details */}
+
+
+ Wine Wednesdays
+
+
+ @JOSH YOU BETTER COME
+
+
+ {/* badges and tags */}
+
+
+ party π
+
+
+
+
+ {/* room status */}
+
+
+
+ recurring
+
+
+
+ wednesdays 7-9pm
+
+
+
+
+ {/* footer */}
+
+
+
+
+
+
+
+
+
+
+
+ {/* attachments */}
+
+ {/* header row */}
+
+
+
+ Attachments
+
+
+
+
+ code, links (jira tickets, drive folders, powerpoints),
+ screenshots
+
+
+
+ {/* tab pane */}
+
+
+ Team
+
+
+
+ Personal
+
+
+
+ Favorites
+
+
+
+
+ TODAY
+
+
+
+
+
+
+
+
+
+ {/* row of attachments */}
+
+ {/* pdf example */}
+
+ {/* attmnt header */}
+
+
+
+
+
+ report.pdf
+
+
+
+ blockers
+
+
+
+ {/* attachment actions */}
+
+
+
+
+
+
+ {/* attmnt footer */}
+
+
+
+
+
+
+
+
+
+
+ Adriana
+
+
+ 5 minutes ago
+
+
+
+
+
+
+
+ {/* jira example */}
+
+ {/* attmnt header */}
+
+
+
+
+ RAM-22
+
+ technical doc - stripe
+
+
+
+ engineering
+
+
+
+ {/* attachment actions */}
+
+
+
+
+
+
+ {/* attmnt footer */}
+
+
+
+
+
+
+
+
+
+ Paul
+
+ 2 hours ago
+
+
+
+
+
+
+
+
+
+
+
+ {/* dynamic footer based on selection */}
+
+
+
+
+
+ {statusBubble(UserStatus.online)}
+
+
+
+
+
+
+ {selectedChannel == null
+ ? ""
+ : testFriends[selectedChannel].name}{" "}
+
+
+
+ {selectedChannel == null
+ ? ""
+ : testFriends[selectedChannel].role}
+
+
+
+
+ {/* shortcuts */}
+
+
+ R
+
+
+ SPACE
+
+
+
+
>
- )
-}
\ No newline at end of file
+ );
+}
diff --git a/services/roomService.tsx b/services/roomService.tsx
index f20ddaa..7767847 100644
--- a/services/roomService.tsx
+++ b/services/roomService.tsx
@@ -38,4 +38,13 @@ export default class RoomService {
{ merge: true }
);
}
+
+ async updateRoom(room: Room) {
+ const docRef = doc(this.db, Collections.rooms, room.id);
+ await setDoc(
+ docRef,
+ { ...room, lastUpdatedDate: serverTimestamp() },
+ { merge: true }
+ );
+ }
}