Skip to content

feat: Improve wording for Security Whitelist Error Message [INS-1277] - #9076

Merged
xiaodemen merged 3 commits into
developfrom
feat/access-file
Sep 5, 2025
Merged

xiaodemen merged 3 commits into
developfrom
feat/access-file

Conversation

@xiaodemen

@xiaodemen xiaodemen commented Sep 1, 2025 •

Copy link
Copy Markdown
Contributor

Closes INS-1277

image

@xiaodemen
xiaodemen force-pushed the feat/access-file branch 2 times, most recently from bda8fac to 7cecfc6 Compare September 1, 2025 06:54
@xiaodemen
xiaodemen requested a review from ihexxa September 1, 2025 07:11
}
}, [tooLong]);

const showPreferneces = useCallback(() => {

@jackkav jackkav Sep 2, 2025 •

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.

Suggested change
const showPreferneces = useCallback(() => {
const showPreferences = useCallback(() => {

it is preferable just to inline a state setter like this to the markup below, saves a bunch reading for the next guy for almost no perf benefit.

@xiaodemen
xiaodemen force-pushed the feat/access-file branch 3 times, most recently from 3ff3705 to afd4a45 Compare September 2, 2025 10:19
ihexxa
ihexxa previously approved these changes Sep 3, 2025
<div className="relative flex h-full w-full justify-between gap-[var(--padding-sm)] overflow-auto">
<span className={classNames('my-auto', className)}>{previewString}</span>
<span className={classNames('my-auto', className)}>
{messages.map(({ text, handler }, index) =>

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.

nit: is it good to introduce a generic component which could be a string or Link? Then we don't need condition check in every places.

@xiaodemen
xiaodemen merged commit c738f7f into develop Sep 5, 2025
@xiaodemen
xiaodemen deleted the feat/access-file branch September 5, 2025 07:15
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

Successfully merging this pull request may close these issues.

4 participants