-
Notifications
You must be signed in to change notification settings - Fork 419
RI-7693: Change visuals of Pub/Sub #5164
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
Conversation
Code Coverage - Frontend unit tests
Test suite run success5239 tests passing in 681 suites. Report generated by 🧪jest coverage report action from 59af60d |
...nsight/ui/src/pages/pub-sub/components/messages-list/EmptyMessagesList/EmptyMessagesList.tsx
Outdated
Show resolved
Hide resolved
...nsight/ui/src/pages/pub-sub/components/messages-list/EmptyMessagesList/EmptyMessagesList.tsx
Outdated
Show resolved
Hide resolved
redisinsight/ui/src/pages/pub-sub/components/messages-list/MessagesListWrapper.tsx
Outdated
Show resolved
Hide resolved
redisinsight/ui/src/pages/pub-sub/components/messages-list/MessagesListWrapper.tsx
Outdated
Show resolved
Hide resolved
redisinsight/ui/src/pages/pub-sub/components/publish-message/PublishMessage.tsx
Outdated
Show resolved
Hide resolved
redisinsight/ui/src/pages/pub-sub/components/publish-message/PublishMessage.tsx
Outdated
Show resolved
Hide resolved
redisinsight/ui/src/pages/pub-sub/components/subscribe-form/SubscribeForm.tsx
Outdated
Show resolved
Hide resolved
redisinsight/ui/src/pages/pub-sub/components/publish-message/PublishMessage.styles.tsx
Outdated
Show resolved
Hide resolved
KrumTy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mostly comments about code styles I think we've agreed on (css -> .styles.ts file; gap > spacer)
...nsight/ui/src/pages/pub-sub/components/messages-list/EmptyMessagesList/EmptyMessagesList.tsx
Outdated
Show resolved
Hide resolved
redisinsight/ui/src/pages/pub-sub/components/messages-list/MessagesListWrapper.tsx
Outdated
Show resolved
Hide resolved
redisinsight/ui/src/pages/pub-sub/components/publish-message/PublishMessage.tsx
Outdated
Show resolved
Hide resolved
redisinsight/ui/src/pages/pub-sub/components/publish-message/PublishMessage.tsx
Outdated
Show resolved
Hide resolved
redisinsight/ui/src/pages/pub-sub/components/subscribe-information/SubscribeInformation.tsx
Outdated
Show resolved
Hide resolved
redisinsight/ui/src/pages/pub-sub/components/subscribe-information/SubscribeInformation.tsx
Outdated
Show resolved
Hide resolved
| const channels = subscriptions?.length | ||
| ? subscriptions.map((sub) => sub.channel).join(' ') | ||
| : DEFAULT_SEARCH_MATCH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if large array, useMemo might be useful
also same logic is repeated in SubscribeForm.tsx so it might be worth even extracting it to redux (pubsub slice) and do the operation once
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, but will merge it like this.
What
Enhance the design of Pub/Sub page. The PR became huge, but the changes are context-related, so no easy way to introduce them in batches. TL;DR for the changes
<SubscribeForm />Testing
Home screen
So, as you can see from the screenshots, a few conceptual things, aside from the visuals, changed - the status bar at the top is not visible by default.
Messages screen
Here, the status bar at the top has a different UX:
The subscription status is reported differently:
The button indicates the action the user is about to do:
The UX when a message is being sent successfully