feat: implement member visibility dialog with checkbox selection and refresh #208
Merged
jose
merged 9 commits from meeting-members-set-visibility
into master
19 hours ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'meeting-members-set-visibility'
Deleting a branch is permanent. It CANNOT be undone. Continue?
The implementation provides a smooth user experience for managing member visibility settings with proper state synchronization between components.
WIP: feat: implement member visibility dialog with checkbox selection and refreshto feat: implement member visibility dialog with checkbox selection and refresh 7 days ago@trentlarson it feels odd having the bulk of the contact- and visibility-setting functionality in
App
instead ofMembersList
. Is there a better way around it, or is this acceptable?Hah! We were thinking the exact same thing. 👏
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const activeIdentity = await (this as any).$getActiveIdentity();
this.activeDid = activeIdentity.activeDid || "";
}
Since these are not used, I don't see any reason to add this section.
This might make these variables accessible in other components and your intent may be to load them in one place, which makes sense. However, I do see a few potential side-effects that I don't love:
There are multiple DB "settings" loads in many of these places (one here and and another in each specific View), so we would want to remove all the other loads to avoid so many DB loads.
If there are errors in the DB accesses, that shuts down the whole app, and I believe some pages like Help should have almost no logic so that people can get there even if errors happen elsewhere. (Maybe there are "catch" statements so that doesn't happen... I'd have to look.)
The variables are a bit magic: when you're in another class, it's hard to know from where these values are loaded. (It may still be worthwhile if it saves user error in all these places. Will ponder.)
So I look forward to your thoughts... if you think it's worthwhile, let me know... and we'd want to work on issue #1 across the codebase, so it might be worthwhile in a separate PR.
Thanks for catching this. It's leftover code from when the rest of the logic was housed in here. I'll clean that up.
<template>
I vote for one more descriptive word to say that this is a bulk action dialog... like SetBulkVisibilityDialog or SetMeetingVisibilityDialog or SetMultipleVisibilityDialog
SetBulkVisibilityDialog
is perfect. I'll make the change.1ce7c0486a
into master 19 hours ago1ce7c0486a
.