Skip to content

Commit b2c3404

Browse files
authored
Merge branch 'dev' into refactor/hexagonal-pattern-poc-v2
2 parents 8aa077f + 2169bc2 commit b2c3404

37 files changed

+326
-140
lines changed

CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,56 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/).
77

8+
9+
## [1.0.0-alpha.6] - 2024-09-27
10+
11+
### Added
12+
- Added po and sm forms for the weekly checkin for the appropriate teams https://github.com/chingu-x/chingu-dashboard/issues/216
13+
14+
### Changed
15+
- Changed how we're accessing meeting data to match changes in backend https://github.com/chingu-x/chingu-dashboard/pull/269
16+
- Updated dropdown menu in top nav https://github.com/chingu-x/chingu-dashboard/issues/261
17+
18+
19+
### Fixed
20+
21+
## [1.0.0-alpha.5] - 2024-09-19
22+
23+
### Added
24+
25+
26+
### Changed
27+
- Made meeting link optional https://github.com/chingu-x/chingu-dashboard/issues/237
28+
29+
## [1.0.0-alpha.4] - 2024-09-10
30+
31+
### Added
32+
33+
34+
### Changed
35+
- Updated how we're retrieving the discord id to display in the directory page https://github.com/chingu-x/chingu-dashboard/issues/202
36+
37+
38+
### Fixed
39+
- Fixed issue with dark mode images being different size https://github.com/chingu-x/chingu-dashboard/issues/200
40+
- Fixed issue with meeting notes section becoming scrollable instead of expanding when saved https://github.com/chingu-x/chingu-dashboard/issues/248
41+
42+
43+
## [1.0.0-alpha.3] - 2024-09-05
44+
45+
### Added
46+
- Added 404 page https://github.com/chingu-x/chingu-dashboard/issues/205
47+
48+
### Changed
49+
- Updated top nav and side bar colors along with some other styling changes https://github.com/chingu-x/chingu-dashboard/issues/197
50+
51+
### Fixed
52+
- Fixed active states in the sidebar https://github.com/chingu-x/chingu-dashboard/issues/198
53+
- Fixed spacing issues in the calendar title with longer months wrapping to a newline https://github.com/chingu-x/chingu-dashboard/issues/201
54+
- Fixed spacing issues in resources page https://github.com/chingu-x/chingu-dashboard/issues/206
55+
- Fixed overflow issue with features description in the list https://github.com/chingu-x/chingu-dashboard/issues/222
56+
- Fixed an issue with selecting team members in checkboxes https://github.com/chingu-x/chingu-dashboard/issues/230
57+
858
## [1.0.0-alpha.2] - 2024-08-28
959

1060
### Added

public/img/empty_ideation_dark.png

-11.6 KB
Loading
1.19 KB
Loading
-14.3 KB
Loading
483 Bytes
Loading

public/img/error_dark.png

55.2 KB
Loading

public/img/error_light.png

56.4 KB
Loading

src/app/(main)/dashboard/components/voyage-dashboard/getDashboardData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ export const getDashboardData = async (
200200
.map((sprint) =>
201201
fetchMeeting({
202202
sprintNumber: sprint.number,
203-
meetingId: sprint.teamMeetings[0]?.id,
203+
meetingId: sprint.teamMeetings[0],
204204
}),
205205
);
206206

src/app/(main)/my-voyage/[teamId]/directory/components/DirectoryComponentWrapper.tsx

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,18 @@ export async function fetchTeamDirectory({
4343

4444
if (res) {
4545
updateDirectoryWithCurrentTime(res);
46-
const teamMember = res.voyageTeamMembers;
47-
const elementToSort = teamMember.find(
48-
(element) => element.member.discordId === user?.discordId,
46+
const teamMembers = res.voyageTeamMembers;
47+
const userDiscordId = user?.oAuthProfiles.find(
48+
(profile) => profile.provider.name === "discord",
49+
)?.providerUsername;
50+
const elementToSort = teamMembers.find(
51+
(element) =>
52+
element.member.oAuthProfiles.find(
53+
(profile) => profile.provider.name === "discord",
54+
)?.providerUsername === userDiscordId,
4955
);
50-
moveElementToFirst(teamMember, elementToSort);
56+
57+
moveElementToFirst(teamMembers, elementToSort);
5158
}
5259

5360
return [res, error];

src/app/(main)/my-voyage/[teamId]/directory/components/TeamMember.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@ interface TeamMemberProps {
1313

1414
export default function TeamMember({ teamMember }: TeamMemberProps) {
1515
const user = useUser().voyageTeamMembers;
16-
const { firstName, lastName, discordId, currentTime } = teamMember.member;
16+
const { firstName, lastName, oAuthProfiles, currentTime } = teamMember.member;
1717
const { id, hrPerSprint, voyageRole } = teamMember;
1818
const isCurrentUser = user.some((user) => user.id === id);
1919
const [isEditing, setIsEditing] = useState<boolean>(false);
2020
const newRef = useRef<HTMLDivElement>(null);
2121

22+
const discordId =
23+
oAuthProfiles.find((profile) => profile.provider.name === "discord")
24+
?.providerUsername || "";
25+
2226
useEffect(() => {
2327
document.addEventListener("mousedown", handleOutsideClick);
2428
return () => {

0 commit comments

Comments
 (0)