Skip to content

Maange Access Dialog - #872

Open
SharonStrats wants to merge 6 commits into
stagingfrom
feat/access
Open

SharonStrats wants to merge 6 commits into
stagingfrom
feat/access

Conversation

@SharonStrats

@SharonStrats SharonStrats commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Keep in mind this is for the UI structure ticket only, it doesn't work yet.

Also included are some existing web component configuration

  • Combobox needed customized border
  • Input needed a left-slot for search icon
  • Need to hide Label (accessibility) in the input for Search.
    Note: I tried to only configure what I thought were essentials, but you may notice the Copy Link button doesn't match the design, to make it smaller I will need to add configuration for font in the solid-ui-button.
Screenshot 2026-09-27 at 12 12 30 PM

Needs solid-logic changes.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The save flow is incomplete, and several rendering, accessibility, and integration issues remain.

Review effort: Lite
Findings: 1 High severity · 5 Medium severity · 1 Low severity

Open (7)
What changed in this PR

Adds an access-control sharing dialog with supporting input, combobox, theme, and custom-element updates.

Changes:

  • Adds access-control modal rendering, types, exports, and styles.
  • Adds input left-icon support and configurable borders.
  • Adds combobox border styling and theme color variables.
File Description
src/​types/​custom-elements.d.ts Registers modal element types.
src/​styles/​theme.css Adds theme color variables.
src/​components/​input/​Input.ts Adds left-icon slot support.
src/​components/​input/​Input.styles.css Styles icons and configurable borders.
src/​components/​combobox/​Combobox.styles.css Adds configurable border styling.
src/​components/​access-control-modal/​types.ts Defines access-control types.
src/​components/​access-control-modal/​index.ts Exports the modal component.
src/​components/​access-control-modal/​AccessControlModal.ts Implements the access-control dialog.
src/​components/​access-control-modal/​AccessControlModal.styles.css Styles the dialog UI.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/components/access-control-modal/AccessControlModal.ts
Comment thread src/components/access-control-modal/AccessControlModal.styles.css Outdated
Comment thread src/components/access-control-modal/AccessControlModal.ts Outdated
Comment thread src/components/access-control-modal/AccessControlModal.ts
Comment thread src/components/access-control-modal/AccessControlModal.ts
Comment thread src/components/access-control-modal/AccessControlModal.ts
Comment thread src/components/access-control-modal/AccessControlModal.ts Outdated
@SharonStrats SharonStrats moved this to In review in SolidOS NLNet UI Sep 27, 2026
@SharonStrats SharonStrats linked an issue Sep 27, 2026 that may be closed by this pull request

@NoelDeMartin NoelDeMartin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

After a quick review I think it's ok, the only comment is that maybe we shouldn't customize the design system components unless we have a good reason to do it.

@@ -1,4 +1,6 @@
:host {
--solid-ui-input-border-color: var(--solid-ui-color-gray-400);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You've mentioned in the PR description that you "needed" to change the border color, but why is that? If that's because the design in Figma has a different border for this selector, maybe the Figma is wrong. I don't see a reason to customize the combobox border color. As I always say, it's not impossible to create some UI outside of the design system, but we should have a very good reason to do it.

accessor label = ''

@property({ type: Boolean, reflect: true, attribute: 'hide-label' })
accessor hideLabel = false

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe instead of saying "hideLabel", we should call this "srOnlyLabel" or something. Hiding can be interpreted as both for sighted users and screen readers. "srOnly" makes it clear that the label is still visible for screen readers.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

Sharing pane - overall pane card/structure

3 participants