-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #219 from chingu-x/dev
bug fixes
- Loading branch information
Showing
15 changed files
with
140 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/). | ||
|
||
## [1.0.0-alpha.1] - 2024-08-26 | ||
|
||
### Added | ||
|
||
### Changed | ||
- Changed minimum character limit input field for adding new ideation https://github.com/chingu-x/chingu-dashboard/issues/171 | ||
- Removed character count from password input https://github.com/chingu-x/chingu-dashboard/issues/173 | ||
- Changed arrow direction of accordion in agenda section in sprints page https://github.com/chingu-x/chingu-dashboard/issues/187 | ||
|
||
### Fixed | ||
- Fixed typo in placeholder text in new ideation form https://github.com/chingu-x/chingu-dashboard/issues/181 | ||
- Fixed issue with saving meeting notes https://github.com/chingu-x/chingu-dashboard/issues/186 | ||
- Fixed start meeting link https://github.com/chingu-x/chingu-dashboard/issues/188 | ||
- Fixed display of date in error message in create meeting page when selecting a meeting time https://github.com/chingu-x/chingu-dashboard/issues/189 | ||
- Fixed issue with weekly checkin widget displaying "due today" text in 1st week of voyage https://github.com/chingu-x/chingu-dashboard/issues/190 |
27 changes: 27 additions & 0 deletions
27
src/app/(main)/dashboard/components/Calendar/Calendar.test.tsx
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,27 @@ | ||
import { render } from "@testing-library/react"; | ||
import { Provider } from "react-redux"; | ||
import { configureStore } from "@reduxjs/toolkit"; | ||
import { format } from "date-fns"; | ||
import Calendar from "./Calendar"; | ||
import { rootReducer } from "@/store/store"; | ||
|
||
describe("Calendar Component", () => { | ||
// not the best test. maybe refactor to e2e test later | ||
it("displays the month and year on a single line", () => { | ||
const store = configureStore({ | ||
reducer: rootReducer, | ||
}); | ||
|
||
const { getByText } = render( | ||
<Provider store={store}> | ||
<Calendar /> | ||
</Provider>, | ||
); | ||
|
||
const currentDate = new Date(); | ||
const formattedDate = format(currentDate, "MMMM y"); | ||
const monthYearElement = getByText(formattedDate); | ||
|
||
expect(monthYearElement.closest("div")).toHaveClass("whitespace-nowrap"); | ||
}); | ||
}); |
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
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
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
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
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
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
Oops, something went wrong.