Skip to content
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

Fa 6.6.0 #111

Merged
merged 4 commits into from
Jul 22, 2024
Merged

Fa 6.6.0 #111

merged 4 commits into from
Jul 22, 2024

Conversation

javier-godoy
Copy link
Member

@javier-godoy javier-godoy commented Jul 22, 2024

Please approve and don't merge (we have to release client-side first)

Summary by CodeRabbit

  • New Features

    • Updated libraries to the latest versions, enhancing functionality and compatibility.
    • Introduced new icons to the FontAwesome library, expanding design options for applications.
  • Bug Fixes

    • Addressed potential issues with outdated icons and dependencies through version upgrades.
  • Chores

    • Updated the configuration structure for better management of web application resources.

@javier-godoy javier-godoy requested review from mlopezFC and paodb July 22, 2024 17:48
Copy link

coderabbitai bot commented Jul 22, 2024

Walkthrough

The recent updates enhance the project's configuration and dependencies. Key changes include version upgrades for Vaadin, FontAwesome, and npm, improving functionality and compatibility. Additionally, the structure of the pom.xml was modified by replacing <webAppConfig> with <webApp>. The FontAwesome Java class was expanded with new icons and updated versioning, reflecting an enriched icon set for potential use in applications.

Changes

Files Change Summary
pom.xml Updated vaadin.version to 24.4.6, fontawesome.version to 6.6.0, and npm.version to 5.2.0; replaced <webAppConfig> with <webApp>.
src/main/generated/com/flowingcode/vaadin/addons/fontawesome/FontAwesome.java Updated FontAwesome version to 6.6.0; added new icons to Solid and Brands enums; removed ARROW_TURN_RIGHT.
src/main/javascript/font-awesome-iron-iconset/package.json Updated package version from 5.1.1 to 5.2.0.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant Application
    participant FontAwesome

    User->>Application: Request for icons
    Application->>FontAwesome: Fetch updated icons
    FontAwesome-->>Application: Return new icons
    Application-->>User: Display updated icons
Loading

Poem

🐰 In the garden of code, a hop and a skip,
Versions updated, we take a quick trip!
New icons to show, with colors so bright,
A celebration of changes, all day and night!
With each little tweak, our project takes flight,
Hooray for enhancements, everything feels right! 🌼✨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

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>.
    • 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 generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @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 as 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 resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

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.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between c026f55 and eaf1798.

Files selected for processing (3)
  • pom.xml (3 hunks)
  • src/main/generated/com/flowingcode/vaadin/addons/fontawesome/FontAwesome.java (29 hunks)
  • src/main/javascript/font-awesome-iron-iconset/package.json (1 hunks)
Files skipped from review due to trivial changes (1)
  • src/main/javascript/font-awesome-iron-iconset/package.json
Additional comments not posted (34)
pom.xml (4)

28-28: Verify compatibility with FontAwesome 6.6.0.

Ensure that the new version of FontAwesome does not introduce any breaking changes that could affect the existing functionality.

Verification successful

Verify compatibility with FontAwesome 6.6.0.

The search results indicate that the references to FontAwesome in the codebase are primarily related to documentation and usage of icons. There are no signs of deprecated or changed APIs that would cause compatibility issues. Therefore, the upgrade to FontAwesome 6.6.0 appears to be safe and should not introduce any breaking changes.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify compatibility with FontAwesome 6.6.0.

# Test: Check for any breaking changes or compatibility issues with the new version.
# Expect: No breaking changes or compatibility issues.

# Search for any usage of deprecated or changed APIs in the codebase.
rg --type java --type js --type ts --type html --type css --type xml -A 5 'FontAwesome'

Length of output: 41770


13-13: Verify compatibility with Vaadin 24.4.6.

Ensure that the new version of Vaadin does not introduce any breaking changes that could affect the existing functionality.


238-243: Verify correctness of the new <webApp> configuration.

Ensure that the new <webApp> configuration is correctly applied and does not introduce any issues.

Verification successful

The new <webApp> configuration in the pom.xml file is correctly applied.

The change from <webAppConfig> to <webApp> is properly integrated within the jetty-maven-plugin configuration, and there are no indications of issues introduced by this change.

  • The <webApp> configuration defines resource bases for the Jetty server.
  • The surrounding elements are consistent with typical Jetty plugin configurations.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify correctness of the new `<webApp>` configuration.

# Test: Check for any issues with the new configuration.
# Expect: No issues with the new configuration.

# Search for any usage or references to `<webAppConfig>` in the codebase.
rg --type xml --type java --type js --type ts --type html --type css -A 5 'webAppConfig'

Length of output: 88


Script:

#!/bin/bash
# Description: Verify correctness of the new `<webApp>` configuration.

# Search for any usage or references to `<webApp>` in the codebase.
rg --type xml --type java --type js --type ts --type html --type css -A 5 'webApp'

Length of output: 768


Script:

#!/bin/bash
# Description: Extract relevant sections of the pom.xml file around the <webApp> configuration to verify its correctness and context.

# Extract 10 lines before and after the <webApp> configuration in the pom.xml file.
rg --type xml -A 10 -B 10 '<webApp>' pom.xml

Length of output: 1128


35-35: Verify compatibility with npm 5.2.0.

Ensure that the new version of npm does not introduce any breaking changes that could affect the existing functionality.

Verification successful

Verify compatibility with npm 5.2.0.

Ensure that the new version of npm does not introduce any breaking changes that could affect the existing functionality. Specifically, check for any npm commands or configurations used in the project.


Verified compatibility with npm 5.2.0.

The upgrade to npm version 5.2.0 does not introduce any breaking changes that affect the existing functionality.

  • The npm.version property is used in the pom.xml file and within src/codegen/IconsetEnumGenerator.java for code generation and dependency management.
  • No direct npm commands or configurations are impacted by the version change.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify compatibility with npm 5.2.0.

# Test: Check for any breaking changes or compatibility issues with the new version.
# Expect: No breaking changes or compatibility issues.

# Search for any usage of deprecated or changed APIs in the codebase.
rg --type js --type ts --type json -A 5 'npm'

Length of output: 699


Script:

#!/bin/bash
# Description: Verify compatibility with npm 5.2.0 by checking for npm commands or configurations.

# Search for npm commands or configurations in package.json files.
rg --type json -A 5 '"scripts": {'

# Search for npm commands or configurations in shell scripts.
rg --type sh -A 5 'npm'

Length of output: 297


Script:

#!/bin/bash
# Description: Verify compatibility with npm 5.2.0 by checking for npm commands or configurations.

# Search for npm commands or configurations in package.json files.
rg --type json -A 5 '"scripts": \{'

# Search for npm commands or configurations in shell scripts.
rg --type sh -A 5 'npm' --debug

Length of output: 11365


Script:

#!/bin/bash
# Description: Verify compatibility with npm 5.2.0 by checking for npm commands or configurations.

# Search for npm commands or configurations in package.json files, ignoring .gitignore and other ignore files.
rg --type json -A 5 '"scripts": \{' --no-ignore

# Search for npm commands or configurations in shell scripts, ignoring .gitignore and other ignore files.
rg --type sh -A 5 'npm' --no-ignore

Length of output: 234


Script:

#!/bin/bash
# Description: Verify compatibility with npm 5.2.0 by checking for npm commands or configurations.

# Search for npm commands or configurations in all files, ignoring .gitignore and other ignore files.
rg -A 5 'npm' --no-ignore

Length of output: 6583

src/main/generated/com/flowingcode/vaadin/addons/fontawesome/FontAwesome.java (30)

32-32: Update version number in class-level documentation.

The version number has been correctly updated to 6.6.0.


1117-1117: Update dependency version in @NpmPackage annotation.

The version number has been correctly updated to 5.2.0.


7737-7752: Add new icons to Solid enum.

The new icons have been correctly added with appropriate documentation links.


8049-8052: Add new icon THUMB_TACK_SLASH to Solid enum.

The new icon has been correctly added with appropriate documentation links.


8065-8068: Add new icon THUMBTACK_SLASH to Solid enum.

The new icon has been correctly added with appropriate documentation links.


8817-8820: Add new icon WEB_AWESOME to Solid enum.

The new icon has been correctly added with appropriate documentation links.


9014-9014: Update dependency version in @NpmPackage annotation.

The version number has been correctly updated to 5.2.0.


9206-9209: Add new icon BLUESKY to Brands enum.

The new icon has been correctly added with appropriate documentation links.


9226-9229: Add new icon BRAVE to Brands enum.

The new icon has been correctly added with appropriate documentation links.


9446-9449: Add new icon DART_LANG to Brands enum.

The new icon has been correctly added with appropriate documentation links.


9454-9457: Add new icon DEBIAN to Brands enum.

The new icon has been correctly added with appropriate documentation links.


9654-9657: Add new icon FLUTTER to Brands enum.

The new icon has been correctly added with appropriate documentation links.


9826-9829: Add new icon GOOGLE_SCHOLAR to Brands enum.

The new icon has been correctly added with appropriate documentation links.


9998-10001: Add new icon JXL to Brands enum.

The new icon has been correctly added with appropriate documentation links.


10046-10049: Add new icon LETTERBOXD to Brands enum.

The new icon has been correctly added with appropriate documentation links.


10142-10145: Add new icon MINTBIT to Brands enum.

The new icon has been correctly added with appropriate documentation links.


10238-10241: Add new icon OPENSUSE to Brands enum.

The new icon has been correctly added with appropriate documentation links.


10342-10345: Add new icon PIXIV to Brands enum.

The new icon has been correctly added with appropriate documentation links.


10502-10505: Add new icon SHOELACE to Brands enum.

The new icon has been correctly added with appropriate documentation links.


10514-10517: Add new icon SIGNAL_MESSENGER to Brands enum.

The new icon has been correctly added with appropriate documentation links.


10642-10653: Add new icons SQUARE_KICKSTARTER and SQUARE_LETTERBOXD to Brands enum.

The new icons have been correctly added with appropriate documentation links.


10678-10681: Add new icon SQUARE_THREADS to Brands enum.

The new icon has been correctly added with appropriate documentation links.


10690-10693: Add new icon SQUARE_UPWORK to Brands enum.

The new icon has been correctly added with appropriate documentation links.


10702-10705: Add new icon SQUARE_WEB_AWESOME to Brands enum.

The new icon has been correctly added with appropriate documentation links.


10842-10845: Add new icon THREADS to Brands enum.

The new icon has been correctly added with appropriate documentation links.


10922-10925: Add new icon UPWORK to Brands enum.

The new icon has been correctly added with appropriate documentation links.


10998-11005: Add new icons WEB_AWESOME and WEBFLOW to Brands enum.

The new icons have been correctly added with appropriate documentation links.


11086-11089: Add new icon X_TWITTER to Brands enum.

The new icon has been correctly added with appropriate documentation links.


11187-11187: Update dependency version in @NpmPackage annotation.

The version number has been correctly updated to 5.2.0.


7737-7752: Verify removal of ARROW_TURN_RIGHT icon.

Ensure that the ARROW_TURN_RIGHT icon is not used elsewhere in the codebase.

Verification successful

The ARROW_TURN_RIGHT icon is not used elsewhere in the codebase.

  • The search across all file types did not return any occurrences of ARROW_TURN_RIGHT.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify that the `ARROW_TURN_RIGHT` icon is not used elsewhere in the codebase.

# Test: Search for the usage of `ARROW_TURN_RIGHT`. Expect: No occurrences.
rg --type java 'ARROW_TURN_RIGHT'

Length of output: 33


Script:

#!/bin/bash
# Description: Verify that the `ARROW_TURN_RIGHT` icon is not used elsewhere in the codebase.

# Test: Search for the usage of `ARROW_TURN_RIGHT` in all file types. Expect: No occurrences.
rg 'ARROW_TURN_RIGHT'

Length of output: 21

@javier-godoy
Copy link
Member Author

That Sequence Diagram is really a joke...

Copy link
Member

@paodb paodb left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between eaf1798 and fb1a8de.

Files selected for processing (1)
  • pom.xml (3 hunks)
Files skipped from review due to trivial changes (1)
  • pom.xml

@javier-godoy javier-godoy merged commit 0503f6e into master Jul 22, 2024
2 checks passed
@javier-godoy javier-godoy deleted the fa-6.6.0 branch July 22, 2024 19:09
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.

2 participants