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

[NEW] Backport updated Top Menu Bar #73

Closed
Dnouv opened this issue Jan 5, 2023 · 12 comments
Closed

[NEW] Backport updated Top Menu Bar #73

Dnouv opened this issue Jan 5, 2023 · 12 comments
Assignees

Comments

@Dnouv
Copy link
Member

Dnouv commented Jan 5, 2023

We need to backport this PR to RC4Conferences RocketChat/RC4Community#193, which updates the UI and logic of the Top Menu Bar.

Thank you!

@Aashray446
Copy link
Contributor

Hey, I am willing to work on this issue, Currently, I going through both repo, and trying to understand the logics and changes that need to be done. Can you assign the issue to me?

@Dnouv
Copy link
Member Author

Dnouv commented Jan 10, 2023

Hey @Aashray446
Thanks for your interest. Before assigning this issue, please discuss your approach here, what changes we need to make in RC4Conferences, and if you find any conflicting components, what approach will you take to resolve it?

Once we have discussed the approach, it will make things easier for you to work on, and the community can also help if they understand better what you are trying to do.

Thank you!

@Aashray446
Copy link
Contributor

OK, thanks for the reply, I am on the way to coming up with something. I will explain my approach soon.

Thank you

@Aashray446
Copy link
Contributor

Aashray446 commented Jan 12, 2023

I went to the component codes of both menubar, there won't be any conflicts, those menus are completely isolated and there are only three components that required changes. Only the profile picture of the person is a little concerning, I need to figure a way out to consume the profile images.

My approach is simple, making a new component that will have the exact same component as in the Rocketchat community, and then replacing the new menubar with the old in Eventadmin

@Aashray446
Copy link
Contributor

@Dnouv I have a good idea about how to approach it. It's just I don't know how detailed I need to describe the way of implementing it. Hope I got it right, I am open to your suggestions.

@Dnouv
Copy link
Member Author

Dnouv commented Jan 12, 2023

Sure, go ahead to start backporting it; just take care of this part of code

Thank you!

@Aashray446
Copy link
Contributor

Ok sure, I will take care of that :-)
Thank you

Aashray446 added a commit to Aashray446/RC4Conferences that referenced this issue Jan 14, 2023
@Aashray446
Copy link
Contributor

@Dnouv I have sent a pull request, I am open to your suggestions :-)

@Aashray446
Copy link
Contributor

@Dnouv sir, I have a small doubt. As you mentioned, the "Click to Chat " button should be hidden when the user is not logged in. The dummy login button is setting the sessionStorage for the dummy user
image

But in the menubar, it's checking the Cookies to check whether the User is logged in or not
image

Is that the reason, this button is not able to appear even after the login?
image

@Dnouv
Copy link
Member Author

Dnouv commented Jan 17, 2023

Correct, please don't show the kebab (three-dot menu) icon. We don't have any use for it right now.

As for how to check if a user is logged in or not, there is a cookie hashmail, which is added whenever a new user is signed in and removed when they log out; you can use this.
Thank you!

PS. Please feel free to address me as only Dnouv I will be more than happy if you do so.

Aashray446 added a commit to Aashray446/RC4Conferences that referenced this issue Jan 18, 2023
@Aashray446
Copy link
Contributor

@Dnouv thanks for the information. I have included the changes you mentioned and created a PR.

Thank you! :-)

Aashray446 added a commit to Aashray446/RC4Conferences that referenced this issue Jan 18, 2023
Aashray446 added a commit to Aashray446/RC4Conferences that referenced this issue Jan 18, 2023
Aashray446 added a commit to Aashray446/RC4Conferences that referenced this issue Jan 22, 2023
Dnouv added a commit that referenced this issue Jan 24, 2023
* [NEW] : backport improve navbar #73

* [FIX] : Mapping and rendering error in nav

* <FIX> : Navbar links visibility

* improve color contrast for better acessibility & prettify

Co-authored-by: Dnouv <[email protected]>
@Aashray446
Copy link
Contributor

@Dnouv You can close this issue 😃

@Dnouv Dnouv closed this as completed Jan 28, 2023
Dnouv added a commit that referenced this issue Sep 10, 2024
* [NEW] : backport improve navbar #73

* [FIX] : Mapping and rendering error in nav

* <FIX> : Navbar links visibility

* improve color contrast for better acessibility & prettify

Co-authored-by: Dnouv <[email protected]>
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

No branches or pull requests

2 participants