Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Add messenger page #67

Merged
merged 7 commits into from
Dec 7, 2024

Conversation

JimTheCat
Copy link
Owner

@JimTheCat JimTheCat commented Dec 2, 2024

Create basic construction of messages page

Add new root for messenger
Add basic construction

Refs: CU-8696pcyn4
Signed-off-by: Patryk Kłosiński <[email protected]>
@JimTheCat
Copy link
Owner Author

Task linked: CU-8696pcyn4 Create messages page

# Conflicts:
#	frontend/src/Pages/Root/Root.tsx
Add next features,
Redesign a single messages,
Redesign message input

Refs: CU-8696pcyn4
Signed-off-by: Patryk Kłosiński <[email protected]>
Change condition of highlighting the active page on navbar

Refs: CU-8696pcyn4
Signed-off-by: Patryk Kłosiński <[email protected]>
Replace Math.random() method for sonar check

Refs: CU-8696pcyn4
Signed-off-by: Patryk Kłosiński <[email protected]>
@JimTheCat JimTheCat marked this pull request as ready for review December 3, 2024 21:03
@JimTheCat
Copy link
Owner Author

This is how it looks like:
image

Refs: CU-8696pcyn4
Signed-off-by: Patryk Kłosiński <[email protected]>
@JimTheCat JimTheCat requested a review from KinTrae December 4, 2024 22:11
user.status = "online";
updateUserStatusInApp(user);
}
}, getCryptoRandom() * 300000 + 60000); // Aktywność co 1-6 minut
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i still see here polish comments

const getCryptoRandom = () => {
const array = new Uint32Array(1);
crypto.getRandomValues(array);
return array[0] / (0xFFFFFFFF + 1); // Normalizacja do zakresu 0–1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here

Copy link

sonarqubecloud bot commented Dec 7, 2024

@JimTheCat JimTheCat merged commit d02b2f9 into dev Dec 7, 2024
9 checks passed
@JimTheCat JimTheCat deleted the CU-8696pcyn4_Create-messages-page_Patryk-Kosiski branch December 7, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants