Skip to content

chore: Adjust WDS icon stroke#39881

Merged
ichik merged 1 commit intoreleasefrom
chore/adjust-wds-icon-stroke
Mar 24, 2025
Merged

chore: Adjust WDS icon stroke#39881
ichik merged 1 commit intoreleasefrom
chore/adjust-wds-icon-stroke

Conversation

@ichik
Copy link
Contributor

@ichik ichik commented Mar 24, 2025

Description

Fixes #39762

Before After
Screenshot 2025-03-24 at 12-21-40 Intercom Confluence (Vadim) Editor Appsmith Screenshot 2025-03-24 at 12-20-54 Intercom Confluence (Vadim) Editor Appsmith
Screenshot 2025-03-24 at 12-21-52 AI Agent (1) Editor Appsmith Screenshot 2025-03-24 at 12-20-30 AI Agent (1) Editor Appsmith
Screenshot 2025-03-24 at 12 57 07 Screenshot 2025-03-24 at 12 57 10
Screenshot 2025-03-24 at 12 57 33 Screenshot 2025-03-24 at 12 57 28
Screenshot 2025-03-24 at 12 57 49 Screenshot 2025-03-24 at 12 57 47

Automation

/ok-to-test tags="@tag.Sanity"

🔍 Cypress test results

Tip

🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/14034743991
Commit: ed53a10
Cypress dashboard.
Tags: @tag.Sanity
Spec:


Mon, 24 Mar 2025 12:46:07 UTC

Communication

Should the DevRel and Marketing teams inform users about this change?

  • Yes
  • No

Summary by CodeRabbit

  • Style
    • Updated icon density settings across various density levels, resulting in a more consistent and visually appealing icon appearance.

@ichik ichik self-assigned this Mar 24, 2025
@ichik ichik requested a review from a team as a code owner March 24, 2025 11:47
@github-actions github-actions bot added AI Agents Issues related to agentic solutions on Appsmith Anvil Pod Issue related to Anvil project Task A simple Todo labels Mar 24, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 24, 2025

Walkthrough

The pull request updates the tokensConfigs.json file by increasing the pixel values for icon density settings. Adjustments are made to the "tight," "regular," and "loose" density categories by modifying the stroke thickness values assigned to keys "1" through "4" within each category. No changes to exported or public entities were made.

Changes

File Summary
app/client/.../tokensConfigs.json Updated density pixel values for icons in "tight," "regular," and "loose" settings (keys 1-4 modified).

Assessment against linked issues

Objective Addressed Explanation
Adjust small icon size stroke thickness (#39762)

Possibly related issues

Possibly related PRs

Suggested labels

Task, Enhancement, ok-to-test, WDS team

Suggested reviewers

  • KelvinOm
  • vinay-appsmith
  • danielmorris-as

Poem

In the realm of pixels and code,
The icons now wear a bolder mode.
Density refined, a crisp new art,
Each stroke a masterpiece, a work of heart.
Cheers to the tweaks that'll set us apart!
🚀🌟


📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0c7c05d and ed53a10.

📒 Files selected for processing (1)
  • app/client/packages/design-system/theming/src/token/src/tokensConfigs.json (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (8)
  • GitHub Check: parse-tags
  • GitHub Check: client-lint / client-lint
  • GitHub Check: client-build / client-build
  • GitHub Check: client-prettier / prettier-check
  • GitHub Check: client-unit-tests / client-unit-tests
  • GitHub Check: chromatic-deployment
  • GitHub Check: chromatic-deployment
  • GitHub Check: storybook-tests
🔇 Additional comments (3)
app/client/packages/design-system/theming/src/token/src/tokensConfigs.json (3)

41-44: Updated "tight" density stroke values are clear and consistent.
The new values ("2px", "1.75px", "1.5px", "1.25px") show a consistent descending pattern, which appears to align with the intended design adjustments. Please verify that these updated stroke widths render visually as expected against the PR’s design comparison images.


47-50: "Regular" density stroke values updated successfully.
The updated values ("2.25px", "2px", "1.75px", "1.5px") maintain the descending order and reflect an appropriate adjustment in icon stroke. Ensure that these modifications meet the new design specifications for icon presentation.


53-56: "Loose" density stroke values have been adjusted appropriately.
The new stroke values ("2.5px", "2.25px", "2px", "1.75px") follow the same pattern as the other density categories and should offer a balanced visual experience. Please double-check the visual outcome in the context of the overall design system.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Comment on lines +47 to +50
"1": "2.25px",
"2": "2px",
"3": "1.75px",
"4": "1.5px"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@KelvinOm it appears that stroke parameters were being applied “scaled” and not absolute, otherwise, I have no explanation of the visuals. Having this inverse progression makes everything looks okay, but we may need to reconsider overall how we do application of density and sizing in icons.

@ichik ichik added the ok-to-test Required label for CI label Mar 24, 2025
@ichik ichik changed the title Adjust WDS icon stroke chore: Adjust WDS icon stroke Mar 24, 2025
@github-actions github-actions bot added the skip-changelog Adding this label to a PR prevents it from being listed in the changelog label Mar 24, 2025
@ichik ichik added the WDS team label Mar 24, 2025
@ichik ichik merged commit dbf2e2d into release Mar 24, 2025
68 of 89 checks passed
@ichik ichik deleted the chore/adjust-wds-icon-stroke branch March 24, 2025 13:20
github-actions bot pushed a commit to Zeral-Zhang/appsmith that referenced this pull request Apr 12, 2025
## Description

Fixes appsmithorg#39762 

| Before | After |
|--------|--------|
| ![Screenshot 2025-03-24 at 12-21-40 Intercom Confluence (Vadim) Editor
Appsmith](https://github.com/user-attachments/assets/f34f3b91-dd24-47bd-80b4-a5ef42a33e0e)
| ![Screenshot 2025-03-24 at 12-20-54 Intercom Confluence (Vadim) Editor
Appsmith](https://github.com/user-attachments/assets/7d95c4ad-1be2-4784-b8a4-ce12f9c69c3a)
|
| ![Screenshot 2025-03-24 at 12-21-52 AI Agent (1) Editor
Appsmith](https://github.com/user-attachments/assets/437249a2-f9f4-430a-87fe-745fe35d0bea)
| ![Screenshot 2025-03-24 at 12-20-30 AI Agent (1) Editor
Appsmith](https://github.com/user-attachments/assets/1d90e50c-93c7-4bfe-a6e4-0c19e3f5b5fd)
|
|<img width="181" alt="Screenshot 2025-03-24 at 12 57 07"
src="https://github.com/user-attachments/assets/e5fbaafe-ccbb-46fe-9eaf-fb5e5f83d5d5"
/>|<img width="171" alt="Screenshot 2025-03-24 at 12 57 10"
src="https://github.com/user-attachments/assets/98baae89-ab98-4cb9-9733-4ead11201506"
/>|
|<img width="459" alt="Screenshot 2025-03-24 at 12 57 33"
src="https://github.com/user-attachments/assets/e9292ae9-9ba1-437d-9eee-401f8014446a"
/>|<img width="587" alt="Screenshot 2025-03-24 at 12 57 28"
src="https://github.com/user-attachments/assets/9bfdd379-a12c-4302-945a-1c3ccbad59c6"
/>|
|<img width="327" alt="Screenshot 2025-03-24 at 12 57 49"
src="https://github.com/user-attachments/assets/46446420-0917-43a8-aefb-7f5bd68a0894"
/>|<img width="452" alt="Screenshot 2025-03-24 at 12 57 47"
src="https://github.com/user-attachments/assets/b5f27805-bc3d-4c88-907f-f6841cd880e2"
/>|

## Automation

/ok-to-test tags="@tag.Sanity"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/14034743991>
> Commit: ed53a10
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14034743991&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Mon, 24 Mar 2025 12:46:07 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Style**
- Updated icon density settings across various density levels, resulting
in a more consistent and visually appealing icon appearance.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Agents Issues related to agentic solutions on Appsmith Anvil Pod Issue related to Anvil project ok-to-test Required label for CI skip-changelog Adding this label to a PR prevents it from being listed in the changelog Task A simple Todo WDS team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: Adjust small icon size stroke thickness

2 participants