-
Notifications
You must be signed in to change notification settings - Fork 78
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
fix(chat): removing dynamic scoping from chat section #5290
Conversation
Jenkins BuildsClick to see older builds (39)
|
@@ -15,6 +15,9 @@ QtObject { | |||
property var mainModuleInst | |||
property var privacyModuleInst | |||
property var toastMessage | |||
property var pinnedMessagesPopup |
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.
hey this doesnt seem consistent throughout now, for example we pass instance of the model to the sections that needs it and then call Global.openPopup(modalComponent) and now for these 3 its different.
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.
LGTM. Only thing is about setting popup components in Global, its done in different ways currently. Need to think if we should come with an approach for Modals that is consistent.
@Khushboo-dev-cpp I totally agree and was thinking about the same. Some popups are wrapped inside |
d5eeccc
to
30ebaa5
Compare
30ebaa5
to
fecf197
Compare
@@ -322,6 +331,7 @@ Item { | |||
anchors.centerIn: parent | |||
store: root.store | |||
onClosed: { | |||
Global.openPopup(communitiesPopupComponent) |
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.
Should it be here?
Previously it was happening on CommunityDetailPopup.closed()
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.
done
ui/app/AppLayouts/Chat/panels/communities/CommunityChannelsAndCategoriesBannerPanel.qml
Outdated
Show resolved
Hide resolved
fecf197
to
3d43877
Compare
3d43877
to
05f8e31
Compare
This will take some time to test as all 120+ Chat test cases need to be run, I am on it while also checking every detail on Figma designs |
will resume testing after a rebase, as agreed with @alexandraB99 |
05f8e31
to
86dc079
Compare
@Hbouaz rebased |
86dc079
to
05eef73
Compare
05eef73
to
2ed9e54
Compare
2ed9e54
to
60e85e9
Compare
c29a407
to
aa1b403
Compare
aa1b403
to
eec1390
Compare
@alexandraB99 quick check ok, if you merge I will check more on master as part of regression testing run |
eec1390
to
91c61c6
Compare
Closes #4244
What does the PR do
Removed dynamic scoping from chat section
Affected areas
Chat section