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

Chat 236 interface for non authenticated user #95

Merged
merged 16 commits into from
Jul 8, 2024

Conversation

KostiantynU
Copy link
Contributor

Workd with styles for different screens in Topic and Chat component. Added an oportunity to send message to the topic, and subscribe/unsubscribe to current topic. Changed some queryes to use accessToken from store. Changed logic of displayng Chat component and modile menu at the same time.

- deleted stompjs v2.3.3 from project, because using @stomp/stompjs": "^7.0.0";
- in Chat componen added a reaction on empty message;
- changed approache for creating an instance of Stomp - previous method will be deprecetad in next major version;
- in useWebSocket added an instance of stompClient, for processing an onConnected;
- leaved old code for fitst time.
…nged styles, and naming, Topics component wrapper
… localStorage, so added two keys in redux, and selectors of accessToken, for making a query (in ChatsBlock, Topics, TopicSettings component). Also write tokens to store in LoginPageComponent. Need to be tested how it will work. Also, work with styles in Chat component.
- changed @media rules;
- changed paddings;
changed hv;
- added semantic UL for list of links;
- added resets for UL;
- added semantic LI .
- change breakpoint to 768px and 1200px in several components;
- change position to static in Wrapper, used in Header&Footer.
- change breakpoint to 768px and 1200px in several components;
- changed styles in SideBar, Header, HeaderUserInfo, LoginPageComponent, SharedLayout, WhitLayout.
- changed values of width and height from static to computed values;
- components that has changed: SideBar, ChatItem, LastMessages, Topics, ThemeBlock, Chat, TopicsPage, WhiteLayoudStyled;
To be continued...
…menu in mobile screen and Chat component in the same time
…rver to redux state. Added change of Chat component state in click on BurgerMenu button. Added processing of fault when server is not ressponding.
… the chat. Subscribe/unsubscribe for topic in TopicSetting component - works by HTTP request. Changed some of queryes to use accesToken in store. Added tagType for invalidate cache result.
Copy link

netlify bot commented Jul 7, 2024

Deploy Preview for splendid-quokka-41776c ready!

Name Link
🔨 Latest commit 70e3899
🔍 Latest deploy log https://app.netlify.com/sites/splendid-quokka-41776c/deploys/668b080db040990008c9108a
😎 Deploy Preview https://deploy-preview-95--splendid-quokka-41776c.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@PDigitator PDigitator merged commit 57f4818 into main Jul 8, 2024
5 checks passed
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