8000 feat: modify zclclusterview popup to page by tbrkollar · Pull Request #1383 · project-chip/zap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: modify zclclusterview popup to page #1383

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

Merged
merged 11 commits into from
Aug 9, 2024

Conversation

tbrkollar
Copy link
Collaborator

No description provided.

@tbrkollar tbrkollar requested a review from brdandu July 31, 2024 13:54
@tbrkollar tbrkollar force-pushed the feature/notification-panel branch 2 times, most recently from e4efd9c to 8ddbf26 Compare August 6, 2024 08:24
@tbrkollar tbrkollar self-assigned this Aug 6, 2024
@tbrkollar tbrkollar added the component: user interface User Interface work only, no backend label Aug 6, 2024
@@ -21,16 +21,16 @@ describe('Testing disabling enabled attributes', () => {
{ retries: { runMode: 2, openMode: 2 } },
() => {
cy.get(
'.table_body:first > :nth-child(2) > .q-mt-xs > .q-toggle__inner'
'.attribute_table_body:first > :nth-child(2) > .q-mt-xs > .q-toggle__inner '
Copy link
Collaborator

Choose a reason for hiding this comment

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

Get rid of the space .q-toggle__inner ' at the end before the single quote

@@ -114,31 +114,35 @@
</div>
</q-btn>
</router-link>
<router-link v-slot="{ isActive, navigate }" to="/notifications">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Did you just remove router-link here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, and i added a click function to btn, similar to preview btn

@@ -198,12 +207,7 @@ export default {
this.tab = val
},
},
mounted() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

because now we dont need to set table's height manually.

@@ -222,20 +226,10 @@ export default {
setIndividualClusterFilterString(filterString) {
this.$store.dispatch('zap/setIndividualClusterFilterString', filterString)
},
onResize(size) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it is not needed anymore. It was necessary for the table's height in popup.

},
data() {
return {
tab: 'attributes',
tableHeight: '30px',
Copy link
Collaborator

Choose a reason for hiding this comment

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

What does this change?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

similar to the previous comment

10000
@@ -58,7 +58,7 @@ limitations under the License.
class="col v-step-2"
use-input
:multiple="enableMultipleDevice"
:use-chips="enableMultipleDevice"
use-chips
Copy link
Collaborator

Choose a reason for hiding this comment

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

What does this do?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

in standalone zigbee mode, we could not use the backspace / remove btn on the new card endpoint card. But if we modify this, it is working well. (I had a meeting with @paulr34, @dhchandw, @ethanzhouyc and this was one of the topics.)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this affect the multiple device type selection behavior in any way?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Were the 3 .vue files that are deleted not used at all?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we are not using there anymore

expect(wrapper.html().length).toBeGreaterThan(90)
},
timeout.short()
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why are these 2 tests removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because these 2 files are not exist anymore.
As you know i cleaned up the code.

@tbrkollar tbrkollar force-pushed the feature/notification-panel branch from d7c1f3c to 88bb0ef Compare August 9, 2024 13:55
@tbrkollar tbrkollar merged commit 3d4fff0 into project-chip:master Aug 9, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: user interface User Interface work only, no backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0